mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
feature(files) readPipe: pop -> shift
This commit is contained in:
parent
16293d4158
commit
acd2eb85a1
3 changed files with 11 additions and 11 deletions
|
|
@ -10,7 +10,7 @@
|
|||
<link href=/img/favicon/favicon.png rel=icon type=image/png />
|
||||
<title>{{ title }}</title>
|
||||
|
||||
<link rel=stylesheet href=/join/css/reset.css:css/icons.css:css/style.css>
|
||||
<link rel=stylesheet href=/join/css/reset.css:css/style.css:css/icons.css>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
|
@ -37,14 +37,14 @@
|
|||
lib = 'lib/',
|
||||
client = lib + 'client/',
|
||||
files = [
|
||||
client + 'key.js',
|
||||
client + 'listeners.js',
|
||||
lib + 'client.js',
|
||||
client + 'notify.js',
|
||||
client + 'loader.js',
|
||||
client + 'dom.js',
|
||||
lib + 'util.js',
|
||||
lib + 'cloudfunc.js',
|
||||
lib + 'util.js'
|
||||
client + 'dom.js',
|
||||
client + 'loader.js',
|
||||
client + 'notify.js',
|
||||
lib + 'client.js',
|
||||
client + 'listeners.js',
|
||||
client + 'key.js'
|
||||
],
|
||||
url = getJoinURL(files);
|
||||
|
||||
|
|
|
|||
|
|
@ -194,8 +194,8 @@ var CloudCmd, Util, DOM, CloudFunc, ace, DiffProto, diff_match_patch;
|
|||
|
||||
function diff(pNewValue, pCallBack) {
|
||||
var libs = [
|
||||
LIBDIR + 'diff.js',
|
||||
LIBDIR + 'diff/diff-match-patch.js'
|
||||
LIBDIR + 'diff/diff-match-patch.js',
|
||||
LIBDIR + 'diff.js'
|
||||
],
|
||||
url = CloudFunc.getJoinURL(libs);
|
||||
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@
|
|||
p.write.end();
|
||||
Util.exec(p.callback);
|
||||
} else {
|
||||
name = p.dir + p.names.pop();
|
||||
name = p.dir + p.names.shift();
|
||||
|
||||
pipe.create({
|
||||
from : name,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue