Created
March 27, 2013 15:14
-
-
Save satoshun/5254976 to your computer and use it in GitHub Desktop.
knockout js
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
$(document).ready(function() { | |
var models = { | |
name: ko.observable("name") | |
}; | |
ko.applyBindings(models); | |
setTimeout(function(){ | |
models.name("HAHAHA"); | |
}, 2000); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment