Revert "Add type="application/javascript;version=1.8" to all JS script tags (for now)"

This reverts commit 35b1c16858.

Not necessary since Mozilla bug 830665 is fixed
This commit is contained in:
Simon Kornblith 2013-02-18 16:15:44 -05:00
parent 6b2bbf80e1
commit d1225c44f7
33 changed files with 67 additions and 67 deletions

View file

@ -13,7 +13,7 @@
onload="moveToAlertPosition(); sizeToContent();"
ondialogaccept="return true;">
<script src="include.js" type="application/javascript;version=1.8"/>
<script src="include.js"/>
<vbox id="aboutcontent">
<label id="name" value="Zotero"/>
@ -21,7 +21,7 @@
<label class="zotero-text-link" href="http://zotero.org" value="http://zotero.org"/>
</hbox>
<label id="version" value="&zotero.version; "/>
<script type="application/javascript;version=1.8">
<script>
document.getElementById('version').value += Zotero.version;
</script>
<hbox>

View file

@ -20,8 +20,8 @@
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
windowtype="zotero:search">
<script src="include.js" type="application/javascript;version=1.8"/>
<script src="advancedSearch.js" type="application/javascript;version=1.8"/>
<script src="include.js"/>
<script src="advancedSearch.js"/>
<vbox id="zotero-search-box-container" flex="1">

View file

@ -8,8 +8,8 @@
id="zotero-bibliography"
onload="Zotero_File_Interface_Bibliography.init()">
<script src="include.js" type="application/javascript;version=1.8"/>
<script src="bibliography.js" type="application/javascript;version=1.8"/>
<script src="include.js"/>
<script src="bibliography.js"/>
<vbox id="zotero-bibliography-container">
<groupbox>

View file

@ -35,8 +35,8 @@
<overlay id="zotero-download-overlay"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script src="include.js" type="application/javascript;version=1.8"/>
<script src="downloadOverlay.js" type="application/javascript;version=1.8"/>
<script type="application/x-javascript" src="include.js"/>
<script type="application/x-javascript" src="downloadOverlay.js"/>
<radiogroup id="mode">
<vbox id="zotero-container" flex="1" hidden="true">
<radio id="zotero-radio" label="&zotero.downloadManager.label;" disabled="true"/>

View file

