Created
November 24, 2011 14:54
-
-
Save jensarps/1391509 to your computer and use it in GitHub Desktop.
IDBWrapper tutorial, step 3
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
var id = 1; // Or whatever you got returned. | |
var onsuccess = function(data){ | |
console.log('here is our dude:', data); | |
} | |
var onerror = function(error){ | |
console.log('Oh noes, sth went wrong!', error); | |
} | |
customers.get(id, onsuccess, onerror); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment