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
| { | |
| "Statement": [ | |
| { | |
| "Effect": "Allow", | |
| "Action": "s3:ListAllMyBuckets", | |
| "Resource": "arn:aws:s3:::*" | |
| }, | |
| { | |
| "Effect": "Allow", | |
| "Action": "s3:*", |
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
| #!/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. |
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
| 08/08/14 00:22:51,000 kernel[0]: Sandbox: com.apple.WebKit(4702) deny file-issue-extension <path>/my-script.js |
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
| # Welcome to Framer | |
| # This is all CoffeeScript. Learn here: http://framerjs.com/learn/coffeescript | |
| # Drop an image on the preview screen to create an image layer, or use the generator to import assets from Sketch or Photoshop | |
| layer = new Layer | |
| layer.html = "HELLO" |
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
| layer = new Layer |
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
| window.onmousemove = (event) -> | |
| debounce 0.5, -> print("HA!") |
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
| Framer.Device.Devices["my-device"] = | |
| name: "My Device" | |
| deviceType: "mobile" | |
| deviceImage: "my-device.png" | |
| deviceImageWidth: 472 | |
| deviceImageHeight: 806 | |
| screenWidth: 320 | |
| screenHeight: 400 | |
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
| Utils.globalLayers = (importedLayers) -> | |
| for layerName, layer of importedLayers | |
| # Replace all whitespace in layer names | |
| layerName = layerName.replace(/\s/g,"") | |
| # Check if there are global variables with the same name | |
| if window.hasOwnProperty(layerName) and not window.Framer._globalWarningGiven | |
| print "Warning: Cannot make layer '#{layerName}' a global, an variable with that name already exists" |
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
| print "Hi I am an example" | |
| layer = new Layer |
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
| ### | |
| look these words now autocomplete alpha beta gamma test | |
| ### | |