Created
February 27, 2010 21:13
-
-
Save tim-smart/316953 to your computer and use it in GitHub Desktop.
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
Fornode extends BaseNode: -> | |
# Contructor | |
ForNode::compile: (source) -> | |
source |
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
var ForNode = function() { | |
// Constructor | |
}; | |
var _fn = function () {}; | |
_fn.prototype = new BaseNode(); | |
ForNode.prototype = new _fn(); | |
ForNode.prototype.compile = function(source) { | |
return source; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment