From 3a77d19282f2055559c63468c574b824138464ac Mon Sep 17 00:00:00 2001 From: Daniel Beauchamp Date: Thu, 11 Oct 2012 16:20:05 -0400 Subject: Provide a way to get the query params given to a dashboard. --- javascripts/dashing.coffee | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'javascripts') 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: -> -- cgit v1.2.3