summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-11-09 17:46:54 -0500
committerJules Laplace <jules@okfoc.us>2015-11-09 17:46:54 -0500
commitead9d27ebc580ce428c991cbbd3ad505865ffd63 (patch)
tree3d91872dc17760ea7df5ab4698f24bde6d838769 /StoneIsland/www/js/lib
parent6a8e38d24c4866b8559f7116eac694fbf1da4ded (diff)
case sensitive
Diffstat (limited to 'StoneIsland/www/js/lib')
-rw-r--r--StoneIsland/www/js/lib/account/PaymentView.js23
-rw-r--r--StoneIsland/www/js/lib/account/SignupView.js2
-rw-r--r--StoneIsland/www/js/lib/cart/CartPayment.js1
-rw-r--r--StoneIsland/www/js/lib/nav/AddressView.js22
-rw-r--r--StoneIsland/www/js/lib/nav/CreditCardView.js22
5 files changed, 47 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",
diff --git a/StoneIsland/www/js/lib/cart/CartPayment.js b/StoneIsland/www/js/lib/cart/CartPayment.js
index a797765d..69cbf81b 100644
--- a/StoneIsland/www/js/lib/cart/CartPayment.js
+++ b/StoneIsland/www/js/lib/cart/CartPayment.js
@@ -7,6 +7,7 @@ var CartPayment = View.extend({
initialize: function(){
this.address = new AddressView ({ parent: this })
+ this.cc = new CreditCardView ({ parent: this })
},
show: function(){
diff --git a/StoneIsland/www/js/lib/nav/AddressView.js b/StoneIsland/www/js/lib/nav/AddressView.js
new file mode 100644
index 00000000..94d20631
--- /dev/null
+++ b/StoneIsland/www/js/lib/nav/AddressView.js
@@ -0,0 +1,22 @@
+
+var AddressView = View.extend({
+
+ template: $("#address_template").html(),
+
+ events: {
+ },
+
+ initialize: function(opt){
+ this.parent = opt.parent
+ },
+
+ build: function(){
+ },
+
+ deserialize: function(){
+ },
+
+ serialize: function(){
+ },
+
+})
diff --git a/StoneIsland/www/js/lib/nav/CreditCardView.js b/StoneIsland/www/js/lib/nav/CreditCardView.js
new file mode 100644
index 00000000..6668053d
--- /dev/null
+++ b/StoneIsland/www/js/lib/nav/CreditCardView.js
@@ -0,0 +1,22 @@
+
+var CreditCardView = View.extend({
+
+ template: $("#creditcard_template").html(),
+
+ events: {
+ },
+
+ initialize: function(opt){
+ this.parent = opt.parent
+ },
+
+ build: function(){
+ },
+
+ deserialize: function(){
+ },
+
+ serialize: function(){
+ },
+
+})