Skip to content

Instantly share code, notes, and snippets.

@AlexZeitler
Created December 26, 2011 19:11
Show Gist options
  • Save AlexZeitler/1521951 to your computer and use it in GitHub Desktop.
Save AlexZeitler/1521951 to your computer and use it in GitHub Desktop.
$(document).ready(function () {
var contentsViewModel = function () {
this.contents = handbuch.contents;
};
var menu = document.getElementById("menu");
ko.applyBindings(new contentsViewModel, menu);
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment