mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
refactor(cloudfunc) combine -> join
This commit is contained in:
parent
1fc2d23943
commit
660f7d7a6f
5 changed files with 20 additions and 20 deletions
|
|
@ -10,7 +10,7 @@
|
|||
<link href=/img/favicon/favicon.png rel=icon type=image/png />
|
||||
<title>{{ title }}</title>
|
||||
|
||||
<link rel=stylesheet href=/combine/css/reset.css:css/style.css>
|
||||
<link rel=stylesheet href=/join/css/reset.css:css/style.css>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
|
@ -41,7 +41,7 @@
|
|||
'lib/cloudfunc.js',
|
||||
'lib/util.js'
|
||||
],
|
||||
url = getCombineURL(files);
|
||||
url = getJoinURL(files);
|
||||
|
||||
window.addEventListener('load', createScript);
|
||||
setPanelHeight();
|
||||
|
|
@ -55,9 +55,9 @@
|
|||
window.removeEventListener('load', createScript);
|
||||
}
|
||||
|
||||
function getCombineURL(files) {
|
||||
function getJoinURL(files) {
|
||||
var regExp = new RegExp(',', 'g'),
|
||||
url = '/combine/' + files;
|
||||
url = '/join/' + files;
|
||||
|
||||
url = url.replace(regExp, ':');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue