kopia lustrzana https://github.com/c9/core
#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 mochapull/272/head
rodzic
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>
|
||||
|
|
Ładowanie…
Reference in New Issue