| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | 1× 1× | // Returns a mock scoped data-binding object
module.exports = function() {
return {
bindTo: function() { return this; },
get: function() {},
post: function() {},
put: function() {},
patch: function() {},
delete: function() {},
exists: function() {},
addObserver: function() {},
removeObserver: function() {},
observe: function() { return this.addObserver.apply(this, arguments) },
unobserve: function() { return this.removeObserver.apply(this, arguments) },
};
};
|