Created
July 15, 2012 23:53
-
-
Save cfsilence/3119267 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
<script> | |
function AppViewModel() { | |
this.firstName = "Bert"; | |
this.lastName = "Bertington"; | |
} | |
ko.applyBindings(new AppViewModel()); | |
</script> | |
<p>First name: <strong data-bind="text: firstName"></strong></p> | |
<p>Last name: <strong data-bind="text: lastName"></strong></p> | |
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
<script> | |
function AppViewModel() { | |
this.firstName = "Bert"; | |
this.lastName = "Bertington"; | |
} | |
ko.applyBindings(new AppViewModel()); | |
</script> | |
<p>First name: <strong data-bind="text: firstName"></strong></p> | |
<p>Last name: <strong data-bind="text: lastName"></strong></p> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment