Commit bfc1a271535ac4461ae4f1b2a1e53af3f0ec7c77
- Diff rendering mode:
- inline
- side by side
twotwodo.js
(7 / 1)
|   | |||
| 89 | 89 | }, | |
| 90 | 90 | cur_memo: 'memo', | |
| 91 | 91 | memo: { | |
| 92 | 'memo': 'This is the MemoWiki content for the \'memo\' hashtag :-)<br />Like tasks, memo can contains state markers and hashtag links to other memo.<br /><br />Write #<span class="memowiki">another</span> memo [<span class="state todo" id="memo-state-0">:todo</span>]<br />Start a new TwoTwoDo for your @<span class="cookie">work</span> for instance [<span class="state todo" id="memo-state-0">:todo</span>]' | ||
| 92 | 'memo': 'This is the MemoWiki content for the \'memo\' hashtag :-)<br />Like tasks, memo can contains state markers, hashtag links to other memo and @-links to other TwoTwoDo.<br /><br />Write #<span class="memowiki">another</span> memo [<span class="state todo" id="memo-state-0">:todo</span>]<br />Start a new TwoTwoDo for your @<span class="cookie">work</span>? [<span class="state todo" id="memo-state-0">:todo</span>]' | ||
| 93 | 93 | } | |
| 94 | 94 | }; | |
| 95 | 95 | ||
| … | … | ||
| 257 | 257 | var data = TwoTwoDo.utils.readCookie(); | |
| 258 | 258 | if (data != null) { | |
| 259 | 259 | TwoTwoDo.data = eval('('+data+')'); | |
| 260 | } | ||
| 261 | else if (TwoTwoDo.data.cookie != 'TwoTwoDo-default') { | ||
| 262 | TwoTwoDo.data.tasks = { | ||
| 263 | iu: {}, niu: {}, inu: {}, ninu: {} | ||
| 264 | }; | ||
| 265 | TwoTwoDo.data.memo['memo'] = 'Welcome to your @<span class="cookie">'+(TwoTwoDo.data.cookie.substr(TwoTwoDo.data.cookie.indexOf('-')+1))+'</span> TwoTwoDo!'; | ||
| 260 | 266 | } | |
| 261 | 267 | ||
| 262 | 268 | for (var section in TwoTwoDo.data.tasks) { |

