mirror of
https://github.com/wassname/HackFlowy.git
synced 2026-06-28 16:10:05 +08:00
Add Backbone models, collection, views
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
var app = app || {};
|
||||
|
||||
(function() {
|
||||
|
||||
app.Task = Backbone.Model.extend({
|
||||
|
||||
defaults: {
|
||||
parent_id: '',
|
||||
content: ''
|
||||
},
|
||||
|
||||
});
|
||||
|
||||
}());
|
||||
Reference in New Issue
Block a user