feature(package) join-io v1.4.0

This commit is contained in:
coderaiser 2015-06-04 07:16:16 -04:00
parent ba04ec275b
commit b823ea371a
3 changed files with 2 additions and 29 deletions

View file

@ -12,7 +12,6 @@ var CloudCmd;
client = 'client/',
files = [
'util',
'join',
'cloudfunc',
client + 'dom',
client + 'events',
@ -39,6 +38,7 @@ var CloudCmd;
files = moduleFiles
.concat(files)
.concat('/join/join')
.map(function(name) {
return name + '.js';
});

View file

@ -1,27 +0,0 @@
(function(global) {
'use strict';
var PREFIX = '/join';
if (typeof module === 'object' && module.exports)
module.exports = join;
else
global.join = join;
function join(prefix, names) {
var url;
if (!names) {
names = prefix;
prefix = PREFIX;
}
if (!names)
throw(Error('names must be array!'));
url = prefix + ':' + names.join(':');
return url;
}
})(this);

View file

@ -46,7 +46,7 @@
"format-io": "~0.9.6",
"http-auth": "~2.2.3",
"jag": "~1.0.0",
"join-io": "~1.3.0",
"join-io": "~1.4.0",
"jonny": "~1.0.0",
"markdown-it": "~4.2.0",
"mellow": "~1.3.0",