aboutsummaryrefslogtreecommitdiffstats
path: root/public/js/index.coffee
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2012-11-13 19:27:09 -0800
committerAdam Soltys <[email protected]>2012-11-13 19:27:09 -0800
commit16062edf148ea44bc8a5f40732c0dc1d363d588c (patch)
tree1c29230affc47ce26fee30d9f971c1f75e79a43a /public/js/index.coffee
parent54c28a395db853c601d3592c967f322c7f09e1d4 (diff)
downloadcoinos-server-16062edf148ea44bc8a5f40732c0dc1d363d588c.tar.gz
coinos-server-16062edf148ea44bc8a5f40732c0dc1d363d588c.zip
Allow market selection
Diffstat (limited to 'public/js/index.coffee')
-rw-r--r--public/js/index.coffee9
1 files changed, 9 insertions, 0 deletions
diff --git a/public/js/index.coffee b/public/js/index.coffee
new file mode 100644
index 00000000..d832c4ed
--- /dev/null
+++ b/public/js/index.coffee
@@ -0,0 +1,9 @@
+#= require jquery-1.8.2.min.js
+
+$(->
+ symbols = ['mtgoxUSD', 'btceUSD', 'bitstampUSD', 'virwoxSLL', 'btcdeEUR', 'mtgoxEUR', 'btc24EUR', 'mtgoxAUD', 'cryptoxAUD', 'mtgoxGBP', 'btcnCNY', 'intrsngEUR', 'virtexCAD', 'mtgoxPLN', 'cbxUSD', 'bitcurexPLN', 'bitmarketEUR', 'bitfloorUSD', 'mrcdBRL', 'bcEUR']
+
+ $.each(symbols, (i, v) ->
+ $('#symbol').append("<option>#{v}</option>")
+ )
+)