grafico 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 = {})
|