comparison static/add.js @ 4:409da49c148d

partway though add Ignore-this: 330d1f3393bb91ca56267d2138e3bb22
author drewp@bigasterisk.com
date Sun, 17 Feb 2013 21:12:53 -0800
parents
children f8c4c7ce5f4a
comparison
equal deleted inserted replaced
3:656583326f40 4:409da49c148d
1 var model = {
2 href: ko.observable("starter"),
3 };
4
5 ko.computed(function() {
6 if (model.href() == "") {
7 return;
8 }
9
10 $.getJSON("proposal", {uri: model.href()}, function (data) {
11
12 });
13
14 });
15
16 ko.applyBindings(model);