()
| 1720 | if (cb) cb(); |
| 1721 | }; |
| 1722 | var initCache = function() { |
| 1723 | if (SV) console.log("bg: init storage cache"); |
| 1724 | TM_storage.localDB.db.transaction(function(tx) { |
| 1725 | tx.executeSql("SELECT * FROM config", |
| 1726 | [], |
| 1727 | fill, |
| 1728 | TM_storage.localDB.onError); |
| 1729 | }); |
| 1730 | }; |
| 1731 | TM_storage.localDB = { |
| 1732 | db: openDatabase('tmStorage', '1.0', 'TM Storage', 30 * 1024 * 1024), |
| 1733 | onSuccess : function(tx, result) { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…