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

这个提交包含在:
AJ ONeal 2014-01-28 18:22:18 -07:00
当前提交 c617241c52
共有 2 个文件被更改,包括 4 次插入1 次删除

查看文件

@ -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.

查看文件

@ -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);