#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
pull/272/head
mimibar 2016-02-29 18:26:44 -06:00 zatwierdzone przez nightwing
rodzic 0d240174b3
commit e8d34db930
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -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>