########################################################################
myVariable = 1
| class TextView extends View | |
| constructor: (args) -> | |
| super | |
| @text = args?.text or "" | |
| @define "text", | |
| get: -> @html | |
| set: (value) -> | |
| @html = value |
| title: Hello There! | |
| <!doctype html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>{{ title }}</title> | |
| </head> | |
| <body> |
| import os | |
| import sys | |
| import time | |
| from fsevents import Stream, Observer | |
| if __name__ == '__main__': | |
| if (len(sys.argv)) < 2: | |
| sys.exit("No command found") |
| #!/usr/bin/env python | |
| import os | |
| import sys | |
| import shutil | |
| import subprocess | |
| if len(sys.argv) < 3: | |
| sys.exit("Usage: python sign.py <identity> <myApp.app>") |
| var QcValueConverter = { | |
| tensionFromQcValue: function(qcValue) { | |
| return (qcValue - 30.0) * 3.62 + 194.0; | |
| }, | |
| qcValueFromTension: function(tension) { | |
| return (tension - 194.0) / 3.62 + 30.0; | |
| }, | |
| frictionFromQcValue: function(qcValue) { |
| #!/usr/bin/env python | |
| # encoding: utf-8 | |
| import sys | |
| import os | |
| import subprocess | |
| import plistlib | |
| def gitVersion(gitPath): |
########################################################################
myVariable = 1
| start = function() { | |
| all my framer code | |
| } | |
| preloadImages = ["a.png", "b.png"]; | |
| preloadImagesCount = 0; // How many images were loaded | |
| preloadImages.map(function(image) { | |
| var imageLayer = new Layer({image:image}) | |
| imageLayer.on("load", function() { |
| dyld: Library not loaded: /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebKitLegacy.framework/Versions/A/WebKitLegacy | |
| Referenced from: /Users/koen/Library/Developer/Xcode/DerivedData/WebKit2Test-fgcplsncyhanehdbbopclkwmdgjb/Build/Products/Debug/WebKit2Test.app/Contents/MacOS/WebKit2Test | |
| Reason: image not found |
| rows = 30 | |
| cols = 30 | |
| gutter = 16 | |
| width = 50 | |
| height = 50 | |
| for rowIndex in [0..rows-1] | |
| for colIndex in [0..cols-1] | |