Skip to content

Commit

Permalink
Merge pull request #8317 from leonluocheng/5780
Browse files Browse the repository at this point in the history
Fix issue #5780
  • Loading branch information
HugoMario authored Jun 14, 2018
2 parents 14b83e7 + 0dda808 commit ea21339
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@
if (schema.$ref != null) {
schema = defsParser.$refs.get(schema.$ref);
} else {
schemaWrapper.definitions = Object.assign({}, defs);
schemaWrapper.definitions = defs;
$RefParser.dereference(schemaWrapper).catch(function(err) {
console.log(err);
});
Expand Down Expand Up @@ -434,7 +434,7 @@
{{>js_webfontloader}}
<script>
var schemaWrapper = {};
schemaWrapper.definitions = Object.assign({}, defs);
schemaWrapper.definitions = defs;
defsParser = new $RefParser();
defsParser.dereference(schemaWrapper).catch(function(err) {
console.log(err);
Expand Down

0 comments on commit ea21339

Please sign in to comment.