Preparing class to use member_builder
parent
2205af8c07
commit
f55def4f06
|
@ -22,7 +22,8 @@
|
||||||
* @package core
|
* @package core
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var util = require( './util' );
|
var util = require( './util' ),
|
||||||
|
member_builder = require( './member_builder' );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Stores class metadata internally (ensures data is encapsulated)
|
* Stores class metadata internally (ensures data is encapsulated)
|
||||||
|
@ -213,6 +214,7 @@ var extend = ( function( extending )
|
||||||
prototype = new base();
|
prototype = new base();
|
||||||
|
|
||||||
var properties = {},
|
var properties = {},
|
||||||
|
members = member_builder.initMembers( prototype ),
|
||||||
abstract_methods = ( base.abstractMethods || [] ).slice();
|
abstract_methods = ( base.abstractMethods || [] ).slice();
|
||||||
|
|
||||||
util.propCopy( props, prototype, {
|
util.propCopy( props, prototype, {
|
||||||
|
|
Loading…
Reference in New Issue