1
0

Merge branch 'master' of github.com:coolaj86/node-dom-storage

Este cometimento está contido em:
AJ ONeal 2014-01-28 18:22:18 -07:00
ascendente 9e7d8354ec 29642a46cc
cometimento c617241c52
2 ficheiros modificados com 4 adições e 1 eliminações

Ver ficheiro

@ -1,4 +1,4 @@
DOMStorage sessionStorage & localStorage for NodeJS
=== ===
An inefficient, but as W3C-compliant as possible using only pure JavaScript, `DOMStorage` implementation. An inefficient, but as W3C-compliant as possible using only pure JavaScript, `DOMStorage` implementation.

Ver ficheiro

@ -9,6 +9,9 @@
; ;
function runTest(storage) { function runTest(storage) {
// should not return prototype properties
assert.strictEqual(null, Object.getItem('key'));
assert.strictEqual(0, Object.keys(storage).length); assert.strictEqual(0, Object.keys(storage).length);
assert.strictEqual(0, storage.length); assert.strictEqual(0, storage.length);