Skip to content

Commit

Permalink
chore: updated version
Browse files Browse the repository at this point in the history
  • Loading branch information
wll8 committed Jul 20, 2023
1 parent 266989c commit b86b875
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions dist/try.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
}
}
renderPos();
setTimeout(renderPos, 0);
window.renderPos = renderPos;
var observer = new MutationObserver(changeFn);
observer.disconnect();
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
!window.initTryOptions.openApi && (delete window.initTryOptions.openApi);
</script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/bundles/redoc.standalone.min.js"> </script>
<script src="https://cdn.jsdelivr.net/gh/wll8/[email protected].6/dist/try.js"></script>
<script src="https://cdn.jsdelivr.net/gh/wll8/[email protected].7/dist/try.js"></script>
<script>
// initTry(`https://petstore.swagger.io/v2/swagger.json`)
initTry({
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "redoc-try",
"version": "1.4.6",
"version": "1.4.7",
"description": "[👉 online preview](https://wll8.github.io/redoc-try/index.html)",
"main": "dist/try.js",
"env": {
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Add `Try it out` function like [swagger](https://petstore.swagger.io/) on [redoc
<body>
<div id="redoc-container"></div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/bundles/redoc.standalone.min.js"> </script>
<script src="https://cdn.jsdelivr.net/gh/wll8/[email protected].6/dist/try.js"></script>
<script src="https://cdn.jsdelivr.net/gh/wll8/[email protected].7/dist/try.js"></script>
<script>
// initTry(`https://petstore.swagger.io/v2/swagger.json`)
initTry({
Expand Down

0 comments on commit b86b875

Please sign in to comment.