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 +4 -4
- data/lib/opal/httpget/version.rb +1 -1
- data/lib/opal/httpget.rb +14 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4bbefc4b5c28b8007fecc15f884f37e7956b4e1a3949458877b5e9d15dd98dc9
|
4
|
+
data.tar.gz: 31bb6e64df3674f991460286604ebe2bb51de3935792a2460ac78b3b3fc00283
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4052d59f52c0d2b0db64150774c0841c40feb55bedc16fb233fbc9f2b31ca04ace3885521e81a5d849f53438099460cb5e22e84bc5dfbbf3ec075daad93bc27e
|
7
|
+
data.tar.gz: bf96e618761fa005c6de47e8b5f5c70f10e46d185d4a198f1e4583acbce36e50d426d3e0187d155e8d3eda5e91f59a8fd3d50435657f49efbc6b805cf5504fa2
|
data/lib/opal/httpget/version.rb
CHANGED
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
|
+
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-
|
11
|
+
date: 2022-09-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opal
|