Skip to content

Commit

Permalink
Test legacy build
Browse files Browse the repository at this point in the history
  • Loading branch information
davidjbradshaw committed Aug 4, 2024
1 parent 22f74ed commit 4798377
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
4 changes: 4 additions & 0 deletions example/child/frame.content.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
type="text/javascript"
src="../../js/iframe-resizer.child.js"
></script>
<!-- <script
type="text/javascript"
src="../../dist/legacy/js/iframeResizer.contentWindow.js"
></script> -->
<script>
function toggle() {
const { style } = document.getElementsByTagName('p')[1]
Expand Down
12 changes: 8 additions & 4 deletions example/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@
border-width: 0;
} */
</style>
<script
type="text/javascript"
src="../../js/iframe-resizer.parent.js"
></script>
<!-- <script
type="text/javascript"
src="../../dist/legacy/js/iframeResizer.js"
></script> -->
</head>

<body>
Expand All @@ -40,10 +48,6 @@ <h2>Automagically resizing iFrame</h2>
<a href="https://iframe-resizer.com">https://frame-resizer.com</a>.
</div>

<script
type="text/javascript"
src="../../js/iframe-resizer.parent.js"
></script>
<script type="text/javascript">
/*
* If you do not understand what the code below does, then please just use the
Expand Down

0 comments on commit 4798377

Please sign in to comment.