Skip to content

Commit 5c2905d

Browse files
committed
Added global "use strict";
1 parent 3d5dac3 commit 5c2905d

6 files changed

+9
-5
lines changed

.jshintrc

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"eqnull": true,
1313
"expr": true,
1414
"browser": true,
15+
"globalstrict": true,
1516
"predef": ["DEBUG",
1617
"console",
1718
"require",

dist/jquery.indexeddb.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
'use strict';
12
(function($, undefined) {
23
var indexedDB = window.indexedDB || window.mozIndexedDB || window.webkitIndexedDB || window.msIndexedDB;
34
var IDBKeyRange = window.IDBKeyRange || window.webkitIDBKeyRange;
@@ -42,7 +43,7 @@
4243
var version = config.version;
4344
if (config.schema && !version) {
4445
var max = -1;
45-
for (key in config.schema) {
46+
for (var key in config.schema) {
4647
max = max > key ? max : key;
4748
}
4849
version = config.version || max;

dist/jquery.indexeddb.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)