mirror of
https://github.com/systemjs/systemjs.git
synced 2026-01-25 14:57:38 +00:00
Merge pull request #151 from MajorBreakfast/patch-2
[FIX] Remove webkitStorageInfo is deprecated warning
This commit is contained in:
commit
ba2b734e8a
@ -33,8 +33,9 @@ function global(loader) {
|
||||
// now store a complete copy of the global object
|
||||
// in order to detect changes
|
||||
curGlobalObj = {};
|
||||
ignoredGlobalProps = ['indexedDB', 'sessionStorage', 'localStorage', 'clipboardData', 'frames'];
|
||||
for (var g in loader.global)
|
||||
ignoredGlobalProps = ['indexedDB', 'sessionStorage', 'localStorage', 'clipboardData', 'frames', 'webkitStorageInfo'];
|
||||
for (var g in loader.global) {
|
||||
if (~ignoredGlobalProps.indexOf(g)) { continue; }
|
||||
if (!hasOwnProperty || loader.global.hasOwnProperty(g)) {
|
||||
try {
|
||||
curGlobalObj[g] = loader.global[g];
|
||||
@ -42,6 +43,7 @@ function global(loader) {
|
||||
ignoredGlobalProps.push(g);
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
retrieveGlobal: function(moduleName, exportName, init) {
|
||||
var singleGlobal;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user