mirror of
https://github.com/wassname/HackFlowy.git
synced 2026-07-02 16:50:06 +08:00
Added nested rendering, collapsing nodes, uses marionette
This commit is contained in:
@@ -13,6 +13,7 @@ function (
|
||||
var TaskModel = Backbone.Model.extend({
|
||||
|
||||
offlineSync: Backbone.localforage.sync('TaskModel'),
|
||||
|
||||
/** switches sync between server and local databases **/
|
||||
sync: function () {
|
||||
|
||||
@@ -26,7 +27,8 @@ function (
|
||||
parentId: 0,
|
||||
content: '',
|
||||
isCompleted: 0,
|
||||
priority: 0
|
||||
priority: 0,
|
||||
id: '',
|
||||
},
|
||||
|
||||
toggelCompletedStatus: function (isCompleted) {
|
||||
|
||||
Reference in New Issue
Block a user