This commit is contained in:
MaysWind 2018-08-12 17:00:04 +08:00
parent edd3ac5c03
commit e18cdc6155

View file

@ -14,7 +14,7 @@
var browserSupportStorage = browserFeatures.localStroage || browserFeatures.cookies; var browserSupportStorage = browserFeatures.localStroage || browserFeatures.cookies;
var onFirstVisitCallbacks = []; var onFirstVisitCallbacks = [];
var firstVisitCallbackfired = false; var firstVisitCallbackFired = false;
var sessionSettings = { var sessionSettings = {
debugMode: false debugMode: false
}; };
@ -24,7 +24,7 @@
return; return;
} }
if (firstVisitCallbackfired || !angular.isArray(onFirstVisitCallbacks) || onFirstVisitCallbacks.length < 1) { if (firstVisitCallbackFired || !angular.isArray(onFirstVisitCallbacks) || onFirstVisitCallbacks.length < 1) {
return; return;
} }
@ -33,7 +33,7 @@
callback(); callback();
} }
firstVisitCallbackfired = true; firstVisitCallbackFired = true;
}; };
var isInsecureProtocolDisabled = function () { var isInsecureProtocolDisabled = function () {