From 39b395f28ed7eb0d24eef6b2e50a3a235af0b31e Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 19 Nov 2015 18:44:57 -0500 Subject: some js for orders view --- StoneIsland/www/js/lib/account/orders/OrderList.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 StoneIsland/www/js/lib/account/orders/OrderList.js (limited to 'StoneIsland/www/js/lib/account/orders/OrderList.js') diff --git a/StoneIsland/www/js/lib/account/orders/OrderList.js b/StoneIsland/www/js/lib/account/orders/OrderList.js new file mode 100644 index 00000000..876f609e --- /dev/null +++ b/StoneIsland/www/js/lib/account/orders/OrderList.js @@ -0,0 +1,17 @@ +var OrderList = ScrollableView.extend({ + + el: "#order_list", + + template: $("#order_list .template"), + + initialize: function(opt){ + this.parent = opt.parent + this.scroller = new IScroll('#order_list', app.iscroll_options) + }, + + show: function(){ + document.body.className = "orders" + app.orders.el.className = "list" + }, + +}) -- cgit v1.2.3-70-g09d2