mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Fixed : cache issue coming from piskel-boot file
This commit is contained in:
parent
96ef362cf8
commit
243990a90f
@ -161,7 +161,7 @@ module.exports = function(grunt) {
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
files: [
|
files: [
|
||||||
{expand: true, flatten: true, src: ['src/piskel-boot-0.1.0.js'], dest: 'dest/'}
|
{src: ['src/piskel-boot.js'], dest: 'dest/piskel-boot.js'}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
editor: {
|
editor: {
|
||||||
@ -170,6 +170,9 @@ module.exports = function(grunt) {
|
|||||||
{
|
{
|
||||||
match: /templates\//g,
|
match: /templates\//g,
|
||||||
replacement: "../templates"+version+"/"
|
replacement: "../templates"+version+"/"
|
||||||
|
},{
|
||||||
|
match: /piskel-boot.js/g,
|
||||||
|
replacement: "../piskel-boot"+version+".js"
|
||||||
},{
|
},{
|
||||||
match: /^(.|[\r\n])*<!--body-main-start-->/,
|
match: /^(.|[\r\n])*<!--body-main-start-->/,
|
||||||
replacement: "",
|
replacement: "",
|
||||||
@ -194,6 +197,7 @@ module.exports = function(grunt) {
|
|||||||
main: {
|
main: {
|
||||||
files: [
|
files: [
|
||||||
{src: ['dest/js/piskel-packaged-min.js'], dest: 'dest/js/piskel-packaged-min' + version + '.js'},
|
{src: ['dest/js/piskel-packaged-min.js'], dest: 'dest/js/piskel-packaged-min' + version + '.js'},
|
||||||
|
{src: ['dest/piskel-boot.js'], dest: 'dest/piskel-boot' + version + '.js'},
|
||||||
{src: ['src/logo.png'], dest: 'dest/logo.png'},
|
{src: ['src/logo.png'], dest: 'dest/logo.png'},
|
||||||
{src: ['src/js/lib/iframeLoader-0.1.0.js'], dest: 'dest/js/lib/iframeLoader-0.1.0.js'},
|
{src: ['src/js/lib/iframeLoader-0.1.0.js'], dest: 'dest/js/lib/iframeLoader-0.1.0.js'},
|
||||||
{src: ['src/js/lib/gif/gif.ie.worker.js'], dest: 'dest/js/lib/gif/gif.ie.worker.js'},
|
{src: ['src/js/lib/gif/gif.ie.worker.js'], dest: 'dest/js/lib/gif/gif.ie.worker.js'},
|
||||||
@ -246,7 +250,7 @@ module.exports = function(grunt) {
|
|||||||
},
|
},
|
||||||
src: [
|
src: [
|
||||||
'src/js/**/*.js',
|
'src/js/**/*.js',
|
||||||
'src/piskel-boot-0.1.0.js',
|
'src/piskel-boot.js',
|
||||||
'src/piskel-script-list.js',
|
'src/piskel-script-list.js',
|
||||||
'!src/js/lib/**/*.js'
|
'!src/js/lib/**/*.js'
|
||||||
],
|
],
|
||||||
|
@ -75,10 +75,11 @@
|
|||||||
|
|
||||||
<iframe src="templates/cheatsheet.html" onload="iframeloader.onLoad(event)" data-iframe-loader="display"></iframe>
|
<iframe src="templates/cheatsheet.html" onload="iframeloader.onLoad(event)" data-iframe-loader="display"></iframe>
|
||||||
<iframe src="templates/misc-templates.html" onload="iframeloader.onLoad(event)" data-iframe-loader="display"></iframe>
|
<iframe src="templates/misc-templates.html" onload="iframeloader.onLoad(event)" data-iframe-loader="display"></iframe>
|
||||||
|
|
||||||
|
<script type="text/javascript" src="piskel-boot.js"></script>
|
||||||
<!--body-main-end-->
|
<!--body-main-end-->
|
||||||
<!-- the comment above indicates the end of the markup reused by the editor integrated in piskelapp.com -->
|
<!-- the comment above indicates the end of the markup reused by the editor integrated in piskelapp.com -->
|
||||||
<!-- do not delete, do not move :) -->
|
<!-- do not delete, do not move :) -->
|
||||||
|
|
||||||
<script type="text/javascript" src="piskel-boot-0.1.0.js"></script>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<div class="settings-item">
|
<div class="settings-item">
|
||||||
<div class="settings-form-section" style="overflow:hidden">
|
<div class="settings-form-section" style="overflow:hidden">
|
||||||
<label class="row" style="float:left;line-height:28px;">Title : </label>
|
<label class="row" style="float:left;line-height:28px;">Title : </label>
|
||||||
<input id="save-name" type="text" class="save-field textfield" style="float:left;width:200px;margin-left:10px;"/>
|
<input id="save-name" type="text" class="save-field textfield" style="float:left;width:198px;margin-left:10px;"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="settings-form-section">
|
<div class="settings-form-section">
|
||||||
<textarea id="save-description" class="save-field textfield" placeholder="Description ..."></textarea>
|
<textarea id="save-description" class="save-field textfield" placeholder="Description ..."></textarea>
|
||||||
|
Loading…
Reference in New Issue
Block a user