########################################################################
myVariable = 1
| {EventEmitter} = require "./EventEmitter" | |
| ### | |
| top, right, bottom, left, centerX, centerY, center | |
| ### | |
| calculateFrame = (layer, rules) -> | |
| val = (rule) => | |
| value = rules[rule] |
| 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 | |
| # 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] | |
| { | |
| "Statement": [ | |
| { | |
| "Effect": "Allow", | |
| "Action": "s3:ListAllMyBuckets", | |
| "Resource": "arn:aws:s3:::*" | |
| }, | |
| { | |
| "Effect": "Allow", | |
| "Action": "s3:*", |
| #!/usr/bin/env python | |
| """ | |
| Copyright (c) 2014 Koen Bok / Podium BV / framerjs.com | |
| Small web server script that you can drop in and run from every Framer Studio | |
| project to serve it to the browser over http. This is great if you want to avoid | |
| same origin policy errors in the browser, but also nice to preview it on another | |
| device connected to the same network. |