Commit 7a9a9f46 authored by Tristan Cavelier's avatar Tristan Cavelier

localstorage docstring added

parent ad6920e3
......@@ -117,6 +117,12 @@
}
};
/**
* The JIO LocalStorage extension
*
* @class LocalStorage
* @constructor
*/
function LocalStorage(spec) {
if (typeof spec.username !== 'string' && !spec.username) {
throw new TypeError("LocalStorage 'username' must be a string " +
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment