This repository has been archived by the owner on Jun 1, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
5,658 additions
and
51 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,6 @@ | |
.Trashes | ||
ehthumbs.db | ||
Thumbs.db | ||
|
||
# Node files | ||
node_modules |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
42 changes: 22 additions & 20 deletions
42
Replace Layer.sketchplugin/Contents/Sketch/manifest.json
100755 → 100644
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,28 @@ | ||
{ | ||
"author" : "Daniel Eden", | ||
"commands" : [ | ||
"compatibleVersion": 3, | ||
"bundleVersion": 1, | ||
"icon": "icon.png", | ||
"commands": [ | ||
{ | ||
"script" : "script.js", | ||
"name" : "Replace Layer", | ||
"shortcut" : "cmd alt r", | ||
"handlers" : { | ||
"run" : "replaceSelectedLayerWithPasteboard" | ||
}, | ||
"identifier" : "replaceLayer" | ||
"identifier": "replace-layer-id", | ||
"name": "Replace Layer", | ||
"script": "replaceLayer.js", | ||
"shortcut": "cmd alt r" | ||
} | ||
], | ||
"menu" : { | ||
"items" : [ | ||
"replaceLayer" | ||
"menu": { | ||
"title": "Replace Layer", | ||
"items": [ | ||
"replace-layer-id" | ||
], | ||
"isRoot": true, | ||
"title" : "Replace Layer" | ||
"isRoot": true | ||
}, | ||
"identifier" : "me.daneden.sketch.replace-layer", | ||
"version" : "1.1", | ||
"description" : "Replace selected layer(s) with copied content/layer(s)", | ||
"authorEmail" : "dan.eden@me.com", | ||
"name" : "Replace Layer" | ||
} | ||
"identifier": "me.daneden.sketch.replace-layer", | ||
"version": "2.0", | ||
"description": "Replace selected layer(s) with copied content/layer(s)", | ||
"authorEmail": "dan.eden@me.com", | ||
"name": "Replace Layer", | ||
"disableCocoaScriptPreprocessor": true, | ||
"appcast": "https://raw.githubusercontent.com//master/.appcast.xml", | ||
"author": "Daniel Eden" | ||
} |
131 changes: 131 additions & 0 deletions
131
Replace Layer.sketchplugin/Contents/Sketch/replaceLayer.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.