mirror of
https://github.com/orangeglo/gbnp.git
synced 2026-09-11 18:15:16 -05:00
Add devload, but comment out
This commit is contained in:
@@ -3,7 +3,8 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Game Boy Nintendo Power ROM Builder</title>
|
||||
<script src="script/vue.js"></script>
|
||||
<script src="script/vue.min.js"></script>
|
||||
<script id="devload" src="script/devload.js"></script>
|
||||
<script src="script/gbnp.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="style.css" />
|
||||
</head>
|
||||
|
||||
10
script/devload.js
Normal file
10
script/devload.js
Normal file
@@ -0,0 +1,10 @@
|
||||
if (document.location.href.includes('file://')) {
|
||||
const head = document.getElementsByTagName('head')[0];
|
||||
const devScript = document.createElement('script');
|
||||
devScript.type = 'text/javascript';
|
||||
devScript.src = 'script/vue.js';
|
||||
|
||||
const thisScript = document.getElementById('devload');
|
||||
thisScript.parentNode.insertBefore(devScript, thisScript.nextSibling);
|
||||
console.log('Development Mode')
|
||||
}
|
||||
10
style.css
10
style.css
@@ -1,34 +1,34 @@
|
||||
@font-face {
|
||||
font-family: "GillSans-HeavyItalic";
|
||||
src: url("../gbnp/font/GillSansHeavyItalic.woff") format("woff");
|
||||
src: url("./font/GillSansHeavyItalic.woff") format("woff");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Early-Gameboy";
|
||||
src: url("../gbnp/font/EarlyGameboy.woff") format("woff");
|
||||
src: url("./font/EarlyGameboy.woff") format("woff");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Gamer";
|
||||
src: url("../gbnp/font/Gamer.woff") format("woff");
|
||||
src: url("./font/Gamer.woff") format("woff");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Pixeltype";
|
||||
src: url("../gbnp/font/Pixeltype.woff") format("woff");
|
||||
src: url("./font/Pixeltype.woff") format("woff");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Nokia";
|
||||
src: url("../gbnp/font/Nokia.woff") format("woff");
|
||||
src: url("./font/Nokia.woff") format("woff");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user