From 4d08855cfca112212c1facff7faa2d78034e6160 Mon Sep 17 00:00:00 2001 From: Christina Roberts Date: Fri, 19 Feb 2016 19:22:33 -0500 Subject: [PATCH] Add "wrap" to exports. Fixes a bug introduced in https://github.com/epeli/underscore.string/pull/410. --- exports.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exports.js b/exports.js index 501010b5..62e0732f 100644 --- a/exports.js +++ b/exports.js @@ -2,7 +2,7 @@ module.exports = function() { var result = {}; for (var prop in this) { - if (!this.hasOwnProperty(prop) || prop.match(/^(?:include|contains|reverse|join|map)$/)) continue; + if (!this.hasOwnProperty(prop) || prop.match(/^(?:include|contains|reverse|join|map|wrap)$/)) continue; result[prop] = this[prop]; }