Просмотр исходного кода

remove unused destroyEvents function

Casey Holzer 9 лет назад
Родитель
Сommit
9dc9ad229b
1 измененных файлов с 0 добавлено и 7 удалено
  1. 0 7
      src/Calendar.js

+ 0 - 7
src/Calendar.js

@@ -710,13 +710,6 @@ function Calendar_constructor(element, overrides) {
 			unfreezeContentHeight();
 		}
 	}
-
-
-	function destroyEvents() {
-		freezeContentHeight();
-		currentView.clearEvents();
-		unfreezeContentHeight();
-	}
 	
 
 	function getAndRenderEvents() {