application/js/state.js in spontaneous-0.2.0.beta5 vs application/js/state.js in spontaneous-0.2.0.beta6
- old
+ new
@@ -42,11 +42,11 @@
s.fields[field.schema_id()][key] = value;
this.save();
},
getFieldMetadata: function(field, key) {
var s = this.state, f = (s.fields || {})[field.schema_id()] || {};
- return f[key]
+ return f[key];
}
});
var State = new JS.Singleton({
get: function(content) {
var s = new ContentState(content);
@@ -58,10 +58,10 @@
s.save();
},
active_box: function(content) {
var s = this.get(content);
return s.active_box();
- },
+ }
// activate_slot: function(content, slot) {
// var s = this.get(content);
// s.activate_slot(slot);
// s.save();
// },