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(){
|
||||
gulp.src('./js/*.js')
|
||||
gulp.src('./js/pixel-editor.js')
|
||||
.pipe(include({includePaths: [
|
||||
'js',
|
||||
'!js/_*.js',
|
||||
|
@ -6,7 +6,7 @@
|
||||
<title>{{title}}</title>
|
||||
<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 rel="stylesheet" href="/pixel-editor.css" />
|
||||
<link rel="stylesheet" href="pixel-editor.css" />
|
||||
<meta name="ROBOTS" content="NOINDEX, NOFOLLOW">
|
||||
{{{google-analytics}}}
|
||||
{{{favicons}}}
|
||||
@ -40,7 +40,7 @@
|
||||
{{> save-project}}
|
||||
</div>
|
||||
|
||||
<script src="/pixel-editor.js"></script>
|
||||
{{#reload}}<script src="/reload/reload.js"></script>{{/reload}}
|
||||
<script src="pixel-editor.js"></script>
|
||||
{{#reload}}<script src="reload/reload.js"></script>{{/reload}}
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user