ArnaudBuchholz / gpf-js

A multi-purpose JavaScript library
http://gpf-js.blogspot.com/
MIT License
11 stars 2 forks source link

_gpfDefClassAttrBuild should import attribute constructor (if not found) #315

Closed ArnaudBuchholz closed 5 years ago

ArnaudBuchholz commented 5 years ago

function _gpfDefClassAttrBuild (member, attribute, newPrototype) { /jshint validthis:true/ var attributeEntityDefinition = _gpfDefineEntitiesFindByConstructor(attribute.constructor); if (!attributeEntityDefinition._singleton) { attribute._memberName = member; attribute._ClassConstructor = newPrototype.constructor; } attribute._build(member, this, newPrototype); //eslint-disable-line no-invalid-this }