mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
refactor(join) rm Scope
This commit is contained in:
parent
58e973c0dd
commit
56893eacb1
1 changed files with 3 additions and 5 deletions
|
|
@ -1,14 +1,12 @@
|
|||
(function(scope) {
|
||||
(function(global) {
|
||||
'use strict';
|
||||
|
||||
var Scope = scope.window ? window : global,
|
||||
|
||||
PREFIX = '/join';
|
||||
var PREFIX = '/join';
|
||||
|
||||
if (typeof module === 'object' && module.exports)
|
||||
module.exports = join;
|
||||
else
|
||||
Scope.join = join;
|
||||
global.join = join;
|
||||
|
||||
function join (prefix, names) {
|
||||
var url;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue