Kaynağa Gözat

fix lint problems

Adam Shaw 9 yıl önce
ebeveyn
işleme
b781802d0f
4 değiştirilmiş dosya ile 1 ekleme ve 6 silme
  1. 0 3
      src/Calendar.js
  2. 1 1
      src/common/Promise.js
  3. 0 1
      src/common/RunQueue.js
  4. 0 1
      src/common/View.js

+ 0 - 3
src/Calendar.js

@@ -486,9 +486,6 @@ function Calendar_constructor(element, overrides) {
 
 
 	EventManager.call(t);
-	var isFetchNeeded = t.isFetchNeeded;
-	var fetchEvents = t.fetchEvents;
-	var fetchEventSources = t.fetchEventSources;
 
 
 

+ 1 - 1
src/common/Promise.js

@@ -38,7 +38,7 @@ function Promise(executor) {
 			}
 
 			return origThen.call(promise, onFulfilled, onRejected);
-		}
+		};
 	}
 
 	return promise;

+ 0 - 1
src/common/RunQueue.js

@@ -3,7 +3,6 @@
 // TODO: for debounce, always let current task finish
 
 function RunQueue() {
-	var _this = this;
 	var q = []; // array of runFuncs
 
 	this.add = function(taskFunc) {

+ 0 - 1
src/common/View.js

@@ -633,7 +633,6 @@ var View = FC.View = Class.extend(EmitterMixin, ListenerMixin, {
 
 	// Refreshes anything dependant upon sizing of the container element of the grid
 	updateSize: function(isResize) {
-		var scrollState;
 
 		if (isResize) {
 			this.captureScroll();