Hosted tests in modernizr.github.io failed these two tests due to 404s

This commit is contained in:
Ryan Seddon
2015-06-08 12:29:47 +10:00
parent cc5340e994
commit 69a308c988
2 changed files with 2 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ describe('iframe context', function() {
});
it('is able to be loaded in an iframe', function(done) {
iframeWindow.$.getScript('http://localhost:9999/dist/modernizr-build.js')
iframeWindow.$.getScript('../dist/modernizr-build.js')
.done(function(build, status) {
expect(status).to.equal('success');
expect(iframeWindow.Modernizr).to.not.be(undefined);

View File

@@ -1,7 +1,7 @@
<svg width="180" height="88" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<script>window.onerror = window.parent.document.getElementById('svgContext').onerror</script>
<script xlink:href="/dist/modernizr-build.js"></script>
<script xlink:href="../../dist/modernizr-build.js"></script>
<script> if (window.Modernizr) {window.parent.document.getElementById('svgContext').onsuccess(window.Modernizr)}</script>
<path fill="none" d="M-1-1h1172v90H-1z" />

Before

Width:  |  Height:  |  Size: 685 B

After

Width:  |  Height:  |  Size: 690 B