feature(files) readPipe: pop -> shift

This commit is contained in:
coderaiser 2014-01-20 07:43:51 -05:00
parent 16293d4158
commit acd2eb85a1
3 changed files with 11 additions and 11 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=/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);

View file

@ -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);

View file

@ -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,