myems-admin/js/plugins/fullcalendar/calendar.js
Function link
has 64 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
link: function(scope, elm, attrs, controller) {
var sources = scope.eventSources,
sourcesChanged = false,
eventSourcesWatcher = controller.changeWatcher(sources, controller.sourcesFingerprint),
Function changeWatcher
has 62 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.changeWatcher = function(arraySource, tokenFn) {
var self;
var getTokens = function() {
var array = angular.isFunction(arraySource) ? arraySource() : arraySource;
var result = [], token, el;