Enhancement : full piskel build deployed to dest

Use grunt [default] to build the application.
Target dest with a webserver to launch the application.
This commit is contained in:
jdescottes
2014-05-05 22:36:34 +02:00
parent b7362c7082
commit bc23e9cea6
4 changed files with 31 additions and 16 deletions

View File

@@ -59,11 +59,11 @@
} else {
var script;
if (window.location.href.indexOf("pack") != -1) {
script = "build/piskel-packaged.js";
script = "js/piskel-packaged.js";
} else {
script = "build/piskel-packaged-min.js";
script = "js/piskel-packaged-min.js";
}
loadStyle('build/piskel-style-packaged.css');
loadStyle('css/piskel-style-packaged.css');
var loaderInterval = window.setInterval(function () {
if (document.querySelectorAll("[data-iframe-loader]").length === 0) {