refactor(join) rm Scope

This commit is contained in:
coderaiser 2014-12-18 07:40:16 -05:00
parent 58e973c0dd
commit 56893eacb1

View file

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