From d0ae0e51641f4572d5e42c33861a4e0bd1d0cc8c Mon Sep 17 00:00:00 2001 From: Marak Date: Wed, 17 Jun 2015 14:49:52 +0200 Subject: [PATCH] [fix] In-proper scope reference. Closes #124 --- lib/extendStringPrototype.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/extendStringPrototype.js b/lib/extendStringPrototype.js index bbb9bcc..67374a1 100644 --- a/lib/extendStringPrototype.js +++ b/lib/extendStringPrototype.js @@ -86,7 +86,7 @@ module['exports'] = function () { addProperty(prop, function () { var ret = this; for (var t = 0; t < theme[prop].length; t++) { - ret = exports[theme[prop][t]](ret); + ret = colors[theme[prop][t]](ret); } return ret; });