Skip to content

Commit 8252376

Browse files
committed
4.49 release
1 parent 881b9a2 commit 8252376

File tree

29 files changed

+48
-88
lines changed

29 files changed

+48
-88
lines changed

app/controller/utils.php

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

app/template/api/view.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,7 @@
8383
seajs.config({
8484
base: "<?php echo STATIC_PATH;?>js/",
8585
preload: ["lib/jquery-1.8.0.min",'lib/ace/src-min-noconflict/ace'],
86-
map:[
87-
[ /^(.*\.(?:css|js))(.*)$/i,'$1$2?ver='+G.version]
88-
]
86+
map:[[/^(.*\.(?:css|js|html|htm|json|text))([\?|#].*)$/i,'$1$2?ver='+G.version]]
8987
});
9088
seajs.use("<?php echo STATIC_JS;?>/src/api/view/main");
9189
</script>

app/template/app/index.html

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,6 @@ <h1><?php echo LNG('app');?></h1>
2727

2828
<?php include(TEMPLATE.'common/footerCommon.html');?>
2929
<script type="text/javascript">
30-
seajs.config({
31-
base: "<?php echo STATIC_PATH;?>js/",
32-
preload: ["lib/jquery-1.8.0.min"],
33-
map:[
34-
[ /^(.*\.(?:css|js))(.*)$/i,'$1$2?ver='+G.version]
35-
]
36-
});
3730
seajs.use('app/src/app/main');
3831
</script>
3932
</body>

app/template/common/footerCommon.html

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,9 @@
3636
?>
3737
seajs.config({
3838
base: "<?php echo STATIC_PATH;?>js/",
39-
preload: [
40-
"lib/jquery-1.8.0.min",
41-
],
42-
map:[
43-
[ /^(.*\.(?:css|js))(.*)$/i,'$1$2?ver='+G.version]
44-
]
39+
preload: ["lib/jquery-1.8.0.min"],
40+
map:[[/^(.*\.(?:css|js|html|htm|json|text))([\?|#].*)$/i,'$1$2?ver='+G.version]]
4541
});
4642
if(navigator.serviceWorker){navigator.serviceWorker.register('./?share/manifestJS');}
4743
</script>
48-
<?php Hook::trigger('templateCommonFooter');?>
44+
<?php Hook::trigger('templateCommonFooter');?>

app/template/user/install.html

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,6 @@ <h3><?php echo LNG('php_env_check');?></h3>
5656
alert('js文件不完整,请查看浏览器控制台和服务器配置是否正常。或检查文件是否被修改(或咨询主机商压缩js导致文件损坏);[js load error!]');
5757
}
5858
},1000);
59-
seajs.config({
60-
base: "<?php echo STATIC_PATH;?>js/",
61-
preload: ["lib/jquery-1.8.0.min"],
62-
map:[
63-
[ /^(.*\.(?:css|js))(.*)$/i,'$1$2?ver='+G.version]
64-
]
65-
});
6659
seajs.use("<?php echo STATIC_JS;?>/src/user/main");
6760
</script>
6861

app/template/user/license.html

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,6 @@
2424
<?php $GLOBALS['loadCommonJs'] = true;?>
2525
<?php include(TEMPLATE.'common/footer.html');?>
2626
<script type="text/javascript" >
27-
seajs.config({
28-
base: "<?php echo STATIC_PATH;?>js/",
29-
preload: ["lib/jquery-1.8.0.min"],
30-
map:[
31-
[ /^(.*\.(?:css|js))(.*)$/i,'$1$2?ver='+G.version]
32-
]
33-
});
3427
seajs.use("<?php echo STATIC_JS;?>/src/user/main");
3528
</script>
3629
</body>

app/template/user/login.html

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,6 @@
8585
alert('js文件不完整,请查看浏览器控制台和服务器配置是否正常。或检查文件是否被修改(或咨询主机商压缩js导致文件损坏);[js load error!]');
8686
}
8787
},1000);
88-
seajs.config({
89-
base: "<?php echo STATIC_PATH;?>js/",
90-
preload: ["lib/jquery-1.8.0.min"],
91-
map:[
92-
[ /^(.*\.(?:css|js))(.*)$/i,'$1$2?ver='+G.version]
93-
]
94-
});
9588
seajs.use("<?php echo STATIC_JS;?>/src/user/main");
9689
</script>
9790
</body>

app/template/user/loginWap.html

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,6 @@
5959
<?php $GLOBALS['loadCommonJs'] = true;?>
6060
<?php include(TEMPLATE.'common/footer.html');?>
6161
<script type="text/javascript" >
62-
seajs.config({
63-
base: "<?php echo STATIC_PATH;?>js/",
64-
preload: ["lib/jquery-1.8.0.min"],
65-
map:[
66-
[ /^(.*\.(?:css|js))(.*)$/i,'$1$2?ver='+G.version]
67-
]
68-
});
6962
seajs.use("<?php echo STATIC_JS;?>/src/user/main");
7063
</script>
7164
</body>

plugins/toolsCommon/static/pie/.pie.tif

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

static/js/app/src/api/default/main.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)