js/transistor/control.js in transistor-0.1.5 vs js/transistor/control.js in transistor-0.1.6
- old
+ new
@@ -48,15 +48,13 @@
} else {
jsonp.get(command_url, {data: JSON.stringify(data)}, cb);
}
};
- return {
- set: set,
- insert: insert,
- update: update,
- remove: remove
- };
+ this.set = set;
+ this.insert = insert;
+ this.update = update;
+ this.remove = remove;
};
}());
transistor.Control = Control;