Răsfoiți Sursa

fix lint problems

Adam Shaw 10 ani în urmă
părinte
comite
688e472433
3 a modificat fișierele cu 2 adăugiri și 8 ștergeri
  1. 1 1
      src/agenda/AgendaView.js
  2. 1 1
      src/basic/BasicView.js
  3. 0 6
      src/util.js

+ 1 - 1
src/agenda/AgendaView.js

@@ -270,7 +270,7 @@ var AgendaView = FC.AgendaView = View.extend({
 	// given a desired total height of the view, returns what the height of the scroller should be
 	computeScrollerHeight: function(totalHeight) {
 		return totalHeight -
-			subtractInnerElHeight(this.el, this.scroller.el) // everything that's NOT the scroller
+			subtractInnerElHeight(this.el, this.scroller.el); // everything that's NOT the scroller
 	},
 
 

+ 1 - 1
src/basic/BasicView.js

@@ -213,7 +213,7 @@ var BasicView = FC.BasicView = View.extend({
 	// given a desired total height of the view, returns what the height of the scroller should be
 	computeScrollerHeight: function(totalHeight) {
 		return totalHeight -
-			subtractInnerElHeight(this.el, this.scroller.el) // everything that's NOT the scroller
+			subtractInnerElHeight(this.el, this.scroller.el); // everything that's NOT the scroller
 	},
 
 

+ 0 - 6
src/util.js

@@ -305,12 +305,6 @@ function isPrimaryMouseButton(ev) {
 }
 
 
-function isSingleTouch(ev) {
-	var touches = ev.originalEvent.touches;
-	return touches && touches.length == 1;
-}
-
-
 function getEvX(ev) {
 	if (ev.pageX !== undefined) {
 		return ev.pageX;