Make sure you have both node and git installed
- open git bash in the folder where you want the
raphael
folder created npm install -g grunt-cli
install grunt-cli globally so you can access it later to do the grunt build stepgit clone https://github.com/DmitryBaranovskiy/raphael.git
or the url to your repo if you have forked it alreadycd raphael
go to the new folder that git clone createdgit submodule init
initialize the eve submodule (dependency), you can see this defined in the .gitmodules filegit submodule update
update evecd dev
go to the dev folder (thats where the main package.json file for npm lives)npm install
install dependencies from package.json file
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
ns: function (ns) { | |
var obj = this; | |
var parts = ns.split('.'); | |
for (var i = 0, l = parts.length; i < l; i++) { | |
var part = parts[i]; | |
if (typeof obj[part] === 'undefined') { | |
obj[part] = {}; | |
} | |
obj = obj[part]; | |
} |
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
Show hidden characters
{ | |
"bold_folder_labels": true, | |
"caret_style": "phase", | |
"detect_slow_plugins": false, | |
"drag_text": false, | |
"draw_minimap_border": false, | |
"font_face": "Source Code Pro Medium", | |
"font_size": 9, | |
"highlight_line": true, | |
"highlight_modified_tabs": true, |
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
*.vb;*.resx;*.xsd;*.wsdl;*.xaml;*.xml;*.htm;*.html;*.css;*.aspx;*.asmx;*.js;*.ascx;*.cs;*.asa;*.asp;*.txt; *.master |
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
function print(text) { | |
WScript.Echo('> ' + text); | |
} | |
var stdin = WScript.StdIn; | |
var stdout = WScript.StdOut; | |
var input; | |
do { | |
var input = stdin.ReadLine(); |
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
<!doctype html> | |
<html> | |
<head> | |
</head> | |
<body> | |
<script src="http://code.jquery.com/jquery-1.9.1.js"></script> | |
<script src="https://raw.github.com/cowboy/jquery-throttle-debounce/master/jquery.ba-throttle-debounce.min.js"></script> | |
<script> | |
function log(s) { | |
s = s || 'logged something'; |
NewerOlder