This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "gridicons", | |
| "version": "3.3.1", | |
| "lockfileVersion": 1, | |
| "requires": true, | |
| "dependencies": { | |
| "abab": { | |
| "version": "1.0.4", | |
| "resolved": "https://registry.npmjs.org/abab/-/abab-1.0.4.tgz", | |
| "integrity": "sha1-X6rZwsB/YN12dw9xzwJbYqY8/U4=", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Foundation | |
| protocol Delegate: class { | |
| } | |
| @objc class Thing: NSObject { | |
| weak var delegate: Delegate? | |
| init(delegate: Delegate) { | |
| self.delegate = delegate |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/WordPress/Classes/Utility/Editor/EditorFactory.swift b/WordPress/Classes/Utility/Editor/EditorFactory.swift | |
| index 095608ca3b..dacfa50ec5 100644 | |
| --- a/WordPress/Classes/Utility/Editor/EditorFactory.swift | |
| +++ b/WordPress/Classes/Utility/Editor/EditorFactory.swift | |
| @@ -14,6 +14,7 @@ class EditorFactory { | |
| func instantiateEditor(for post: AbstractPost, loadAutosaveRevision: Bool = false, appliedTemplate: String? = nil, replaceEditor: @escaping ReplaceEditorBlock) -> EditorViewController { | |
| if gutenbergSettings.mustUseGutenberg(for: post) { | |
| + let gutenberg = createGutenbergVC(with: post, loadAutosaveRevision: loadAutosaveRevision, appliedTemplate: appliedTemplate, replaceEditor: replaceEditor) | |
| return createGutenbergVC(with: post, loadAutosaveRevision: loadAutosaveRevision, appliedTemplate: appliedTemplate, replaceEditor: replaceEditor) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import UIKit | |
| class ViewController: UIViewController { | |
| private(set) var bottomBarLayoutGuide = UILayoutGuide() | |
| private var redBox: UIView! | |
| override func viewDidLoad() { | |
| super.viewDidLoad() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "hooks": { | |
| "PostToolUse": [ | |
| { | |
| "matcher": "Write|Edit|MultiEdit", | |
| "hooks": [ | |
| { | |
| "type": "command", | |
| "command": "jq -r '.tool_input.file_path' | grep '\\.swift$' && swiftlint --fix \"$(jq -r '.tool_input.file_path')\" || true" | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| # Require container type | |
| if [ "$#" -lt 1 ]; then | |
| echo "Usage: $0 <container-type> [bundle-id]" >/dev/stderr | |
| echo "Examples: $0 data | caches | app [com.example.app]" >/dev/stderr | |
| exit 1 | |
| fi | |
| CONTAINER_TYPE="$1" |
OlderNewer