git-svn-id: https://msi/svn/firstRepo/WebClient/trunk@13 0f545695-f87b-41b6-9a03-7f16563b5454
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
define(['jquery', 'underscore', 'backbone'],
|
||||
function ($, _, Backbone){
|
||||
|
||||
var Note=Backbone.Model.extend({
|
||||
//default attributes
|
||||
idAttribute: "ricetta_id",
|
||||
defaults:{
|
||||
ricetta_id: "",
|
||||
titolo: '',
|
||||
autore: '',
|
||||
valutazione: 0,
|
||||
difficolta: 0
|
||||
}
|
||||
});
|
||||
|
||||
return Note;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user