Skip to content

Commit 850ea70

Browse files
committed
Try to simplify types
1 parent f63eb75 commit 850ea70

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/gon/helpers.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ def include_gon
1010

1111
script = "<script>function Gon(){"
1212
data.each do |key, val|
13-
val = "'#{val}'" if val.instance_of? String
1413
script += "this." + key.to_s + val.to_json + ";"
1514
end
1615
script += "}; var Gon = new Gon()</script>"

0 commit comments

Comments
 (0)