diff --git a/test/index.html b/test/index.html index c84c9d4..552c519 100644 --- a/test/index.html +++ b/test/index.html @@ -20,6 +20,12 @@ var fc = getFC(), assets = getAssets(fc.f, fc.c, '../src/', '../libs/'); loadAssets(assets.css, assets.js); + + var fx, sfx; + $(function () { + $.fx.off = true; + $.support.transition = false; + }); </script> </head> diff --git a/test/loader.js b/test/loader.js index cb54a39..0a5ebf1 100644 --- a/test/loader.js +++ b/test/loader.js @@ -69,7 +69,7 @@ function getAssets(f, c, src, libs) { //date js.push(inputs+'dateui/dateui.js'); js.push(inputs+'dateui/jquery-ui-datepicker/js/jquery-ui-1.9.1.custom.js'); - css.unshift(inputs+'dateui/jquery-ui-datepicker/css/smoothness/jquery-ui-1.9.1.custom.css'); + css.unshift(inputs+'dateui/jquery-ui-datepicker/css/redmond/jquery-ui-1.9.1.custom.css'); //style css.push('style.css'); @@ -92,7 +92,7 @@ function getAssets(f, c, src, libs) { return (c === 'inline') ? containers+'/editable-inline.js' : containers + container; } - js.push('main.js'); + //js.push('main.js'); return {css: css, js: js}; } @@ -117,10 +117,8 @@ function loadCss(url) { } function loadJs(url) { - //console.log(url); if(!url) return; var script = document.createElement("script"); -// script.src = url+'?'+Math.random(); //debug doesnot work with random script.src = url; document.getElementsByTagName("head")[0].appendChild(script); } \ No newline at end of file diff --git a/test/main.js b/test/main.js deleted file mode 100644 index 0d4b887..0000000 --- a/test/main.js +++ /dev/null @@ -1,5 +0,0 @@ -var fx, sfx; -$(function () { - $.fx.off = true; - $.support.transition = false; -}); \ No newline at end of file