js file stub
authorOwen Smith <owen@omsmith.ca>
Sun, 18 Nov 2012 21:53:34 +0000 (16:53 -0500)
committerOwen Smith <owen@omsmith.ca>
Sun, 18 Nov 2012 21:53:34 +0000 (16:53 -0500)
www/assets/js/client.js [new file with mode: 0644]
www/index.html

diff --git a/www/assets/js/client.js b/www/assets/js/client.js
new file mode 100644 (file)
index 0000000..6aaa765
--- /dev/null
@@ -0,0 +1,3 @@
+var transport = new Thrift.Transport("");
+var protocol  = new Thrift.Protocol(transport);
+var client    = new PosClient(protocol);
index 5b8e4a8..e36c5fe 100644 (file)
@@ -38,6 +38,7 @@
                <script src="assets/js/thrift.js"></script>
                <script src="assets/js/pos_types.js"></script>
                <script src="assets/js/Pos.js"></script>
+               <script src="assets/js/client.js"></script>
 
        </body>
 </html>