mirror of
https://github.com/ansible/awx.git
synced 2026-01-18 05:01:19 -03:30
jshint fix
This commit is contained in:
parent
3b1639da4f
commit
e93969fb10
@ -18,17 +18,15 @@
|
||||
else {return true;}
|
||||
};
|
||||
/*ignore jslint start*/
|
||||
/* jshint ignore:start */
|
||||
var initCodeMirror = function(el, json){
|
||||
var container = $(el)[0];
|
||||
var editor = CodeMirror.fromTextArea(container, {
|
||||
var editor = CodeMirror.fromTextArea(container, { // jshint ignore:line
|
||||
lineNumbers: true,
|
||||
mode: {name: "javascript", json: true}
|
||||
});
|
||||
editor.setSize("100%", 300);
|
||||
editor.getDoc().setValue(JSON.stringify(json, null, 4));
|
||||
};
|
||||
/* jshint ignore:end */
|
||||
/*ignore jslint end*/
|
||||
$scope.isActiveState = function(name){
|
||||
return $state.current.name === name;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user