diff options
Diffstat (limited to 'lib/util.js')
-rw-r--r-- | lib/util.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/util.js b/lib/util.js index 4a5eef2..4cb158a 100644 --- a/lib/util.js +++ b/lib/util.js @@ -11,7 +11,7 @@ var urlMod = require("url"); * Function for the management of the prototypal inheritace * David Flanagan, Javascript: The Definitve Guide, * IV. edition, O'Reilly, 2006, p. 168 - * + * * @param superobject * @return new object, it needs new prototype.constructor * @@ -30,7 +30,7 @@ var urlMod = require("url"); */ exports.heir = function heir(p) { function f() {}; - f.prototype = p.prototype; + f.prototype = p.prototype; return new f(); }; @@ -84,7 +84,7 @@ var valToArray = exports.valToArray = function valToArray(val) { * * @param str String with old values * @param value String/Array with other values - * @return String with merged lists + * @return String with merged lists */ exports.addCSVValue = function addCSVValue(str, value) { var parts = (str.trim().length > 0 ? str.split(/,\s*/) : []); |