How to use the localStorage function from global
Find comprehensive JavaScript global.localStorage code examples handpicked from public code repositorys.
GitHub: treasure-data/td-js-sdk
95 96 97 98 99 100 101 102 103
* td.trackEvent('willbetracked') // will send td_ip and td_client_id; td_global_id will also be sent if set. */ exports.setSignedMode = function setSignedMode () { if (this.client.storeConsentByLocalStorage) { if (!misc.isLocalStorageAccessible()) return this global.localStorage.setItem(SIGNEDMODECOOKIE, 'true') } else { setCookie(this.client.storage, SIGNEDMODECOOKIE, 'true') }
30
65
93
+ 47 other calls in file
global.phaserGame is the most popular function in global (242 examples)