Skip to content

Commit 37b4b57

Browse files
author
sakren
committed
typo
1 parent b739e16 commit 37b4b57

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@
2929
"chai": "latest"
3030
},
3131
"scripts": {
32-
"test": "cd ./test; echo \"Testing in node:\"; mocha ./node/index.js --reporter spec; cd ./browser; echo \"Testing in browser:\"; simq build; mocha-phantomjs ./index.html;"
32+
"test": "cd ./test; echo \"Testing in node:\"; mocha ./node/index.js --reporter spec; cd ./browser; echo \"Testing in browser:\"; mocha-phantomjs ./index.html;"
3333
}
3434
}

test/browser/application.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
parent: null,
2929
children: null
3030
};
31-
modules[fullName].apply(modules[fullName], [m.exports, m]);
31+
modules[fullName].apply(window, [m.exports, m]);
3232
m.loaded = true;
3333
cache[fullName] = m;
3434
}
@@ -2803,15 +2803,15 @@
28032803
}
28042804

28052805
Cache.prototype.generateKey = function(key) {
2806-
var char, hash, i, max, _i;
2806+
var ch, hash, i, max, _i;
28072807
hash = 0;
28082808
if (key.length === 0) {
28092809
return hash;
28102810
}
28112811
max = key.length - 1;
28122812
for (i = _i = 0; 0 <= max ? _i <= max : _i >= max; i = 0 <= max ? ++_i : --_i) {
2813-
char = key.charCodeAt(i);
2814-
hash = ((hash << 5) - hash) + char;
2813+
ch = key.charCodeAt(i);
2814+
hash = ((hash << 5) - hash) + ch;
28152815
hash |= 0;
28162816
}
28172817
return hash;
@@ -3602,7 +3602,7 @@
36023602
return {
36033603
"name": "cache-storage",
36043604
"description": "Advanced cache storage for node js",
3605-
"version": "1.4.0",
3605+
"version": "1.4.1",
36063606
"author": {
36073607
"name": "David Kudera",
36083608
"email": "sakren@gmail.com"
@@ -3742,8 +3742,8 @@
37423742
, 'moment': function(exports, module) { module.exports = window.require('moment/moment.js'); }
37433743

37443744
});
3745-
require.__setStats({"/lib/Storage/Storage.js":{"atime":1384005767000,"mtime":1384005765000,"ctime":1384005765000},"moment/moment.js":{"atime":1383999762000,"mtime":1382840735000,"ctime":1383999753000},"/lib/Cache.js":{"atime":1384001500000,"mtime":1384001497000,"ctime":1384001497000},"/lib/Storage/BrowserLocalStorage.js":{"atime":1384001500000,"mtime":1384001497000,"ctime":1384001497000},"/lib/Storage/DevNullStorage.js":{"atime":1384001500000,"mtime":1384001497000,"ctime":1384001497000},"/lib/Storage/FileStorage.js":{"atime":1384001500000,"mtime":1384001497000,"ctime":1384001497000},"/lib/Storage/MemoryStorage.js":{"atime":1384001500000,"mtime":1384001497000,"ctime":1384001497000},"/test/browser/tests/BrowserLocalStorage.coffee":{"atime":1384025488000,"mtime":1384025482000,"ctime":1384025482000},"/test/browser/tests/Cache.coffee":{"atime":1383999970000,"mtime":1383999743000,"ctime":1383999970000},"/test/browser/tests/DevNullStorage.coffee":{"atime":1383999975000,"mtime":1383999743000,"ctime":1383999975000},"/test/browser/tests/FileStorage.coffee":{"atime":1383999977000,"mtime":1383999743000,"ctime":1383999977000},"/test/browser/tests/MemoryStorage.coffee":{"atime":1383999980000,"mtime":1383999743000,"ctime":1383999980000},"/package.json":{"atime":1384000090000,"mtime":1384000087000,"ctime":1384000087000},"moment/package.json":{"atime":1383999762000,"mtime":1383999754000,"ctime":1383999754000}});
3746-
require.version = '5.1.2';
3745+
require.__setStats({"/lib/Storage/Storage.js":{"atime":1385454523000,"mtime":1385454510000,"ctime":1385454510000},"moment/moment.js":{"atime":1385454450000,"mtime":1382840735000,"ctime":1385454393000},"/lib/Cache.js":{"atime":1385454559000,"mtime":1385454550000,"ctime":1385454550000},"/lib/Storage/BrowserLocalStorage.js":{"atime":1385454523000,"mtime":1385454510000,"ctime":1385454510000},"/lib/Storage/DevNullStorage.js":{"atime":1385454523000,"mtime":1385454510000,"ctime":1385454510000},"/lib/Storage/FileStorage.js":{"atime":1385454523000,"mtime":1385454510000,"ctime":1385454510000},"/lib/Storage/MemoryStorage.js":{"atime":1385454523000,"mtime":1385454510000,"ctime":1385454510000},"/test/browser/tests/BrowserLocalStorage.coffee":{"atime":1385454472000,"mtime":1385454380000,"ctime":1385454380000},"/test/browser/tests/Cache.coffee":{"atime":1385454472000,"mtime":1385454380000,"ctime":1385454380000},"/test/browser/tests/DevNullStorage.coffee":{"atime":1385454472000,"mtime":1385454380000,"ctime":1385454380000},"/test/browser/tests/FileStorage.coffee":{"atime":1385454472000,"mtime":1385454380000,"ctime":1385454380000},"/test/browser/tests/MemoryStorage.coffee":{"atime":1385454472000,"mtime":1385454380000,"ctime":1385454380000},"/package.json":{"atime":1385454782000,"mtime":1385454532000,"ctime":1385454532000},"moment/package.json":{"atime":1385454450000,"mtime":1385454394000,"ctime":1385454394000}});
3746+
require.version = '5.1.3';
37473747

37483748
/** run section **/
37493749

0 commit comments

Comments
 (0)