vendor/assets/build/medias/rubies/examples/image.rb in atome-0.4.7.0 vs vendor/assets/build/medias/rubies/examples/image.rb in atome-0.5.1.1
- old
+ new
@@ -1,4 +1,8 @@
+# frozen_string_literal: true
+
Atome.new(
- image: { render: [:html], id: :image1, type: :image, parent: [:view], path: "./medias/images/boat.png", left: 99, top: 120, width: 199, height: 199,
+ image: { renderers: [:browser], id: :image1, type: :image, parents: [:view], path: "./medias/images/boat.png", left: 99, top: 120, width: 199, height: 199,
}
-)
+)
+
+image({path: "./medias/images/moto.png", left: 33, top: 33})
\ No newline at end of file