$未定义,jQuery未定义且AJS。$未定义

时间:2013-01-23 08:57:23

标签: jquery jira-plugin

我正在尝试编写一个jira小工具。与此同时,我正在使用第三方jqplot脚本。我得到$是未定义的一切都是那些脚本。看到包含的库并加载到我的页面中:

<link href="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.5.5/_/download/resources/com.atlassian.auiplugin:ajs-gadgets-base/basic.css" media="all" rel="stylesheet" type="text/css">
<link href="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.5.5/_/download/resources/com.atlassian.auiplugin:ajs-gadgets-base/dropdown.css" media="all" rel="stylesheet" type="text/css">
<link href="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.5.5/_/download/resources/com.atlassian.auiplugin:ajs-gadgets-base/icons.css" media="all" rel="stylesheet" type="text/css">
<link href="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.5.5/_/download/resources/com.atlassian.auiplugin:ajs-gadgets-base/tables.css" media="all" rel="stylesheet" type="text/css">
<link href="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.5.5/_/download/resources/com.atlassian.auiplugin:ajs-gadgets-base/forms.css" media="all" rel="stylesheet" type="text/css">
<link href="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.5.5/_/download/resources/com.atlassian.auiplugin:ajs-gadgets-base/messages.css" media="all" rel="stylesheet" type="text/css">
<link href="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.5.5/_/download/resources/com.atlassian.auiplugin:ajs/firebug.css" media="all" rel="stylesheet" type="text/css">
<link href="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.5.5/_/download/resources/com.atlassian.auiplugin:ajs/dialog.css" media="all" rel="stylesheet" type="text/css">
<link href="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.5.5/_/download/resources/com.atlassian.auiplugin:ajs/inline-dialog.css" media="all" rel="stylesheet" type="text/css">
<link href="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.5.5/_/download/resources/com.atlassian.auiplugin:ajs/tabs.css" media="all" rel="stylesheet" type="text/css">
<link href="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.5.5/_/download/resources/com.atlassian.auiplugin:ajs/toolbar.css" media="all" rel="stylesheet" type="text/css">
<link href="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.1.21/_/download/resources/com.atlassian.gadgets.publisher:ajax/ajax.css" media="all" rel="stylesheet" type="text/css">
<link href="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.1.21/_/download/resources/com.atlassian.gadgets.publisher:ajs-gadgets/common.css" media="all" rel="stylesheet" type="text/css">
<link href="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.1.21/_/download/resources/com.atlassian.gadgets.publisher:ajs-gadgets-lite/common.css" media="all" rel="stylesheet" type="text/css">
<link href="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:util-lite/icons.css" media="all" rel="stylesheet" type="text/css">
<link href="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:util-lite/gadgets-common.css" media="all" rel="stylesheet" type="text/css">
<link href="http://localhost:2990/jira/s/en_US6c3e1m/734/3/5.0.7/_/download/resources/com.atlassian.jira.gadgets:common-lite/base.css" media="all" rel="stylesheet" type="text/css">
<link href="http://localhost:2990/jira/s/en_US6c3e1m/734/3/5.0.7/_/download/resources/com.atlassian.jira.gadgets:common-lite/common.css" media="all" rel="stylesheet" type="text/css">
<link href="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:inline-layer/layer.css" media="all" rel="stylesheet" type="text/css">
<link href="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:autocomplete/autocomplete.css" media="all" rel="stylesheet" type="text/css">
<link href="http://localhost:2990/jira/s/en_US6c3e1m/734/3/5.0.7/_/download/resources/com.atlassian.jira.gadgets:autocomplete/layer.css" media="all" rel="stylesheet" type="text/css">
<link href="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0-SNAPSHOT/_/download/resources/com.teradata.jira.gadgets.defectgadget:defectgadget-resources/defectgadget.css" media="all" rel="stylesheet" type="text/css">
<link href="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0-SNAPSHOT/_/download/resources/com.teradata.jira.gadgets.defectgadget:defectgadget-resources/jqplot.css" media="all" rel="stylesheet" type="text/css">
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.5.5/_/download/resources/com.atlassian.auiplugin:jquery-lib/jquery.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.5.5/_/download/resources/com.atlassian.auiplugin:jquery-compatibility/jquery-compatibility.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.5.5/_/download/resources/com.atlassian.auiplugin:aui-core/atlassian.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.5.5/_/download/resources/com.atlassian.auiplugin:ajs-gadgets-base/jquery.aop.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.5.5/_/download/resources/com.atlassian.auiplugin:ajs-gadgets-base/dropdown.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.5.5/_/download/resources/com.atlassian.auiplugin:ajs/raphael.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.5.5/_/download/resources/com.atlassian.auiplugin:ajs/raphael.shadow.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.5.5/_/download/resources/com.atlassian.auiplugin:ajs/jquery.os.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.5.5/_/download/resources/com.atlassian.auiplugin:ajs/jquery-ui.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.5.5/_/download/resources/com.atlassian.auiplugin:ajs/jquery-ui-1.7-bug-fixes.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.5.5/_/download/resources/com.atlassian.auiplugin:ajs/jquery.form.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.5.5/_/download/resources/com.atlassian.auiplugin:ajs/jquery.hotkeys.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.5.5/_/download/resources/com.atlassian.auiplugin:ajs/jquery.moveto.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.5.5/_/download/resources/com.atlassian.auiplugin:ajs/context-path.cp.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.5.5/_/download/resources/com.atlassian.auiplugin:ajs/event.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.5.5/_/download/resources/com.atlassian.auiplugin:ajs/cookie.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.5.5/_/download/resources/com.atlassian.auiplugin:ajs/dialog.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.5.5/_/download/resources/com.atlassian.auiplugin:ajs/icons.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.5.5/_/download/resources/com.atlassian.auiplugin:ajs/inline-dialog.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.5.5/_/download/resources/com.atlassian.auiplugin:ajs/firebug.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.5.5/_/download/resources/com.atlassian.auiplugin:ajs/forms.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.5.5/_/download/resources/com.atlassian.auiplugin:ajs/messages.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.5.5/_/download/resources/com.atlassian.auiplugin:ajs/tabs.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.5.5/_/download/resources/com.atlassian.auiplugin:ajs/template.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.5.5/_/download/resources/com.atlassian.auiplugin:ajs/whenitype.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.5.5/_/download/resources/com.atlassian.auiplugin:ajs/toolbar.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.5.5/_/download/resources/com.atlassian.auiplugin:ajs/jquery.autocomplete.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.5.5/_/download/resources/com.atlassian.auiplugin:ajs/jquery.is-dirty.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.5.5/_/download/resources/com.atlassian.auiplugin:ajs/jquery.progressbar.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.5.5/_/download/resources/com.atlassian.auiplugin:ajs/jquery.selection.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.5.5/_/download/resources/com.atlassian.auiplugin:ajs/jquery.throbber.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.1.21/_/download/resources/com.atlassian.gadgets.publisher:templates/soyutils.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.1.21/_/download/resources/com.atlassian.gadgets.publisher:templates/error.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.1.21/_/download/resources/com.atlassian.gadgets.publisher:templates/warning.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.1.21/_/download/resources/com.atlassian.gadgets.publisher:templates/info.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.1.21/_/download/resources/com.atlassian.gadgets.publisher:util/namespace.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.1.21/_/download/resources/com.atlassian.gadgets.publisher:util/util.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.1.21/_/download/resources/com.atlassian.gadgets.publisher:util/sysMsg.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.1.21/_/download/resources/com.atlassian.gadgets.publisher:ajax/mockXHR.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.1.21/_/download/resources/com.atlassian.gadgets.publisher:ajax/makeRequestToJQueryAjaxCallbackTransformer.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.1.21/_/download/resources/com.atlassian.gadgets.publisher:ajax/mapToMakeRequestOptions.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.1.21/_/download/resources/com.atlassian.gadgets.publisher:ajax/OAuth.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.1.21/_/download/resources/com.atlassian.gadgets.publisher:ajax/trustedApps.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.1.21/_/download/resources/com.atlassian.gadgets.publisher:ajax/anonymous.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.1.21/_/download/resources/com.atlassian.gadgets.publisher:ajax/jQuery.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.1.21/_/download/resources/com.atlassian.gadgets.publisher:ajax/ajax.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.1.21/_/download/resources/com.atlassian.gadgets.publisher:ajax/events.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.1.21/_/download/resources/com.atlassian.gadgets.publisher:ajs-gadgets/templater.namespace.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.1.21/_/download/resources/com.atlassian.gadgets.publisher:ajs-gadgets/ajs.gadgets.templater.base.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.1.21/_/download/resources/com.atlassian.gadgets.publisher:ajs-gadgets/ajs.gadgets.templater.custom.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.1.21/_/download/resources/com.atlassian.gadgets.publisher:ajs-gadgets/ajs.gadgets.templater.form.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.1.21/_/download/resources/com.atlassian.gadgets.publisher:ajs-gadgets/ajs.gadgets.templater.table.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.1.21/_/download/resources/com.atlassian.gadgets.publisher:ajs-gadgets/form.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.1.21/_/download/resources/com.atlassian.gadgets.publisher:ajs-gadgets/table.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.1.21/_/download/resources/com.atlassian.gadgets.publisher:ajs-gadgets/events.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.1.21/_/download/resources/com.atlassian.gadgets.publisher:ajs-gadgets/gadgets.namespace.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.1.21/_/download/resources/com.atlassian.gadgets.publisher:ajs-gadgets/ajs.gadget.base.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.1.21/_/download/resources/com.atlassian.gadgets.publisher:ajs-gadgets/ajs.gadget.standard.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.1.21/_/download/resources/com.atlassian.gadgets.publisher:ajs-gadgets/ajs.gadget.configured.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.1.21/_/download/resources/com.atlassian.gadgets.publisher:ajs-gadgets/ajs.gadget.configurable.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.1.21/_/download/resources/com.atlassian.gadgets.publisher:ajs-gadgets/ajs.gadget.factory.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.1.21/_/download/resources/com.atlassian.gadgets.publisher:ajs-gadgets/gadget-common-fields.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.1.21/_/download/resources/com.atlassian.gadgets.publisher:ajs-gadgets-lite/templater.namespace.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.1.21/_/download/resources/com.atlassian.gadgets.publisher:ajs-gadgets-lite/ajs.gadgets.templater.base.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.1.21/_/download/resources/com.atlassian.gadgets.publisher:ajs-gadgets-lite/ajs.gadgets.templater.custom.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.1.21/_/download/resources/com.atlassian.gadgets.publisher:ajs-gadgets-lite/ajs.gadgets.templater.form.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.1.21/_/download/resources/com.atlassian.gadgets.publisher:ajs-gadgets-lite/ajs.gadgets.templater.table.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.1.21/_/download/resources/com.atlassian.gadgets.publisher:ajs-gadgets-lite/form.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.1.21/_/download/resources/com.atlassian.gadgets.publisher:ajs-gadgets-lite/table.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.1.21/_/download/resources/com.atlassian.gadgets.publisher:ajs-gadgets-lite/events.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.1.21/_/download/resources/com.atlassian.gadgets.publisher:ajs-gadgets-lite/gadgets.namespace.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.1.21/_/download/resources/com.atlassian.gadgets.publisher:ajs-gadgets-lite/ajs.gadget.base.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.1.21/_/download/resources/com.atlassian.gadgets.publisher:ajs-gadgets-lite/ajs.gadget.standard.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.1.21/_/download/resources/com.atlassian.gadgets.publisher:ajs-gadgets-lite/ajs.gadget.configured.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.1.21/_/download/resources/com.atlassian.gadgets.publisher:ajs-gadgets-lite/ajs.gadget.configurable.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.1.21/_/download/resources/com.atlassian.gadgets.publisher:ajs-gadgets-lite/ajs.gadget.factory.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/3.1.21/_/download/resources/com.atlassian.gadgets.publisher:ajs-gadgets-lite/gadget-common-fields.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:util-lite/describeBrowser.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:util-lite/copyObject.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:util-lite/util.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:util-lite/trace.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:util-lite/meta.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:util-lite/Class.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:util-lite/Control.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:util-lite/Descriptor.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:util-lite/Keyboard.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:util-lite/Mouse.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:util-lite/getOptionsFromAttributes.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:util-lite/SmartAjax.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:util-lite/LayerManager.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:util-lite/hasFixedParent.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/5.0.7/_/download/resources/com.atlassian.jira.gadgets:common-lite/gadget-common.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/5.0.7/_/download/resources/com.atlassian.jira.gadgets:common-lite/gadget-common-fields.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:browser-properties/Navigator.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:util/observer.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:util/aui-experimental.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:util/getDocHeight.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:util/os.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:util/JSONiefix.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:util/version.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:util/JSON.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:util/parseUri.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:util/effects.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:util/parseOptionsFromFieldset.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:util/handleAccessKeys.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:util/setSelectionRange.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:util/jquery.pjax.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:util/SessionStorage.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:util/LocalStorage.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:util/persistence.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:util/XSRF.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:util/bindDefaultCustomEvent.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:content-retrievers/ContentRetriever.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:content-retrievers/AjaxContentRetriever.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:content-retrievers/DOMContentRetriever.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:inline-layer/InlineLayer.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:inline-layer/InlineLayer.OptionsDescriptor.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:inline-layer/InlineLayer.create.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:inline-layer/InlineLayer.StandardPositioning.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:inline-layer/InlineLayer.IframePositioning.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:list/Group.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:list/ItemDescriptor.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:list/GroupDescriptor.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:list/List.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:autocomplete/JIRA.Dropdown.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:autocomplete/AutoComplete.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:autocomplete/RESTAutoComplete.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:autocomplete/IssueAutoComplete.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:autocomplete/UserAutoComplete.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0/_/download/resources/jira.webresources:autocomplete/initAutoCompleteFields.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0-SNAPSHOT/_/download/resources/com.teradata.jira.gadgets.defectgadget:defectgadget-resources/defectgadget.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0-SNAPSHOT/_/download/resources/com.teradata.jira.gadgets.defectgadget:defectgadget-resources/barRenderer.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0-SNAPSHOT/_/download/resources/com.teradata.jira.gadgets.defectgadget:defectgadget-resources/categoryAxisRenderer.js" type="text/javascript"></script>
<script src="http://localhost:2990/jira/s/en_US6c3e1m/734/3/1.0-SNAPSHOT/_/download/resources/com.teradata.jira.gadgets.defectgadget:defectgadget-resources/pointLabels.js" type="text/javascript"></script>
<script type="text/javascript">
    jQuery.noConflict();
    (function () { //myscript accessing jqplot javascript in pointLabels.js etc.
})();
</script>

我错过了上面列表中js includes / links的顺序吗? 我想通过firebug检查脚本是否正在加载,但我是firebug的新手,请你帮忙我这样做。上面的代码在iframe对象中。我能够从firebug中看到代码,但无法在脚本选项卡中看到它并且无法设置断点。

根据jira人的建议,我尝试过使用AJS。$而不是$。我试过jQuery而不是$,但没有运气。

你能帮帮我吗?

1 个答案:

答案 0 :(得分:1)

首先,您需要检查是否包含jquery文件。应该在其他插件之前包含jQuery文件。

你可以在firefox中使用JSViewer add来查看加载的脚本文件是什么。