grafico 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/grafico.gemspec +1 -1
- data/lib/grafico/helpers.rb +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.3
|
data/grafico.gemspec
CHANGED
data/lib/grafico/helpers.rb
CHANGED
@@ -4,7 +4,7 @@ module Grafico
|
|
4
4
|
args = []
|
5
5
|
args << data.to_json
|
6
6
|
args << options.to_json unless options.empty?
|
7
|
-
javascript_tag "var #{options[:variable_name] || (element + graph_type)} = new Grafico.#{graph_type}($('#{element}'), #{args.join});"
|
7
|
+
javascript_tag "var #{options[:variable_name] || (element + graph_type)} = new Grafico.#{graph_type}($('#{element}'), #{args.join(',')});"
|
8
8
|
end
|
9
9
|
|
10
10
|
def line_graph_tag(element, data, options = {})
|