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
/*global JSTalk:false, NSApplication:false, NSAlert:false, print:true */ | |
// Set the basic variables for an externally run script | |
// which are set by default when the script is run | |
// as a plugin from within Sketch. "doc" is defined when the script | |
// is called from within Sketch. | |
if (doc === undefined) { | |
var doc, selection; | |
} | |
var sketch = null; |
OlderNewer