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
exports.build_multiple_files_engine = (done) -> | |
add_file 'people_perf_multiple', 'common', files.common, -> | |
add_file 'people_perf_multiple', 'test', files.test_common, -> | |
add_file 'people_perf_multiple', 'test1', files.test1, -> | |
add_file 'people_perf_multiple', 'test2', files.test2, done |
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
exports.Calculator = (function() { | |
function Calculator() {} | |
Calculator.prototype.square = function(x) { | |
return x * x; | |
}; | |
return Calculator; |
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
class exports.GameOfLife | |
constructor: (@cells) -> @read_board() | |
evolve: -> | |
for row in [0...@size] | |
for col in [0...@size] | |
@evolve_at row, col | |
evolve_at: (@row, @col, neighbors = @neighbors()) -> |
NewerOlder