From 0fadc735f1adc7ed7f0a688eed658feb6a3b44f7 Mon Sep 17 00:00:00 2001 From: Robert Jackson Date: Mon, 23 Apr 2012 14:08:36 -0400 Subject: [PATCH] Reverse logic to make CSV default. (Addresses #1) --- jquery_pivot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jquery_pivot.js b/jquery_pivot.js index a4b9b06..c39546d 100644 --- a/jquery_pivot.js +++ b/jquery_pivot.js @@ -53,7 +53,7 @@ var methods = { }; }, process_from_url : function(options){ - var re = /\.csv$/i, + var re = /\.json$/i, dataType; if (re.test(options.url))