Set up bundling and move blog JS to JS file.
This commit is contained in:
parent
1b13e22bce
commit
a375a4356a
6 changed files with 15 additions and 11 deletions
|
@ -57,4 +57,11 @@ Number.prototype.toString=function(input, shouldRound){
|
|||
return this.oldToString(input);
|
||||
|
||||
return round(this, input);
|
||||
};
|
||||
};
|
||||
|
||||
function documentReady(callback) {
|
||||
if (document.readyState === "complete" || document.readyState === "interactive")
|
||||
setTimeout(callback, 1);
|
||||
else
|
||||
document.addEventListener("DOMContentLoaded", callback);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue