Fx60: Remove versioned JavaScript

This commit is contained in:
Dan Stillman 2018-02-24 04:50:37 -05:00
parent 8f00fa2603
commit f7854bfcae
14 changed files with 18 additions and 17 deletions

View file

@ -41,8 +41,8 @@
onunload="Zotero_QuickFormat.onUnload()">
<script src="../include.js"/>
<script src="windowDraggingUtils.js" type="text/javascript;version=1.8"/>
<script src="quickFormat.js" type="text/javascript;version=1.8"/>
<script src="windowDraggingUtils.js" type="text/javascript"/>
<script src="quickFormat.js" type="text/javascript"/>
<box orient="horizontal" id="quick-format-entry">
<deck id="quick-format-deck" selectedIndex="0" flex="1">

View file

@ -30,7 +30,7 @@
<overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script src="include.js"/>
<script src="itemPane.js" type="application/javascript;version=1.8"/>
<script src="itemPane.js" type="application/javascript"/>
<vbox id="zotero-item-pane" zotero-persist="width height">
<!-- My Publications -->

View file

@ -83,5 +83,5 @@
observerService.notifyObservers(null, "charsetmenu-selected", "other");
]]>
</script>
<script src="preferences.js" type="application/javascript;version=1.8"/>
<script src="preferences.js" type="application/javascript"/>
</prefwindow>

View file

@ -341,5 +341,5 @@
<separator/>
</prefpane>
<script src="preferences_advanced.js" type="application/javascript;version=1.8"/>
<script src="preferences_advanced.js" type="application/javascript"/>
</overlay>

View file

@ -110,5 +110,5 @@
</tabbox>
</prefpane>
<script src="preferences_cite.js" type="application/javascript;version=1.8"/>
<script src="preferences_cite.js" type="application/javascript"/>
</overlay>

View file

@ -111,6 +111,6 @@
<separator/>
<separator/>
<script src="preferences_export.js" type="application/javascript;version=1.8"/>
<script src="preferences_export.js" type="application/javascript"/>
</prefpane>
</overlay>

View file

@ -90,6 +90,6 @@
<separator/>
</prefpane>
<script src="preferences_proxies.js" type="application/javascript;version=1.8"/>
<script src="preferences_proxies.js" type="application/javascript"/>
</prefwindow>
</overlay>

View file

@ -104,5 +104,5 @@
<separator/>
</prefpane>
<script src="preferences_general.js" type="application/javascript;version=1.8"/>
<script src="preferences_general.js" type="application/javascript"/>
</overlay>

View file

@ -93,5 +93,5 @@
<separator/>
</prefpane>
<script src="preferences_search.js" type="application/javascript;version=1.8"/>
<script src="preferences_search.js" type="application/javascript"/>
</overlay>

View file

@ -326,5 +326,5 @@
<separator/>
</prefpane>
<script src="preferences_sync.js" type="application/javascript;version=1.8"/>
<script src="preferences_sync.js" type="application/javascript"/>
</overlay>

View file

@ -11,7 +11,7 @@
style="padding:2em">
<script src="../include.js"/>
<script type="application/javascript;version=1.8" src="test.js"/>
<script type="application/javascript" src="test.js"/>
<hbox><label>This is a test page.</label></hbox>
</window>

View file

@ -40,13 +40,14 @@
xmlns:html="http://www.w3.org/1999/xhtml">
<script src="include.js"/>
<script src="zoteroPane.js" type="application/javascript;version=1.8"/>
<script src="zoteroPane.js" type="application/javascript"/>
<script src="fileInterface.js"/>
<script src="reportInterface.js"/>
<script src="timelineInterface.js"/>
<script src="progressQueueDialog.js"/>
<script src="browser.js" type="application/javascript"/>
<script src="lookup.js"/>
<script src="locateMenu.js" type="application/javascript;version=1.8"/>
<script src="locateMenu.js" type="application/javascript"/>
<commandset id="mainCommandSet">
<command id="cmd_zotero_reportErrors" oncommand="ZoteroPane_Local.reportErrors();"/>

View file

@ -12,7 +12,7 @@
<script src="resource://zotero-unit/co-mocha.js"></script>
<script src="resource://zotero-unit/sinon.js"></script>
<script src="resource://zotero-unit/pako_inflate.js"></script>
<script src="support.js" type="application/javascript;version=1.8"></script>
<script src="runtests.js" type="application/javascript;version=1.8"></script>
<script src="support.js" type="application/javascript"></script>
<script src="runtests.js" type="application/javascript"></script>
</body>
</html>

View file

@ -267,7 +267,7 @@ if(run && ZoteroUnit.tests) {
for(var fname of testFiles) {
var el = document.createElement("script");
el.type = "application/javascript;version=1.8";
el.type = "application/javascript";
el.src = "resource://zotero-unit-tests/"+fname;
el.async = false;
document.body.appendChild(el);