mirror of
https://github.com/lospec/pixel-editor.git
synced 2023-08-10 21:12:51 +03:00
fixed links to css/js urls
this should hopefully make it so the css js files are properly loaded when on the apps site. I also made it so the build file only compiles pixel-editor.js since it was compiling everything in the folder for no reason
This commit is contained in:
parent
40299853ca
commit
6ec80cf410
2
build.js
2
build.js
@ -34,7 +34,7 @@ function copy_logs() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function render_js(){
|
function render_js(){
|
||||||
gulp.src('./js/*.js')
|
gulp.src('./js/pixel-editor.js')
|
||||||
.pipe(include({includePaths: [
|
.pipe(include({includePaths: [
|
||||||
'js',
|
'js',
|
||||||
'!js/_*.js',
|
'!js/_*.js',
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<title>{{title}}</title>
|
<title>{{title}}</title>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,400i,700,900" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,400i,700,900" rel="stylesheet">
|
||||||
<link rel="stylesheet" href="/pixel-editor.css" />
|
<link rel="stylesheet" href="pixel-editor.css" />
|
||||||
<meta name="ROBOTS" content="NOINDEX, NOFOLLOW">
|
<meta name="ROBOTS" content="NOINDEX, NOFOLLOW">
|
||||||
{{{google-analytics}}}
|
{{{google-analytics}}}
|
||||||
{{{favicons}}}
|
{{{favicons}}}
|
||||||
@ -40,7 +40,7 @@
|
|||||||
{{> save-project}}
|
{{> save-project}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="/pixel-editor.js"></script>
|
<script src="pixel-editor.js"></script>
|
||||||
{{#reload}}<script src="/reload/reload.js"></script>{{/reload}}
|
{{#reload}}<script src="reload/reload.js"></script>{{/reload}}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue
Block a user