Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Backbone This Will Give Error

song = Backbone.Model();

console.log(song);

/*this will give an error of Uncaught TypeError: this.set is not a function*/

song = Backbone.Model();

console.log(song);
/*this will return a (not useful) Model function*/


 
PREVIOUS NEXT
Tagged: #Backbone #This #Will #Give #Error
ADD COMMENT
Topic
Name
5+4 =