[#25,typo][xs]: left in console.log.
This commit is contained in:
@@ -94,7 +94,6 @@ my.Field = Backbone.Model.extend({
|
|||||||
// In addition to normal backbone initialization via a Hash you can also
|
// In addition to normal backbone initialization via a Hash you can also
|
||||||
// just pass a single argument representing id to the ctor
|
// just pass a single argument representing id to the ctor
|
||||||
initialize: function(data) {
|
initialize: function(data) {
|
||||||
console.log(data);
|
|
||||||
// if a hash not passed in the first argument is set as value for key 0
|
// if a hash not passed in the first argument is set as value for key 0
|
||||||
if ('0' in data) {
|
if ('0' in data) {
|
||||||
this.set({id: data['0']});
|
this.set({id: data['0']});
|
||||||
|
|||||||
Reference in New Issue
Block a user