From 0e26f9fd0f5c98748d54f5237eedac343df14f1b Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Wed, 16 Sep 2015 00:38:04 -0400 Subject: [PATCH] Strip `public` keyword from __construct in docs It must be public, so by convention, I don't include it anymore. But this is personal preference. --- doc/classes.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/classes.texi b/doc/classes.texi index 748b3bb..d35fc04 100644 --- a/doc/classes.texi +++ b/doc/classes.texi @@ -1178,7 +1178,7 @@ Therefore, we will use a static property of class @var{BigBang}. * * @return {undefined} */ - 'public __construct': function( type, data ) + __construct: function( type, data ) { this._type = type; @@ -1343,7 +1343,7 @@ mounts from @file{/etc/fstab}: 'private _mountPoints': [], - 'public __construct': function() + __construct: function() { var data = fs.readFileSync( this.$('_PATH') ); this._parseMountPoints( data );