Created
February 24, 2014 22:15
-
-
Save oeddyo/9198349 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Error in response to storage.get: TypeError: undefined is not a function | |
at process (chrome-extension://glfeiaclnnengimjmnoigoppoedcnoeo/content.js:119:26) | |
at HTMLDocument.<anonymous> (chrome-extension://glfeiaclnnengimjmnoigoppoedcnoeo/content.js:170:5) | |
at jQuery.Callbacks.fire (chrome-extension://glfeiaclnnengimjmnoigoppoedcnoeo/jquery-1.11.0.js:3099:30) | |
at Object.jQuery.Callbacks.self.fireWith [as resolveWith] (chrome-extension://glfeiaclnnengimjmnoigoppoedcnoeo/jquery-1.11.0.js:3211:7) | |
at Function.jQuery.extend.ready (chrome-extension://glfeiaclnnengimjmnoigoppoedcnoeo/jquery-1.11.0.js:3423:13) | |
at completed (chrome-extension://glfeiaclnnengimjmnoigoppoedcnoeo/jquery-1.11.0.js:3453:10) extensions::sendRequest:26 | |
safeCallbackApply extensions::sendRequest:26 | |
handleResponse | |
process = function (callback) { | |
chrome.storage.local.get('machine-id', function (item) { | |
storedMacId = item['machine-id']; | |
if (!storedMacId) { | |
//storedMacId = getIdFromServer() | |
storedMacId = guid(); | |
chrome.storage.local.set({'machine-id': storedMacId}); | |
} | |
console.log("user_id = " + storedMacId) | |
macId = storedMacId; | |
dataRecord['user_id'] = storedMacId | |
callback() | |
}); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment