summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/account
diff options
context:
space:
mode:
Diffstat (limited to 'StoneIsland/www/js/lib/account')
-rwxr-xr-xStoneIsland/www/js/lib/account/OrdersView.js2
-rwxr-xr-xStoneIsland/www/js/lib/account/PaymentView.js2
-rwxr-xr-xStoneIsland/www/js/lib/account/ProfileView.js2
-rwxr-xr-xStoneIsland/www/js/lib/account/SettingsView.js2
-rwxr-xr-xStoneIsland/www/js/lib/account/ShippingView.js2
5 files changed, 5 insertions, 5 deletions
diff --git a/StoneIsland/www/js/lib/account/OrdersView.js b/StoneIsland/www/js/lib/account/OrdersView.js
index ee0eb277..1522a096 100755
--- a/StoneIsland/www/js/lib/account/OrdersView.js
+++ b/StoneIsland/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/www/js/lib/account/PaymentView.js b/StoneIsland/www/js/lib/account/PaymentView.js
index 0fcf7e8f..8767b39f 100755
--- a/StoneIsland/www/js/lib/account/PaymentView.js
+++ b/StoneIsland/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/www/js/lib/account/ProfileView.js b/StoneIsland/www/js/lib/account/ProfileView.js
index a4e06791..4a081b38 100755
--- a/StoneIsland/www/js/lib/account/ProfileView.js
+++ b/StoneIsland/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/www/js/lib/account/SettingsView.js b/StoneIsland/www/js/lib/account/SettingsView.js
index 5586e0fd..196b7759 100755
--- a/StoneIsland/www/js/lib/account/SettingsView.js
+++ b/StoneIsland/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/www/js/lib/account/ShippingView.js b/StoneIsland/www/js/lib/account/ShippingView.js
index c1bac782..4c45e97f 100755
--- a/StoneIsland/www/js/lib/account/ShippingView.js
+++ b/StoneIsland/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(){