(function () {
var hasFeature = (function(){return window.Promise instanceof Function})();
if (hasFeature) return;
var isView = typeof window !== 'undefined';
var currentURL = isView ? document.currentScript.src : (self.location + '');
var origin = currentURL.split('/').slice(0, 3).join('/');
var paths = [
"/es6-shim/es6-shim.min.js"
];
if (!isView)
return paths.forEach(function (path) {
self.importScripts(origin + path);
});
var tags = paths.map(function (path) {
const URL = origin + path;
return URL.match(/\.css$/i)
? ''
: '';
});
document.write(tags.join('\n'));
})();