summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/account
diff options
context:
space:
mode:
Diffstat (limited to 'StoneIsland/www/js/lib/account')
-rw-r--r--StoneIsland/www/js/lib/account/PaymentView.js23
-rw-r--r--StoneIsland/www/js/lib/account/SignupView.js2
2 files changed, 2 insertions, 23 deletions
diff --git a/StoneIsland/www/js/lib/account/PaymentView.js b/StoneIsland/www/js/lib/account/PaymentView.js
index e43dfc1c..95b63879 100644
--- a/StoneIsland/www/js/lib/account/PaymentView.js
+++ b/StoneIsland/www/js/lib/account/PaymentView.js
@@ -7,6 +7,7 @@ var PaymentView = View.extend({
initialize: function(){
this.address = new AddressView ({ parent: this })
+ this.cc = new CreditCardView ({ parent: this })
},
show: function(){
@@ -14,25 +15,3 @@ var PaymentView = View.extend({
},
})
-
-var AddressView = View.extend({
-
- template: $("#address_template").html(),
-
- events: {
- },
-
- initialize: function(opt){
- this.parent = opt.parent
- },
-
- build: function(){
- },
-
- deserialize: function(){
- },
-
- serialize: function(){
- },
-
-}) \ No newline at end of file
diff --git a/StoneIsland/www/js/lib/account/SignupView.js b/StoneIsland/www/js/lib/account/SignupView.js
index 14fb27a6..0f527d4f 100644
--- a/StoneIsland/www/js/lib/account/SignupView.js
+++ b/StoneIsland/www/js/lib/account/SignupView.js
@@ -1,4 +1,4 @@
-var SignupView = View.extend({
+var SignupView = SerializableView.extend({
el: "#signup",