sugar 0.0.36 → 0.0.37
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/sugar/actionview/stats.rb +2 -3
- data/sugar.gemspec +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.37
|
@@ -35,9 +35,8 @@ module Sugar
|
|
35
35
|
end
|
36
36
|
result << javascript_include_tag(static_includes) unless static_includes.empty?
|
37
37
|
unless initializers.empty?
|
38
|
-
initializers = initializers.
|
39
|
-
|
40
|
-
pack
|
38
|
+
initializers = initializers.collect do |initializer|
|
39
|
+
"try {#{initializer}} catch(e) {}"
|
41
40
|
end.join("\n")
|
42
41
|
result << javascript_tag(initializers)
|
43
42
|
end
|
data/sugar.gemspec
CHANGED