Created
February 13, 2014 21:54
-
-
Save jviereck/8984668 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
arr = new Uint8Array(8) | |
dump(arr instanceof Uint8Array) // emits TRUE | |
localforage.setItem('Uint8Array', arr).then (writeValue) -> | |
.. | |
// in localstorage.js file | |
function setItem(key, value, callback) { | |
__utils__.echo(arr instanceof Uint8Array); // emits FALSE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment