Created
November 7, 2014 12:10
-
-
Save tilast/1b59ac4b8ebfeb570d6f to your computer and use it in GitHub Desktop.
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
Region.prototype.addChild = function(child) { | |
var self = this; | |
child.checked.subscribe = function(newValue) { | |
self.setState(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment