abstractFlag now defined using define_secure_prop()
parent
bb631eb706
commit
e0657e1c44
|
@ -63,7 +63,7 @@ exports.abstractMethod = function( definition )
|
||||||
throw new Error( "Cannot call abstract method" );
|
throw new Error( "Cannot call abstract method" );
|
||||||
};
|
};
|
||||||
|
|
||||||
method.abstractFlag = true;
|
define_secure_prop( method, 'abstractFlag', true );
|
||||||
return method;
|
return method;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue