소스 검색

moved variable declaration

Gildas 7 년 전
부모
커밋
1e2a5c6433
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      lib/browser-polyfill/chrome-browser-polyfill.js

+ 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: {