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
【长笛】故郷を離るる歌 - 菲莉丝的... ▶️:0.3k 💬:11 | |
【口琴】山茶花 - 苏菲的炼金工房 ~ ... ▶️:0.3k 💬:12 | |
【口琴】夕暮れと砂時計 - 夏莉的炼... ▶️:0.4k 💬:7 | |
【口琴】Dia - 托托莉的炼金工房~亚... ▶️:0.2k 💬:7 | |
【长笛】黄昏 - 爱夏的炼金工房~黄... ▶️:0.6k 💬:11 |
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
var onRun = function (context) { | |
var doc = context.document; | |
if (![doc fileURL] || [doc isDraft]) { | |
[NSApp displayDialog:@"Please save the document before exporting to Zeplin." withTitle:@"Document not saved"]; | |
return; | |
} | |
if ([doc isDocumentEdited]) { | |
var alert = [NSAlert alertWithMessageText:@"Document not saved" defaultButton:@"Save and Continue" alternateButton:@"Cancel" otherButton:@"Continue" informativeTextWithFormat:@"To capture the latest changes in this Sketch document, Zeplin needs to save it first.\n\n☝️ This might take a bit, depending on the document size."]; |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |