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
global[r] = require r for r of <[js path wrench]> | |
BOM = String.fromCharCode BOM_CHAR_CODE = 65279 | |
wrench.readdirSyncRecursive process.cwd! .forEach (filename) -> | |
return unless \js is path.extname filename | |
error, content <-! fs.readFile fileName, \utf8 | |
throw that if error |
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
_elems = [] | |
if type is 'modify' | |
_elems.push e.model for e in elems | |
else | |
_elems.push e.model for e in @foo.elems |
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
Translation of Google Maps Code (html + js) to haml + coffeescript | |
------------------------------------------------------------------- | |
assets/javascript/application.js | |
-------------------------------- | |
// | |
//= require jquery | |
//= require jquery_ujs | |
//= require_tree . | |
assets/javascript/maps.js.coffee |
NewerOlder