File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 7
7
/*global _GpfClassDefinition*/ // Class definition
8
8
/*global _gpfDefineEntitiesAdd*/ // Store the entity definition to be retreived later
9
9
/*global _gpfDefineEntitiesFindByConstructor*/ // Retrieve entity definition from Constructor
10
+ /*global _gpfEmptyFunc*/
10
11
/*exported _gpfDefineClassImport*/ // Import a class as an entity definition
11
12
/*exported _gpfDefineClassImported*/ // Base dictionary for all imported classes
12
13
/*#endif*/
@@ -25,6 +26,9 @@ function _gpfDefineClassImportFrom (instanceBuilder) {
25
26
var entityDefinition = new _GpfClassDefinition ( _gpfDefineClassImportGetDictionary ( instanceBuilder ) ) ;
26
27
entityDefinition . _instanceBuilder = instanceBuilder ;
27
28
_gpfDefineEntitiesAdd ( entityDefinition ) ;
29
+ // Since it might not even have a name
30
+ entityDefinition . _checkNameIsNotEmpty = _gpfEmptyFunc ;
31
+ entityDefinition . _checkName = _gpfEmptyFunc ;
28
32
entityDefinition . check ( ) ;
29
33
return entityDefinition ;
30
34
}
You can’t perform that action at this time.
0 commit comments