18 lines
495 B
JavaScript
18 lines
495 B
JavaScript
define(['app', 'jquery', 'underscore', 'backbone', 'model/note/noteModel', 'classes/profile'],
|
|
function (app, $, _, Backbone, Note, Profile){
|
|
|
|
var Notes=Backbone.Collection.extend({
|
|
|
|
// Book is the model of the collection
|
|
model:Note,
|
|
|
|
url: function() {
|
|
return myManifest.Settings.DefaultURL + "/serviceapp.php?method=getBloccoNotesByKeyStore&keyStore=" + Profile.getKeySave();
|
|
}
|
|
});
|
|
|
|
return Notes;
|
|
});
|
|
|
|
|