|
|
|
// modules are defined as an array
|
|
|
|
// [ module function, map of requires ]
|
|
|
|
//
|
|
|
|
// map of requires is short require name -> numeric require
|
|
|
|
//
|
|
|
|
// anything defined in a previous bundle is accessed via the
|
|
|
|
// orig method which is the require for previous bundles
|
|
|
|
|
|
|
|
// eslint-disable-next-line no-global-assign
|
|
|
|
parcelRequire = (function (modules, cache, entry, globalName) {
|
|
|
|
// Save the require from previous bundle to this closure if any
|
|
|
|
var previousRequire = typeof parcelRequire === 'function' && parcelRequire;
|
|
|
|
var nodeRequire = typeof require === 'function' && require;
|
|
|
|
|
|
|
|
function newRequire(name, jumped) {
|
|
|
|
if (!cache[name]) {
|
|
|
|
if (!modules[name]) {
|
|
|
|
// if we cannot find the module within our internal map or
|
|
|
|
// cache jump to the current global require ie. the last bundle
|
|
|
|
// that was added to the page.
|
|
|
|
var currentRequire = typeof parcelRequire === 'function' && parcelRequire;
|
|
|
|
if (!jumped && currentRequire) {
|
|
|
|
return currentRequire(name, true);
|
|
|
|
}
|
|
|
|
|
|
|
|
// If there are other bundles on this page the require from the
|
|
|
|
// previous one is saved to 'previousRequire'. Repeat this as
|
|
|
|
// many times as there are bundles until the module is found or
|
|
|
|
// we exhaust the require chain.
|
|
|
|
if (previousRequire) {
|
|
|
|
return previousRequire(name, true);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Try the node require function if it exists.
|
|
|
|
if (nodeRequire && typeof name === 'string') {
|
|
|
|
return nodeRequire(name);
|
|
|
|
}
|
|
|
|
|
|
|
|
var err = new Error('Cannot find module \'' + name + '\'');
|
|
|
|
err.code = 'MODULE_NOT_FOUND';
|
|
|
|
throw err;
|
|
|
|
}
|
|
|
|
|
|
|
|
localRequire.resolve = resolve;
|
|
|
|
localRequire.cache = {};
|
|
|
|
|
|
|
|
var module = cache[name] = new newRequire.Module(name);
|
|
|
|
|
|
|
|
modules[name][0].call(module.exports, localRequire, module, module.exports, this);
|
|
|
|
}
|
|
|
|
|
|
|
|
return cache[name].exports;
|
|
|
|
|
|
|
|
function localRequire(x){
|
|
|
|
return newRequire(localRequire.resolve(x));
|
|
|
|
}
|
|
|
|
|
|
|
|
function resolve(x){
|
|
|
|
return modules[name][1][x] || x;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
function Module(moduleName) {
|
|
|
|
this.id = moduleName;
|
|
|
|
this.bundle = newRequire;
|
|
|
|
this.exports = {};
|
|
|
|
}
|
|
|
|
|
|
|
|
newRequire.isParcelRequire = true;
|
|
|
|
newRequire.Module = Module;
|
|
|
|
newRequire.modules = modules;
|
|
|
|
newRequire.cache = cache;
|
|
|
|
newRequire.parent = previousRequire;
|
|
|
|
newRequire.register = function (id, exports) {
|
|
|
|
modules[id] = [function (require, module) {
|
|
|
|
module.exports = exports;
|
|
|
|
}, {}];
|
|
|
|
};
|
|
|
|
|
|
|
|
for (var i = 0; i < entry.length; i++) {
|
|
|
|
newRequire(entry[i]);
|
|
|
|
}
|
|
|
|
|
|
|
|
if (entry.length) {
|
|
|
|
// Expose entry point to Node, AMD or browser globals
|
|
|
|
// Based on https://github.com/ForbesLindesay/umd/blob/master/template.js
|
|
|
|
var mainExports = newRequire(entry[entry.length - 1]);
|
|
|
|
|
|
|
|
// CommonJS
|
|
|
|
if (typeof exports === "object" && typeof module !== "undefined") {
|
|
|
|
module.exports = mainExports;
|
|
|
|
|
|
|
|
// RequireJS
|
|
|
|
} else if (typeof define === "function" && define.amd) {
|
|
|
|
define(function () {
|
|
|
|
return mainExports;
|
|
|
|
});
|
|
|
|
|
|
|
|
// <script>
|
|
|
|
} else if (globalName) {
|
|
|
|
this[globalName] = mainExports;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Override the current require with this new one
|
|
|
|
return newRequire;
|
|
|
|
})({"package.json":[function(require,module,exports) {
|
|
|
|
module.exports = {
|
|
|
|
"name": "tippin-badge",
|
|
|
|
"version": "1.0.0",
|
|
|
|
"description": "Readme badge generator for tippin.me",
|
|
|
|
"main": "index.html",
|
|
|
|
"repository": "lukechilds/tippin-badge",
|
|
|
|
"author": "Luke Childs <lukechilds123@gmail.com>",
|
|
|
|
"license": "MIT",
|
|
|
|
"private": true,
|
|
|
|
"scripts": {
|
|
|
|
"dev": "parcel index.html",
|
|
|
|
"build": "parcel build index.html --public-url https://lukechilds.github.io/tippin-badge",
|
|
|
|
"predeploy": "yarn build",
|
|
|
|
"deploy": "gh-pages -d dist"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"gh-pages": "^2.0.1",
|
|
|
|
"parcel-bundler": "^1.11.0"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"badgen": "^2.7.0",
|
|
|
|
"escape-html": "^1.0.3",
|
|
|
|
"modern-normalize": "^0.5.0"
|
|
|
|
}
|
|
|
|
};
|
|
|
|
},{}],"node_modules/badgen/dist/index.js":[function(require,module,exports) {
|
|
|
|
module.exports=function(t,e){"use strict";var n={};function __webpack_require__(e){if(n[e]){return n[e].exports}var i=n[e]={i:e,l:false,exports:{}};t[e].call(i.exports,i,i.exports,__webpack_require__);i.l=true;return i.exports}return __webpack_require__(655)}({593:function(t,e,n){const i=n(8).Verdana110;const r=n(938);const s=t=>t.replace(/\u0026/g,"&").replace(/\u003C/g,"<");t.exports=(({status:t,color:e,style:n})=>{o(typeof t==="string","<status> must be string");e=r[e]||e||r["blue"];const l=i(t);const a=l+115;t=s(t);if(n==="flat"){return`<svg width="${a/10}" height="20" viewBox="0 0 ${a} 200" xmlns="http://www.w3.org/2000/svg">\n <g>\n <rect fill="#${e}" x="0" width="${a}" height="200"/>\n </g>\n <g fill="#fff" text-anchor="start" font-family="Verdana,DejaVu Sans,sans-serif" font-size="110">\n <text x="65" y="148" textLength="${l}" fill="#000" opacity="0.1">${t}</text>\n <text x="55" y="138" textLength="${l}">${t}</text>\n </g>\n</svg>`}return`<svg width="${a/10}" height="20" viewBox="0 0 ${a} 200" xmlns="http://www.w3.org/2000/svg">\n <linearGradient id="a" x2="0" y2="100%">\n <stop offset="0" stop-opacity=".1" stop-color="#EEE"/>\n <stop offset="1" stop-opacity=".1"/>\n </linearGradient>\n <mask id="m"><rect width="${a}" height="200" rx="30" fill="#FFF"/></mask>\n <g mask="url(#m)">\n <rect width="${a}" height="200" fill="#${e}" x="0"/>\n <rect width="${a}" height="200" fill="url(#a)"/>\n </g>\n <g fill="#fff" text-anchor="start" font-family="Verdana,DejaVu Sans,sans-serif" font-size="110">\n <text x="65" y="148" textLength="${l}" fill="#000" opacity="0.25">${t}</text>\n <text x="55" y="138" textLength="${l}">${t}</text>\n </g>\n</svg>`});const o=(t,e)=>{if(!t)throw new TypeError(e)}},655:function(t,e,n){const i=n(8).Verdana110;const r=n(938);const s=t=>t.replace(/\u0026/g,"&").replace(/\u003C/g,"<");const o=n(593);t.exports=(({subject:t,status:e,color:n,style:a,icon:x,iconWidth:h=13})=>{l(typeof e==="string","<status> must be string");if(!t&&!x){return o({status:e,color:n,style:a})}n=r[n]||n||r["blue"];h=h*10;const f=x?t.length?h+30:h-18:0;const g=x?f+50:50;const c=i(t);const $=i(e);const p=c+100+f;const w=$+100;const u=p+w;const y=x?' xmlns:xlink="http://www.w3.org/1999/xlink"':"";t=s(t);e=s(e);if(a==="flat"){return`<svg width="${u/10}" height="20" viewBox="0 0 ${u} 200" xmlns="http://www.w3.org/2000/svg"${y}>\n <g>\n <rect fill="#555" width="${p}" height="200"/>\n <rect fill="#${n}" x="${p}" width="${w}" height="200"/>\n </g>\n <g fill="#fff" text-anchor="start" font-family="Verdana,DejaVu Sans,sans-serif" font-size="110">\n <text x="${g+10}" y="148" textLength="${c}" fill="#000" opacity="0.1">${t}</text>\n <text x="${g}" y="138" textLength="${c}">${t}</text>\n <text x="${p+55}" y="148" textLength="${$}" fill="#000" opacity="0.1">${e}</text>\n <text x="${p+45}" y="138" textLength="${$}">${e}</text>\n </g>\n ${x?`<image x="40" y="35" width="${h}" height="132" xlink:href="${x}"/>`:""}\n</svg>`}return`<svg width="${u/10}" height="20" viewBox="0 0 ${u} 200" xmlns="http://www.w3.org/2000/svg"${y}>\n <linearGradient id="a" x2="0" y2="100%">\n <stop offset="0" stop-opacity=".1" stop-color="#EEE"/>\n <stop offset="1" stop-opacity=".1"/>\n </linearGradient>\n <mask id="m"><rect width="${u}" height="200" rx="30" fill="#FFF"/></mask>\n <g mask="url(#m)">\n <rect width="${p}" height="200" fill="#555"/>\n <rect width="${w}" height="200" fill="#${n}" x="${p}"/>\n <rect width="${u}" height="200" fill="url(#a)"/>\n </g>\n <g fill="#fff" text-anchor="start" font-family="Verdana,DejaVu Sans,sans-serif" font-size="110">\n <text x="${g+10}" y="148" textLength="${c}" fill="#000" opacity="0.25">${t}</text>\n <text x="${g}" y="138" textLength="${c}">${t}</text>\n <text x="${p+55}" y="148" textLength="${$}" fill="#000" opacity="0.25">${e}</text>\n <text x="${p+45}" y="138" textLength="${$}">${e}</text>\n </g>\n ${x?`<image x="40" y="35" width="${h}" height="130" xlink:href="${x}"/>`:""}\n</svg>`});const l=(t,e)=>{if(!t)throw ne
|
|
|
|
|
|
|
|
},{}],"node_modules/escape-html/index.js":[function(require,module,exports) {
|
|
|
|
/*!
|
|
|
|
* escape-html
|
|
|
|
* Copyright(c) 2012-2013 TJ Holowaychuk
|
|
|
|
* Copyright(c) 2015 Andreas Lubbe
|
|
|
|
* Copyright(c) 2015 Tiancheng "Timothy" Gu
|
|
|
|
* MIT Licensed
|
|
|
|
*/
|
|
|
|
|
|
|
|
'use strict';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Module variables.
|
|
|
|
* @private
|
|
|
|
*/
|
|
|
|
|
|
|
|
var matchHtmlRegExp = /["'&<>]/;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Module exports.
|
|
|
|
* @public
|
|
|
|
*/
|
|
|
|
|
|
|
|
module.exports = escapeHtml;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Escape special characters in the given string of html.
|
|
|
|
*
|
|
|
|
* @param {string} string The string to escape for inserting into HTML
|
|
|
|
* @return {string}
|
|
|
|
* @public
|
|
|
|
*/
|
|
|
|
|
|
|
|
function escapeHtml(string) {
|
|
|
|
var str = '' + string;
|
|
|
|
var match = matchHtmlRegExp.exec(str);
|
|
|
|
|
|
|
|
if (!match) {
|
|
|
|
return str;
|
|
|
|
}
|
|
|
|
|
|
|
|
var escape;
|
|
|
|
var html = '';
|
|
|
|
var index = 0;
|
|
|
|
var lastIndex = 0;
|
|
|
|
|
|
|
|
for (index = match.index; index < str.length; index++) {
|
|
|
|
switch (str.charCodeAt(index)) {
|
|
|
|
case 34: // "
|
|
|
|
escape = '"';
|
|
|
|
break;
|
|
|
|
case 38: // &
|
|
|
|
escape = '&';
|
|
|
|
break;
|
|
|
|
case 39: // '
|
|
|
|
escape = ''';
|
|
|
|
break;
|
|
|
|
case 60: // <
|
|
|
|
escape = '<';
|
|
|
|
break;
|
|
|
|
case 62: // >
|
|
|
|
escape = '>';
|
|
|
|
break;
|
|
|
|
default:
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
|
|
|
|
if (lastIndex !== index) {
|
|
|
|
html += str.substring(lastIndex, index);
|
|
|
|
}
|
|
|
|
|
|
|
|
lastIndex = index + 1;
|
|
|
|
html += escape;
|
|
|
|
}
|
|
|
|
|
|
|
|
return lastIndex !== index
|
|
|
|
? html + str.substring(lastIndex, index)
|
|
|
|
: html;
|
|
|
|
}
|
|
|
|
|
|
|
|
},{}],"script.js":[function(require,module,exports) {
|
|
|
|
var _require = require('./package'),
|
|
|
|
version = _require.version;
|
|
|
|
|
|
|
|
var badgen = require('badgen');
|
|
|
|
|
|
|
|
var escape = require('escape-html');
|
|
|
|
|
|
|
|
document.querySelector('.version').innerText = "v".concat(version);
|
|
|
|
|
|
|
|
var badgeLinkUrl = function badgeLinkUrl(username) {
|
|
|
|
return "https://tippin.me/@".concat(username);
|
|
|
|
};
|
|
|
|
|
|
|
|
var badgeImageUrl = function badgeImageUrl(username) {
|
|
|
|
return "https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@".concat(username, "/F0918E");
|
|
|
|
};
|
|
|
|
|
|
|
|
var badgeSVG = function badgeSVG(username) {
|
|
|
|
return badgen({
|
|
|
|
subject: '⚡️tippin.me',
|
|
|
|
status: "@".concat(username),
|
|
|
|
color: 'F0918E'
|
|
|
|
});
|
|
|
|
};
|
|
|
|
|
|
|
|
var badgeHtmlPreview = function badgeHtmlPreview(username) {
|
|
|
|
return "<a href=\"".concat(badgeLinkUrl(username), "\" rel=\"noopener noreferrer\" target=\"_blank\">\n ").concat(badgeSVG(username), "\n</a>");
|
|
|
|
};
|
|
|
|
|
|
|
|
var badgeHtml = function badgeHtml(username) {
|
|
|
|
return "<a href=\"".concat(badgeLinkUrl(username), "\" rel=\"noopener noreferrer\" target=\"_blank\">\n <img src=\"").concat(badgeImageUrl(username), "\" alt=\"@").concat(username, " on tippin.me\"/>\n</a>");
|
|
|
|
};
|
|
|
|
|
|
|
|
var badgeMarkdown = function badgeMarkdown(username) {
|
|
|
|
return "[![tippin.me](".concat(badgeImageUrl(username), ")](").concat(badgeLinkUrl(username), ")");
|
|
|
|
};
|
|
|
|
|
|
|
|
var usernameInput = document.querySelector('input[name="username"]');
|
|
|
|
var badgePreview = document.querySelector('.badge-preview');
|
|
|
|
var badgeHtmlSource = document.querySelector('.badge-html');
|
|
|
|
var badgeMarkdownSource = document.querySelector('.badge-markdown');
|
|
|
|
var badgeSvgSource = document.querySelector('.badge-svg');
|
|
|
|
|
|
|
|
var generateBadge = function generateBadge() {
|
|
|
|
var username = escape(usernameInput.value) || 'username';
|
|
|
|
badgePreview.innerHTML = badgeHtmlPreview(username);
|
|
|
|
badgeHtmlSource.innerText = badgeHtml(username);
|
|
|
|
badgeMarkdownSource.innerText = badgeMarkdown(username);
|
|
|
|
badgeSvgSource.innerText = badgeSVG(username);
|
|
|
|
};
|
|
|
|
|
|
|
|
generateBadge();
|
|
|
|
usernameInput.addEventListener('input', generateBadge);
|
|
|
|
},{"./package":"package.json","badgen":"node_modules/badgen/dist/index.js","escape-html":"node_modules/escape-html/index.js"}],"node_modules/parcel-bundler/src/builtins/hmr-runtime.js":[function(require,module,exports) {
|
|
|
|
var global = arguments[3];
|
|
|
|
var OVERLAY_ID = '__parcel__error__overlay__';
|
|
|
|
var OldModule = module.bundle.Module;
|
|
|
|
|
|
|
|
function Module(moduleName) {
|
|
|
|
OldModule.call(this, moduleName);
|
|
|
|
this.hot = {
|
|
|
|
data: module.bundle.hotData,
|
|
|
|
_acceptCallbacks: [],
|
|
|
|
_disposeCallbacks: [],
|
|
|
|
accept: function (fn) {
|
|
|
|
this._acceptCallbacks.push(fn || function () {});
|
|
|
|
},
|
|
|
|
dispose: function (fn) {
|
|
|
|
this._disposeCallbacks.push(fn);
|
|
|
|
}
|
|
|
|
};
|
|
|
|
module.bundle.hotData = null;
|
|
|
|
}
|
|
|
|
|
|
|
|
module.bundle.Module = Module;
|
|
|
|
var parent = module.bundle.parent;
|
|
|
|
|
|
|
|
if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {
|
|
|
|
var hostname = "" || location.hostname;
|
|
|
|
var protocol = location.protocol === 'https:' ? 'wss' : 'ws';
|
|
|
|
var ws = new WebSocket(protocol + '://' + hostname + ':' + "54647" + '/');
|
|
|
|
|
|
|
|
ws.onmessage = function (event) {
|
|
|
|
var data = JSON.parse(event.data);
|
|
|
|
|
|
|
|
if (data.type === 'update') {
|
|
|
|
console.clear();
|
|
|
|
data.assets.forEach(function (asset) {
|
|
|
|
hmrApply(global.parcelRequire, asset);
|
|
|
|
});
|
|
|
|
data.assets.forEach(function (asset) {
|
|
|
|
if (!asset.isNew) {
|
|
|
|
hmrAccept(global.parcelRequire, asset.id);
|
|
|
|
}
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
if (data.type === 'reload') {
|
|
|
|
ws.close();
|
|
|
|
|
|
|
|
ws.onclose = function () {
|
|
|
|
location.reload();
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
if (data.type === 'error-resolved') {
|
|
|
|
console.log('[parcel] ✨ Error resolved');
|
|
|
|
removeErrorOverlay();
|
|
|
|
}
|
|
|
|
|
|
|
|
if (data.type === 'error') {
|
|
|
|
console.error('[parcel] 🚨 ' + data.error.message + '\n' + data.error.stack);
|
|
|
|
removeErrorOverlay();
|
|
|
|
var overlay = createErrorOverlay(data);
|
|
|
|
document.body.appendChild(overlay);
|
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
function removeErrorOverlay() {
|
|
|
|
var overlay = document.getElementById(OVERLAY_ID);
|
|
|
|
|
|
|
|
if (overlay) {
|
|
|
|
overlay.remove();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
function createErrorOverlay(data) {
|
|
|
|
var overlay = document.createElement('div');
|
|
|
|
overlay.id = OVERLAY_ID; // html encode message and stack trace
|
|
|
|
|
|
|
|
var message = document.createElement('div');
|
|
|
|
var stackTrace = document.createElement('pre');
|
|
|
|
message.innerText = data.error.message;
|
|
|
|
stackTrace.innerText = data.error.stack;
|
|
|
|
overlay.innerHTML = '<div style="background: black; font-size: 16px; color: white; position: fixed; height: 100%; width: 100%; top: 0px; left: 0px; padding: 30px; opacity: 0.85; font-family: Menlo, Consolas, monospace; z-index: 9999;">' + '<span style="background: red; padding: 2px 4px; border-radius: 2px;">ERROR</span>' + '<span style="top: 2px; margin-left: 5px; position: relative;">🚨</span>' + '<div style="font-size: 18px; font-weight: bold; margin-top: 20px;">' + message.innerHTML + '</div>' + '<pre>' + stackTrace.innerHTML + '</pre>' + '</div>';
|
|
|
|
return overlay;
|
|
|
|
}
|
|
|
|
|
|
|
|
function getParents(bundle, id) {
|
|
|
|
var modules = bundle.modules;
|
|
|
|
|
|
|
|
if (!modules) {
|
|
|
|
return [];
|
|
|
|
}
|
|
|
|
|
|
|
|
var parents = [];
|
|
|
|
var k, d, dep;
|
|
|
|
|
|
|
|
for (k in modules) {
|
|
|
|
for (d in modules[k][1]) {
|
|
|
|
dep = modules[k][1][d];
|
|
|
|
|
|
|
|
if (dep === id || Array.isArray(dep) && dep[dep.length - 1] === id) {
|
|
|
|
parents.push(k);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (bundle.parent) {
|
|
|
|
parents = parents.concat(getParents(bundle.parent, id));
|
|
|
|
}
|
|
|
|
|
|
|
|
return parents;
|
|
|
|
}
|
|
|
|
|
|
|
|
function hmrApply(bundle, asset) {
|
|
|
|
var modules = bundle.modules;
|
|
|
|
|
|
|
|
if (!modules) {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
if (modules[asset.id] || !bundle.parent) {
|
|
|
|
var fn = new Function('require', 'module', 'exports', asset.generated.js);
|
|
|
|
asset.isNew = !modules[asset.id];
|
|
|
|
modules[asset.id] = [fn, asset.deps];
|
|
|
|
} else if (bundle.parent) {
|
|
|
|
hmrApply(bundle.parent, asset);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
function hmrAccept(bundle, id) {
|
|
|
|
var modules = bundle.modules;
|
|
|
|
|
|
|
|
if (!modules) {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
if (!modules[id] && bundle.parent) {
|
|
|
|
return hmrAccept(bundle.parent, id);
|
|
|
|
}
|
|
|
|
|
|
|
|
var cached = bundle.cache[id];
|
|
|
|
bundle.hotData = {};
|
|
|
|
|
|
|
|
if (cached) {
|
|
|
|
cached.hot.data = bundle.hotData;
|
|
|
|
}
|
|
|
|
|
|
|
|
if (cached && cached.hot && cached.hot._disposeCallbacks.length) {
|
|
|
|
cached.hot._disposeCallbacks.forEach(function (cb) {
|
|
|
|
cb(bundle.hotData);
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
delete bundle.cache[id];
|
|
|
|
bundle(id);
|
|
|
|
cached = bundle.cache[id];
|
|
|
|
|
|
|
|
if (cached && cached.hot && cached.hot._acceptCallbacks.length) {
|
|
|
|
cached.hot._acceptCallbacks.forEach(function (cb) {
|
|
|
|
cb();
|
|
|
|
});
|
|
|
|
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
return getParents(global.parcelRequire, id).some(function (id) {
|
|
|
|
return hmrAccept(global.parcelRequire, id);
|
|
|
|
});
|
|
|
|
}
|
|
|
|
},{}]},{},["node_modules/parcel-bundler/src/builtins/hmr-runtime.js","script.js"], null)
|
|
|
|
//# sourceMappingURL=/script.75da7f30.map
|