loading js files using requirejs

This commit is contained in:
floydpraveen committed 2013-08-17 03:29:44 +05:30
1 parent 6ac328dd44
commit e7e4253bfc
10 files changed
+1435 -47

No files matched your search

+12 -6
View File
@@ -1,14 +1,20 @@
var app = app || {};
define(
['backbone'
],
(function() {
app.Task = Backbone.Model.extend({
function(
Backbone
) {
var TaskModel = Backbone.Model.extend({
defaults: {
parent_id: '',
content: ''
},
});
});
}());
return TaskModel;
});