/**
* Form submit button
*
* @class .button-submit
* @class .button-submit__error
* @class .button-submit__success
ghpages joy with @gulpjs & git subtrees:
gulp.task('deploy', ['build'], shell.task([
'git subtree push --prefix www origin gh-pages'
]));
npm git/master*
❯ npm i -g npm
Installing npm
[|||||||| ] 40%
0.0.4 ✔ builtins
0.0.0 ✔ https-browserify
0.0.0 ✔ path-browserify
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
#!/usr/bin/env node | |
/** | |
* Module dependencies | |
*/ | |
var spawn = require('child_process').spawn; | |
var program = require('commander'); | |
var fs = require('fs'); |
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
/* global window*/ | |
/** | |
* Module dependencies | |
*/ | |
var router = require('react-router-component'); | |
var debug = require('debug')('versity:router'); | |
var react = require('react'); | |
var settings = require('../../views/settings/settings'); |
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
{ | |
"color_scheme": "Packages/Tomorrow Color Schemes/Tomorrow.tmTheme", | |
"font_size": 10, | |
"ignored_packages": | |
[ | |
"Vintage" | |
], | |
"rulers": | |
[ | |
80 |
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
/** | |
* Functions | |
*/ | |
var x = function(arg1, arg2) { | |
return arg1 * arg2; | |
}; | |
var x = (arg1, arg2) => arg1 * arg2; |
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 arraysIdentical(a, b) { | |
var i = a.length; | |
if (i != b.length) return false; | |
while (i--) if (a[i] !== b[i]) return false; | |
return 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
function arraysIdentical(a, b) { | |
var i = a.length; | |
if (i !== b.length) { | |
return false; | |
} | |
while (i--) { | |
if (a[i] !== b[i]) { | |
return false; | |
} | |
} |
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 arraysIdentical(a, b) { | |
var i = a.length; | |
if (i !== b.length) return false; | |
while (i--) { | |
if (a[i] !== b[i]) return false; | |
} | |
return true; | |
} |