1
0
Эх сурвалжийг харах

moved variable declaration

Gildas 7 жил өмнө
parent
commit
1e2a5c6433

+ 1 - 2
lib/browser-polyfill/chrome-browser-polyfill.js

@@ -26,9 +26,8 @@
 
 	const FEATURE_TESTS = {};
 
-	let nativeAPI;
 	if (isChrome && !this.browser) {
-		nativeAPI = this.chrome;
+		const nativeAPI = this.chrome;
 		this.__defineGetter__("browser", () => ({
 			browserAction: {
 				onClicked: {