mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
#188 Adding crossorigin attribute to mocha and require scripts
In relation to Issue #188 Running unit tests for C9 plugins leads to 404 errors when trying to fetch mocha
This commit is contained in:
parent
0d240174b3
commit
e8d34db930
@ -38,8 +38,8 @@
|
||||
<div id="mocha"></div>
|
||||
<div id='jserror' width='100%' height='20px' style='font: 10px \"courier new\"; color: red; display: none;'></div>
|
||||
|
||||
<script src="/static/require.js"></script>
|
||||
<script src="/static/lib/mocha/mocha.js"></script>
|
||||
<script src="/static/require.js" crossorigin="true"></script>
|
||||
<script src="/static/lib/mocha/mocha.js" crossorigin="true"></script>
|
||||
<script>
|
||||
/*global mocha*/
|
||||
mocha.setup('bdd');
|
||||
@ -57,4 +57,4 @@
|
||||
});
|
||||
//--></script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user