From b5194cce069c8db1469ea475baa93aab62561693 Mon Sep 17 00:00:00 2001 From: pandamicro Date: Fri, 9 Mar 2018 09:46:59 +0800 Subject: [PATCH] Remove useless polyfill --- index.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/index.js b/index.js index 4190390626..0920b95e2e 100644 --- a/index.js +++ b/index.js @@ -164,10 +164,6 @@ require('./polyfill/array'); if (!(CC_EDITOR && Editor.isMainProcess)) { require('./polyfill/typescript'); } -// empty polyfill HTMLVideoElement -if (CC_WECHATGAME) { - _global.HTMLVideoElement = function () {}; -} require('./cocos2d/core/predefine');