js/ka-ui.js
/**
     * Execute all validation requests for the current script content
     */
Execute all validation requests for the current script content
Execute all validation requests for the current script content
function validate() {
        alerts = [];
        var script = editor.getValue();
        validator.evaluateRequired(script, requiredElements);
        validator.evaluateDisallowed(script, disallowedElements);
        validator.evaluateStructural(script, structuralRules, structuralOptions);
    }
function validate ( ) { alerts = [ ] ; var script = editor . getValue ( ) ; validator . evaluateRequired ( script , requiredElements ) ; validator . evaluateDisallowed ( script , disallowedElements ) ; validator . evaluateStructural ( script , structuralRules , structuralOptions ) ; }
Execute all validation requests for the current script content
Execute all validation requests for the current script content
//Clear existing messages