We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 530481f commit be81966Copy full SHA for be81966
src/metamodel.js
@@ -864,7 +864,7 @@ function createClassInfo() {
864
* @private
865
*/
866
function getReference(value) {
867
- return value.replace('@', '');
+ return value.replace('@', '').trim();
868
}
869
870
@@ -1061,9 +1061,10 @@ function schema(importedSchema) {
1061
list = {};
1062
1063
inherits.forEach(function (name) {
1064
- if (typeof list[name] === 'undefined') {
1065
- list[name] = name;
1066
- filteredList.push(name);
+ var cleanName = name.trim();
+ if (typeof list[cleanName] === 'undefined') {
+ list[cleanName] = cleanName;
1067
+ filteredList.push(cleanName);
1068
1069
});
1070
0 commit comments