Now passing base into member builder for getters/setters
parent
75059ad030
commit
6d31bf1084
|
@ -541,7 +541,7 @@ function buildMembers(
|
|||
var dest = ( keywordStatic( keywords ) ) ? smethods : members;
|
||||
|
||||
member_builder.buildGetter(
|
||||
dest, null, name, value, keywords
|
||||
dest, null, name, value, keywords, base
|
||||
);
|
||||
},
|
||||
|
||||
|
@ -550,7 +550,7 @@ function buildMembers(
|
|||
var dest = ( keywordStatic( keywords ) ) ? smethods : members;
|
||||
|
||||
member_builder.buildSetter(
|
||||
dest, null, name, value, keywords
|
||||
dest, null, name, value, keywords, base
|
||||
);
|
||||
},
|
||||
|
||||
|
|
|
@ -282,9 +282,11 @@ exports.buildProp = function( members, meta, name, value, keywords, base )
|
|||
*
|
||||
* @param {Object.<string,boolean>} keywords parsed keywords
|
||||
*
|
||||
* @param {Object=} base optional base object to scan
|
||||
*
|
||||
* @return {undefined}
|
||||
*/
|
||||
exports.buildGetter = function( members, meta, name, value, keywords )
|
||||
exports.buildGetter = function( members, meta, name, value, keywords, base )
|
||||
{
|
||||
Object.defineProperty(
|
||||
getMemberVisibility( members, keywords ),
|
||||
|
@ -312,9 +314,11 @@ exports.buildGetter = function( members, meta, name, value, keywords )
|
|||
*
|
||||
* @param {Object.<string,boolean>} keywords parsed keywords
|
||||
*
|
||||
* @param {Object=} base optional base object to scan
|
||||
*
|
||||
* @return {undefined}
|
||||
*/
|
||||
exports.buildSetter = function( members, meta, name, value, keywords )
|
||||
exports.buildSetter = function( members, meta, name, value, keywords, base )
|
||||
{
|
||||
Object.defineProperty(
|
||||
getMemberVisibility( members, keywords ),
|
||||
|
|
Loading…
Reference in New Issue