opal-httpget 0.1.4 → 0.1.6

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: 6a0507108c9c332b7811a56b2aca1c4f1007d676aa5eecf3706be9cfd5059652
4
- data.tar.gz: 2972326b2ede6e59c87b5767695f2fd3593c44a133bb74f0585a9fb8aaf2a095
3
+ metadata.gz: 4bbefc4b5c28b8007fecc15f884f37e7956b4e1a3949458877b5e9d15dd98dc9
4
+ data.tar.gz: 31bb6e64df3674f991460286604ebe2bb51de3935792a2460ac78b3b3fc00283
5
5
  SHA512:
6
- metadata.gz: 5bd1dfc0560c16af23c2a4b458a5efb46ec1274235a1e53442ddd021afa4853b750f80c36705939c1d783a583e165a811887a11bc7d7c706226b271349466fef
7
- data.tar.gz: 8594f783b16641efdb29d0e554b992a45ca7729153b4c26e563f84fef44352827e05ed59f6ae6637804a7ebeb63989ce5d85558098f3310a9adfa3fa15dff3bc
6
+ metadata.gz: 4052d59f52c0d2b0db64150774c0841c40feb55bedc16fb233fbc9f2b31ca04ace3885521e81a5d849f53438099460cb5e22e84bc5dfbbf3ec075daad93bc27e
7
+ data.tar.gz: bf96e618761fa005c6de47e8b5f5c70f10e46d185d4a198f1e4583acbce36e50d426d3e0187d155e8d3eda5e91f59a8fd3d50435657f49efbc6b805cf5504fa2
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Opal
4
4
  module Httpget
5
- VERSION = "0.1.4"
5
+ VERSION = "0.1.6"
6
6
  end
7
7
  end
data/lib/opal/httpget.rb CHANGED
@@ -77,5 +77,19 @@ module Opal
77
77
  yield
78
78
  end
79
79
 
80
+
81
+ # おまけ機能: テキストの変更
82
+ def change_text(id, text)
83
+ `document.querySelector(id).textContent=text;`
84
+ end
85
+
86
+ # おまけ機能: テキストの変更
87
+ def open_window(url)
88
+ `window.open( url );`
89
+ end
90
+
80
91
  end
92
+
93
+
94
+
81
95
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opal-httpget
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - showata
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-07-25 00:00:00.000000000 Z
11
+ date: 2022-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opal