mirror of
https://github.com/ansible/awx.git
synced 2026-02-27 15:58:45 -03:30
removing helpers/JobDetail.js
This commit is contained in:
@@ -189,7 +189,6 @@ var tower = angular.module('Tower', [
|
||||
'LogViewerStatusDefinition',
|
||||
'StandardOutHelper',
|
||||
'LogViewerOptionsDefinition',
|
||||
'JobDetailHelper',
|
||||
'lrInfiniteScroll',
|
||||
'LoadConfigHelper',
|
||||
'PortalJobsListDefinition',
|
||||
|
||||
@@ -12,7 +12,6 @@ import Credentials from "./helpers/Credentials";
|
||||
import Events from "./helpers/Events";
|
||||
import Groups from "./helpers/Groups";
|
||||
import Hosts from "./helpers/Hosts";
|
||||
import JobDetail from "./helpers/JobDetail";
|
||||
import JobSubmission from "./helpers/JobSubmission";
|
||||
import JobTemplates from "./helpers/JobTemplates";
|
||||
import Jobs from "./helpers/Jobs";
|
||||
@@ -38,7 +37,6 @@ export
|
||||
Events,
|
||||
Groups,
|
||||
Hosts,
|
||||
JobDetail,
|
||||
JobSubmission,
|
||||
JobTemplates,
|
||||
Jobs,
|
||||
|
||||
@@ -17,14 +17,14 @@
|
||||
|
||||
var initCodeMirror = function(el, data, mode){
|
||||
var container = document.getElementById(el);
|
||||
var editor = CodeMirror.fromTextArea(container, {
|
||||
var editor = CodeMirror.fromTextArea(container, { // jshint ignore:line
|
||||
lineNumbers: true,
|
||||
mode: mode
|
||||
});
|
||||
editor.setSize("100%", 200);
|
||||
editor.getDoc().setValue(data);
|
||||
};
|
||||
|
||||
/*ignore jslint end*/
|
||||
$scope.isActiveState = function(name){
|
||||
return $state.current.name === name;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user