lib/opal/haml.rb in opal-haml-0.5.0 vs lib/opal/haml.rb in opal-haml-0.5.1
- old
+ new
@@ -33,6 +33,6 @@
EOS
end
end
end
-Opal.append_path File.expand_path('../../../lib-opal', __FILE__).untaint
+Opal.append_path File.expand_path("#{__dir__}../../../lib-opal")