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, 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');
}) })

View File

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