Comparing version 0.1.2 to 0.1.3
13
index.js
@@ -259,2 +259,15 @@ var noop = function() {}; | ||
exports.join = function() { | ||
var result = {}; | ||
for (var i = 0; i < arguments.length; i++) { | ||
var a = arguments[i]; | ||
for (var j in a) { | ||
result[j] = a[j]; | ||
} | ||
} | ||
return result; | ||
}; | ||
exports.format = function (str, col) { | ||
@@ -261,0 +274,0 @@ col = typeof col === 'object' ? col : Array.prototype.slice.call(arguments, 1); |
{ | ||
"name":"common", | ||
"version":"0.1.2", | ||
"version":"0.1.3", | ||
"description":"A utility package with some useful functional stuff", | ||
@@ -5,0 +5,0 @@ "author": "Ge.tt <hello@ge.tt>", |
11856
246