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