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
| { | |
| "name": "myProject", | |
| "version": "1.0.0", | |
| "main": "./path/to/main.css", | |
| "dependencies": { | |
| "jquery": "~1.7.2", | |
| "highcharts": ">=1.2.3", | |
| "jquery-ui": "1.0.x" | |
| } | |
| } |
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
| require([ | |
| 'jquery', | |
| 'lodash', | |
| 'knockout', | |
| 'models/AppViewModel', | |
| 'bootstrap' | |
| ], function($, _, ko, AppViewModel) { | |
| // Document Ready | |
| $(function() { |
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
| define(['require', 'jquery'], function(require, $) { | |
| $(function() { | |
| // do a buncha stuff with jquery on document load... | |
| // later on... | |
| require(['d3'], function(d3) { | |
| // now it's loaded d3 | |
| }); | |
| }); |
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Title</title> | |
| </head> | |
| <body> | |
| <style> | |
| .bar { | |
| height: 5px; |
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Title</title> | |
| </head> | |
| <body> | |
| <style> | |
| .bar { | |
| height: 5px; |
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
Show hidden characters
| { "keys": ["super+shift+o"], "command": "open_dir", "args": {"dir": "$file_path", "file": "$file_name"} } |
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
| npm ERR! peerinvalid The package flatiron does not satisfy its siblings' peerDependencies requirements! | |
| npm ERR! peerinvalid Peer flatiron-cli-config@0.1.3 wants flatiron@~0.1.9 | |
| npm ERR! peerinvalid Peer flatiron-cli-users@0.1.4 wants flatiron@~0.3.0 | |
| npm ERR! System Darwin 12.2.0 | |
| npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "grunt-cli" | |
| npm ERR! cwd /Users/Rob/Desktop/webapp | |
| npm ERR! node -v v0.10.9 | |
| npm ERR! npm -v 1.2.24 | |
| npm ERR! code EPEERINVALID |
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
| var bb = require('bluebutton'); |
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
| #!/bin/sh | |
| echo Starting server at http://localhost:8000 | |
| python -m SimpleHTTPServer |
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
| <template id="chart-pie"> | |
| <style> | |
| :host { | |
| display: inline-block; | |
| } | |
| </style> | |
| <canvas class="myChart" width="200" height="200"></canvas> | |
| </template> | |
| <script> |