@ -9,7 +9,7 @@
<wizard xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
id="zotero-error-report" title="Zotero Error Report">
<script type="application/javascript;version=1.8">
<script>
<![CDATA[
var Zotero_Error_Report = new function() {
this.init = init;

View file

@ -14,10 +14,10 @@
id="zotero-export-options"
onload="Zotero_File_Interface_Export.init()">
<script src="include.js" type="application/javascript;version=1.8"/>
<script src="charsetMenu.js" type="application/javascript;version=1.8"/>
<script src="exportOptions.js" type="application/javascript;version=1.8"/>
<script type="application/javascript;version=1.8">
<script src="include.js"/>
<script src="charsetMenu.js"/>
<script src="exportOptions.js"/>
<script type="application/javascript">
<![CDATA[
var observerService = Components.classes["@mozilla.org/observer-service;1"].getService(Components.interfaces.nsIObserverService);
observerService.notifyObservers(null, "charsetmenu-selected", "other");

View file

@ -35,8 +35,8 @@
id="zotero-selectitems"
onload="Zotero_Ingester_Interface_SelectItems.init()">
<script src="../include.js" type="application/javascript;version=1.8"/>
<script src="selectitems.js" type="application/javascript;version=1.8"/>
<script src="../include.js"/>
<script src="selectitems.js"/>
<vbox id="zotero-select-items-container" flex="1">
<caption label="&zotero.selectitems.intro.label;" id="zotero-selectitems-intro"/>

View file

@ -49,9 +49,9 @@
ondialogextra2="Zotero_Citation_Dialog.toggleEditor()"
ondialogextra1="Zotero_Citation_Dialog.toggleMultipleSources()">
<script src="../include.js" type="application/javascript;version=1.8"/>
<script src="../selectItemsDialog.js" type="application/javascript;version=1.8"/>
<script src="addCitationDialog.js" type="application/javascript;version=1.8"/>
<script src="../include.js"/>
<script src="../selectItemsDialog.js"/>
<script src="addCitationDialog.js"/>
<vbox id="zotero-select-items-container" flex="1">
<vbox flex="1">

View file

@ -48,9 +48,9 @@
ondialogextra1="Zotero_Bibliography_Dialog.revert()"
ondialogextra2="Zotero_Bibliography_Dialog.revertAll()">
<script src="../include.js" type="application/javascript;version=1.8"/>
<script src="../selectItemsDialog.js" type="application/javascript;version=1.8"/>
<script src="editBibliographyDialog.js" type="application/javascript;version=1.8"/>
<script src="../include.js"/>
<script src="../selectItemsDialog.js"/>
<script src="editBibliographyDialog.js"/>
<vbox id="zotero-select-items-container" flex="1">
<vbox flex="1">

View file

@ -40,8 +40,8 @@
persist="screenX screenY"
style="width: 600px">
<script src="../include.js" type="application/javascript;version=1.8"/>
<script src="../bibliography.js" type="application/javascript;version=1.8"/>
<script src="../include.js"/>
<script src="../bibliography.js"/>
<vbox id="zotero-bibliography-container">
<groupbox>
<caption label="&zotero.bibliography.style.label;"/>

View file

@ -41,7 +41,7 @@
onkeypress="Zotero_QuickFormat.onKeyPress(event)"
onunload="Zotero_QuickFormat.onUnload()">
<script src="../include.js" type="application/javascript;version=1.8"/>
<script src="../include.js"/>
<script src="windowDraggingUtils.js" type="text/javascript;version=1.8"/>
<script src="quickFormat.js" type="text/javascript;version=1.8"/>

View file

@ -29,7 +29,7 @@
<!DOCTYPE window SYSTEM "chrome://zotero/locale/zotero.dtd">
<overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script src="include.js" type="application/javascript;version=1.8"/>
<script src="include.js"/>
<script src="itemPane.js" type="application/javascript;version=1.8"/>
<vbox id="zotero-item-pane" zotero-persist="width">

View file

@ -95,8 +95,8 @@ To add a new preference:
</groupbox>
</prefpane>
<script src="chrome://zotero/content/include.js" type="application/javascript;version=1.8"></script>
<script type="application/javascript;version=1.8">
<script src="chrome://zotero/content/include.js"></script>
<script type="application/javascript">
<![CDATA[
function treeClick(event) {
// We only care about primary button double and triple clicks

View file

@ -10,8 +10,8 @@
ondialogaccept="Zotero_Long_Tag_Fixer.save()"
title="&zotero.sync.error;">
<script src="include.js" type="application/javascript;version=1.8"/>
<script src="longTagFixer.js" type="application/javascript;version=1.8"/>
<script src="include.js"/>
<script src="longTagFixer.js"/>
<label value="&zotero.sync.longTagFixer.followingTagTooLong;"/>
<groupbox>

View file

@ -38,8 +38,8 @@
onwizardcancel="return Zotero_Merge_Window.onCancel()"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script src="include.js" type="application/javascript;version=1.8"/>
<script src="merge.js" type="application/javascript;version=1.8"/>
<script src="include.js"/>
<script src="merge.js"/>
<wizardpage onpageshow="Zotero_Merge_Window.init()"
onpagerewound="Zotero_Merge_Window.onBack(); return false"

View file

@ -13,9 +13,9 @@
persist="screenX screenY width height"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script src="include.js" type="application/javascript;version=1.8"/>
<script src="itemPane.js" type="application/javascript;version=1.8"/>
<script src="note.js" type="application/javascript;version=1.8"/>
<script src="include.js"/>
<script src="itemPane.js"/>
<script src="note.js"/>
<keyset>
<key id="key_close" key="W" modifiers="accel" command="cmd_close"/>

View file

@ -39,7 +39,7 @@
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<!-- Include the global XPCOM object -->
<script src="overlay.js" type="application/javascript;version=1.8"/>
<script src="overlay.js"/>
<popup id="contentAreaContextMenu"/>

View file

@ -821,13 +821,13 @@ To add a new preference:
<!-- These mess up the prefwindow (more) if they come before the prefpanes
https://bugzilla.mozilla.org/show_bug.cgi?id=296418 -->
<script src="chrome://zotero/content/include.js" type="application/javascript;version=1.8"></script>
<script src="chrome://zotero/content/charsetMenu.js" type="application/javascript;version=1.8"></script>
<script type="application/javascript;version=1.8">
<script src="chrome://zotero/content/include.js"></script>
<script src="chrome://zotero/content/charsetMenu.js"></script>
<script type="application/javascript">
<![CDATA[
var observerService = Components.classes["@mozilla.org/observer-service;1"].getService(Components.interfaces.nsIObserverService);
observerService.notifyObservers(null, "charsetmenu-selected", "other");
]]>
</script>
<script src="preferences.js" type="application/javascript;version=1.8"/>
<script src="preferences.js"/>
</prefwindow>

View file

@ -34,8 +34,8 @@
onload="Zotero_ProxyEditor.load();"
ondialogaccept="return Zotero_ProxyEditor.accept();">
<script src="chrome://zotero/content/include.js" type="application/javascript;version=1.8"/>
<script src="proxyEditor.js" type="application/javascript;version=1.8"/>
<script src="chrome://zotero/content/include.js"/>
<script src="proxyEditor.js"/>
<checkbox id="zotero-proxies-multiSite" label="&zotero.preferences.proxies.multiSite;"
oncommand="Zotero_ProxyEditor.multiSiteChanged()"/>

View file

@ -34,10 +34,10 @@
onload="sizeToContent();"
ondialogaccept="Zotero_QuickCopySiteEditor.onAccept();">
<script src="chrome://zotero/content/include.js" type="application/javascript;version=1.8"/>
<script src="preferences.js" type="application/javascript;version=1.8"/>
<script src="chrome://zotero/content/include.js"/>
<script src="preferences.js"/>
<script type="application/javascript;version=1.8">
<script>
<![CDATA[
var Zotero_QuickCopySiteEditor = new function () {
this.onAccept = onAccept;

View file

@ -8,8 +8,8 @@
ondialogaccept="Zotero_Proxy_Dialog.accept()" ondialogcancel="Zotero_Proxy_Dialog.cancel()"
onload="Zotero_Proxy_Dialog.init()">
<script src="include.js" type="application/javascript;version=1.8"/>
<script src="proxy.js" type="application/javascript;version=1.8"/>
<script src="include.js"/>
<script src="proxy.js"/>
<vbox flex="1" style="width:510px">
<hbox align="start">

View file

@ -8,9 +8,9 @@
title="&zotero.rtfScan.title;" width="700" height="550"
id="zotero-rtfScan">
<script src="include.js" type="application/javascript;version=1.8"/>
<script src="bibliography.js" type="application/javascript;version=1.8"/>
<script src="rtfScan.js" type="application/javascript;version=1.8"/>
<script src="include.js"/>
<script src="bibliography.js"/>
<script src="rtfScan.js"/>
<wizardpage id="intro-page" label="&zotero.rtfScan.introPage.label;"
onpageshow="Zotero_RTFScan.introPageShowing()"

View file

@ -16,8 +16,8 @@
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
style="padding:2em">
<script src="include.js" type="application/javascript;version=1.8"/>
<script src="searchDialog.js" type="application/javascript;version=1.8"/>
<script src="include.js"/>
<script src="searchDialog.js"/>
<vbox id="zotero-search-box-container" flex="1">
<hbox align="center">

View file

@ -43,8 +43,8 @@
style="padding:2em"
persist="screenX screenY width height">
<script src="include.js" type="application/javascript;version=1.8"/>
<script src="selectItemsDialog.js" type="application/javascript;version=1.8"/>
<script src="include.js"/>
<script src="selectItemsDialog.js"/>
<vbox id="zotero-select-items-container" flex="1">

View file

@ -51,8 +51,8 @@
<script type="application/javascript" src="chrome://global/content/contentAreaUtils.js"/>
<script type="application/javascript" src="chrome://global/content/printUtils.js"/>
<script type="application/javascript" src="chrome://global/content/inlineSpellCheckUI.js"/>
<script type="application/javascript;version=1.8" src="chrome://zotero/content/include.js"/>
<script type="application/javascript;version=1.8" src="basicViewer.js"/>
<script type="application/javascript" src="chrome://zotero/content/include.js"/>
<script type="application/javascript" src="basicViewer.js"/>
<commandset id="mainCommandSet">
<!--FILE-->

View file

@ -4,6 +4,6 @@
<textbox id="header-search" hidden="true"/>
<page id="addons-page">
<script type="application/javascript;version=1.8" src="chrome://zotero/content/standalone/extensionsOverlay.js"/>
<script type="application/javascript" src="chrome://zotero/content/standalone/extensionsOverlay.js"/>
</page>
</overlay>

View file

@ -48,7 +48,7 @@
title="&brandShortName;"
width="915" height="500"
persist="screenX screenY width height sizemode">
<script type="application/javascript;version=1.8" src="standalone.js"/>
<script type="application/javascript" src="standalone.js"/>
<script type="application/javascript" src="chrome://global/content/globalOverlay.js"/>
<script type="application/javascript" src="chrome://global/content/contentAreaUtils.js"/>
<script type="application/javascript" src="chrome://global/content/inlineSpellCheckUI.js"/>

View file

@ -25,7 +25,7 @@
xmlns:xhtml="http://www.w3.org/1999/xhtml" disablefastfind="true"
flex="1">
<script type="application/javascript;version=1.8" src="tab.js"/>
<script type="application/javascript" src="tab.js"/>
<script type="application/javascript"
src="chrome://global/content/contentAreaUtils.js"/>
<xhtml:link rel="shortcut icon"

View file

@ -8,8 +8,8 @@
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
style="padding:2em">
<script src="../include.js" type="application/javascript;version=1.8"/>
<script src="modtime.js" type="application/javascript;version=1.8"/>
<script src="../include.js"/>
<script src="modtime.js"/>
<box/>
</window>

View file

@ -10,8 +10,8 @@
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
style="padding:2em">
<script src="../include.js" type="application/javascript;version=1.8"/>
<script src="test.js" type="application/javascript;version=1.8"/>
<script src="../include.js"/>
<script src="test.js"/>
<hbox><label>This is a test page.</label></hbox>
</window>

View file

@ -32,9 +32,9 @@
onload="Zotero_CSL_Editor.init();"
title="Zotero Reference Test pane">
<script src="chrome://zotero/content/include.js" type="application/javascript;version=1.8"/>
<script src="chrome://zotero/content/include.js"/>
<script type="application/javascript;version=1.8">
<script>
<![CDATA[
var Zotero_CSL_Editor = new function() {
this.init = init;

View file

@ -33,9 +33,9 @@
onload="Zotero_CSL_Preview.init();"
title="Zotero Preview pane">
<script src="chrome://zotero/content/include.js" type="application/javascript;version=1.8"/>
<script src="chrome://zotero/content/include.js"/>
<script type="application/javascript;version=1.8">
<script>
<![CDATA[
default xml namespace = "http://purl.org/net/xbiblio/csl";

View file

@ -9,7 +9,7 @@
<wizard id="zotero-schema-upgrade" title="Zotero Upgrade Wizard"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script type="application/javascript;version=1.8">
<script>
<![CDATA[
var Zotero_Schema_Upgrade = new function() {
this.init = init;