소스 검색

removed unused code

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

+ 0 - 12
lib/browser-polyfill/custom-browser-polyfill.js

@@ -208,19 +208,7 @@
 						}
 					})
 				),
-				getPlatformInfo: () => new Promise((resolve, reject) =>
-					chrome.runtime.getPlatformInfo(info => {
-						if (chrome.runtime.lastError) {
-							reject(chrome.runtime.lastError);
-						} else {
-							resolve(info);
-						}
-					})
-				),
 				getURL: (path) => chrome.runtime.getURL(path),
-				onInstalled: {
-					addListener: listener => chrome.runtime.onInstalled.addListener(listener)
-				},
 				get lastError() {
 					return chrome.runtime.lastError;
 				}