mirror of
https://github.com/ansible/awx.git
synced 2024-11-02 09:51:09 +03:00
Fixed unrelated jshint errors
This commit is contained in:
parent
86b7d08b58
commit
7361b8cef3
@ -48,7 +48,7 @@ export default
|
||||
organization: scope.organization,
|
||||
script: scope.script
|
||||
})
|
||||
.success(function (data) {
|
||||
.success(function () {
|
||||
$state.go('inventoryScripts', {}, {reload: true});
|
||||
Wait('stop');
|
||||
})
|
||||
|
@ -17,10 +17,10 @@
|
||||
if (typeof value === 'object'){return false;}
|
||||
else {return true;}
|
||||
};
|
||||
|
||||
//var CodeMirror;
|
||||
var codeMirror = function(el, json){
|
||||
var container = $(el)[0];
|
||||
var editor = CodeMirror.fromTextArea(container, {
|
||||
var editor = codeMirror.fromTextArea(container, {
|
||||
lineNumbers: true,
|
||||
mode: {name: "javascript", json: true}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user