projects
/
kraken-ui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
4f73423
)
Force load chart-schema as json.
author
David Schoonover
<dsc@wikimedia.org>
Thu, 7 Jun 2012 16:53:14 +0000 (09:53 -0700)
committer
David Schoonover
<dsc@wikimedia.org>
Thu, 7 Jun 2012 16:53:14 +0000 (09:53 -0700)
lib/chart/chart-type.co
patch
|
blob
|
history
diff --git
a/lib/chart/chart-type.co
b/lib/chart/chart-type.co
index
7cfee2f
..
ca74132
100644
(file)
--- a/
lib/chart/chart-type.co
+++ b/
lib/chart/chart-type.co
@@
-160,6
+160,7
@@
class exports.ChartType extends ReadyEmitter
proto = @constructor::
jQuery.ajax do
url : @SPEC_URL
+ dataType : 'json'
success : (spec) ~>
proto.spec = spec
proto.options_ordered = spec