mirror of
https://github.com/ansible/awx.git
synced 2026-03-25 12:55:04 -02:30
add JSlint ignore
This commit is contained in:
@@ -17,6 +17,7 @@
|
|||||||
if (typeof value === 'object'){return false;}
|
if (typeof value === 'object'){return false;}
|
||||||
else {return true;}
|
else {return true;}
|
||||||
};
|
};
|
||||||
|
/*ignore jslint start*/
|
||||||
/* jshint ignore:start */
|
/* jshint ignore:start */
|
||||||
var initCodeMirror = function(el, json){
|
var initCodeMirror = function(el, json){
|
||||||
var container = $(el)[0];
|
var container = $(el)[0];
|
||||||
@@ -28,6 +29,7 @@
|
|||||||
editor.getDoc().setValue(JSON.stringify(json, null, 4));
|
editor.getDoc().setValue(JSON.stringify(json, null, 4));
|
||||||
};
|
};
|
||||||
/* jshint ignore:end */
|
/* jshint ignore:end */
|
||||||
|
/*ignore jslint end*/
|
||||||
$scope.isActiveState = function(name){
|
$scope.isActiveState = function(name){
|
||||||
return $state.current.name === name;
|
return $state.current.name === name;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user