diff options
author | Daniel Beauchamp <daniel.beauchamp@shopify.com> | 2012-10-11 16:20:05 -0400 |
---|---|---|
committer | Daniel Beauchamp <daniel.beauchamp@shopify.com> | 2012-10-11 16:20:05 -0400 |
commit | 3a77d19282f2055559c63468c574b824138464ac (patch) | |
tree | 49226ed835f3a60f71b5f4c2510a06f1b188dbe6 /javascripts | |
parent | fe7880e018efe9b5db271c7b11f3469891d1b2b2 (diff) |
Provide a way to get the query params given to a dashboard.
Diffstat (limited to 'javascripts')
-rw-r--r-- | javascripts/dashing.coffee | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/javascripts/dashing.coffee b/javascripts/dashing.coffee index 8852c1e..6d1b5cc 100644 --- a/javascripts/dashing.coffee +++ b/javascripts/dashing.coffee @@ -25,7 +25,8 @@ Batman.Filters.shortenedNumber = (num) -> num class window.Dashing extends Batman.App - @root -> + @root -> +Dashing.params = Batman.URI.paramsFromQuery(window.location.search.slice(1)); class Dashing.Widget extends Batman.View constructor: -> |