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.master
parent
90aa74d0cb
commit
0e26f9fd0f
|
@ -1178,7 +1178,7 @@ Therefore, we will use a static property of class @var{BigBang}.
|
||||||
*
|
*
|
||||||
* @return {undefined}
|
* @return {undefined}
|
||||||
*/
|
*/
|
||||||
'public __construct': function( type, data )
|
__construct: function( type, data )
|
||||||
{
|
{
|
||||||
this._type = type;
|
this._type = type;
|
||||||
|
|
||||||
|
@ -1343,7 +1343,7 @@ mounts from @file{/etc/fstab}:
|
||||||
'private _mountPoints': [],
|
'private _mountPoints': [],
|
||||||
|
|
||||||
|
|
||||||
'public __construct': function()
|
__construct: function()
|
||||||
{
|
{
|
||||||
var data = fs.readFileSync( this.$('_PATH') );
|
var data = fs.readFileSync( this.$('_PATH') );
|
||||||
this._parseMountPoints( data );
|
this._parseMountPoints( data );
|
||||||
|
|
Loading…
Reference in New Issue