From 84f7a1e63f70026cd5dd5cf96469363bc93d30ea Mon Sep 17 00:00:00 2001 From: Daniel Freedman Date: Tue, 16 Jul 2013 02:21:49 -0700 Subject: [PATCH 1/7] fix small typo --- src/touch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/touch.js b/src/touch.js index 9aa803b4..a1277512 100644 --- a/src/touch.js +++ b/src/touch.js @@ -63,7 +63,7 @@ }, elementChanged: function(el, oldValue) { var a = el.getAttribute(ATTRIB); - var st = this.touchActiontoScrollType(a); + var st = this.touchActionToScrollType(a); var oldSt = this.touchActionToScrollType(oldValue); // simply update scrollType if listeners are already established if (st && oldSt) { From 71de5effff71fdd7d2752280b81859034b755706 Mon Sep 17 00:00:00 2001 From: Daniel Freedman Date: Tue, 16 Jul 2013 03:40:39 -0700 Subject: [PATCH 2/7] use numbers instead of gradient --- samples/scroller/index.html | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/samples/scroller/index.html b/samples/scroller/index.html index fd9b8e4f..e1f9f759 100644 --- a/samples/scroller/index.html +++ b/samples/scroller/index.html @@ -23,8 +23,16 @@ #big { height: 1000px; width: 1000px; - background: -webkit-linear-gradient(45deg, red, blue); - background: linear-gradient(45deg, red, blue); + } + .flex { + display: -webkit-flex; + display: flex; + -webkit-flex: 1; + flex: 1; + } + .inner { + -wekbit-flex-direction: column; + flex-direction: column; } button { height: 100px; @@ -43,6 +51,18 @@