diff options
author | Matěj Cepl <mcepl@redhat.com> | 2010-06-21 01:21:23 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2010-06-21 01:21:23 +0200 |
commit | 9c78d98edef12613da157c8cfa366bf937edd422 (patch) | |
tree | 5a6e61a9bca39bcfa71ae48dbe08c8b5c756e81b /lib/util.js | |
parent | 47b6e6fb91372b54bb309e57c14e3f9f987e0322 (diff) | |
download | bugzilla-triage-9c78d98edef12613da157c8cfa366bf937edd422.tar.gz |
Logger works and some cleanup
Juhuuu, logger works (almost, I haven't tested generation of reports yet)
remove all trailing blank space
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*/) : []); |