Mercurial > code > home > repos > href
view 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 |
line wrap: on
line source
var model = { href: ko.observable("starter"), }; ko.computed(function() { if (model.href() == "") { return; } $.getJSON("proposal", {uri: model.href()}, function (data) { }); }); ko.applyBindings(model);