File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ module.exports = function (grunt) {
5353 ] ) ;
5454
5555 grunt . registerTask ( 'build' , [
56+ 'clean' ,
5657 'json_merge' ,
5758 'concat:systemModule' ,
5859 'jsbeautifier' ,
Original file line number Diff line number Diff line change @@ -1609,6 +1609,7 @@ function isValidSchema(object, schema) {
16091609
16101610 typeRef = getClassName ( typeSchema ) ;
16111611 typeRef = object [ typeRef ] ;
1612+ typeRef = typeRef . replace ( '@' , '' ) ; // backward compatibility
16121613 if ( isCustomType ( typeRef ) ) {
16131614 if ( store . type [ typeRef ] ) {
16141615 if ( store . type [ typeRef ] . schema ) {
@@ -1655,6 +1656,7 @@ function isValidSchema(object, schema) {
16551656
16561657 typeRef = getRealTypeName ( typeSchema ) ;
16571658 typeRef = object [ typeRef ] ;
1659+ typeRef = typeRef . replace ( '@' , '' ) ; // backward compatibility
16581660 if ( isCustomType ( typeRef ) ) {
16591661 if ( store . type [ typeRef ] ) {
16601662 if ( store . type [ typeRef ] . schema ) {
You can’t perform that action at this time.
0 commit comments