romo 0.20.9 → 0.20.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/assets/js/romo/base.js +9 -0
- data/lib/romo/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
SHA512:
|
3
|
-
metadata.gz: 8b7ee76c89cecf4e2f309d384c9060e37500544ff8c1fbc81f953c1d46e41416e3edef970ce9211c7ec0faa4edda6aac923607c707298873450180f0c7996101
|
4
|
-
data.tar.gz: 4f3ad1e0df8a9816f94dbb4392d63da6b3e924056441ee85a6c3d923f8c94f6301692cc04df2d33cdf55502951a8d88b42dcfea95dc0f107966e87e27d11162a
|
5
2
|
SHA1:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f188c7ec6458f78c8fac481fb5a55c9e26d12b12
|
4
|
+
data.tar.gz: 2efa22bf82590430a69ae5b97f2f16a91787bcc7
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 0b341879e0b7413f8a207a8b674be4941907fc7fb5c3b4ce70226fd04f5da65ed7e5b72c2260dbedab021cd6d9c929aa7fce04d89e144b797b8f23c40adf6e54
|
7
|
+
data.tar.gz: c62ca09016eefa8044f95fbdf1327185110d09a4341788ea246e0b052cce80dec4ae3665dec35f92267fc7ac7e569912067b8dcb749235f76def0dfd04966d3a
|
data/assets/js/romo/base.js
CHANGED
@@ -375,6 +375,15 @@ Romo.prototype.remove = function(elems) {
|
|
375
375
|
});
|
376
376
|
}
|
377
377
|
|
378
|
+
Romo.prototype.removeChildren = function(parentElems) {
|
379
|
+
return Romo.array(parentElems).map(function(parentElem) {
|
380
|
+
Romo.children(parentElem).forEach(function(childElem) {
|
381
|
+
parentElem.removeChild(childElem);
|
382
|
+
});
|
383
|
+
return parentElem;
|
384
|
+
});
|
385
|
+
}
|
386
|
+
|
378
387
|
Romo.prototype.replace = function(elem, replacementElem) {
|
379
388
|
elem.parentNode.replaceChild(replacementElem, elem);
|
380
389
|
return replacementElem;
|
data/lib/romo/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: romo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.20.
|
4
|
+
version: 0.20.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kelly Redding
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2018-01-
|
13
|
+
date: 2018-01-18 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: assert
|
@@ -136,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
136
136
|
requirements: []
|
137
137
|
|
138
138
|
rubyforge_project:
|
139
|
-
rubygems_version: 2.6.
|
139
|
+
rubygems_version: 2.6.6
|
140
140
|
signing_key:
|
141
141
|
specification_version: 4
|
142
142
|
summary: A UI Toolkit
|