Created
April 23, 2012 15:38
-
-
Save aseemk/2471728 to your computer and use it in GitHub Desktop.
Streamline error: To use 'arguments' inside streamlined function, read the doc and set the 'ninja' option
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
module.exports = class Model | |
toString: (raw) -> | |
return super if raw | |
'test 1 2 3' |
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
// Generated by CoffeeScript 1.3.1 | |
var Model; | |
module.exports = Model = (function() { | |
Model.name = 'Model'; | |
function Model() {} | |
Model.prototype.toString = function(raw) { | |
if (raw) { | |
return Model.__super__.toString.apply(this, arguments); | |
} | |
return 'test 1 2 3'; | |
}; | |
return Model; | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This was my mistake -- I was compiling CoffeeScript twice by accident.