application/js/content.js in spontaneous-0.2.0.alpha7 vs application/js/content.js in spontaneous-0.2.0.beta1
- old
+ new
@@ -99,10 +99,10 @@
"Field has invalid type", prototype.type,
"content_id:", this.content.id,
"type:", "'"+type.title+"'",
"field_name:", f.name
);
- type_class = Spontaneous.FieldTypes.StringField;
+ type_class = Spontaneous.Field.String;
}
var field = new type_class(this, f);
// field.watch('value', this.field_updated.bind(this, field));
fields[f.name] = field;
}