kame-remocon 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 739470f51dedff9d33f47a0f0c8d011e2e090f2ebad37139f7aeb900c8e84593
4
- data.tar.gz: 385eb802c17457fbc46b00c3fb8039d7493238d0657e767e86ab5cabb5072f4f
3
+ metadata.gz: 6da9dc031ec9adc0cda5ab90e27d7edf097ea7fba7e9ebadd4210f7cfb913c94
4
+ data.tar.gz: 4306aae9815330f9db5fc59b36f0fd9c9e91f5f0b1820529318d2b3f25860d93
5
5
  SHA512:
6
- metadata.gz: b835c9f5b53323be80dbc73347fed450befc9758183cc7d4eceb9ef5b0530065c06633cfdcf0c3536ee55fe1ae1fcf70b5d8990a5df8ca86b6e49e603a7f0946
7
- data.tar.gz: 2f0c2f8eb75c95260fa55098b4fd88cefdad1b70ac9ec7915b413d385b4a394c1e52c631349817b194da9161c7d119dde719b8dc3600a85495e6244b2af1c0e8
6
+ metadata.gz: 4cb5199c09e2be7b07906d0a8daffbe6f589e84014e1446f7e3412941f9fad3e2a3b4826fa0206d85896c077e248fb9334c37ee86ebf50f1ce2f550af6719d0a
7
+ data.tar.gz: 19c59285ee7dc09e4917ecf7e717a9a6e6f010fbd4e961957ce10651340ea04203f97e672a42c2e0c4a801b1023697b18a8ed23f0cfdee64bb5e1ded68bebd47
@@ -4,4 +4,4 @@ require "opal/drb"
4
4
 
5
5
  require_relative "kame_remocon"
6
6
 
7
- Hyalite.render(Hyalite.create_element(Kame::Remocon::Opal::AppView), $document['.content'])
7
+ Hyalite.render(Hyalite.create_element(Kame::Remocon::Opal::AppView), $document[".turtle-graphics"])
@@ -66,7 +66,6 @@ class Kame::Remocon::Opal::AppView
66
66
  bg_color = @state[:bg_color]
67
67
 
68
68
  div do
69
- h2(nil, "タートルグラフィックスに挑戦!!")
70
69
  div do
71
70
  Kame::Remocon::Opal::CanvasView.el(onMounted: -> canvas { mounted(canvas) }, render_image: render_image, bg_color: bg_color)
72
71
  div({class: "wrap-code-text"}, textarea({style: {width: "400px", height: "400px"}, ref: :program}, program))
@@ -1,5 +1,5 @@
1
1
  module Kame
2
2
  module Remocon
3
- VERSION = "0.2.3"
3
+ VERSION = "0.2.4"
4
4
  end
5
5
  end
data/lib/views/index.haml CHANGED
@@ -7,5 +7,7 @@
7
7
  document.ws_enabled = #{@enable_ws}
8
8
  %body
9
9
  .content
10
+ %h1 タートルグラフィックスに挑戦!!!
11
+ .turtle-graphics
10
12
 
11
13
  = ::Opal::Sprockets.javascript_include_tag('application', sprockets: settings.opal.sprockets, prefix: 'assets', debug: true)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kame-remocon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - youchan