lib/startApplication.js
function checkTypes(classes) {
    var classCount = 0, nullType = 0, nullOf = 0, propCount = 0;
    for (var classKey in classes) {
        ++classCount;
        for (var definePropertyKey in classes[classKey].amorphicProperties) {
            var defineProperty = classes[classKey].amorphicProperties[definePropertyKey];
            if (!defineProperty.type) {
                ++nullType;
                console.log('Warning: ' + classKey + '.' + definePropertyKey + ' has no type');
            }
            if (defineProperty instanceof Array && !defineProperty.of) {
                console.log('Warning: ' + classKey + '.' + definePropertyKey + ' has no of');
                ++nullOf
            }
            ++propCount;
        }
    }
    console.log(classCount + ' classes loaded with ' + propCount + ' properties (' + nullType + ' null types, ' + nullOf + ' null ofs)');
}
function checkTypes(classes) {
    var classCount = 0, nullType = 0, nullOf = 0, propCount = 0;
    for (var classKey in classes) {
        ++classCount;
        for (var definePropertyKey in classes[classKey].amorphicProperties) {
            var defineProperty = classes[classKey].amorphicProperties[definePropertyKey];
            if (!defineProperty.type) {
                ++nullType;
                console.log('Warning: ' + classKey + '.' + definePropertyKey + ' has no type');
            }
            if (defineProperty instanceof Array && !defineProperty.of) {
                console.log('Warning: ' + classKey + '.' + definePropertyKey + ' has no of');
                ++nullOf
            }
            ++propCount;
        }
    }
    console.log(classCount + ' classes loaded with ' + propCount + ' properties (' + nullType + ' null types, ' + nullOf + ' null ofs)');
}
function checkTypes ( classes ) { var classCount = 0 , nullType = 0 , nullOf = 0 , propCount = 0 ; for ( var classKey in classes ) { ++ classCount ; for ( var definePropertyKey in classes [ classKey ] . amorphicProperties ) { var defineProperty = classes [ classKey ] . amorphicProperties [ definePropertyKey ] ; if ( ! defineProperty . type ) { ++ nullType ; console . log ( 'Warning: ' + classKey + '.' + definePropertyKey + ' has no type' ) ; } if ( defineProperty instanceof Array && ! defineProperty . of ) { console . log ( 'Warning: ' + classKey + '.' + definePropertyKey + ' has no of' ) ; ++ nullOf } ++ propCount ; } } console . log ( classCount + ' classes loaded with ' + propCount + ' properties (' + nullType + ' null types, ' + nullOf + ' null ofs)' ) ; }
Make sure there are no null types
@param {Object> classes - amorphic dictionary from getClasses()
Make sure there are no null types