()
| 768 | /* ####### update check #### */ |
| 769 | |
| 770 | var getUpdateCheckCfg = function() { |
| 771 | var fire_dflt = { db_version: 0, last: 0, entries: 0 }; |
| 772 | var dflt = { scripts: 0, fire: fire_dflt }; |
| 773 | var last = TM_storage.getValue("TM_update_check", dflt); |
| 774 | if (!last) last = dflt; |
| 775 | if (last.fire == undefined) { |
| 776 | last.fire = fire_dflt; |
| 777 | } |
| 778 | if (last.scripts == undefined) { |
| 779 | last.scripts = 0; |
| 780 | } |
| 781 | return last; |
| 782 | }; |
| 783 | |
| 784 | var setUpdateCheckCfg = function(last) { |
| 785 | if (last) TM_storage.setValue("TM_update_check", last); |
no outgoing calls
no test coverage detected
searching dependent graphs…