| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267 |
- (function () {
- var scripts = [{"deps":{"./assets/script/mk/utils/encrypt/hmacSha256":2,"./assets/script/game/component/tween/ClickMoveBy":3,"./assets/script/mk/data/Data":5,"./assets/script/game/data/module/TurnableData":7,"./assets/script/mk/system/DataSystem":8,"./assets/script/game/module/module/turntable/Turnable":10,"./assets/script/game/manager/AudioManager":11,"./assets/script/game/module/game/FunBtns":12,"./assets/script/game/module/module/sign/Sign":13,"./assets/script/game/module/module/pigBank/PigBank":14,"./assets/script/game/module/module/help/Help":15,"./assets/script/mk/sdk/ad/toppon/zgSingleton":16,"./assets/script/mk/system/AudioSystem":17,"./assets/script/mk/MKSwitch":18,"./assets/script/mk/system/EventSystem":19,"./assets/script/mk/system/GuideSystem":20,"./assets/script/mk/system/JsbSystem":21,"./assets/script/mk/system/HttpSystem":24,"./assets/script/mk/system/UISystem":25,"./assets/script/mk/system/TimerSystem":26,"./assets/script/mk/system/AdSystem":27,"./assets/script/mk/utils/LoadResUtil":28,"./assets/script/mk/utils/GameUtil":29,"./assets/script/mk/utils/StringUtil":30,"./assets/script/mk/utils/StorageUtil":31,"./assets/script/mk/utils/LogUtil":32,"./assets/script/mk/utils/TimeUtil":33,"./assets/script/game/component/PageView":34,"./assets/script/mk/utils/MathUtil":35,"./assets/script/mk/utils/FileUtil":36,"./assets/script/mk/sdk/BuglySDK":37,"./assets/script/mk/utils/encrypt/aes":38,"./assets/script/mk/utils/encrypt/base64":39,"./assets/script/mk/utils/encrypt/sha1":40,"./assets/script/game/component/SetGray":41,"./assets/script/mk/utils/encrypt/md5":42,"./assets/script/game/component/TableView":43,"./assets/script/game/component/TabSwitching":45,"./assets/script/game/component/UIBG":46,"./assets/script/game/component/TouchHelper":47,"./assets/script/game/component/BtnClosePanel":48,"./assets/script/game/component/tween/RopeSwung":49,"./assets/script/game/component/tween/FrameAnimation":50,"./assets/script/game/component/tween/TweenEasing":51,"./assets/script/game/component/tween/ZPathFalling":52,"./assets/script/game/data/AppData":54,"./assets/script/game/data/GameData":55,"./assets/script/game/data/StorageData":56,"./assets/script/game/component/tween/RotateAround":57,"./assets/script/game/component/tween/UIOpenAndClose":58,"./assets/script/game/data/HttpData":59,"./assets/script/game/component/tween/FlyNode":60,"./assets/script/game/data/module/PigBankData":61,"./assets/script/game/data/AdData":63,"./assets/script/game/data/WechatData":64,"./assets/script/game/data/module/HelpData":65,"./assets/script/game/data/module/SignData":68,"./assets/script/game/component/Button":69,"./assets/script/game/module/module/turntable/TurnableItem":70,"./assets/script/mk/sdk/ad/toppon/AnyThinkAds/Android/ATAndroidInterstitialJS":71,"./assets/script/mk/sdk/ad/toppon/AnyThinkAds/Android/ATAndroidNativeJS":85,"./assets/script/mk/sdk/ad/toppon/AnyThinkAds/Android/ATAndroidBannerJS":87,"./assets/script/mk/sdk/ad/toppon/AnyThinkAds/iOS/ATiOSInterstitialJS":88,"./assets/script/mk/sdk/ad/toppon/AnyThinkAds/Android/ATAndroidJS":89,"./assets/script/mk/sdk/ad/toppon/AnyThinkAds/iOS/ATiOSNativeJS":90,"./assets/script/mk/sdk/ad/toppon/AnyThinkAds/iOS/ATiOSJS":91,"./assets/script/mk/sdk/ad/toppon/AnyThinkAds/Android/ATAndroidRewardedVideoJS":92,"./assets/script/mk/sdk/ad/toppon/AnyThinkAds/iOS/ATiOSRewardedVideoJS":93,"./assets/script/Main":1,"./assets/script/mk/sdk/ad/toppon/AnyThinkAds/iOS/ATiOSBannerJS":6,"./assets/script/game/module/module/login/Login":4,"./assets/script/mk/utils/EncryptUtil":23,"./assets/script/mk/system/MKSystem":22,"./assets/script/game/component/BtnOpenPanel":44,"./assets/script/game/data/LoginData":53,"./assets/script/game/data/g":67,"./assets/script/game/component/tween/UITween":62,"./assets/script/game/module/game/Game":66,"./assets/script/mk/sdk/ad/toppon/AnyThinkAdsMgr/ATNative":72,"./assets/script/mk/sdk/ad/toppon/AnyThinkAdsMgr/ATSDKMgr":73,"./assets/script/mk/sdk/ad/toppon/AnyThinkAdsMgr/ATInterstitial":75,"./assets/script/mk/sdk/ad/toppon/AnyThinkAdsMgr/ATRewardVideo":77,"./assets/script/mk/sdk/ad/toppon/AnyThinkAds/ATInterstitialJSSDK":78,"./assets/script/mk/sdk/ad/toppon/AnyThinkAds/ATRewardedVideoJSSDK":81,"./assets/script/mk/sdk/ad/toppon/AnyThinkAds/ATJSSDK":82,"./assets/script/mk/sdk/ad/toppon/AnyThinkAds/ATNativeJSSDK":83,"./assets/script/mk/sdk/ad/toppon/AnyThinkAdsMgr/ATBanner":84,"./assets/script/mk/sdk/ad/toppon/AnyThinkAds/ATBannerJSSDK":86,"./assets/script/mk/sdk/ad/toppon/AnyThinkAdsMgr/ATBannerJS":9,"./assets/script/mk/sdk/ad/toppon/AnyThinkAdsMgr/ATNativeJS":74,"./assets/script/mk/sdk/ad/toppon/AnyThinkAdsMgr/ATInterstitialJS":76,"./assets/script/mk/sdk/ad/toppon/AnyThinkAdsMgr/ATSDKMgrJS":79,"./assets/script/mk/sdk/ad/toppon/AnyThinkAdsMgr/ATRewardVideoJS":80},"path":"preview-scripts/__qc_index__.js"},{"deps":{"./mk/system/UISystem":25},"path":"preview-scripts/assets/script/Main.js"},{"deps":{},"path":"preview-scripts/assets/script/mk/utils/encrypt/hmacSha256.js"},{"deps":{},"path":"preview-scripts/assets/script/game/component/tween/ClickMoveBy.js"},{"deps":{"../../../../mk/system/UISystem":25},"path":"preview-scripts/assets/script/game/module/module/login/Login.js"},{"deps":{},"path":"preview-scripts/assets/script/mk/data/Data.js"},{"deps":{"ATiOSJS":91},"path":"preview-scripts/assets/script/mk/sdk/ad/toppon/AnyThinkAds/iOS/ATiOSBannerJS.js"},{"deps":{},"path":"preview-scripts/assets/script/game/data/module/TurnableData.js"},{"deps":{},"path":"preview-scripts/assets/script/mk/system/DataSystem.js"},{"deps":{},"path":"preview-scripts/assets/script/mk/sdk/ad/toppon/AnyThinkAdsMgr/ATBannerJS.js"},{"deps":{},"path":"preview-scripts/assets/script/game/module/module/turntable/Turnable.js"},{"deps":{},"path":"preview-scripts/assets/script/game/manager/AudioManager.js"},{"deps":{},"path":"preview-scripts/assets/script/game/module/game/FunBtns.js"},{"deps":{},"path":"preview-scripts/assets/script/game/module/module/sign/Sign.js"},{"deps":{},"path":"preview-scripts/assets/script/game/module/module/pigBank/PigBank.js"},{"deps":{},"path":"preview-scripts/assets/script/game/module/module/help/Help.js"},{"deps":{},"path":"preview-scripts/assets/script/mk/sdk/ad/toppon/zgSingleton.js"},{"deps":{},"path":"preview-scripts/assets/script/mk/system/AudioSystem.js"},{"deps":{},"path":"preview-scripts/assets/script/mk/MKSwitch.js"},{"deps":{},"path":"preview-scripts/assets/script/mk/system/EventSystem.js"},{"deps":{},"path":"preview-scripts/assets/script/mk/system/GuideSystem.js"},{"deps":{},"path":"preview-scripts/assets/script/mk/system/JsbSystem.js"},{"deps":{"../sdk/BuglySDK":37,"./AudioSystem":17,"../utils/TimeUtil":33,"../utils/FileUtil":36,"./HttpSystem":24,"./DataSystem":8,"../utils/LoadResUtil":28,"../utils/LogUtil":32,"../utils/EncryptUtil":23,"../utils/GameUtil":29,"../utils/StorageUtil":31,"./EventSystem":19,"./TimerSystem":26,"../utils/MathUtil":35,"./AdSystem":27,"../sdk/ad/toppon/AnyThinkAdsMgr/ATSDKMgr":73,"./JsbSystem":21},"path":"preview-scripts/assets/script/mk/system/MKSystem.js"},{"deps":{"./encrypt/aes.js":38,"./encrypt/hmacSha256":2},"path":"preview-scripts/assets/script/mk/utils/EncryptUtil.js"},{"deps":{},"path":"preview-scripts/assets/script/mk/system/HttpSystem.js"},{"deps":{},"path":"preview-scripts/assets/script/mk/system/UISystem.js"},{"deps":{},"path":"preview-scripts/assets/script/mk/system/TimerSystem.js"},{"deps":{},"path":"preview-scripts/assets/script/mk/system/AdSystem.js"},{"deps":{},"path":"preview-scripts/assets/script/mk/utils/LoadResUtil.js"},{"deps":{},"path":"preview-scripts/assets/script/mk/utils/GameUtil.js"},{"deps":{},"path":"preview-scripts/assets/script/mk/utils/StringUtil.js"},{"deps":{},"path":"preview-scripts/assets/script/mk/utils/StorageUtil.js"},{"deps":{},"path":"preview-scripts/assets/script/mk/utils/LogUtil.js"},{"deps":{},"path":"preview-scripts/assets/script/mk/utils/TimeUtil.js"},{"deps":{},"path":"preview-scripts/assets/script/game/component/PageView.js"},{"deps":{},"path":"preview-scripts/assets/script/mk/utils/MathUtil.js"},{"deps":{},"path":"preview-scripts/assets/script/mk/utils/FileUtil.js"},{"deps":{},"path":"preview-scripts/assets/script/mk/sdk/BuglySDK.js"},{"deps":{},"path":"preview-scripts/assets/script/mk/utils/encrypt/aes.js"},{"deps":{},"path":"preview-scripts/assets/script/mk/utils/encrypt/base64.js"},{"deps":{},"path":"preview-scripts/assets/script/mk/utils/encrypt/sha1.js"},{"deps":{},"path":"preview-scripts/assets/script/game/component/SetGray.js"},{"deps":{},"path":"preview-scripts/assets/script/mk/utils/encrypt/md5.js"},{"deps":{},"path":"preview-scripts/assets/script/game/component/TableView.js"},{"deps":{"../../mk/system/UISystem":25},"path":"preview-scripts/assets/script/game/component/BtnOpenPanel.js"},{"deps":{},"path":"preview-scripts/assets/script/game/component/TabSwitching.js"},{"deps":{},"path":"preview-scripts/assets/script/game/component/UIBG.js"},{"deps":{},"path":"preview-scripts/assets/script/game/component/TouchHelper.js"},{"deps":{},"path":"preview-scripts/assets/script/game/component/BtnClosePanel.js"},{"deps":{},"path":"preview-scripts/assets/script/game/component/tween/RopeSwung.js"},{"deps":{},"path":"preview-scripts/assets/script/game/component/tween/FrameAnimation.js"},{"deps":{},"path":"preview-scripts/assets/script/game/component/tween/TweenEasing.js"},{"deps":{},"path":"preview-scripts/assets/script/game/component/tween/ZPathFalling.js"},{"deps":{"./StorageData":56},"path":"preview-scripts/assets/script/game/data/LoginData.js"},{"deps":{},"path":"preview-scripts/assets/script/game/data/AppData.js"},{"deps":{},"path":"preview-scripts/assets/script/game/data/GameData.js"},{"deps":{},"path":"preview-scripts/assets/script/game/data/StorageData.js"},{"deps":{},"path":"preview-scripts/assets/script/game/component/tween/RotateAround.js"},{"deps":{},"path":"preview-scripts/assets/script/game/component/tween/UIOpenAndClose.js"},{"deps":{},"path":"preview-scripts/assets/script/game/data/HttpData.js"},{"deps":{},"path":"preview-scripts/assets/script/game/component/tween/FlyNode.js"},{"deps":{},"path":"preview-scripts/assets/script/game/data/module/PigBankData.js"},{"deps":{"./TweenEasing":51},"path":"preview-scripts/assets/script/game/component/tween/UITween.js"},{"deps":{},"path":"preview-scripts/assets/script/game/data/AdData.js"},{"deps":{},"path":"preview-scripts/assets/script/game/data/WechatData.js"},{"deps":{},"path":"preview-scripts/assets/script/game/data/module/HelpData.js"},{"deps":{"./FunBtns":12},"path":"preview-scripts/assets/script/game/module/game/Game.js"},{"deps":{"./AdData":63,"./AppData":54,"./HttpData":59,"./GameData":55,"./LoginData":53,"./WechatData":64,"./StorageData":56,"./module/HelpData":65,"./module/PigBankData":61},"path":"preview-scripts/assets/script/game/data/g.js"},{"deps":{},"path":"preview-scripts/assets/script/game/data/module/SignData.js"},{"deps":{},"path":"preview-scripts/assets/script/game/component/Button.js"},{"deps":{},"path":"preview-scripts/assets/script/game/module/module/turntable/TurnableItem.js"},{"deps":{},"path":"preview-scripts/assets/script/mk/sdk/ad/toppon/AnyThinkAds/Android/ATAndroidInterstitialJS.js"},{"deps":{"./ATSDKMgr":73,"../zgSingleton":16},"path":"preview-scripts/assets/script/mk/sdk/ad/toppon/AnyThinkAdsMgr/ATNative.js"},{"deps":{"../../../../system/JsbSystem":21,"../zgSingleton":16,"./ATNative":72,"./ATRewardVideo":77},"path":"preview-scripts/assets/script/mk/sdk/ad/toppon/AnyThinkAdsMgr/ATSDKMgr.js"},{"deps":{},"path":"preview-scripts/assets/script/mk/sdk/ad/toppon/AnyThinkAdsMgr/ATNativeJS.js"},{"deps":{"./ATSDKMgr":73,"../zgSingleton":16},"path":"preview-scripts/assets/script/mk/sdk/ad/toppon/AnyThinkAdsMgr/ATInterstitial.js"},{"deps":{},"path":"preview-scripts/assets/script/mk/sdk/ad/toppon/AnyThinkAdsMgr/ATInterstitialJS.js"},{"deps":{"../zgSingleton":16,"./ATSDKMgr":73},"path":"preview-scripts/assets/script/mk/sdk/ad/toppon/AnyThinkAdsMgr/ATRewardVideo.js"},{"deps":{"./iOS/ATiOSInterstitialJS":88,"./Android/ATAndroidInterstitialJS":71},"path":"preview-scripts/assets/script/mk/sdk/ad/toppon/AnyThinkAds/ATInterstitialJSSDK.js"},{"deps":{},"path":"preview-scripts/assets/script/mk/sdk/ad/toppon/AnyThinkAdsMgr/ATSDKMgrJS.js"},{"deps":{},"path":"preview-scripts/assets/script/mk/sdk/ad/toppon/AnyThinkAdsMgr/ATRewardVideoJS.js"},{"deps":{"./Android/ATAndroidRewardedVideoJS":92,"./iOS/ATiOSRewardedVideoJS":93},"path":"preview-scripts/assets/script/mk/sdk/ad/toppon/AnyThinkAds/ATRewardedVideoJSSDK.js"},{"deps":{"./Android/ATAndroidJS":89,"./iOS/ATiOSJS":91},"path":"preview-scripts/assets/script/mk/sdk/ad/toppon/AnyThinkAds/ATJSSDK.js"},{"deps":{"./Android/ATAndroidNativeJS":85,"./iOS/ATiOSNativeJS":90},"path":"preview-scripts/assets/script/mk/sdk/ad/toppon/AnyThinkAds/ATNativeJSSDK.js"},{"deps":{"../zgSingleton":16,"./ATSDKMgr":73},"path":"preview-scripts/assets/script/mk/sdk/ad/toppon/AnyThinkAdsMgr/ATBanner.js"},{"deps":{},"path":"preview-scripts/assets/script/mk/sdk/ad/toppon/AnyThinkAds/Android/ATAndroidNativeJS.js"},{"deps":{"./Android/ATAndroidBannerJS":87,"./iOS/ATiOSBannerJS":6},"path":"preview-scripts/assets/script/mk/sdk/ad/toppon/AnyThinkAds/ATBannerJSSDK.js"},{"deps":{},"path":"preview-scripts/assets/script/mk/sdk/ad/toppon/AnyThinkAds/Android/ATAndroidBannerJS.js"},{"deps":{"ATiOSJS":91},"path":"preview-scripts/assets/script/mk/sdk/ad/toppon/AnyThinkAds/iOS/ATiOSInterstitialJS.js"},{"deps":{},"path":"preview-scripts/assets/script/mk/sdk/ad/toppon/AnyThinkAds/Android/ATAndroidJS.js"},{"deps":{"ATiOSJS":91},"path":"preview-scripts/assets/script/mk/sdk/ad/toppon/AnyThinkAds/iOS/ATiOSNativeJS.js"},{"deps":{},"path":"preview-scripts/assets/script/mk/sdk/ad/toppon/AnyThinkAds/iOS/ATiOSJS.js"},{"deps":{},"path":"preview-scripts/assets/script/mk/sdk/ad/toppon/AnyThinkAds/Android/ATAndroidRewardedVideoJS.js"},{"deps":{"ATiOSJS":91},"path":"preview-scripts/assets/script/mk/sdk/ad/toppon/AnyThinkAds/iOS/ATiOSRewardedVideoJS.js"}];
- var entries = ["preview-scripts/__qc_index__.js"];
- var bundleScript = 'preview-scripts/__qc_bundle__.js';
- /**
- * Notice: This file can not use ES6 (for IE 11)
- */
- var modules = {};
- var name2path = {};
- // Will generated by module.js plugin
- // var scripts = ${scripts};
- // var entries = ${entries};
- // var bundleScript = ${bundleScript};
- if (typeof global === 'undefined') {
- window.global = window;
- }
- var isJSB = typeof jsb !== 'undefined';
- function getXMLHttpRequest () {
- return window.XMLHttpRequest ? new window.XMLHttpRequest() : new ActiveXObject('MSXML2.XMLHTTP');
- }
- function downloadText(url, callback) {
- if (isJSB) {
- var result = jsb.fileUtils.getStringFromFile(url);
- callback(null, result);
- return;
- }
- var xhr = getXMLHttpRequest(),
- errInfo = 'Load text file failed: ' + url;
- xhr.open('GET', url, true);
- if (xhr.overrideMimeType) xhr.overrideMimeType('text\/plain; charset=utf-8');
- xhr.onload = function () {
- if (xhr.readyState === 4) {
- if (xhr.status === 200 || xhr.status === 0) {
- callback(null, xhr.responseText);
- }
- else {
- callback({status:xhr.status, errorMessage:errInfo + ', status: ' + xhr.status});
- }
- }
- else {
- callback({status:xhr.status, errorMessage:errInfo + '(wrong readyState)'});
- }
- };
- xhr.onerror = function(){
- callback({status:xhr.status, errorMessage:errInfo + '(error)'});
- };
- xhr.ontimeout = function(){
- callback({status:xhr.status, errorMessage:errInfo + '(time out)'});
- };
- xhr.send(null);
- };
- function loadScript (src, cb) {
- if (typeof require !== 'undefined') {
- require(src);
- return cb();
- }
- // var timer = 'load ' + src;
- // console.time(timer);
- var scriptElement = document.createElement('script');
- function done() {
- // console.timeEnd(timer);
- // deallocation immediate whatever
- scriptElement.remove();
- }
- scriptElement.onload = function () {
- done();
- cb();
- };
- scriptElement.onerror = function () {
- done();
- var error = 'Failed to load ' + src;
- console.error(error);
- cb(new Error(error));
- };
- scriptElement.setAttribute('type','text/javascript');
- scriptElement.setAttribute('charset', 'utf-8');
- scriptElement.setAttribute('src', src);
- document.head.appendChild(scriptElement);
- }
- function loadScripts (srcs, cb) {
- var n = srcs.length;
- srcs.forEach(function (src) {
- loadScript(src, function () {
- n--;
- if (n === 0) {
- cb();
- }
- });
- })
- }
- function formatPath (path) {
- let destPath = window.__quick_compile_project__.destPath;
- if (destPath) {
- let prefix = 'preview-scripts';
- if (destPath[destPath.length - 1] === '/') {
- prefix += '/';
- }
- path = path.replace(prefix, destPath);
- }
- return path;
- }
- window.__quick_compile_project__ = {
- destPath: '',
- registerModule: function (path, module) {
- path = formatPath(path);
- modules[path].module = module;
- },
- registerModuleFunc: function (path, func) {
- path = formatPath(path);
- modules[path].func = func;
- var sections = path.split('/');
- var name = sections[sections.length - 1];
- name = name.replace(/\.(?:js|ts|json)$/i, '');
- name2path[name] = path;
- },
- require: function (request, path) {
- var m, requestScript;
- path = formatPath(path);
- if (path) {
- m = modules[path];
- if (!m) {
- console.warn('Can not find module for path : ' + path);
- return null;
- }
- }
- if (m) {
- let depIndex = m.deps[request];
- // dependence script was excluded
- if (depIndex === -1) {
- return null;
- }
- else {
- requestScript = scripts[ m.deps[request] ];
- }
- }
-
- let requestPath = '';
- if (!requestScript) {
- // search from name2path when request is a dynamic module name
- if (/^[\w- .]*$/.test(request)) {
- requestPath = name2path[request];
- }
- if (!requestPath) {
- if (CC_JSB) {
- return require(request);
- }
- else {
- console.warn('Can not find deps [' + request + '] for path : ' + path);
- return null;
- }
- }
- }
- else {
- requestPath = formatPath(requestScript.path);
- }
- let requestModule = modules[requestPath];
- if (!requestModule) {
- console.warn('Can not find request module for path : ' + requestPath);
- return null;
- }
- if (!requestModule.module && requestModule.func) {
- requestModule.func();
- }
- if (!requestModule.module) {
- console.warn('Can not find requestModule.module for path : ' + path);
- return null;
- }
- return requestModule.module.exports;
- },
- run: function () {
- entries.forEach(function (entry) {
- entry = formatPath(entry);
- var module = modules[entry];
- if (!module.module) {
- module.func();
- }
- });
- },
- load: function (cb) {
- var self = this;
- var srcs = scripts.map(function (script) {
- var path = formatPath(script.path);
- modules[path] = script;
- if (script.mtime) {
- path += ("?mtime=" + script.mtime);
- }
- return path;
- });
- console.time && console.time('load __quick_compile_project__');
- // jsb can not analysis sourcemap, so keep separate files.
- if (bundleScript && !isJSB) {
- downloadText(formatPath(bundleScript), function (err, bundleSource) {
- console.timeEnd && console.timeEnd('load __quick_compile_project__');
- if (err) {
- console.error(err);
- return;
- }
- let evalTime = 'eval __quick_compile_project__ : ' + srcs.length + ' files';
- console.time && console.time(evalTime);
- var sources = bundleSource.split('\n//------QC-SOURCE-SPLIT------\n');
- for (var i = 0; i < sources.length; i++) {
- if (sources[i]) {
- window.eval(sources[i]);
- // not sure why new Function cannot set breakpoints precisely
- // new Function(sources[i])()
- }
- }
- self.run();
- console.timeEnd && console.timeEnd(evalTime);
- cb();
- })
- }
- else {
- loadScripts(srcs, function () {
- self.run();
- console.timeEnd && console.timeEnd('load __quick_compile_project__');
- cb();
- });
- }
- }
- };
- // Polyfill for IE 11
- if (!('remove' in Element.prototype)) {
- Element.prototype.remove = function () {
- if (this.parentNode) {
- this.parentNode.removeChild(this);
- }
- };
- }
- })();
-
|