1
0
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:
Ken Hoes 2016-05-16 09:44:11 -04:00
parent 86b7d08b58
commit 7361b8cef3
2 changed files with 3 additions and 3 deletions

View File

@ -48,7 +48,7 @@ export default
organization: scope.organization,
script: scope.script
})
.success(function (data) {
.success(function () {
$state.go('inventoryScripts', {}, {reload: true});
Wait('stop');
})

View File

@ -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}
});