Skip to content
This repository has been archived by the owner on Jun 1, 2021. It is now read-only.

Commit

Permalink
Fixes for Sketch 50+
Browse files Browse the repository at this point in the history
  • Loading branch information
daneden committed Jul 31, 2018
1 parent 40f5113 commit c3ea284
Show file tree
Hide file tree
Showing 11 changed files with 5,658 additions and 51 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Expand Up @@ -7,3 +7,6 @@
.Trashes
ehthumbs.db
Thumbs.db

# Node files
node_modules
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 Replace Layer.sketchplugin/Contents/Sketch/manifest.json 100755 → 100644
@@ -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 Replace Layer.sketchplugin/Contents/Sketch/replaceLayer.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

31 changes: 0 additions & 31 deletions Replace Layer.sketchplugin/Contents/Sketch/script.js

This file was deleted.

Binary file added assets/icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c3ea284

Please sign in to comment.