mirror of
https://github.com/maxpozdeev/mytinytodo.git
synced 2026-03-11 08:55:27 +00:00
* enable strict mode in mtt.js
This commit is contained in:
parent
207ccd824d
commit
fcccd1428a
2 changed files with 7 additions and 2 deletions
|
|
@ -5,6 +5,8 @@
|
|||
*/
|
||||
|
||||
(function(){
|
||||
|
||||
"use strict";
|
||||
|
||||
var taskList = new Array(), taskOrder = new Array();
|
||||
var filter = { compl:0, search:'', due:'' };
|
||||
|
|
@ -33,6 +35,7 @@ var tabLists = {
|
|||
};
|
||||
var curList = 0;
|
||||
var tagsList = [];
|
||||
var _mtt; /* internal alias for window.mytinytodo */
|
||||
|
||||
var mytinytodo = window.mytinytodo = _mtt = {
|
||||
|
||||
|
|
@ -2232,4 +2235,4 @@ function mttPrompt(msg, defaultValue, callbackOk, callbackCancel)
|
|||
}
|
||||
|
||||
|
||||
})();
|
||||
})();
|
||||
|
|
|
|||
|
|
@ -7,6 +7,8 @@
|
|||
// AJAX myTinyTodo Storage
|
||||
|
||||
(function(){
|
||||
|
||||
"use strict";
|
||||
|
||||
var mtt;
|
||||
|
||||
|
|
@ -180,4 +182,4 @@ mytinytodoStorageAjax.prototype =
|
|||
|
||||
};
|
||||
|
||||
})();
|
||||
})();
|
||||
|
|
|
|||
Loading…
Reference in a new issue