refactor(cloudfunc) combine -> join

This commit is contained in:
coderaiser 2013-12-09 12:12:34 +00:00
parent 1fc2d23943
commit 660f7d7a6f
5 changed files with 20 additions and 20 deletions

View file

@ -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, ':');