Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

Commit 3b38e6e

Browse files
committed
fix(min): removing min file
Signed-off-by: Josh Kurz <jkurz25@gmail.com>
1 parent 67c1564 commit 3b38e6e

File tree

2 files changed

+0
-36
lines changed

2 files changed

+0
-36
lines changed

calendar.min.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

test/calendar.spec.js

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -409,41 +409,6 @@ describe('uiCalendar', function () {
409409
expect(scope.uiConfig.calendar[key].callCount).toBe(2);
410410
});
411411
}));
412-
413-
it('should check that any function that already has an apply in it does not break the calendar (backwards compatible)', inject(function($timeout, $rootScope){
414-
415-
var functionCount = 0;
416-
scope.uiConfig = {
417-
calendar:{
418-
height: 200,
419-
weekends: false,
420-
defaultView: 'month',
421-
dayClick: function(){scope.$apply();},
422-
eventClick: function(){scope.$apply();},
423-
eventDrop: function(){scope.$apply();},
424-
eventResize: function(){scope.$apply();},
425-
eventMouseover: function(){scope.$apply();}
426-
}
427-
};
428-
429-
spyOn($rootScope,'$apply').andCallThrough();
430-
431-
angular.forEach(scope.uiConfig.calendar, function(value,key){
432-
if (typeof value === 'function'){
433-
functionCount++;
434-
spyOn(scope.uiConfig.calendar, key).andCallThrough();
435-
436-
var fullCalendarConfig = calendarCtrl.getFullCalendarConfig(scope.uiConfig.calendar, {});
437-
438-
fullCalendarConfig[key]();
439-
440-
scope.$apply();
441-
$timeout.flush();
442-
expect($rootScope.$apply.callCount).toBe(functionCount*2);
443-
expect(scope.uiConfig.calendar[key]).toHaveBeenCalled();
444-
}
445-
});
446-
}));
447412
});
448413

449414
});

0 commit comments

Comments
 (0)