From e6b18416e92c3c1c494a5cf645398db1372f51ca Mon Sep 17 00:00:00 2001 From: Guillaume Wuip Date: Sun, 21 Dec 2014 09:21:40 +0100 Subject: [PATCH] Add doc --- lib/console2.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/console2.js b/lib/console2.js index 3cb7f81..8dbade7 100644 --- a/lib/console2.js +++ b/lib/console2.js @@ -519,6 +519,12 @@ opt.alwaysTime = opt.alwaysTime || this.opt.alwaysTime; opt.alwaysDate = opt.alwaysDate || this.opt.alwaysDate; + /** + * this.[name] + * + * @params anything you want, printf formar, etc. + * @return {Console2} this + */ this[name] = function () { var location = getLocation();