app/js/components/ui-choices.js
Function link
has 98 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
link: function(s, e, a){
var that, update;
if (!e.hasClass('ui')) {
e.addClass('btn-group');
}
Function controller
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
controller: ['$scope', '$element'].concat(function($scope, $element){
$scope.btntype = $element.attr('btn-type');
$scope.node = this.node = {
d: {},
add: function(e, a){
Function link
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
link: function(s, e, a, c){
var ref$, btntype, that;
if (!e.hasClass('ui')) {
e.addClass('btn');
}