summaryrefslogtreecommitdiff
path: root/StoneIsland/platforms/android/assets/www/js
diff options
context:
space:
mode:
Diffstat (limited to 'StoneIsland/platforms/android/assets/www/js')
-rwxr-xr-xStoneIsland/platforms/android/assets/www/js/lib/account/OrdersView.js2
-rwxr-xr-xStoneIsland/platforms/android/assets/www/js/lib/account/PaymentView.js2
-rwxr-xr-xStoneIsland/platforms/android/assets/www/js/lib/account/ProfileView.js2
-rwxr-xr-xStoneIsland/platforms/android/assets/www/js/lib/account/SettingsView.js2
-rwxr-xr-xStoneIsland/platforms/android/assets/www/js/lib/account/ShippingView.js2
-rwxr-xr-xStoneIsland/platforms/android/assets/www/js/lib/auth/LoginView.js2
-rwxr-xr-xStoneIsland/platforms/android/assets/www/js/lib/auth/SignupView.js2
-rwxr-xr-xStoneIsland/platforms/android/assets/www/js/lib/blogs/ArchiveView.js2
-rwxr-xr-xStoneIsland/platforms/android/assets/www/js/lib/blogs/HubView.js2
-rwxr-xr-xStoneIsland/platforms/android/assets/www/js/lib/blogs/PageView.js2
-rwxr-xr-xStoneIsland/platforms/android/assets/www/js/lib/blogs/StoryView.js2
-rwxr-xr-xStoneIsland/platforms/android/assets/www/js/lib/cart/CartConfirm.js2
-rwxr-xr-xStoneIsland/platforms/android/assets/www/js/lib/cart/CartPayment.js2
13 files changed, 13 insertions, 13 deletions
diff --git a/StoneIsland/platforms/android/assets/www/js/lib/account/OrdersView.js b/StoneIsland/platforms/android/assets/www/js/lib/account/OrdersView.js
index ee0eb277..1522a096 100755
--- a/StoneIsland/platforms/android/assets/www/js/lib/account/OrdersView.js
+++ b/StoneIsland/platforms/android/assets/www/js/lib/account/OrdersView.js
@@ -26,7 +26,7 @@ var OrdersView = ScrollableView.extend({
this.$shipping_address = this.$(".shipping_address")
this.$shipping_method = this.$(".shipping_method")
- this.scroller = new IScroll('#orders', app.iscroll_options)
+ this.scroller = ScrollFactory('#orders', app.iscroll_options)
},
show: function(){
diff --git a/StoneIsland/platforms/android/assets/www/js/lib/account/PaymentView.js b/StoneIsland/platforms/android/assets/www/js/lib/account/PaymentView.js
index 0fcf7e8f..8767b39f 100755
--- a/StoneIsland/platforms/android/assets/www/js/lib/account/PaymentView.js
+++ b/StoneIsland/platforms/android/assets/www/js/lib/account/PaymentView.js
@@ -29,7 +29,7 @@ var PaymentView = FormView.extend({
this.$msg = this.$(".msg")
this.address = new AddressView ({ parent: this, checkPhone: false })
this.cc = new CreditCardView ({ parent: this })
- this.scroller = new IScroll('#payment', app.iscroll_options)
+ this.scroller = ScrollFactory('#payment', app.iscroll_options)
},
show: function(){
diff --git a/StoneIsland/platforms/android/assets/www/js/lib/account/ProfileView.js b/StoneIsland/platforms/android/assets/www/js/lib/account/ProfileView.js
index a4e06791..4a081b38 100755
--- a/StoneIsland/platforms/android/assets/www/js/lib/account/ProfileView.js
+++ b/StoneIsland/platforms/android/assets/www/js/lib/account/ProfileView.js
@@ -11,7 +11,7 @@ var ProfileView = FormView.extend({
initialize: function(){
this.$form = this.$(".form")
this.$msg = this.$(".msg")
- this.scroller = new IScroll('#profile', app.iscroll_options)
+ this.scroller = ScrollFactory('#profile', app.iscroll_options)
},
show: function(){
diff --git a/StoneIsland/platforms/android/assets/www/js/lib/account/SettingsView.js b/StoneIsland/platforms/android/assets/www/js/lib/account/SettingsView.js
index 5586e0fd..196b7759 100755
--- a/StoneIsland/platforms/android/assets/www/js/lib/account/SettingsView.js
+++ b/StoneIsland/platforms/android/assets/www/js/lib/account/SettingsView.js
@@ -12,7 +12,7 @@ var SettingsView = FormView.extend({
this.$msg = this.$(".msg")
this.$store = this.$("[name=store]")
this.$hub = this.$("[name=hub]")
- this.scroller = new IScroll('#settings', app.iscroll_options)
+ this.scroller = ScrollFactory('#settings', app.iscroll_options)
},
show: function(){
diff --git a/StoneIsland/platforms/android/assets/www/js/lib/account/ShippingView.js b/StoneIsland/platforms/android/assets/www/js/lib/account/ShippingView.js
index c1bac782..4c45e97f 100755
--- a/StoneIsland/platforms/android/assets/www/js/lib/account/ShippingView.js
+++ b/StoneIsland/platforms/android/assets/www/js/lib/account/ShippingView.js
@@ -27,7 +27,7 @@ var ShippingView = FormView.extend({
this.$form = this.$(".form")
this.$msg = this.$(".msg")
this.address = new AddressView ({ parent: this })
- this.scroller = new IScroll('#shipping', app.iscroll_options)
+ this.scroller = ScrollFactory('#shipping', app.iscroll_options)
},
show: function(){
diff --git a/StoneIsland/platforms/android/assets/www/js/lib/auth/LoginView.js b/StoneIsland/platforms/android/assets/www/js/lib/auth/LoginView.js
index c3d839a5..7458d159 100755
--- a/StoneIsland/platforms/android/assets/www/js/lib/auth/LoginView.js
+++ b/StoneIsland/platforms/android/assets/www/js/lib/auth/LoginView.js
@@ -13,7 +13,7 @@ var LoginView = FormView.extend({
initialize: function(){
this.$form = this.$(".form")
this.$msg = this.$(".msg")
- this.scroller = new IScroll('#login', app.iscroll_options)
+ this.scroller = ScrollFactory('#login', app.iscroll_options)
},
show: function(){
diff --git a/StoneIsland/platforms/android/assets/www/js/lib/auth/SignupView.js b/StoneIsland/platforms/android/assets/www/js/lib/auth/SignupView.js
index ef7dd6aa..66d8f239 100755
--- a/StoneIsland/platforms/android/assets/www/js/lib/auth/SignupView.js
+++ b/StoneIsland/platforms/android/assets/www/js/lib/auth/SignupView.js
@@ -26,7 +26,7 @@ var SignupView = FormView.extend({
initialize: function(){
this.$form = this.$(".form")
this.$msg = this.$(".msg")
- this.scroller = new IScroll('#signup', app.iscroll_options)
+ this.scroller = ScrollFactory('#signup', app.iscroll_options)
},
show: function(){
diff --git a/StoneIsland/platforms/android/assets/www/js/lib/blogs/ArchiveView.js b/StoneIsland/platforms/android/assets/www/js/lib/blogs/ArchiveView.js
index 0d769e95..b79b8421 100755
--- a/StoneIsland/platforms/android/assets/www/js/lib/blogs/ArchiveView.js
+++ b/StoneIsland/platforms/android/assets/www/js/lib/blogs/ArchiveView.js
@@ -18,7 +18,7 @@ var ArchiveView = ScrollableView.extend({
this.$menu_items = this.$(".menu .items")
this.$content = this.$(".content")
this.$loader = this.$(".loader")
- this.scroller = new IScroll('#archive .scroll', app.iscroll_options)
+ this.scroller = ScrollFactory('#archive .scroll', app.iscroll_options)
this.$subtitle = this.$('.subtitle')
this.subtitle_html = this.$subtitle.html()
},
diff --git a/StoneIsland/platforms/android/assets/www/js/lib/blogs/HubView.js b/StoneIsland/platforms/android/assets/www/js/lib/blogs/HubView.js
index c4ebd716..b2baf4e7 100755
--- a/StoneIsland/platforms/android/assets/www/js/lib/blogs/HubView.js
+++ b/StoneIsland/platforms/android/assets/www/js/lib/blogs/HubView.js
@@ -14,7 +14,7 @@ var HubView = ScrollableView.extend({
initialize: function(){
this.$content = this.$(".content")
this.$loader = this.$(".loader")
- this.scroller = new IScroll('#hub', app.iscroll_options)
+ this.scroller = ScrollFactory('#hub', app.iscroll_options)
HubLoader.init(this)
},
diff --git a/StoneIsland/platforms/android/assets/www/js/lib/blogs/PageView.js b/StoneIsland/platforms/android/assets/www/js/lib/blogs/PageView.js
index ae18091a..fae4cff2 100755
--- a/StoneIsland/platforms/android/assets/www/js/lib/blogs/PageView.js
+++ b/StoneIsland/platforms/android/assets/www/js/lib/blogs/PageView.js
@@ -9,7 +9,7 @@ var PageView = ScrollableView.extend({
this.setElement("#" + opt.page)
this.$content = this.$(".content")
this.$loader = this.$(".loader")
- this.scroller = new IScroll('#' + this.page, app.iscroll_options)
+ this.scroller = ScrollFactory('#' + this.page, app.iscroll_options)
},
show: function(){
diff --git a/StoneIsland/platforms/android/assets/www/js/lib/blogs/StoryView.js b/StoneIsland/platforms/android/assets/www/js/lib/blogs/StoryView.js
index 9ba17343..ec2f4434 100755
--- a/StoneIsland/platforms/android/assets/www/js/lib/blogs/StoryView.js
+++ b/StoneIsland/platforms/android/assets/www/js/lib/blogs/StoryView.js
@@ -16,7 +16,7 @@ var StoryView = ScrollableView.extend({
this.$links = this.$(".links")
this.$loader = this.$(".loader")
this.loader = new Loader ()
- this.scroller = new IScroll('#story', app.iscroll_options)
+ this.scroller = ScrollFactory('#story', app.iscroll_options)
},
show: function(){
diff --git a/StoneIsland/platforms/android/assets/www/js/lib/cart/CartConfirm.js b/StoneIsland/platforms/android/assets/www/js/lib/cart/CartConfirm.js
index 031e3359..6909dcc3 100755
--- a/StoneIsland/platforms/android/assets/www/js/lib/cart/CartConfirm.js
+++ b/StoneIsland/platforms/android/assets/www/js/lib/cart/CartConfirm.js
@@ -22,7 +22,7 @@ var CartConfirm = FormView.extend({
this.$payment_method = this.$(".payment_method")
this.$payment_address = this.$(".payment_address")
- this.scroller = new IScroll('#cart_confirm', app.iscroll_options)
+ this.scroller = ScrollFactory('#cart_confirm', app.iscroll_options)
},
show: function(){
diff --git a/StoneIsland/platforms/android/assets/www/js/lib/cart/CartPayment.js b/StoneIsland/platforms/android/assets/www/js/lib/cart/CartPayment.js
index 3a9e6412..40d08d9e 100755
--- a/StoneIsland/platforms/android/assets/www/js/lib/cart/CartPayment.js
+++ b/StoneIsland/platforms/android/assets/www/js/lib/cart/CartPayment.js
@@ -34,7 +34,7 @@ var CartPayment = FormView.extend({
this.address = new AddressView ({ parent: this, checkPhone: false })
this.cc = new CreditCardView ({ parent: this })
- this.scroller = new IScroll('#cart_payment', app.iscroll_options)
+ this.scroller = ScrollFactory('#cart_payment', app.iscroll_options)
this.scroller.on('scrollStart', function(){
if (document.activeElement.tagName === 'INPUT' || document.activeElement.tagName === 'SELECT') {
document.activeElement.blur()