dxopal 1.4.2 → 1.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +26 -0
- data/Gemfile +2 -1
- data/Gemfile.lock +20 -20
- data/README.md +3 -3
- data/Rakefile +3 -14
- data/build/dxopal.js +643 -430
- data/build/dxopal.min.js +1 -1
- data/config.ru +7 -0
- data/doc/api/DXOpal.html +10 -10
- data/doc/api/DXOpal/Constants.html +115 -0
- data/doc/api/DXOpal/Constants/Colors.html +172 -0
- data/doc/api/DXOpal/Font.html +71 -17
- data/doc/api/DXOpal/Image.html +891 -398
- data/doc/api/DXOpal/Input.html +814 -91
- data/doc/api/DXOpal/Input/KeyCodes.html +986 -0
- data/doc/api/DXOpal/Input/MouseCodes.html +7 -7
- data/doc/api/DXOpal/Input/Touch.html +834 -0
- data/doc/api/DXOpal/RemoteResource.html +16 -18
- data/doc/api/DXOpal/Sound.html +15 -15
- data/doc/api/DXOpal/SoundEffect.html +11 -13
- data/doc/api/DXOpal/SoundEffect/WaveTypes.html +7 -7
- data/doc/api/DXOpal/Sprite.html +517 -40
- data/doc/api/DXOpal/Sprite/CollisionArea.html +126 -0
- data/doc/api/DXOpal/Sprite/CollisionArea/Base.html +649 -0
- data/doc/api/DXOpal/Sprite/CollisionArea/Circle.html +656 -0
- data/doc/api/DXOpal/Sprite/CollisionArea/Point.html +448 -0
- data/doc/api/DXOpal/Sprite/CollisionArea/Rect.html +549 -0
- data/doc/api/DXOpal/Sprite/CollisionArea/Triangle.html +423 -0
- data/doc/api/DXOpal/Sprite/CollisionCheck.html +926 -0
- data/doc/api/DXOpal/Sprite/CollisionCheck/ClassMethods.html +268 -0
- data/doc/api/DXOpal/Sprite/Physics.html +426 -0
- data/doc/api/DXOpal/Window.html +235 -152
- data/doc/api/Kernel.html +131 -0
- data/doc/api/_index.html +276 -4
- data/doc/api/class_list.html +1 -1
- data/doc/api/css/style.css +1 -0
- data/doc/api/file.README.html +19 -18
- data/doc/api/frames.html +1 -1
- data/doc/api/index.html +19 -18
- data/doc/api/method_list.html +1600 -0
- data/doc/api/top-level-namespace.html +154 -3
- data/doc/en/index.html +3 -0
- data/doc/ja/index.html +3 -0
- data/exe/dxopal +1 -1
- data/lib/dxopal/image.rb +29 -1
- data/lib/dxopal/input.rb +95 -5
- data/lib/dxopal/version.rb +1 -1
- data/lib/dxopal/window.rb +44 -13
- data/template/index.html +1 -1
- metadata +21 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f18ecefbb29167fa733a6fae876b1d5804c1f0da629a616604244cb9c90ade26
|
4
|
+
data.tar.gz: a55d53b21ef262e04273ad16a0411a53dcb2a44bec2df48969967989e20bdd64
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1632bc406507fb157353503ef164c3463ab38999b5b0bd237c5246048967fd143df48660f83ad6dc46c71e4c353e262327347d90649dfdca804478d14030786
|
7
|
+
data.tar.gz: 9c6fdbeeb4c69ccb376bf1e57b01fde6a74121c012e92b91e98c9193c0a69b96676b5cd0d5c6847c54435383773b1dd725e374d5301cc5cff138cab057e37e38
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,29 @@
|
|
1
|
+
## v1.5.2 (2020-12-29)
|
2
|
+
|
3
|
+
- Upgrade opal to 1.0 (#37)
|
4
|
+
- fix: `mouse_release?` returns wrong value (#44)
|
5
|
+
|
6
|
+
## v1.5.1 (2020-02-01)
|
7
|
+
|
8
|
+
- fix: Image#[]= was broken since 1.4.0 (#35)
|
9
|
+
|
10
|
+
## v1.5.0 (2020-01-31)
|
11
|
+
|
12
|
+
- feat: Better error msg (#29)
|
13
|
+
- feat: Support Window.fps= (#30)
|
14
|
+
- feat: dxopal server prints access log (#31)
|
15
|
+
- feat: Default index.html avoids main.rb cache (#32)
|
16
|
+
- feat: Add Image.hsl2rgb (#34)
|
17
|
+
|
18
|
+
## v1.4.4 (2020-01-21)
|
19
|
+
|
20
|
+
- feat: Multi-touch (#26)
|
21
|
+
|
22
|
+
## v1.4.3 (2020-01-18)
|
23
|
+
|
24
|
+
- feat: Maximize Window by setting nil to .width, .height (#27)
|
25
|
+
- fix: Disable pull-to-refresh on mobile devices (#28)
|
26
|
+
|
1
27
|
## v1.4.2 (2020-01-18)
|
2
28
|
|
3
29
|
- fix: Downgrade opal to 0.11 (#25)
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,50 +1,50 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
dxopal (1.
|
4
|
+
dxopal (1.5.2)
|
5
5
|
rack (~> 2.0)
|
6
6
|
thor (~> 0.20)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
ast (2.4.
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
11
|
+
ast (2.4.1)
|
12
|
+
c_lexer (2.6.4.1.1)
|
13
|
+
ast (~> 2.4.0)
|
14
|
+
parser (= 2.6.4.1)
|
15
|
+
concurrent-ruby (1.1.7)
|
16
|
+
nio4r (2.5.4)
|
17
|
+
opal (1.0.5)
|
16
18
|
ast (>= 2.3.0)
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
opal-sprockets (0.4.3.0.11.0.3.7)
|
21
|
-
opal (~> 0.11.0)
|
19
|
+
parser (~> 2.6)
|
20
|
+
opal-sprockets (0.4.9.1.0.3.7)
|
21
|
+
opal (~> 1.0.0)
|
22
22
|
sprockets (~> 3.7)
|
23
23
|
tilt (>= 1.4)
|
24
|
-
parser (2.
|
25
|
-
ast (~> 2.
|
26
|
-
puma (
|
24
|
+
parser (2.6.4.1)
|
25
|
+
ast (~> 2.4.0)
|
26
|
+
puma (5.1.1)
|
27
27
|
nio4r (~> 2.0)
|
28
|
-
rack (2.
|
29
|
-
rake (13.0.
|
30
|
-
sourcemap (0.1.1)
|
28
|
+
rack (2.2.3)
|
29
|
+
rake (13.0.3)
|
31
30
|
sprockets (3.7.2)
|
32
31
|
concurrent-ruby (~> 1.0)
|
33
32
|
rack (> 1, < 3)
|
34
33
|
thor (0.20.3)
|
35
34
|
tilt (2.0.10)
|
36
|
-
yard (0.9.
|
35
|
+
yard (0.9.26)
|
37
36
|
|
38
37
|
PLATFORMS
|
39
38
|
ruby
|
40
39
|
|
41
40
|
DEPENDENCIES
|
41
|
+
c_lexer
|
42
42
|
dxopal!
|
43
|
-
opal
|
43
|
+
opal
|
44
44
|
opal-sprockets
|
45
45
|
puma
|
46
46
|
rake
|
47
47
|
yard
|
48
48
|
|
49
49
|
BUNDLED WITH
|
50
|
-
2.
|
50
|
+
2.1.2
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# DXOpal
|
2
2
|
|
3
|
-
Game development framework for [Opal](
|
3
|
+
Game development framework for [Opal](https://opalrb.com/),
|
4
4
|
has similar API to [DXRuby](http://dxruby.osdn.jp/)
|
5
5
|
|
6
6
|
## How to use
|
@@ -13,9 +13,9 @@ MIT (including images and sounds under examples/)
|
|
13
13
|
|
14
14
|
## Acknowledgements
|
15
15
|
|
16
|
-
- [Opal](
|
16
|
+
- [Opal](https://opalrb.com/)
|
17
17
|
- [DXRuby](http://dxruby.osdn.jp/)
|
18
|
-
- [Bxfr](
|
18
|
+
- [Bxfr](https://www.bfxr.net/) examples/apple_catcher/sounds/Explosion2.wav is made by this
|
19
19
|
|
20
20
|
## Contact
|
21
21
|
|
data/Rakefile
CHANGED
@@ -5,9 +5,7 @@ desc "Build dxopal.js"
|
|
5
5
|
task :build => ["build/dxopal.js"]
|
6
6
|
|
7
7
|
desc "Build dxopal.js and dxopal.min.js"
|
8
|
-
task :build_min =>
|
9
|
-
|
10
|
-
file "starter-kit/dxopal.min.js" => "build/dxopal.min.js" do |t| cp t.source, t.name end
|
8
|
+
task :build_min => "build/dxopal.min.js"
|
11
9
|
|
12
10
|
file "build/dxopal.min.js" => "build/dxopal.js" do |t|
|
13
11
|
sh "uglifyjs #{t.source} -o #{t.name}"
|
@@ -23,7 +21,7 @@ end
|
|
23
21
|
|
24
22
|
desc "Rebuild API reference"
|
25
23
|
task :api do
|
26
|
-
sh "yard doc -o doc/api/
|
24
|
+
sh "yard doc -o doc/api/ lib/**/*.rb lib/**/**/*.rb"
|
27
25
|
end
|
28
26
|
|
29
27
|
desc "git ci, git tag and git push"
|
@@ -33,6 +31,7 @@ task :release do
|
|
33
31
|
puts "release as #{v}? [y/N]"
|
34
32
|
break unless $stdin.gets.chomp == "y"
|
35
33
|
|
34
|
+
sh "bundle install" # to update the version in Gemfile.lock
|
36
35
|
sh "rake api"
|
37
36
|
sh "rake build_min -B"
|
38
37
|
sh "gem build dxopal.gemspec"
|
@@ -41,14 +40,4 @@ task :release do
|
|
41
40
|
sh "git tag '#{v}'"
|
42
41
|
sh "git push origin master --tags"
|
43
42
|
sh "gem push dxopal-#{DXOpal::VERSION}.gem"
|
44
|
-
|
45
|
-
#cd "starter-kit" do
|
46
|
-
# sh "git status"
|
47
|
-
# print "ok? [y/n] "
|
48
|
-
# if $stdin.gets.chomp == "y"
|
49
|
-
# sh "git ci dxopal.min.js -m 'v#{DXOpal::VERSION}'"
|
50
|
-
# sh "git tag 'v#{DXOpal::VERSION}'"
|
51
|
-
# sh "git push origin master --tags"
|
52
|
-
# end
|
53
|
-
#end
|
54
43
|
end
|
data/build/dxopal.js
CHANGED
@@ -2411,7 +2411,7 @@
|
|
2411
2411
|
TypeError.$$super = Error;
|
2412
2412
|
}).call(this);
|
2413
2413
|
Opal.loaded(["corelib/runtime.js"]);
|
2414
|
-
/* Generated by Opal 1.0.
|
2414
|
+
/* Generated by Opal 1.0.5 */
|
2415
2415
|
Opal.modules["corelib/helpers"] = function(Opal) {
|
2416
2416
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $truthy = Opal.truthy;
|
2417
2417
|
|
@@ -2597,7 +2597,7 @@ Opal.modules["corelib/helpers"] = function(Opal) {
|
|
2597
2597
|
})($nesting[0], $nesting)
|
2598
2598
|
};
|
2599
2599
|
|
2600
|
-
/* Generated by Opal 1.0.
|
2600
|
+
/* Generated by Opal 1.0.5 */
|
2601
2601
|
Opal.modules["corelib/module"] = function(Opal) {
|
2602
2602
|
function $rb_lt(lhs, rhs) {
|
2603
2603
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs < rhs : lhs['$<'](rhs);
|
@@ -3524,7 +3524,7 @@ Opal.modules["corelib/module"] = function(Opal) {
|
|
3524
3524
|
})($nesting[0], null, $nesting)
|
3525
3525
|
};
|
3526
3526
|
|
3527
|
-
/* Generated by Opal 1.0.
|
3527
|
+
/* Generated by Opal 1.0.5 */
|
3528
3528
|
Opal.modules["corelib/class"] = function(Opal) {
|
3529
3529
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $klass = Opal.klass, $send = Opal.send;
|
3530
3530
|
|
@@ -3634,7 +3634,7 @@ Opal.modules["corelib/class"] = function(Opal) {
|
|
3634
3634
|
})($nesting[0], null, $nesting);
|
3635
3635
|
};
|
3636
3636
|
|
3637
|
-
/* Generated by Opal 1.0.
|
3637
|
+
/* Generated by Opal 1.0.5 */
|
3638
3638
|
Opal.modules["corelib/basic_object"] = function(Opal) {
|
3639
3639
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $klass = Opal.klass, $truthy = Opal.truthy, $range = Opal.range, $hash2 = Opal.hash2, $send = Opal.send;
|
3640
3640
|
|
@@ -3877,7 +3877,7 @@ Opal.modules["corelib/basic_object"] = function(Opal) {
|
|
3877
3877
|
})($nesting[0], null, $nesting)
|
3878
3878
|
};
|
3879
3879
|
|
3880
|
-
/* Generated by Opal 1.0.
|
3880
|
+
/* Generated by Opal 1.0.5 */
|
3881
3881
|
Opal.modules["corelib/kernel"] = function(Opal) {
|
3882
3882
|
function $rb_le(lhs, rhs) {
|
3883
3883
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs <= rhs : lhs['$<='](rhs);
|
@@ -4903,7 +4903,7 @@ Opal.modules["corelib/kernel"] = function(Opal) {
|
|
4903
4903
|
})($nesting[0], null, $nesting);
|
4904
4904
|
};
|
4905
4905
|
|
4906
|
-
/* Generated by Opal 1.0.
|
4906
|
+
/* Generated by Opal 1.0.5 */
|
4907
4907
|
Opal.modules["corelib/error"] = function(Opal) {
|
4908
4908
|
function $rb_plus(lhs, rhs) {
|
4909
4909
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs + rhs : lhs['$+'](rhs);
|
@@ -5412,23 +5412,23 @@ Opal.modules["corelib/error"] = function(Opal) {
|
|
5412
5412
|
})($nesting[0], $nesting);
|
5413
5413
|
};
|
5414
5414
|
|
5415
|
-
/* Generated by Opal 1.0.
|
5415
|
+
/* Generated by Opal 1.0.5 */
|
5416
5416
|
Opal.modules["corelib/constants"] = function(Opal) {
|
5417
5417
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice;
|
5418
5418
|
|
5419
5419
|
|
5420
5420
|
Opal.const_set($nesting[0], 'RUBY_PLATFORM', "opal");
|
5421
5421
|
Opal.const_set($nesting[0], 'RUBY_ENGINE', "opal");
|
5422
|
-
Opal.const_set($nesting[0], 'RUBY_VERSION', "2.5.
|
5423
|
-
Opal.const_set($nesting[0], 'RUBY_ENGINE_VERSION', "1.0.
|
5424
|
-
Opal.const_set($nesting[0], 'RUBY_RELEASE_DATE', "
|
5422
|
+
Opal.const_set($nesting[0], 'RUBY_VERSION', "2.5.8");
|
5423
|
+
Opal.const_set($nesting[0], 'RUBY_ENGINE_VERSION', "1.0.5");
|
5424
|
+
Opal.const_set($nesting[0], 'RUBY_RELEASE_DATE', "2020-12-24");
|
5425
5425
|
Opal.const_set($nesting[0], 'RUBY_PATCHLEVEL', 0);
|
5426
5426
|
Opal.const_set($nesting[0], 'RUBY_REVISION', 0);
|
5427
|
-
Opal.const_set($nesting[0], 'RUBY_COPYRIGHT', "opal - Copyright (C) 2013-
|
5427
|
+
Opal.const_set($nesting[0], 'RUBY_COPYRIGHT', "opal - Copyright (C) 2013-2020 Adam Beynon and the Opal contributors");
|
5428
5428
|
return Opal.const_set($nesting[0], 'RUBY_DESCRIPTION', "" + "opal " + ($$($nesting, 'RUBY_ENGINE_VERSION')) + " (" + ($$($nesting, 'RUBY_RELEASE_DATE')) + " revision " + ($$($nesting, 'RUBY_REVISION')) + ")");
|
5429
5429
|
};
|
5430
5430
|
|
5431
|
-
/* Generated by Opal 1.0.
|
5431
|
+
/* Generated by Opal 1.0.5 */
|
5432
5432
|
Opal.modules["opal/base"] = function(Opal) {
|
5433
5433
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice;
|
5434
5434
|
|
@@ -5444,7 +5444,7 @@ Opal.modules["opal/base"] = function(Opal) {
|
|
5444
5444
|
return self.$require("corelib/constants");
|
5445
5445
|
};
|
5446
5446
|
|
5447
|
-
/* Generated by Opal 1.0.
|
5447
|
+
/* Generated by Opal 1.0.5 */
|
5448
5448
|
Opal.modules["corelib/nil"] = function(Opal) {
|
5449
5449
|
function $rb_gt(lhs, rhs) {
|
5450
5450
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs > rhs : lhs['$>'](rhs);
|
@@ -5606,7 +5606,7 @@ Opal.modules["corelib/nil"] = function(Opal) {
|
|
5606
5606
|
return Opal.const_set($nesting[0], 'NIL', nil);
|
5607
5607
|
};
|
5608
5608
|
|
5609
|
-
/* Generated by Opal 1.0.
|
5609
|
+
/* Generated by Opal 1.0.5 */
|
5610
5610
|
Opal.modules["corelib/boolean"] = function(Opal) {
|
5611
5611
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $klass = Opal.klass, $hash2 = Opal.hash2;
|
5612
5612
|
|
@@ -5716,7 +5716,7 @@ Opal.modules["corelib/boolean"] = function(Opal) {
|
|
5716
5716
|
return Opal.const_set($nesting[0], 'FALSE', false);
|
5717
5717
|
};
|
5718
5718
|
|
5719
|
-
/* Generated by Opal 1.0.
|
5719
|
+
/* Generated by Opal 1.0.5 */
|
5720
5720
|
Opal.modules["corelib/comparable"] = function(Opal) {
|
5721
5721
|
function $rb_gt(lhs, rhs) {
|
5722
5722
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs > rhs : lhs['$>'](rhs);
|
@@ -5850,7 +5850,7 @@ Opal.modules["corelib/comparable"] = function(Opal) {
|
|
5850
5850
|
})($nesting[0], $nesting)
|
5851
5851
|
};
|
5852
5852
|
|
5853
|
-
/* Generated by Opal 1.0.
|
5853
|
+
/* Generated by Opal 1.0.5 */
|
5854
5854
|
Opal.modules["corelib/regexp"] = function(Opal) {
|
5855
5855
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $klass = Opal.klass, $send = Opal.send, $truthy = Opal.truthy, $gvars = Opal.gvars;
|
5856
5856
|
|
@@ -6359,7 +6359,7 @@ Opal.modules["corelib/regexp"] = function(Opal) {
|
|
6359
6359
|
})($nesting[0], null, $nesting);
|
6360
6360
|
};
|
6361
6361
|
|
6362
|
-
/* Generated by Opal 1.0.
|
6362
|
+
/* Generated by Opal 1.0.5 */
|
6363
6363
|
Opal.modules["corelib/string"] = function(Opal) {
|
6364
6364
|
function $rb_divide(lhs, rhs) {
|
6365
6365
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs / rhs : lhs['$/'](rhs);
|
@@ -8495,7 +8495,7 @@ Opal.modules["corelib/string"] = function(Opal) {
|
|
8495
8495
|
return Opal.const_set($nesting[0], 'Symbol', $$($nesting, 'String'));
|
8496
8496
|
};
|
8497
8497
|
|
8498
|
-
/* Generated by Opal 1.0.
|
8498
|
+
/* Generated by Opal 1.0.5 */
|
8499
8499
|
Opal.modules["corelib/enumerable"] = function(Opal) {
|
8500
8500
|
function $rb_gt(lhs, rhs) {
|
8501
8501
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs > rhs : lhs['$>'](rhs);
|
@@ -10348,7 +10348,7 @@ Opal.modules["corelib/enumerable"] = function(Opal) {
|
|
10348
10348
|
})($nesting[0], $nesting)
|
10349
10349
|
};
|
10350
10350
|
|
10351
|
-
/* Generated by Opal 1.0.
|
10351
|
+
/* Generated by Opal 1.0.5 */
|
10352
10352
|
Opal.modules["corelib/enumerator"] = function(Opal) {
|
10353
10353
|
function $rb_plus(lhs, rhs) {
|
10354
10354
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs + rhs : lhs['$+'](rhs);
|
@@ -11057,7 +11057,7 @@ Opal.modules["corelib/enumerator"] = function(Opal) {
|
|
11057
11057
|
})($nesting[0], null, $nesting);
|
11058
11058
|
};
|
11059
11059
|
|
11060
|
-
/* Generated by Opal 1.0.
|
11060
|
+
/* Generated by Opal 1.0.5 */
|
11061
11061
|
Opal.modules["corelib/numeric"] = function(Opal) {
|
11062
11062
|
function $rb_minus(lhs, rhs) {
|
11063
11063
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
|
@@ -11376,7 +11376,7 @@ Opal.modules["corelib/numeric"] = function(Opal) {
|
|
11376
11376
|
})($nesting[0], null, $nesting);
|
11377
11377
|
};
|
11378
11378
|
|
11379
|
-
/* Generated by Opal 1.0.
|
11379
|
+
/* Generated by Opal 1.0.5 */
|
11380
11380
|
Opal.modules["corelib/array"] = function(Opal) {
|
11381
11381
|
function $rb_gt(lhs, rhs) {
|
11382
11382
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs > rhs : lhs['$>'](rhs);
|
@@ -14270,7 +14270,7 @@ Opal.modules["corelib/array"] = function(Opal) {
|
|
14270
14270
|
})($nesting[0], Array, $nesting);
|
14271
14271
|
};
|
14272
14272
|
|
14273
|
-
/* Generated by Opal 1.0.
|
14273
|
+
/* Generated by Opal 1.0.5 */
|
14274
14274
|
Opal.modules["corelib/hash"] = function(Opal) {
|
14275
14275
|
function $rb_ge(lhs, rhs) {
|
14276
14276
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs >= rhs : lhs['$>='](rhs);
|
@@ -15766,7 +15766,7 @@ Opal.modules["corelib/hash"] = function(Opal) {
|
|
15766
15766
|
})($nesting[0], null, $nesting);
|
15767
15767
|
};
|
15768
15768
|
|
15769
|
-
/* Generated by Opal 1.0.
|
15769
|
+
/* Generated by Opal 1.0.5 */
|
15770
15770
|
Opal.modules["corelib/number"] = function(Opal) {
|
15771
15771
|
function $rb_gt(lhs, rhs) {
|
15772
15772
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs > rhs : lhs['$>'](rhs);
|
@@ -17147,7 +17147,7 @@ Opal.modules["corelib/number"] = function(Opal) {
|
|
17147
17147
|
})($nesting[0], $$($nesting, 'Numeric'), $nesting);
|
17148
17148
|
};
|
17149
17149
|
|
17150
|
-
/* Generated by Opal 1.0.
|
17150
|
+
/* Generated by Opal 1.0.5 */
|
17151
17151
|
Opal.modules["corelib/range"] = function(Opal) {
|
17152
17152
|
function $rb_le(lhs, rhs) {
|
17153
17153
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs <= rhs : lhs['$<='](rhs);
|
@@ -17566,7 +17566,7 @@ Opal.modules["corelib/range"] = function(Opal) {
|
|
17566
17566
|
})($nesting[0], null, $nesting);
|
17567
17567
|
};
|
17568
17568
|
|
17569
|
-
/* Generated by Opal 1.0.
|
17569
|
+
/* Generated by Opal 1.0.5 */
|
17570
17570
|
Opal.modules["corelib/proc"] = function(Opal) {
|
17571
17571
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $klass = Opal.klass, $truthy = Opal.truthy;
|
17572
17572
|
|
@@ -17782,7 +17782,7 @@ Opal.modules["corelib/proc"] = function(Opal) {
|
|
17782
17782
|
})($nesting[0], Function, $nesting)
|
17783
17783
|
};
|
17784
17784
|
|
17785
|
-
/* Generated by Opal 1.0.
|
17785
|
+
/* Generated by Opal 1.0.5 */
|
17786
17786
|
Opal.modules["corelib/method"] = function(Opal) {
|
17787
17787
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $klass = Opal.klass, $truthy = Opal.truthy;
|
17788
17788
|
|
@@ -17937,7 +17937,7 @@ Opal.modules["corelib/method"] = function(Opal) {
|
|
17937
17937
|
})($nesting[0], null, $nesting);
|
17938
17938
|
};
|
17939
17939
|
|
17940
|
-
/* Generated by Opal 1.0.
|
17940
|
+
/* Generated by Opal 1.0.5 */
|
17941
17941
|
Opal.modules["corelib/variables"] = function(Opal) {
|
17942
17942
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $gvars = Opal.gvars, $hash2 = Opal.hash2;
|
17943
17943
|
|
@@ -17956,7 +17956,7 @@ Opal.modules["corelib/variables"] = function(Opal) {
|
|
17956
17956
|
return ($gvars.SAFE = 0);
|
17957
17957
|
};
|
17958
17958
|
|
17959
|
-
/* Generated by Opal 1.0.
|
17959
|
+
/* Generated by Opal 1.0.5 */
|
17960
17960
|
Opal.modules["opal/regexp_anchors"] = function(Opal) {
|
17961
17961
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module;
|
17962
17962
|
|
@@ -17985,7 +17985,7 @@ Opal.modules["opal/regexp_anchors"] = function(Opal) {
|
|
17985
17985
|
})($nesting[0], $nesting)
|
17986
17986
|
};
|
17987
17987
|
|
17988
|
-
/* Generated by Opal 1.0.
|
17988
|
+
/* Generated by Opal 1.0.5 */
|
17989
17989
|
Opal.modules["opal/mini"] = function(Opal) {
|
17990
17990
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice;
|
17991
17991
|
|
@@ -18009,7 +18009,7 @@ Opal.modules["opal/mini"] = function(Opal) {
|
|
18009
18009
|
return self.$require("opal/regexp_anchors");
|
18010
18010
|
};
|
18011
18011
|
|
18012
|
-
/* Generated by Opal 1.0.
|
18012
|
+
/* Generated by Opal 1.0.5 */
|
18013
18013
|
Opal.modules["corelib/kernel/format"] = function(Opal) {
|
18014
18014
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $truthy = Opal.truthy, $gvars = Opal.gvars;
|
18015
18015
|
|
@@ -18575,7 +18575,7 @@ Opal.modules["corelib/kernel/format"] = function(Opal) {
|
|
18575
18575
|
})($nesting[0], $nesting)
|
18576
18576
|
};
|
18577
18577
|
|
18578
|
-
/* Generated by Opal 1.0.
|
18578
|
+
/* Generated by Opal 1.0.5 */
|
18579
18579
|
Opal.modules["corelib/string/encoding"] = function(Opal) {
|
18580
18580
|
function $rb_plus(lhs, rhs) {
|
18581
18581
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs + rhs : lhs['$+'](rhs);
|
@@ -18955,7 +18955,7 @@ Opal.modules["corelib/string/encoding"] = function(Opal) {
|
|
18955
18955
|
})($nesting[0], null, $nesting);
|
18956
18956
|
};
|
18957
18957
|
|
18958
|
-
/* Generated by Opal 1.0.
|
18958
|
+
/* Generated by Opal 1.0.5 */
|
18959
18959
|
Opal.modules["corelib/math"] = function(Opal) {
|
18960
18960
|
function $rb_minus(lhs, rhs) {
|
18961
18961
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
|
@@ -19504,7 +19504,7 @@ Opal.modules["corelib/math"] = function(Opal) {
|
|
19504
19504
|
})($nesting[0], $nesting)
|
19505
19505
|
};
|
19506
19506
|
|
19507
|
-
/* Generated by Opal 1.0.
|
19507
|
+
/* Generated by Opal 1.0.5 */
|
19508
19508
|
Opal.modules["corelib/complex"] = function(Opal) {
|
19509
19509
|
function $rb_times(lhs, rhs) {
|
19510
19510
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs * rhs : lhs['$*'](rhs);
|
@@ -19990,7 +19990,7 @@ Opal.modules["corelib/complex"] = function(Opal) {
|
|
19990
19990
|
})($nesting[0], null, $nesting);
|
19991
19991
|
};
|
19992
19992
|
|
19993
|
-
/* Generated by Opal 1.0.
|
19993
|
+
/* Generated by Opal 1.0.5 */
|
19994
19994
|
Opal.modules["corelib/rational"] = function(Opal) {
|
19995
19995
|
function $rb_lt(lhs, rhs) {
|
19996
19996
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs < rhs : lhs['$<'](rhs);
|
@@ -20450,7 +20450,7 @@ Opal.modules["corelib/rational"] = function(Opal) {
|
|
20450
20450
|
})($nesting[0], null, $nesting);
|
20451
20451
|
};
|
20452
20452
|
|
20453
|
-
/* Generated by Opal 1.0.
|
20453
|
+
/* Generated by Opal 1.0.5 */
|
20454
20454
|
Opal.modules["corelib/time"] = function(Opal) {
|
20455
20455
|
function $rb_gt(lhs, rhs) {
|
20456
20456
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs > rhs : lhs['$>'](rhs);
|
@@ -21387,7 +21387,7 @@ Opal.modules["corelib/time"] = function(Opal) {
|
|
21387
21387
|
})($nesting[0], Date, $nesting);
|
21388
21388
|
};
|
21389
21389
|
|
21390
|
-
/* Generated by Opal 1.0.
|
21390
|
+
/* Generated by Opal 1.0.5 */
|
21391
21391
|
Opal.modules["corelib/struct"] = function(Opal) {
|
21392
21392
|
function $rb_gt(lhs, rhs) {
|
21393
21393
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs > rhs : lhs['$>'](rhs);
|
@@ -21888,7 +21888,7 @@ Opal.modules["corelib/struct"] = function(Opal) {
|
|
21888
21888
|
})($nesting[0], null, $nesting);
|
21889
21889
|
};
|
21890
21890
|
|
21891
|
-
/* Generated by Opal 1.0.
|
21891
|
+
/* Generated by Opal 1.0.5 */
|
21892
21892
|
Opal.modules["corelib/io"] = function(Opal) {
|
21893
21893
|
function $rb_minus(lhs, rhs) {
|
21894
21894
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
|
@@ -22054,7 +22054,7 @@ Opal.modules["corelib/io"] = function(Opal) {
|
|
22054
22054
|
return $$($nesting, 'STDERR').$extend($$$($$($nesting, 'IO'), 'Writable'));
|
22055
22055
|
};
|
22056
22056
|
|
22057
|
-
/* Generated by Opal 1.0.
|
22057
|
+
/* Generated by Opal 1.0.5 */
|
22058
22058
|
Opal.modules["corelib/main"] = function(Opal) {
|
22059
22059
|
var $to_s$1, $include$2, self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice;
|
22060
22060
|
|
@@ -22072,7 +22072,7 @@ Opal.modules["corelib/main"] = function(Opal) {
|
|
22072
22072
|
}, $include$2.$$arity = 1), nil) && 'include';
|
22073
22073
|
};
|
22074
22074
|
|
22075
|
-
/* Generated by Opal 1.0.
|
22075
|
+
/* Generated by Opal 1.0.5 */
|
22076
22076
|
Opal.modules["corelib/dir"] = function(Opal) {
|
22077
22077
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $klass = Opal.klass, $truthy = Opal.truthy;
|
22078
22078
|
|
@@ -22116,7 +22116,7 @@ Opal.modules["corelib/dir"] = function(Opal) {
|
|
22116
22116
|
})($nesting[0], null, $nesting)
|
22117
22117
|
};
|
22118
22118
|
|
22119
|
-
/* Generated by Opal 1.0.
|
22119
|
+
/* Generated by Opal 1.0.5 */
|
22120
22120
|
Opal.modules["corelib/file"] = function(Opal) {
|
22121
22121
|
function $rb_plus(lhs, rhs) {
|
22122
22122
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs + rhs : lhs['$+'](rhs);
|
@@ -22420,7 +22420,7 @@ Opal.modules["corelib/file"] = function(Opal) {
|
|
22420
22420
|
})($nesting[0], $$($nesting, 'IO'), $nesting)
|
22421
22421
|
};
|
22422
22422
|
|
22423
|
-
/* Generated by Opal 1.0.
|
22423
|
+
/* Generated by Opal 1.0.5 */
|
22424
22424
|
Opal.modules["corelib/process"] = function(Opal) {
|
22425
22425
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $klass = Opal.klass, $truthy = Opal.truthy;
|
22426
22426
|
|
@@ -22527,7 +22527,7 @@ Opal.modules["corelib/process"] = function(Opal) {
|
|
22527
22527
|
})($nesting[0], null, $nesting);
|
22528
22528
|
};
|
22529
22529
|
|
22530
|
-
/* Generated by Opal 1.0.
|
22530
|
+
/* Generated by Opal 1.0.5 */
|
22531
22531
|
Opal.modules["corelib/random"] = function(Opal) {
|
22532
22532
|
function $rb_lt(lhs, rhs) {
|
22533
22533
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs < rhs : lhs['$<'](rhs);
|
@@ -22839,7 +22839,7 @@ var MersenneTwister = (function() {
|
|
22839
22839
|
return { genrand_real: genrand_real, init: init };
|
22840
22840
|
})();
|
22841
22841
|
Opal.loaded(["corelib/random/MersenneTwister.js"]);
|
22842
|
-
/* Generated by Opal 1.0.
|
22842
|
+
/* Generated by Opal 1.0.5 */
|
22843
22843
|
Opal.modules["corelib/random/mersenne_twister"] = function(Opal) {
|
22844
22844
|
function $rb_minus(lhs, rhs) {
|
22845
22845
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
|
@@ -22868,7 +22868,7 @@ Opal.modules["corelib/random/mersenne_twister"] = function(Opal) {
|
|
22868
22868
|
})($nesting[0], null, $nesting);
|
22869
22869
|
};
|
22870
22870
|
|
22871
|
-
/* Generated by Opal 1.0.
|
22871
|
+
/* Generated by Opal 1.0.5 */
|
22872
22872
|
Opal.modules["corelib/unsupported"] = function(Opal) {
|
22873
22873
|
var $public$35, $private$36, self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $klass = Opal.klass, $module = Opal.module;
|
22874
22874
|
|
@@ -23304,7 +23304,7 @@ Opal.modules["corelib/unsupported"] = function(Opal) {
|
|
23304
23304
|
}, $private$36.$$arity = -1), nil) && 'private';
|
23305
23305
|
};
|
23306
23306
|
|
23307
|
-
/* Generated by Opal 1.0.
|
23307
|
+
/* Generated by Opal 1.0.5 */
|
23308
23308
|
Opal.modules["opal"] = function(Opal) {
|
23309
23309
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice;
|
23310
23310
|
|
@@ -23329,7 +23329,7 @@ Opal.modules["opal"] = function(Opal) {
|
|
23329
23329
|
return self.$require("corelib/unsupported");
|
23330
23330
|
};
|
23331
23331
|
|
23332
|
-
/* Generated by Opal 1.0.
|
23332
|
+
/* Generated by Opal 1.0.5 */
|
23333
23333
|
Opal.modules["native"] = function(Opal) {
|
23334
23334
|
function $rb_minus(lhs, rhs) {
|
23335
23335
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
|
@@ -24266,7 +24266,7 @@ Opal.modules["native"] = function(Opal) {
|
|
24266
24266
|
return ($gvars.$ = ($gvars.global = self.$Native(Opal.global)));
|
24267
24267
|
};
|
24268
24268
|
|
24269
|
-
/* Generated by Opal 1.0.
|
24269
|
+
/* Generated by Opal 1.0.5 */
|
24270
24270
|
Opal.modules["console"] = function(Opal) {
|
24271
24271
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $klass = Opal.klass, $truthy = Opal.truthy, $send = Opal.send, $gvars = Opal.gvars;
|
24272
24272
|
|
@@ -24424,7 +24424,7 @@ Opal.modules["console"] = function(Opal) {
|
|
24424
24424
|
};
|
24425
24425
|
};
|
24426
24426
|
|
24427
|
-
/* Generated by Opal 1.0.
|
24427
|
+
/* Generated by Opal 1.0.5 */
|
24428
24428
|
Opal.modules["dxopal/constants/colors"] = function(Opal) {
|
24429
24429
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module;
|
24430
24430
|
|
@@ -24458,7 +24458,7 @@ Opal.modules["dxopal/constants/colors"] = function(Opal) {
|
|
24458
24458
|
})($nesting[0], $nesting)
|
24459
24459
|
};
|
24460
24460
|
|
24461
|
-
/* Generated by Opal 1.0.
|
24461
|
+
/* Generated by Opal 1.0.5 */
|
24462
24462
|
Opal.modules["dxopal/font"] = function(Opal) {
|
24463
24463
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy, $hash2 = Opal.hash2;
|
24464
24464
|
|
@@ -24531,7 +24531,7 @@ Opal.modules["dxopal/font"] = function(Opal) {
|
|
24531
24531
|
})($nesting[0], $nesting)
|
24532
24532
|
};
|
24533
24533
|
|
24534
|
-
/* Generated by Opal 1.0.
|
24534
|
+
/* Generated by Opal 1.0.5 */
|
24535
24535
|
Opal.modules["dxopal/input"] = function(Opal) {
|
24536
24536
|
function $rb_minus(lhs, rhs) {
|
24537
24537
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
|
@@ -24539,9 +24539,12 @@ Opal.modules["dxopal/input"] = function(Opal) {
|
|
24539
24539
|
function $rb_plus(lhs, rhs) {
|
24540
24540
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs + rhs : lhs['$+'](rhs);
|
24541
24541
|
}
|
24542
|
-
|
24542
|
+
function $rb_lt(lhs, rhs) {
|
24543
|
+
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs < rhs : lhs['$<'](rhs);
|
24544
|
+
}
|
24545
|
+
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $truthy = Opal.truthy, $send = Opal.send, $hash2 = Opal.hash2, $klass = Opal.klass;
|
24543
24546
|
|
24544
|
-
Opal.add_stubs(['$_init_mouse_events', '$_init_touch_events', '$keyevent_target', '$keyevent_target=', '$-', '$+', '$key_down?', '$_pressing_keys']);
|
24547
|
+
Opal.add_stubs(['$_init_mouse_events', '$_init_touch_events', '$keyevent_target', '$keyevent_target=', '$-', '$+', '$_update_touch_info', '$key_down?', '$_pressing_keys', '$raise', '$_move', '$[]', '$new', '$[]=', '$push', '$_released', '$delete_if', '$released?', '$<', '$_released_at', '$attr_reader', '$!', '$released_at', '$id', '$x', '$y', '$inspect', '$data', '$values']);
|
24545
24548
|
return (function($base, $parent_nesting) {
|
24546
24549
|
var self = $module($base, 'DXOpal');
|
24547
24550
|
|
@@ -24550,7 +24553,7 @@ Opal.modules["dxopal/input"] = function(Opal) {
|
|
24550
24553
|
(function($base, $parent_nesting) {
|
24551
24554
|
var self = $module($base, 'Input');
|
24552
24555
|
|
24553
|
-
var $nesting = [self].concat($parent_nesting), $Input__pressing_keys$1, $Input__init$2, $Input__on_tick$3, $Input_x$4, $Input_y$5, $Input_key_down$ques$6, $Input_key_push$ques$7, $Input_key_release$ques$8, $a, $Input_keyevent_target$eq$9, $Input_keyevent_target$10, $Input__init_mouse_events$11, $Input_mouse_x$12, $Input_mouse_y$13, $Input_mouse_down$ques$14, $Input_mouse_push$ques$15, $Input_mouse_release$ques$16, $Input__init_touch_events$17, $
|
24556
|
+
var $nesting = [self].concat($parent_nesting), $Input__pressing_keys$1, $Input__init$2, $Input__on_tick$3, $Input_x$4, $Input_y$5, $Input_key_down$ques$6, $Input_key_push$ques$7, $Input_key_release$ques$8, $a, $Input_keyevent_target$eq$9, $Input_keyevent_target$10, $Input__init_mouse_events$11, $Input_mouse_x$12, $Input_mouse_y$13, $Input_mouse_down$ques$14, $Input_mouse_push$ques$15, $Input_mouse_release$ques$16, $Input__init_touch_events$17, $Input__update_touch_info$18, $Input_touch_x$20, $Input_touch_y$21, $Input_touch_down$ques$22, $Input_touch_push$ques$23, $Input_touch_release$ques$24, $Input_touches$30, $Input_new_touches$31;
|
24554
24557
|
|
24555
24558
|
|
24556
24559
|
(function($base, $parent_nesting) {
|
@@ -24580,6 +24583,7 @@ Opal.modules["dxopal/input"] = function(Opal) {
|
|
24580
24583
|
(Opal.class_variable_set($nesting[0], '@@pressing_mouse_buttons', new Object()));
|
24581
24584
|
(Opal.class_variable_set($nesting[0], '@@touch_info', {x: 0, y: 0}));
|
24582
24585
|
(Opal.class_variable_set($nesting[0], '@@pressing_touch', new Object()));
|
24586
|
+
(Opal.class_variable_set($nesting[0], '@@canvas', canvas));
|
24583
24587
|
rect = canvas.getBoundingClientRect();
|
24584
24588
|
(Opal.class_variable_set($nesting[0], '@@canvas_x', rect.left + window.pageXOffset));
|
24585
24589
|
(Opal.class_variable_set($nesting[0], '@@canvas_y', rect.top + window.pageYOffset));
|
@@ -24597,7 +24601,9 @@ Opal.modules["dxopal/input"] = function(Opal) {
|
|
24597
24601
|
Opal.defs(self, '$_on_tick', $Input__on_tick$3 = function $$_on_tick() {
|
24598
24602
|
var $a, self = this;
|
24599
24603
|
|
24600
|
-
|
24604
|
+
|
24605
|
+
(Opal.class_variable_set($nesting[0], '@@tick', $rb_plus((($a = $nesting[0].$$cvars['@@tick']) == null ? nil : $a), 1)));
|
24606
|
+
return self.$_update_touch_info();
|
24601
24607
|
}, $Input__on_tick$3.$$arity = 0);
|
24602
24608
|
Opal.defs(self, '$x', $Input_x$4 = function $$x(pad_number) {
|
24603
24609
|
var self = this, ret = nil;
|
@@ -24701,9 +24707,11 @@ Opal.modules["dxopal/input"] = function(Opal) {
|
|
24701
24707
|
document.addEventListener('mouseup', function(ev){
|
24702
24708
|
(($a = $nesting[0].$$cvars['@@mouse_info']) == null ? nil : $a).x = ev.pageX - (($a = $nesting[0].$$cvars['@@canvas_x']) == null ? nil : $a);
|
24703
24709
|
(($a = $nesting[0].$$cvars['@@mouse_info']) == null ? nil : $a).y = ev.pageY - (($a = $nesting[0].$$cvars['@@canvas_y']) == null ? nil : $a);
|
24710
|
+
// ev.button => ev.buttons
|
24711
|
+
table = { 0: 1, 1: 4, 2: 2, 3: 8, 4: 16 };
|
24704
24712
|
for (var k=1; k<=16; k<<=1) {
|
24705
|
-
if ((
|
24706
|
-
(($a = $nesting[0].$$cvars['@@pressing_mouse_buttons']) == null ? nil : $a)[
|
24713
|
+
if ((($a = $nesting[0].$$cvars['@@pressing_mouse_buttons']) == null ? nil : $a)[k]) {
|
24714
|
+
(($a = $nesting[0].$$cvars['@@pressing_mouse_buttons']) == null ? nil : $a)[table[ev.button]] = -(($a = $nesting[0].$$cvars['@@tick']) == null ? nil : $a);
|
24707
24715
|
}
|
24708
24716
|
}
|
24709
24717
|
});
|
@@ -24729,48 +24737,104 @@ Opal.modules["dxopal/input"] = function(Opal) {
|
|
24729
24737
|
Opal.defs(self, '$mouse_down?', $Input_mouse_down$ques$14 = function(mouse_code) {
|
24730
24738
|
var $a, self = this;
|
24731
24739
|
|
24732
|
-
|
24740
|
+
|
24741
|
+
if ($truthy(mouse_code)) {
|
24742
|
+
} else {
|
24743
|
+
self.$raise("missing argument of `mouse_down?'")
|
24744
|
+
};
|
24745
|
+
return (($a = $nesting[0].$$cvars['@@pressing_mouse_buttons']) == null ? nil : $a)[mouse_code] > 0;
|
24733
24746
|
}, $Input_mouse_down$ques$14.$$arity = 1);
|
24734
24747
|
Opal.defs(self, '$mouse_push?', $Input_mouse_push$ques$15 = function(mouse_code) {
|
24735
24748
|
var $a, self = this;
|
24736
24749
|
|
24737
|
-
|
24750
|
+
|
24751
|
+
if ($truthy(mouse_code)) {
|
24752
|
+
} else {
|
24753
|
+
self.$raise("missing argument of `mouse_push?'")
|
24754
|
+
};
|
24755
|
+
return (($a = $nesting[0].$$cvars['@@pressing_mouse_buttons']) == null ? nil : $a)[mouse_code] == -((($a = $nesting[0].$$cvars['@@tick']) == null ? nil : $a)-1);
|
24738
24756
|
}, $Input_mouse_push$ques$15.$$arity = 1);
|
24739
24757
|
Opal.defs(self, '$mouse_release?', $Input_mouse_release$ques$16 = function(mouse_code) {
|
24740
24758
|
var $a, self = this;
|
24741
24759
|
|
24742
|
-
|
24760
|
+
|
24761
|
+
if ($truthy(mouse_code)) {
|
24762
|
+
} else {
|
24763
|
+
self.$raise("missing argument of `mouse_release?'")
|
24764
|
+
};
|
24765
|
+
return (($a = $nesting[0].$$cvars['@@pressing_mouse_buttons']) == null ? nil : $a)[mouse_code] == -((($a = $nesting[0].$$cvars['@@tick']) == null ? nil : $a)-1);
|
24743
24766
|
}, $Input_mouse_release$ques$16.$$arity = 1);
|
24744
24767
|
Opal.defs(self, '$_init_touch_events', $Input__init_touch_events$17 = function $$_init_touch_events() {
|
24745
|
-
var $a, self = this;
|
24768
|
+
var $a, $b, $c, self = this, new_touch = nil, $writer = nil;
|
24746
24769
|
|
24747
24770
|
|
24748
|
-
|
24771
|
+
(Opal.class_variable_set($nesting[0], '@@touches', $hash2([], {})));
|
24772
|
+
(Opal.class_variable_set($nesting[0], '@@new_touches', []));
|
24773
|
+
|
24774
|
+
(($a = $nesting[0].$$cvars['@@canvas']) == null ? nil : $a).addEventListener('touchmove', function(ev){
|
24775
|
+
ev.preventDefault();
|
24776
|
+
ev.stopPropagation();
|
24749
24777
|
(($a = $nesting[0].$$cvars['@@touch_info']) == null ? nil : $a).x = ev.changedTouches[0].pageX - (($a = $nesting[0].$$cvars['@@canvas_x']) == null ? nil : $a);
|
24750
24778
|
(($a = $nesting[0].$$cvars['@@touch_info']) == null ? nil : $a).y = ev.changedTouches[0].pageY - (($a = $nesting[0].$$cvars['@@canvas_y']) == null ? nil : $a);
|
24779
|
+
for (var touch of ev.changedTouches) {
|
24780
|
+
const id = touch.identifier;
|
24781
|
+
const x = touch.pageX - (($a = $nesting[0].$$cvars['@@canvas_x']) == null ? nil : $a);
|
24782
|
+
const y = touch.pageY - (($a = $nesting[0].$$cvars['@@canvas_y']) == null ? nil : $a);
|
24783
|
+
($a = (($a = $nesting[0].$$cvars['@@touches']) == null ? nil : $a)['$[]'](id), ($a === nil || $a == null) ? nil : $send($a, '_move', [x, y]))
|
24784
|
+
}
|
24751
24785
|
});
|
24752
|
-
|
24753
|
-
|
24754
|
-
|
24755
|
-
(($
|
24786
|
+
(($b = $nesting[0].$$cvars['@@canvas']) == null ? nil : $b).addEventListener('touchstart', function(ev){
|
24787
|
+
ev.preventDefault();
|
24788
|
+
ev.stopPropagation();
|
24789
|
+
(($b = $nesting[0].$$cvars['@@touch_info']) == null ? nil : $b).x = ev.changedTouches[0].pageX - (($b = $nesting[0].$$cvars['@@canvas_x']) == null ? nil : $b);
|
24790
|
+
(($b = $nesting[0].$$cvars['@@touch_info']) == null ? nil : $b).y = ev.changedTouches[0].pageY - (($b = $nesting[0].$$cvars['@@canvas_y']) == null ? nil : $b);
|
24791
|
+
(($b = $nesting[0].$$cvars['@@pressing_touch']) == null ? nil : $b)[0] = (($b = $nesting[0].$$cvars['@@tick']) == null ? nil : $b);
|
24792
|
+
for (var touch of ev.changedTouches) {
|
24793
|
+
const id = touch.identifier;
|
24794
|
+
const x = touch.pageX - (($b = $nesting[0].$$cvars['@@canvas_x']) == null ? nil : $b);
|
24795
|
+
const y = touch.pageY - (($b = $nesting[0].$$cvars['@@canvas_y']) == null ? nil : $b);
|
24796
|
+
((new_touch = $$($nesting, 'Touch').$new(id, x, y)), (($writer = [id, new_touch]), $send((($b = $nesting[0].$$cvars['@@touches']) == null ? nil : $b), '[]=', Opal.to_a($writer)), $writer[$rb_minus($writer["length"], 1)]), (($b = $nesting[0].$$cvars['@@new_touches']) == null ? nil : $b).$push(new_touch))
|
24797
|
+
}
|
24756
24798
|
});
|
24757
|
-
|
24758
|
-
|
24759
|
-
|
24760
|
-
(($
|
24799
|
+
(($b = $nesting[0].$$cvars['@@canvas']) == null ? nil : $b).addEventListener('touchend', function(ev){
|
24800
|
+
ev.preventDefault();
|
24801
|
+
ev.stopPropagation();
|
24802
|
+
(($b = $nesting[0].$$cvars['@@touch_info']) == null ? nil : $b).x = ev.changedTouches[0].pageX - (($b = $nesting[0].$$cvars['@@canvas_x']) == null ? nil : $b);
|
24803
|
+
(($b = $nesting[0].$$cvars['@@touch_info']) == null ? nil : $b).y = ev.changedTouches[0].pageY - (($b = $nesting[0].$$cvars['@@canvas_y']) == null ? nil : $b);
|
24804
|
+
(($b = $nesting[0].$$cvars['@@pressing_touch']) == null ? nil : $b)[0] = -(($b = $nesting[0].$$cvars['@@tick']) == null ? nil : $b);
|
24805
|
+
for (var touch of ev.changedTouches) {
|
24806
|
+
const id = touch.identifier;
|
24807
|
+
($b = (($b = $nesting[0].$$cvars['@@touches']) == null ? nil : $b)['$[]'](id), ($b === nil || $b == null) ? nil : $send($b, '_released', [(($c = $nesting[0].$$cvars['@@tick']) == null ? nil : $c)]))
|
24808
|
+
}
|
24761
24809
|
});
|
24762
|
-
|
24810
|
+
;
|
24763
24811
|
}, $Input__init_touch_events$17.$$arity = 0);
|
24764
|
-
Opal.defs(self, '$
|
24812
|
+
Opal.defs(self, '$_update_touch_info', $Input__update_touch_info$18 = function $$_update_touch_info() {
|
24813
|
+
var $a, $$19, self = this;
|
24814
|
+
|
24815
|
+
return $send((($a = $nesting[0].$$cvars['@@touches']) == null ? nil : $a), 'delete_if', [], ($$19 = function(id, t){var self = $$19.$$s || this, $b, $c;
|
24816
|
+
|
24817
|
+
|
24818
|
+
|
24819
|
+
if (id == null) {
|
24820
|
+
id = nil;
|
24821
|
+
};
|
24822
|
+
|
24823
|
+
if (t == null) {
|
24824
|
+
t = nil;
|
24825
|
+
};
|
24826
|
+
return ($truthy($b = t['$released?']()) ? $rb_lt(t.$_released_at(), $rb_minus((($c = $nesting[0].$$cvars['@@tick']) == null ? nil : $c), 1)) : $b);}, $$19.$$s = self, $$19.$$arity = 2, $$19))
|
24827
|
+
}, $Input__update_touch_info$18.$$arity = 0);
|
24828
|
+
Opal.defs(self, '$touch_x', $Input_touch_x$20 = function $$touch_x() {
|
24765
24829
|
var $a, self = this;
|
24766
24830
|
|
24767
24831
|
return (($a = $nesting[0].$$cvars['@@touch_info']) == null ? nil : $a).x
|
24768
|
-
}, $Input_touch_x$
|
24769
|
-
Opal.defs(self, '$touch_y', $Input_touch_y$
|
24832
|
+
}, $Input_touch_x$20.$$arity = 0);
|
24833
|
+
Opal.defs(self, '$touch_y', $Input_touch_y$21 = function $$touch_y() {
|
24770
24834
|
var $a, self = this;
|
24771
24835
|
|
24772
24836
|
return (($a = $nesting[0].$$cvars['@@touch_info']) == null ? nil : $a).y
|
24773
|
-
}, $Input_touch_y$
|
24837
|
+
}, $Input_touch_y$21.$$arity = 0);
|
24774
24838
|
(function(self, $parent_nesting) {
|
24775
24839
|
var $nesting = [self].concat($parent_nesting);
|
24776
24840
|
|
@@ -24778,26 +24842,89 @@ Opal.modules["dxopal/input"] = function(Opal) {
|
|
24778
24842
|
Opal.alias(self, "touch_pos_x", "touch_x");
|
24779
24843
|
return Opal.alias(self, "touch_pos_y", "touch_y");
|
24780
24844
|
})(Opal.get_singleton_class(self), $nesting);
|
24781
|
-
Opal.defs(self, '$touch_down?', $Input_touch_down$ques$
|
24845
|
+
Opal.defs(self, '$touch_down?', $Input_touch_down$ques$22 = function() {
|
24782
24846
|
var $a, self = this;
|
24783
24847
|
|
24784
24848
|
return (($a = $nesting[0].$$cvars['@@pressing_touch']) == null ? nil : $a)[0] > 0
|
24785
|
-
}, $Input_touch_down$ques$
|
24786
|
-
Opal.defs(self, '$touch_push?', $Input_touch_push$ques$
|
24849
|
+
}, $Input_touch_down$ques$22.$$arity = 0);
|
24850
|
+
Opal.defs(self, '$touch_push?', $Input_touch_push$ques$23 = function() {
|
24787
24851
|
var $a, self = this;
|
24788
24852
|
|
24789
24853
|
return (($a = $nesting[0].$$cvars['@@pressing_touch']) == null ? nil : $a)[0] == -((($a = $nesting[0].$$cvars['@@tick']) == null ? nil : $a)-1)
|
24790
|
-
}, $Input_touch_push$ques$
|
24791
|
-
Opal.defs(self, '$touch_release?', $Input_touch_release$ques$
|
24854
|
+
}, $Input_touch_push$ques$23.$$arity = 0);
|
24855
|
+
Opal.defs(self, '$touch_release?', $Input_touch_release$ques$24 = function() {
|
24792
24856
|
var $a, self = this;
|
24793
24857
|
|
24794
24858
|
return (($a = $nesting[0].$$cvars['@@pressing_touch']) == null ? nil : $a)[0] == -((($a = $nesting[0].$$cvars['@@tick']) == null ? nil : $a)-1)
|
24795
|
-
}, $Input_touch_release$ques$
|
24859
|
+
}, $Input_touch_release$ques$24.$$arity = 0);
|
24860
|
+
(function($base, $super, $parent_nesting) {
|
24861
|
+
var self = $klass($base, $super, 'Touch');
|
24862
|
+
|
24863
|
+
var $nesting = [self].concat($parent_nesting), $Touch_initialize$25, $Touch_released$ques$26, $Touch_inspect$27, $Touch__move$28, $Touch__released$29;
|
24864
|
+
|
24865
|
+
self.$$prototype._released_at = nil;
|
24866
|
+
|
24867
|
+
|
24868
|
+
Opal.def(self, '$initialize', $Touch_initialize$25 = function $$initialize(id, x, y) {
|
24869
|
+
var self = this;
|
24870
|
+
|
24871
|
+
|
24872
|
+
self.id = id;
|
24873
|
+
self.$_move(x, y);
|
24874
|
+
self._released_at = nil;
|
24875
|
+
return (self.data = $hash2([], {}));
|
24876
|
+
}, $Touch_initialize$25.$$arity = 3);
|
24877
|
+
self.$attr_reader("id", "x", "y", "data", "_released_at");
|
24878
|
+
|
24879
|
+
Opal.def(self, '$released?', $Touch_released$ques$26 = function() {
|
24880
|
+
var self = this;
|
24881
|
+
|
24882
|
+
return self._released_at['$!']()['$!']()
|
24883
|
+
}, $Touch_released$ques$26.$$arity = 0);
|
24884
|
+
|
24885
|
+
Opal.def(self, '$inspect', $Touch_inspect$27 = function $$inspect() {
|
24886
|
+
var self = this, rel = nil;
|
24887
|
+
|
24888
|
+
|
24889
|
+
rel = (function() {if ($truthy(self.$released_at())) {
|
24890
|
+
return "" + " released_at=" + (self.$released_at())
|
24891
|
+
} else {
|
24892
|
+
return ""
|
24893
|
+
}; return nil; })();
|
24894
|
+
return "" + "#<DXOpal::Touch id=" + (self.$id()) + " x=" + (self.$x()) + " y=" + (self.$y()) + " data=" + (self.$data().$inspect()) + (rel) + ">";
|
24895
|
+
}, $Touch_inspect$27.$$arity = 0);
|
24896
|
+
|
24897
|
+
Opal.def(self, '$_move', $Touch__move$28 = function $$_move(x, y) {
|
24898
|
+
var self = this;
|
24899
|
+
|
24900
|
+
|
24901
|
+
self.x = x;
|
24902
|
+
return (self.y = y);
|
24903
|
+
}, $Touch__move$28.$$arity = 2);
|
24904
|
+
return (Opal.def(self, '$_released', $Touch__released$29 = function $$_released(tick) {
|
24905
|
+
var self = this;
|
24906
|
+
|
24907
|
+
return (self._released_at = tick)
|
24908
|
+
}, $Touch__released$29.$$arity = 1), nil) && '_released';
|
24909
|
+
})($nesting[0], null, $nesting);
|
24910
|
+
Opal.defs(self, '$touches', $Input_touches$30 = function $$touches() {
|
24911
|
+
var $a, self = this;
|
24912
|
+
|
24913
|
+
return (($a = $nesting[0].$$cvars['@@touches']) == null ? nil : $a).$values()
|
24914
|
+
}, $Input_touches$30.$$arity = 0);
|
24915
|
+
Opal.defs(self, '$new_touches', $Input_new_touches$31 = function $$new_touches() {
|
24916
|
+
var $a, self = this, ret = nil;
|
24917
|
+
|
24918
|
+
|
24919
|
+
ret = (($a = $nesting[0].$$cvars['@@new_touches']) == null ? nil : $a);
|
24920
|
+
(Opal.class_variable_set($nesting[0], '@@new_touches', []));
|
24921
|
+
return ret;
|
24922
|
+
}, $Input_new_touches$31.$$arity = 0);
|
24796
24923
|
})($nesting[0], $nesting)
|
24797
24924
|
})($nesting[0], $nesting)
|
24798
24925
|
};
|
24799
24926
|
|
24800
|
-
/* Generated by Opal 1.0.
|
24927
|
+
/* Generated by Opal 1.0.5 */
|
24801
24928
|
Opal.modules["dxopal/input/key_codes"] = function(Opal) {
|
24802
24929
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module;
|
24803
24930
|
|
@@ -24952,7 +25079,7 @@ Opal.modules["dxopal/input/key_codes"] = function(Opal) {
|
|
24952
25079
|
})($nesting[0], $nesting)
|
24953
25080
|
};
|
24954
25081
|
|
24955
|
-
/* Generated by Opal 1.0.
|
25082
|
+
/* Generated by Opal 1.0.5 */
|
24956
25083
|
Opal.modules["dxopal/remote_resource"] = function(Opal) {
|
24957
25084
|
function $rb_minus(lhs, rhs) {
|
24958
25085
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
|
@@ -25119,23 +25246,26 @@ Opal.modules["dxopal/remote_resource"] = function(Opal) {
|
|
25119
25246
|
})($nesting[0], $nesting)
|
25120
25247
|
};
|
25121
25248
|
|
25122
|
-
/* Generated by Opal 1.0.
|
25249
|
+
/* Generated by Opal 1.0.5 */
|
25123
25250
|
Opal.modules["dxopal/image"] = function(Opal) {
|
25124
|
-
function $
|
25125
|
-
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs
|
25251
|
+
function $rb_lt(lhs, rhs) {
|
25252
|
+
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs < rhs : lhs['$<'](rhs);
|
25253
|
+
}
|
25254
|
+
function $rb_times(lhs, rhs) {
|
25255
|
+
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs * rhs : lhs['$*'](rhs);
|
25126
25256
|
}
|
25127
25257
|
function $rb_plus(lhs, rhs) {
|
25128
25258
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs + rhs : lhs['$+'](rhs);
|
25129
25259
|
}
|
25260
|
+
function $rb_divide(lhs, rhs) {
|
25261
|
+
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs / rhs : lhs['$/'](rhs);
|
25262
|
+
}
|
25130
25263
|
function $rb_minus(lhs, rhs) {
|
25131
25264
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
|
25132
25265
|
}
|
25133
|
-
|
25134
|
-
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs * rhs : lhs['$*'](rhs);
|
25135
|
-
}
|
25136
|
-
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $hash2 = Opal.hash2, $truthy = Opal.truthy, $send = Opal.send;
|
25266
|
+
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy, $range = Opal.range, $hash2 = Opal.hash2, $send = Opal.send;
|
25137
25267
|
|
25138
|
-
Opal.add_stubs(['$require', '$add_class', '$new', '$attr_accessor', '$loaded', '$load', '$call', '$_resize', '$box_fill', '$attr_reader', '$canvas', '$draw_ex', '$[]', '
|
25268
|
+
Opal.add_stubs(['$require', '$add_class', '$<', '$*', '$+', '$/', '$-', '$===', '$new', '$attr_accessor', '$loaded', '$load', '$call', '$_resize', '$box_fill', '$attr_reader', '$canvas', '$draw_ex', '$[]', '$width', '$height', '$_spec_str', '$_rgba', '$_rgba_ary', '$fill', '$_image_data', '$_put_image_data', '$flat_map', '$map', '$slice', '$length', '$raise', '$inspect', '$join']);
|
25139
25269
|
|
25140
25270
|
self.$require("dxopal/remote_resource");
|
25141
25271
|
return (function($base, $parent_nesting) {
|
@@ -25146,12 +25276,33 @@ Opal.modules["dxopal/image"] = function(Opal) {
|
|
25146
25276
|
(function($base, $super, $parent_nesting) {
|
25147
25277
|
var self = $klass($base, $super, 'Image');
|
25148
25278
|
|
25149
|
-
var $nesting = [self].concat($parent_nesting), $
|
25279
|
+
var $nesting = [self].concat($parent_nesting), $Image_hsl2rgb$1, $Image__load$2, $Image_loaded$ques$3, $Image_load$4, $Image_load$5, $Image_onload$6, $Image_initialize$7, $Image__resize$8, $Image_draw$9, $Image_draw_scale$10, $Image_draw_rot$11, $Image_draw_ex$12, $Image_draw_font$13, $Image_$$$14, $Image_$$$eq$15, $Image_compare$16, $Image_line$17, $Image_box$18, $Image_box_fill$19, $Image_circle$20, $Image_circle_fill$21, $Image_triangle$22, $Image_triangle_fill$23, $Image_fill$24, $Image_clear$25, $Image_slice$26, $Image_slice_tiles$27, $Image_set_color_key$30, $Image__draw_raw_image$31, $Image__image_data$32, $Image__put_image_data$33, $Image__rgb$34, $Image__rgba$35, $Image__rgba_ary$36;
|
25150
25280
|
|
25151
25281
|
self.$$prototype.promise = self.$$prototype.canvas = self.$$prototype.width = self.$$prototype.height = self.$$prototype.ctx = nil;
|
25152
25282
|
|
25153
25283
|
$$($nesting, 'RemoteResource').$add_class($$($nesting, 'Image'));
|
25154
|
-
Opal.defs(self, '$
|
25284
|
+
Opal.defs(self, '$hsl2rgb', $Image_hsl2rgb$1 = function $$hsl2rgb(h, s, l) {
|
25285
|
+
var self = this, max = nil, min = nil, $case = nil;
|
25286
|
+
|
25287
|
+
|
25288
|
+
if ($truthy($rb_lt(l, 50))) {
|
25289
|
+
|
25290
|
+
max = $rb_times(2.55, $rb_plus(l, $rb_times(l, $rb_divide(s, 100.0))));
|
25291
|
+
min = $rb_times(2.55, $rb_minus(l, $rb_times(l, $rb_divide(s, 100.0))));
|
25292
|
+
} else {
|
25293
|
+
|
25294
|
+
max = $rb_times(2.55, $rb_plus(l, $rb_times($rb_minus(100, l), $rb_divide(s, 100.0))));
|
25295
|
+
min = $rb_times(2.55, $rb_minus(l, $rb_times($rb_minus(100, l), $rb_divide(s, 100.0))));
|
25296
|
+
};
|
25297
|
+
return (function() {$case = h;
|
25298
|
+
if ($range(0, 60, true)['$===']($case)) {return [max, $rb_plus($rb_times($rb_divide(h, 60.0), $rb_minus(max, min)), min), min]}
|
25299
|
+
else if ($range(60, 120, true)['$===']($case)) {return [$rb_plus($rb_times($rb_divide($rb_minus(120, h), 60.0), $rb_minus(max, min)), min), max, min]}
|
25300
|
+
else if ($range(120, 180, true)['$===']($case)) {return [min, max, $rb_plus($rb_times($rb_divide($rb_minus(h, 120), 60.0), $rb_minus(max, min)), min)]}
|
25301
|
+
else if ($range(180, 240, true)['$===']($case)) {return [min, $rb_plus($rb_times($rb_divide($rb_minus(240, h), 60.0), $rb_minus(max, min)), min), max]}
|
25302
|
+
else if ($range(240, 300, true)['$===']($case)) {return [$rb_plus($rb_times($rb_divide($rb_minus(h, 240), 60.0), $rb_minus(max, min)), min), min, max]}
|
25303
|
+
else {return [max, min, $rb_plus($rb_times($rb_divide($rb_minus(360, h), 60.0), $rb_minus(max, min)), min)]}})();
|
25304
|
+
}, $Image_hsl2rgb$1.$$arity = 3);
|
25305
|
+
Opal.defs(self, '$_load', $Image__load$2 = function $$_load(path_or_url) {
|
25155
25306
|
var self = this, raw_img = nil, img_promise = nil, img = nil;
|
25156
25307
|
|
25157
25308
|
|
@@ -25172,21 +25323,21 @@ Opal.modules["dxopal/image"] = function(Opal) {
|
|
25172
25323
|
});
|
25173
25324
|
;
|
25174
25325
|
return [img, img_promise];
|
25175
|
-
}, $Image__load$
|
25326
|
+
}, $Image__load$2.$$arity = 1);
|
25176
25327
|
self.$attr_accessor("promise", "loaded");
|
25177
25328
|
|
25178
|
-
Opal.def(self, '$loaded?', $Image_loaded$ques$
|
25329
|
+
Opal.def(self, '$loaded?', $Image_loaded$ques$3 = function() {
|
25179
25330
|
var self = this;
|
25180
25331
|
|
25181
25332
|
return self.$loaded()
|
25182
|
-
}, $Image_loaded$ques$
|
25183
|
-
Opal.defs(self, '$load', $Image_load$
|
25333
|
+
}, $Image_loaded$ques$3.$$arity = 0);
|
25334
|
+
Opal.defs(self, '$load', $Image_load$4 = function $$load(path_or_url) {
|
25184
25335
|
var self = this;
|
25185
25336
|
|
25186
25337
|
return self.$new(1, 1).$load(path_or_url)
|
25187
|
-
}, $Image_load$
|
25338
|
+
}, $Image_load$4.$$arity = 1);
|
25188
25339
|
|
25189
|
-
Opal.def(self, '$load', $Image_load$
|
25340
|
+
Opal.def(self, '$load', $Image_load$5 = function $$load(path_or_url) {
|
25190
25341
|
var self = this, raw_img = nil;
|
25191
25342
|
|
25192
25343
|
|
@@ -25203,23 +25354,23 @@ Opal.modules["dxopal/image"] = function(Opal) {
|
|
25203
25354
|
});
|
25204
25355
|
;
|
25205
25356
|
return self;
|
25206
|
-
}, $Image_load$
|
25357
|
+
}, $Image_load$5.$$arity = 1);
|
25207
25358
|
|
25208
|
-
Opal.def(self, '$onload', $Image_onload$
|
25209
|
-
var $iter = $Image_onload$
|
25359
|
+
Opal.def(self, '$onload', $Image_onload$6 = function $$onload() {
|
25360
|
+
var $iter = $Image_onload$6.$$p, block = $iter || nil, self = this;
|
25210
25361
|
|
25211
|
-
if ($iter) $Image_onload$
|
25362
|
+
if ($iter) $Image_onload$6.$$p = null;
|
25212
25363
|
|
25213
25364
|
|
25214
|
-
if ($iter) $Image_onload$
|
25365
|
+
if ($iter) $Image_onload$6.$$p = null;;
|
25215
25366
|
|
25216
25367
|
self.promise.then(function(response){
|
25217
25368
|
block.$call()
|
25218
25369
|
});
|
25219
25370
|
;
|
25220
|
-
}, $Image_onload$
|
25371
|
+
}, $Image_onload$6.$$arity = 0);
|
25221
25372
|
|
25222
|
-
Opal.def(self, '$initialize', $Image_initialize$
|
25373
|
+
Opal.def(self, '$initialize', $Image_initialize$7 = function $$initialize(width, height, $a, $b) {
|
25223
25374
|
var $post_args, $kwargs, color, canvas, $c, self = this;
|
25224
25375
|
|
25225
25376
|
|
@@ -25251,10 +25402,10 @@ Opal.modules["dxopal/image"] = function(Opal) {
|
|
25251
25402
|
self.ctx = self.canvas.getContext('2d');
|
25252
25403
|
self.$_resize(self.width, self.height);
|
25253
25404
|
return self.$box_fill(0, 0, self.width, self.height, color);
|
25254
|
-
}, $Image_initialize$
|
25405
|
+
}, $Image_initialize$7.$$arity = -3);
|
25255
25406
|
self.$attr_reader("ctx", "canvas", "width", "height");
|
25256
25407
|
|
25257
|
-
Opal.def(self, '$_resize', $Image__resize$
|
25408
|
+
Opal.def(self, '$_resize', $Image__resize$8 = function $$_resize(w, h) {
|
25258
25409
|
var $a, self = this;
|
25259
25410
|
|
25260
25411
|
|
@@ -25263,9 +25414,9 @@ Opal.modules["dxopal/image"] = function(Opal) {
|
|
25263
25414
|
self.canvas.width = w;
|
25264
25415
|
self.canvas.height = h;
|
25265
25416
|
;
|
25266
|
-
}, $Image__resize$
|
25417
|
+
}, $Image__resize$8.$$arity = 2);
|
25267
25418
|
|
25268
|
-
Opal.def(self, '$draw', $Image_draw$
|
25419
|
+
Opal.def(self, '$draw', $Image_draw$9 = function $$draw(x, y, image) {
|
25269
25420
|
var self = this;
|
25270
25421
|
|
25271
25422
|
|
@@ -25273,9 +25424,9 @@ Opal.modules["dxopal/image"] = function(Opal) {
|
|
25273
25424
|
self.ctx.drawImage(image.$canvas(), x, y);
|
25274
25425
|
;
|
25275
25426
|
return self;
|
25276
|
-
}, $Image_draw$
|
25427
|
+
}, $Image_draw$9.$$arity = 3);
|
25277
25428
|
|
25278
|
-
Opal.def(self, '$draw_scale', $Image_draw_scale$
|
25429
|
+
Opal.def(self, '$draw_scale', $Image_draw_scale$10 = function $$draw_scale(x, y, image, scale_x, scale_y, center_x, center_y) {
|
25279
25430
|
var self = this;
|
25280
25431
|
|
25281
25432
|
|
@@ -25288,9 +25439,9 @@ Opal.modules["dxopal/image"] = function(Opal) {
|
|
25288
25439
|
center_y = nil;
|
25289
25440
|
};
|
25290
25441
|
return self.$draw_ex(x, y, image, $hash2(["scale_x", "scale_y", "center_x", "center_y"], {"scale_x": scale_x, "scale_y": scale_y, "center_x": center_x, "center_y": center_y}));
|
25291
|
-
}, $Image_draw_scale$
|
25442
|
+
}, $Image_draw_scale$10.$$arity = -6);
|
25292
25443
|
|
25293
|
-
Opal.def(self, '$draw_rot', $Image_draw_rot$
|
25444
|
+
Opal.def(self, '$draw_rot', $Image_draw_rot$11 = function $$draw_rot(x, y, image, angle, center_x, center_y) {
|
25294
25445
|
var self = this;
|
25295
25446
|
|
25296
25447
|
|
@@ -25303,10 +25454,10 @@ Opal.modules["dxopal/image"] = function(Opal) {
|
|
25303
25454
|
center_y = nil;
|
25304
25455
|
};
|
25305
25456
|
return self.$draw_ex(x, y, image, $hash2(["angle", "center_x", "center_y"], {"angle": angle, "center_x": center_x, "center_y": center_y}));
|
25306
|
-
}, $Image_draw_rot$
|
25457
|
+
}, $Image_draw_rot$11.$$arity = -5);
|
25307
25458
|
Opal.const_set($nesting[0], 'BLEND_TYPES', $hash2(["alpha", "add"], {"alpha": "source-over", "add": "lighter"}));
|
25308
25459
|
|
25309
|
-
Opal.def(self, '$draw_ex', $Image_draw_ex$
|
25460
|
+
Opal.def(self, '$draw_ex', $Image_draw_ex$12 = function $$draw_ex(x, y, image, options) {
|
25310
25461
|
var $a, self = this, scale_x = nil, scale_y = nil, center_x = nil, center_y = nil, alpha = nil, blend = nil, angle = nil, cx = nil, cy = nil;
|
25311
25462
|
|
25312
25463
|
|
@@ -25335,9 +25486,9 @@ Opal.modules["dxopal/image"] = function(Opal) {
|
|
25335
25486
|
self.ctx.setTransform(1, 0, 0, 1, 0, 0); // reset
|
25336
25487
|
;
|
25337
25488
|
return self;
|
25338
|
-
}, $Image_draw_ex$
|
25489
|
+
}, $Image_draw_ex$12.$$arity = -4);
|
25339
25490
|
|
25340
|
-
Opal.def(self, '$draw_font', $Image_draw_font$
|
25491
|
+
Opal.def(self, '$draw_font', $Image_draw_font$13 = function $$draw_font(x, y, string, font, color) {
|
25341
25492
|
var self = this, ctx = nil;
|
25342
25493
|
|
25343
25494
|
|
@@ -25353,9 +25504,9 @@ Opal.modules["dxopal/image"] = function(Opal) {
|
|
25353
25504
|
ctx.fillText(string, x, y);
|
25354
25505
|
;
|
25355
25506
|
return self;
|
25356
|
-
}, $Image_draw_font$
|
25507
|
+
}, $Image_draw_font$13.$$arity = -5);
|
25357
25508
|
|
25358
|
-
Opal.def(self, '$[]', $Image_$$$
|
25509
|
+
Opal.def(self, '$[]', $Image_$$$14 = function(x, y) {
|
25359
25510
|
var self = this, ctx = nil, ret = nil;
|
25360
25511
|
|
25361
25512
|
|
@@ -25367,15 +25518,15 @@ Opal.modules["dxopal/image"] = function(Opal) {
|
|
25367
25518
|
ret = [rgba[3], rgba[0], rgba[1], rgba[2]];
|
25368
25519
|
;
|
25369
25520
|
return ret;
|
25370
|
-
}, $Image_$$$
|
25521
|
+
}, $Image_$$$14.$$arity = 2);
|
25371
25522
|
|
25372
|
-
Opal.def(self, '$[]=', $Image_$$$eq$
|
25523
|
+
Opal.def(self, '$[]=', $Image_$$$eq$15 = function(x, y, color) {
|
25373
25524
|
var self = this;
|
25374
25525
|
|
25375
|
-
return self.$box_fill(x, y, x, y, color)
|
25376
|
-
}, $Image_$$$eq$
|
25526
|
+
return self.$box_fill(x, y, $rb_plus(x, 1), $rb_plus(y, 1), color)
|
25527
|
+
}, $Image_$$$eq$15.$$arity = 3);
|
25377
25528
|
|
25378
|
-
Opal.def(self, '$compare', $Image_compare$
|
25529
|
+
Opal.def(self, '$compare', $Image_compare$16 = function $$compare(x, y, color) {
|
25379
25530
|
var self = this, ctx = nil, rgba1 = nil, rgba2 = nil, ret = nil;
|
25380
25531
|
|
25381
25532
|
|
@@ -25393,9 +25544,9 @@ Opal.modules["dxopal/image"] = function(Opal) {
|
|
25393
25544
|
rgba1[3] == rgba2[3]
|
25394
25545
|
;
|
25395
25546
|
return ret;
|
25396
|
-
}, $Image_compare$
|
25547
|
+
}, $Image_compare$16.$$arity = 3);
|
25397
25548
|
|
25398
|
-
Opal.def(self, '$line', $Image_line$
|
25549
|
+
Opal.def(self, '$line', $Image_line$17 = function $$line(x1, y1, x2, y2, color) {
|
25399
25550
|
var self = this, ctx = nil;
|
25400
25551
|
|
25401
25552
|
|
@@ -25408,9 +25559,9 @@ Opal.modules["dxopal/image"] = function(Opal) {
|
|
25408
25559
|
ctx.stroke();
|
25409
25560
|
;
|
25410
25561
|
return self;
|
25411
|
-
}, $Image_line$
|
25562
|
+
}, $Image_line$17.$$arity = 5);
|
25412
25563
|
|
25413
|
-
Opal.def(self, '$box', $Image_box$
|
25564
|
+
Opal.def(self, '$box', $Image_box$18 = function $$box(x1, y1, x2, y2, color) {
|
25414
25565
|
var self = this, ctx = nil;
|
25415
25566
|
|
25416
25567
|
|
@@ -25422,9 +25573,9 @@ Opal.modules["dxopal/image"] = function(Opal) {
|
|
25422
25573
|
ctx.stroke();
|
25423
25574
|
;
|
25424
25575
|
return self;
|
25425
|
-
}, $Image_box$
|
25576
|
+
}, $Image_box$18.$$arity = 5);
|
25426
25577
|
|
25427
|
-
Opal.def(self, '$box_fill', $Image_box_fill$
|
25578
|
+
Opal.def(self, '$box_fill', $Image_box_fill$19 = function $$box_fill(x1, y1, x2, y2, color) {
|
25428
25579
|
var self = this, ctx = nil;
|
25429
25580
|
|
25430
25581
|
|
@@ -25435,9 +25586,9 @@ Opal.modules["dxopal/image"] = function(Opal) {
|
|
25435
25586
|
ctx.fillRect(x1, y1, x2-x1, y2-y1);
|
25436
25587
|
;
|
25437
25588
|
return self;
|
25438
|
-
}, $Image_box_fill$
|
25589
|
+
}, $Image_box_fill$19.$$arity = 5);
|
25439
25590
|
|
25440
|
-
Opal.def(self, '$circle', $Image_circle$
|
25591
|
+
Opal.def(self, '$circle', $Image_circle$20 = function $$circle(x, y, r, color) {
|
25441
25592
|
var self = this, ctx = nil;
|
25442
25593
|
|
25443
25594
|
|
@@ -25449,9 +25600,9 @@ Opal.modules["dxopal/image"] = function(Opal) {
|
|
25449
25600
|
ctx.stroke();
|
25450
25601
|
;
|
25451
25602
|
return self;
|
25452
|
-
}, $Image_circle$
|
25603
|
+
}, $Image_circle$20.$$arity = 4);
|
25453
25604
|
|
25454
|
-
Opal.def(self, '$circle_fill', $Image_circle_fill$
|
25605
|
+
Opal.def(self, '$circle_fill', $Image_circle_fill$21 = function $$circle_fill(x, y, r, color) {
|
25455
25606
|
var self = this, ctx = nil;
|
25456
25607
|
|
25457
25608
|
|
@@ -25463,9 +25614,9 @@ Opal.modules["dxopal/image"] = function(Opal) {
|
|
25463
25614
|
ctx.fill();
|
25464
25615
|
;
|
25465
25616
|
return self;
|
25466
|
-
}, $Image_circle_fill$
|
25617
|
+
}, $Image_circle_fill$21.$$arity = 4);
|
25467
25618
|
|
25468
|
-
Opal.def(self, '$triangle', $Image_triangle$
|
25619
|
+
Opal.def(self, '$triangle', $Image_triangle$22 = function $$triangle(x1, y1, x2, y2, x3, y3, color) {
|
25469
25620
|
var self = this, ctx = nil;
|
25470
25621
|
|
25471
25622
|
|
@@ -25480,9 +25631,9 @@ Opal.modules["dxopal/image"] = function(Opal) {
|
|
25480
25631
|
ctx.stroke();
|
25481
25632
|
;
|
25482
25633
|
return self;
|
25483
|
-
}, $Image_triangle$
|
25634
|
+
}, $Image_triangle$22.$$arity = 7);
|
25484
25635
|
|
25485
|
-
Opal.def(self, '$triangle_fill', $Image_triangle_fill$
|
25636
|
+
Opal.def(self, '$triangle_fill', $Image_triangle_fill$23 = function $$triangle_fill(x1, y1, x2, y2, x3, y3, color) {
|
25486
25637
|
var self = this, ctx = nil;
|
25487
25638
|
|
25488
25639
|
|
@@ -25496,21 +25647,21 @@ Opal.modules["dxopal/image"] = function(Opal) {
|
|
25496
25647
|
ctx.fill();
|
25497
25648
|
;
|
25498
25649
|
return self;
|
25499
|
-
}, $Image_triangle_fill$
|
25650
|
+
}, $Image_triangle_fill$23.$$arity = 7);
|
25500
25651
|
|
25501
|
-
Opal.def(self, '$fill', $Image_fill$
|
25652
|
+
Opal.def(self, '$fill', $Image_fill$24 = function $$fill(color) {
|
25502
25653
|
var self = this;
|
25503
25654
|
|
25504
25655
|
return self.$box_fill(0, 0, $rb_minus(self.width, 1), $rb_minus(self.height, 1), color)
|
25505
|
-
}, $Image_fill$
|
25656
|
+
}, $Image_fill$24.$$arity = 1);
|
25506
25657
|
|
25507
|
-
Opal.def(self, '$clear', $Image_clear$
|
25658
|
+
Opal.def(self, '$clear', $Image_clear$25 = function $$clear() {
|
25508
25659
|
var self = this;
|
25509
25660
|
|
25510
25661
|
return self.$fill([0, 0, 0, 0])
|
25511
|
-
}, $Image_clear$
|
25662
|
+
}, $Image_clear$25.$$arity = 0);
|
25512
25663
|
|
25513
|
-
Opal.def(self, '$slice', $Image_slice$
|
25664
|
+
Opal.def(self, '$slice', $Image_slice$26 = function $$slice(x, y, width, height) {
|
25514
25665
|
var self = this, newimg = nil, data = nil;
|
25515
25666
|
|
25516
25667
|
|
@@ -25518,32 +25669,32 @@ Opal.modules["dxopal/image"] = function(Opal) {
|
|
25518
25669
|
data = self.$_image_data(x, y, width, height);
|
25519
25670
|
newimg.$_put_image_data(data);
|
25520
25671
|
return newimg;
|
25521
|
-
}, $Image_slice$
|
25672
|
+
}, $Image_slice$26.$$arity = 4);
|
25522
25673
|
|
25523
|
-
Opal.def(self, '$slice_tiles', $Image_slice_tiles$
|
25524
|
-
var $$
|
25674
|
+
Opal.def(self, '$slice_tiles', $Image_slice_tiles$27 = function $$slice_tiles(xcount, ycount) {
|
25675
|
+
var $$28, self = this, tile_w = nil, tile_h = nil;
|
25525
25676
|
|
25526
25677
|
|
25527
25678
|
tile_w = $rb_divide(self.width, xcount);
|
25528
25679
|
tile_h = $rb_divide(self.height, ycount);
|
25529
|
-
return $send(Opal.Range.$new(0,ycount, true), 'flat_map', [], ($$
|
25680
|
+
return $send(Opal.Range.$new(0,ycount, true), 'flat_map', [], ($$28 = function(v){var self = $$28.$$s || this, $$29;
|
25530
25681
|
|
25531
25682
|
|
25532
25683
|
|
25533
25684
|
if (v == null) {
|
25534
25685
|
v = nil;
|
25535
25686
|
};
|
25536
|
-
return $send(Opal.Range.$new(0,xcount, true), 'map', [], ($$
|
25687
|
+
return $send(Opal.Range.$new(0,xcount, true), 'map', [], ($$29 = function(u){var self = $$29.$$s || this;
|
25537
25688
|
|
25538
25689
|
|
25539
25690
|
|
25540
25691
|
if (u == null) {
|
25541
25692
|
u = nil;
|
25542
25693
|
};
|
25543
|
-
return self.$slice($rb_times(tile_w, u), $rb_times(tile_h, v), tile_w, tile_h);}, $$
|
25544
|
-
}, $Image_slice_tiles$
|
25694
|
+
return self.$slice($rb_times(tile_w, u), $rb_times(tile_h, v), tile_w, tile_h);}, $$29.$$s = self, $$29.$$arity = 1, $$29));}, $$28.$$s = self, $$28.$$arity = 1, $$28));
|
25695
|
+
}, $Image_slice_tiles$27.$$arity = 2);
|
25545
25696
|
|
25546
|
-
Opal.def(self, '$set_color_key', $Image_set_color_key$
|
25697
|
+
Opal.def(self, '$set_color_key', $Image_set_color_key$30 = function $$set_color_key(color) {
|
25547
25698
|
var $a, $b, self = this, r = nil, g = nil, b = nil, _ = nil, data = nil;
|
25548
25699
|
|
25549
25700
|
|
@@ -25559,17 +25710,17 @@ Opal.modules["dxopal/image"] = function(Opal) {
|
|
25559
25710
|
}
|
25560
25711
|
;
|
25561
25712
|
return self.$_put_image_data(data);
|
25562
|
-
}, $Image_set_color_key$
|
25713
|
+
}, $Image_set_color_key$30.$$arity = 1);
|
25563
25714
|
|
25564
|
-
Opal.def(self, '$_draw_raw_image', $Image__draw_raw_image$
|
25715
|
+
Opal.def(self, '$_draw_raw_image', $Image__draw_raw_image$31 = function $$_draw_raw_image(x, y, raw_img) {
|
25565
25716
|
var self = this;
|
25566
25717
|
|
25567
25718
|
|
25568
25719
|
self.ctx.drawImage(raw_img, x, y);
|
25569
25720
|
|
25570
|
-
}, $Image__draw_raw_image$
|
25721
|
+
}, $Image__draw_raw_image$31.$$arity = 3);
|
25571
25722
|
|
25572
|
-
Opal.def(self, '$_image_data', $Image__image_data$
|
25723
|
+
Opal.def(self, '$_image_data', $Image__image_data$32 = function $$_image_data(x, y, w, h) {
|
25573
25724
|
var self = this;
|
25574
25725
|
|
25575
25726
|
|
@@ -25590,9 +25741,9 @@ Opal.modules["dxopal/image"] = function(Opal) {
|
|
25590
25741
|
h = self.height;
|
25591
25742
|
};
|
25592
25743
|
return self.ctx.getImageData(x, y, w, h);
|
25593
|
-
}, $Image__image_data$
|
25744
|
+
}, $Image__image_data$32.$$arity = -1);
|
25594
25745
|
|
25595
|
-
Opal.def(self, '$_put_image_data', $Image__put_image_data$
|
25746
|
+
Opal.def(self, '$_put_image_data', $Image__put_image_data$33 = function $$_put_image_data(image_data, x, y) {
|
25596
25747
|
var self = this;
|
25597
25748
|
|
25598
25749
|
|
@@ -25605,9 +25756,9 @@ Opal.modules["dxopal/image"] = function(Opal) {
|
|
25605
25756
|
y = 0;
|
25606
25757
|
};
|
25607
25758
|
return self.ctx.putImageData(image_data, x, y);
|
25608
|
-
}, $Image__put_image_data$
|
25759
|
+
}, $Image__put_image_data$33.$$arity = -2);
|
25609
25760
|
|
25610
|
-
Opal.def(self, '$_rgb', $Image__rgb$
|
25761
|
+
Opal.def(self, '$_rgb', $Image__rgb$34 = function $$_rgb(color) {
|
25611
25762
|
var self = this, $case = nil, rgb = nil;
|
25612
25763
|
|
25613
25764
|
|
@@ -25616,26 +25767,26 @@ Opal.modules["dxopal/image"] = function(Opal) {
|
|
25616
25767
|
else if ((3)['$===']($case)) {rgb = color}
|
25617
25768
|
else {self.$raise("" + "invalid color: " + (color.$inspect()))};
|
25618
25769
|
return $rb_plus($rb_plus("rgb(", rgb.$join(", ")), ")");
|
25619
|
-
}, $Image__rgb$
|
25770
|
+
}, $Image__rgb$34.$$arity = 1);
|
25620
25771
|
|
25621
|
-
Opal.def(self, '$_rgba', $Image__rgba$
|
25772
|
+
Opal.def(self, '$_rgba', $Image__rgba$35 = function $$_rgba(color) {
|
25622
25773
|
var self = this;
|
25623
25774
|
|
25624
25775
|
return $rb_plus($rb_plus("rgba(", self.$_rgba_ary(color).$join(", ")), ")")
|
25625
|
-
}, $Image__rgba$
|
25626
|
-
return (Opal.def(self, '$_rgba_ary', $Image__rgba_ary$
|
25776
|
+
}, $Image__rgba$35.$$arity = 1);
|
25777
|
+
return (Opal.def(self, '$_rgba_ary', $Image__rgba_ary$36 = function $$_rgba_ary(color) {
|
25627
25778
|
var self = this, $case = nil;
|
25628
25779
|
|
25629
25780
|
return (function() {$case = color.$length();
|
25630
25781
|
if ((4)['$===']($case)) {return $rb_plus(color['$[]'](1, 3), [$rb_divide(color['$[]'](0), 255.0)])}
|
25631
25782
|
else if ((3)['$===']($case)) {return $rb_plus(color, [1.0])}
|
25632
25783
|
else {return self.$raise("" + "invalid color: " + (color.$inspect()))}})()
|
25633
|
-
}, $Image__rgba_ary$
|
25784
|
+
}, $Image__rgba_ary$36.$$arity = 1), nil) && '_rgba_ary';
|
25634
25785
|
})($nesting[0], $$($nesting, 'RemoteResource'), $nesting)
|
25635
25786
|
})($nesting[0], $nesting);
|
25636
25787
|
};
|
25637
25788
|
|
25638
|
-
/* Generated by Opal 1.0.
|
25789
|
+
/* Generated by Opal 1.0.5 */
|
25639
25790
|
Opal.modules["dxopal/sound"] = function(Opal) {
|
25640
25791
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy;
|
25641
25792
|
|
@@ -25727,7 +25878,7 @@ Opal.modules["dxopal/sound"] = function(Opal) {
|
|
25727
25878
|
})($nesting[0], $nesting);
|
25728
25879
|
};
|
25729
25880
|
|
25730
|
-
/* Generated by Opal 1.0.
|
25881
|
+
/* Generated by Opal 1.0.5 */
|
25731
25882
|
Opal.modules["dxopal/sound_effect"] = function(Opal) {
|
25732
25883
|
function $rb_divide(lhs, rhs) {
|
25733
25884
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs / rhs : lhs['$/'](rhs);
|
@@ -25847,7 +25998,7 @@ Opal.modules["dxopal/sound_effect"] = function(Opal) {
|
|
25847
25998
|
})($nesting[0], $nesting)
|
25848
25999
|
};
|
25849
26000
|
|
25850
|
-
/* Generated by Opal 1.0.
|
26001
|
+
/* Generated by Opal 1.0.5 */
|
25851
26002
|
Opal.modules["dxopal/sprite/collision_checker"] = function(Opal) {
|
25852
26003
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice;
|
25853
26004
|
|
@@ -26021,7 +26172,7 @@ Opal.DXOpal.CCk = CCk; // Alias
|
|
26021
26172
|
})();
|
26022
26173
|
};
|
26023
26174
|
|
26024
|
-
/* Generated by Opal 1.0.
|
26175
|
+
/* Generated by Opal 1.0.5 */
|
26025
26176
|
Opal.modules["dxopal/sprite/collision_area"] = function(Opal) {
|
26026
26177
|
function $rb_plus(lhs, rhs) {
|
26027
26178
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs + rhs : lhs['$+'](rhs);
|
@@ -26436,7 +26587,7 @@ Opal.modules["dxopal/sprite/collision_area"] = function(Opal) {
|
|
26436
26587
|
})($nesting[0], $nesting);
|
26437
26588
|
};
|
26438
26589
|
|
26439
|
-
/* Generated by Opal 1.0.
|
26590
|
+
/* Generated by Opal 1.0.5 */
|
26440
26591
|
Opal.modules["dxopal/sprite/collision_check"] = function(Opal) {
|
26441
26592
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy, $send = Opal.send;
|
26442
26593
|
|
@@ -26610,7 +26761,7 @@ Opal.modules["dxopal/sprite/collision_check"] = function(Opal) {
|
|
26610
26761
|
})($nesting[0], $nesting);
|
26611
26762
|
};
|
26612
26763
|
|
26613
|
-
/* Generated by Opal 1.0.
|
26764
|
+
/* Generated by Opal 1.0.5 */
|
26614
26765
|
Opal.modules["dxopal/sprite/physics"] = function(Opal) {
|
26615
26766
|
function $rb_plus(lhs, rhs) {
|
26616
26767
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs + rhs : lhs['$+'](rhs);
|
@@ -26749,7 +26900,7 @@ Opal.modules["dxopal/sprite/physics"] = function(Opal) {
|
|
26749
26900
|
})($nesting[0], $nesting)
|
26750
26901
|
};
|
26751
26902
|
|
26752
|
-
/* Generated by Opal 1.0.
|
26903
|
+
/* Generated by Opal 1.0.5 */
|
26753
26904
|
Opal.modules["dxopal/sprite"] = function(Opal) {
|
26754
26905
|
function $rb_divide(lhs, rhs) {
|
26755
26906
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs / rhs : lhs['$/'](rhs);
|
@@ -26931,10 +27082,10 @@ Opal.modules["dxopal/sprite"] = function(Opal) {
|
|
26931
27082
|
})($nesting[0], $nesting);
|
26932
27083
|
};
|
26933
27084
|
|
26934
|
-
/* Generated by Opal 1.0.
|
27085
|
+
/* Generated by Opal 1.0.5 */
|
26935
27086
|
Opal.modules["dxopal/window"] = function(Opal) {
|
26936
|
-
function $
|
26937
|
-
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs
|
27087
|
+
function $rb_divide(lhs, rhs) {
|
27088
|
+
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs / rhs : lhs['$/'](rhs);
|
26938
27089
|
}
|
26939
27090
|
function $rb_minus(lhs, rhs) {
|
26940
27091
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
|
@@ -26942,9 +27093,12 @@ Opal.modules["dxopal/window"] = function(Opal) {
|
|
26942
27093
|
function $rb_plus(lhs, rhs) {
|
26943
27094
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs + rhs : lhs['$+'](rhs);
|
26944
27095
|
}
|
27096
|
+
function $rb_ge(lhs, rhs) {
|
27097
|
+
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs >= rhs : lhs['$>='](rhs);
|
27098
|
+
}
|
26945
27099
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $send = Opal.send, $truthy = Opal.truthy, $hash2 = Opal.hash2;
|
26946
27100
|
|
26947
|
-
Opal.add_stubs(['$require', '$now', '$_load_resources', '$dump_error', '$to_proc', '$!', '$_loop', '$clear', '$draw_pause_screen', '$nil?', '$raise', '$loop', '$draw_box_fill', '$width', '$height', '$draw_font', '$default', '$_init', '
|
27101
|
+
Opal.add_stubs(['$require', '$now', '$_load_resources', '$dump_error', '$to_proc', '$!', '$_loop', '$clear', '$draw_pause_screen', '$nil?', '$raise', '$loop', '$draw_box_fill', '$width', '$height', '$draw_font', '$default', '$_init', '$/', '$-', '$+', '$>=', '$matter_enabled?', '$matter_tick', '$_on_tick', '$box_fill', '$sort', '$==', '$[]', '$<=>', '$each', '$===', '$draw', '$drop', '$draw_rot', '$draw_scale', '$draw_ex', '$[]=', '$line', '$box', '$circle', '$circle_fill', '$triangle', '$triangle_fill', '$width=', '$height=', '$new', '$enqueue_draw', '$push', '$length']);
|
26948
27102
|
|
26949
27103
|
self.$require("dxopal/constants/colors");
|
26950
27104
|
return (function($base, $parent_nesting) {
|
@@ -26955,10 +27109,12 @@ Opal.modules["dxopal/window"] = function(Opal) {
|
|
26955
27109
|
(function($base, $parent_nesting) {
|
26956
27110
|
var self = $module($base, 'Window');
|
26957
27111
|
|
26958
|
-
var $nesting = [self].concat($parent_nesting), $Window_load_resources$1, $Window_loop$3, $Window_pause$
|
27112
|
+
var $nesting = [self].concat($parent_nesting), $Window_load_resources$1, $Window_loop$3, $Window_pause$5, $Window_paused$ques$6, $Window_resume$7, $Window_draw_pause_screen$8, $Window__loop$9, $Window__init$14, $Window__img$15, $Window_fps$16, $Window_fps$eq$17, $Window_real_fps$18, $Window_width$19, $Window_width$eq$20, $Window_height$21, $Window_height$eq$22, $Window_bgcolor$23, $Window_bgcolor$eq$24, $Window_draw$25, $Window_draw_scale$26, $Window_draw_rot$27, $Window_draw_ex$28, $Window_draw_font$29, $Window_draw_pixel$30, $Window_draw_line$31, $Window_draw_box$32, $Window_draw_box_fill$33, $Window_draw_circle$34, $Window_draw_circle_fill$35, $Window_draw_triangle$36, $Window_draw_triangle_fill$37, $Window_enqueue_draw$38;
|
26959
27113
|
|
26960
27114
|
|
26961
27115
|
(Opal.class_variable_set($nesting[0], '@@fps', 60));
|
27116
|
+
(Opal.class_variable_set($nesting[0], '@@fps_ts', nil));
|
27117
|
+
(Opal.class_variable_set($nesting[0], '@@fps_ct', 0));
|
26962
27118
|
(Opal.class_variable_set($nesting[0], '@@real_fps', 0));
|
26963
27119
|
(Opal.class_variable_set($nesting[0], '@@real_fps_ct', 1));
|
26964
27120
|
(Opal.class_variable_set($nesting[0], '@@real_fps_t', $$($nesting, 'Time').$now()));
|
@@ -26978,7 +27134,7 @@ Opal.modules["dxopal/window"] = function(Opal) {
|
|
26978
27134
|
return $send($$($nesting, 'DXOpal'), 'dump_error', [], block.$to_proc())}, $$2.$$s = self, $$2.$$arity = 0, $$2));
|
26979
27135
|
}, $Window_load_resources$1.$$arity = 0);
|
26980
27136
|
Opal.defs(self, '$loop', $Window_loop$3 = function $$loop() {
|
26981
|
-
var $iter = $Window_loop$3.$$p, block = $iter || nil, $a, self = this, already_running = nil;
|
27137
|
+
var $iter = $Window_loop$3.$$p, block = $iter || nil, $a, $$4, self = this, already_running = nil;
|
26982
27138
|
|
26983
27139
|
if ($iter) $Window_loop$3.$$p = null;
|
26984
27140
|
|
@@ -26987,25 +27143,30 @@ Opal.modules["dxopal/window"] = function(Opal) {
|
|
26987
27143
|
already_running = (($a = $nesting[0].$$cvars['@@block']) == null ? nil : $a)['$!']()['$!']();
|
26988
27144
|
(Opal.class_variable_set($nesting[0], '@@block', block));
|
26989
27145
|
if ($truthy(already_running)) {
|
26990
|
-
return nil
|
26991
|
-
|
26992
|
-
|
26993
|
-
|
27146
|
+
return nil};
|
27147
|
+
return (window).requestAnimationFrame(($$4 = function(time){var self = $$4.$$s || this;
|
27148
|
+
|
27149
|
+
|
27150
|
+
|
27151
|
+
if (time == null) {
|
27152
|
+
time = nil;
|
27153
|
+
};
|
27154
|
+
return self.$_loop(time);}, $$4.$$s = self, $$4.$$arity = 1, $$4));
|
26994
27155
|
}, $Window_loop$3.$$arity = 0);
|
26995
|
-
Opal.defs(self, '$pause', $Window_pause$
|
27156
|
+
Opal.defs(self, '$pause', $Window_pause$5 = function $$pause() {
|
26996
27157
|
var $a, self = this;
|
26997
27158
|
|
26998
27159
|
|
26999
27160
|
(Opal.class_variable_set($nesting[0], '@@paused', true));
|
27000
27161
|
(($a = $nesting[0].$$cvars['@@draw_queue']) == null ? nil : $a).$clear();
|
27001
27162
|
return self.$draw_pause_screen();
|
27002
|
-
}, $Window_pause$
|
27003
|
-
Opal.defs(self, '$paused?', $Window_paused$ques$
|
27163
|
+
}, $Window_pause$5.$$arity = 0);
|
27164
|
+
Opal.defs(self, '$paused?', $Window_paused$ques$6 = function() {
|
27004
27165
|
var $a, self = this;
|
27005
27166
|
|
27006
27167
|
return (($a = $nesting[0].$$cvars['@@paused']) == null ? nil : $a)
|
27007
|
-
}, $Window_paused$ques$
|
27008
|
-
Opal.defs(self, '$resume', $Window_resume$
|
27168
|
+
}, $Window_paused$ques$6.$$arity = 0);
|
27169
|
+
Opal.defs(self, '$resume', $Window_resume$7 = function $$resume() {
|
27009
27170
|
var $a, self = this;
|
27010
27171
|
|
27011
27172
|
|
@@ -27013,34 +27174,49 @@ Opal.modules["dxopal/window"] = function(Opal) {
|
|
27013
27174
|
self.$raise("Window.resume is called before Window.loop")};
|
27014
27175
|
(Opal.class_variable_set($nesting[0], '@@paused', false));
|
27015
27176
|
return $send($$($nesting, 'Window'), 'loop', [], (($a = $nesting[0].$$cvars['@@block']) == null ? nil : $a).$to_proc());
|
27016
|
-
}, $Window_resume$
|
27017
|
-
Opal.defs(self, '$draw_pause_screen', $Window_draw_pause_screen$
|
27177
|
+
}, $Window_resume$7.$$arity = 0);
|
27178
|
+
Opal.defs(self, '$draw_pause_screen', $Window_draw_pause_screen$8 = function $$draw_pause_screen() {
|
27018
27179
|
var self = this;
|
27019
27180
|
|
27020
27181
|
|
27021
27182
|
$$($nesting, 'Window').$draw_box_fill(0, 0, $$($nesting, 'Window').$width(), $$($nesting, 'Window').$height(), $$($nesting, 'C_BLACK'));
|
27022
27183
|
return $$($nesting, 'Window').$draw_font(0, 0, "...PAUSE...", $$($nesting, 'Font').$default(), $hash2(["color"], {"color": $$($nesting, 'C_WHITE')}));
|
27023
|
-
}, $Window_draw_pause_screen$
|
27024
|
-
Opal.defs(self, '$_loop', $Window__loop$
|
27025
|
-
var $a, $b, $$
|
27184
|
+
}, $Window_draw_pause_screen$8.$$arity = 0);
|
27185
|
+
Opal.defs(self, '$_loop', $Window__loop$9 = function $$_loop(timestamp) {
|
27186
|
+
var $a, $b, $$10, $$11, $$12, $$13, self = this, frame_msec = nil, passed_msec = nil, t = nil, sorted = nil;
|
27187
|
+
|
27188
|
+
|
27189
|
+
(Opal.class_variable_set($nesting[0], '@@img', ($truthy($a = (($b = $nesting[0].$$cvars['@@img']) == null ? nil : $b)) ? $a : self.$_init())));
|
27190
|
+
frame_msec = $rb_divide(1000.0, (($a = $nesting[0].$$cvars['@@fps']) == null ? nil : $a));
|
27191
|
+
(Opal.class_variable_set($nesting[0], '@@fps_ts', ($truthy($a = (($b = $nesting[0].$$cvars['@@fps_ts']) == null ? nil : $b)) ? $a : timestamp)));
|
27192
|
+
passed_msec = $rb_minus(timestamp, (($a = $nesting[0].$$cvars['@@fps_ts']) == null ? nil : $a));
|
27193
|
+
(Opal.class_variable_set($nesting[0], '@@fps_ts', timestamp));
|
27194
|
+
(Opal.class_variable_set($nesting[0], '@@fps_ct', $rb_plus((($a = $nesting[0].$$cvars['@@fps_ct']) == null ? nil : $a), passed_msec)));
|
27195
|
+
if ($truthy($rb_ge((($a = $nesting[0].$$cvars['@@fps_ct']) == null ? nil : $a), frame_msec))) {
|
27196
|
+
(Opal.class_variable_set($nesting[0], '@@fps_ct', $rb_minus((($a = $nesting[0].$$cvars['@@fps_ct']) == null ? nil : $a), frame_msec)))
|
27197
|
+
} else {
|
27198
|
+
|
27199
|
+
(window).requestAnimationFrame(($$10 = function(time){var self = $$10.$$s || this;
|
27026
27200
|
|
27027
|
-
|
27028
|
-
|
27029
|
-
|
27030
|
-
|
27201
|
+
|
27202
|
+
|
27203
|
+
if (time == null) {
|
27204
|
+
time = nil;
|
27205
|
+
};
|
27206
|
+
return self.$_loop(time);}, $$10.$$s = self, $$10.$$arity = 1, $$10));
|
27207
|
+
return nil;
|
27031
27208
|
};
|
27032
|
-
|
27033
|
-
|
27034
|
-
if ($truthy($rb_ge($rb_minus(t0, (($a = $nesting[0].$$cvars['@@real_fps_t']) == null ? nil : $a)), 1.0))) {
|
27209
|
+
t = $$($nesting, 'Time').$now();
|
27210
|
+
if ($truthy($rb_ge($rb_minus(t, (($a = $nesting[0].$$cvars['@@real_fps_t']) == null ? nil : $a)), 1.0))) {
|
27035
27211
|
|
27036
27212
|
(Opal.class_variable_set($nesting[0], '@@real_fps', (($a = $nesting[0].$$cvars['@@real_fps_ct']) == null ? nil : $a)));
|
27037
27213
|
(Opal.class_variable_set($nesting[0], '@@real_fps_ct', 1));
|
27038
|
-
(Opal.class_variable_set($nesting[0], '@@real_fps_t',
|
27214
|
+
(Opal.class_variable_set($nesting[0], '@@real_fps_t', t));
|
27039
27215
|
} else {
|
27040
27216
|
(Opal.class_variable_set($nesting[0], '@@real_fps_ct', $rb_plus((($a = $nesting[0].$$cvars['@@real_fps_ct']) == null ? nil : $a), 1)))
|
27041
27217
|
};
|
27042
27218
|
if ($truthy($$($nesting, 'Sprite')['$matter_enabled?']())) {
|
27043
|
-
$$($nesting, 'Sprite').$matter_tick(
|
27219
|
+
$$($nesting, 'Sprite').$matter_tick(timestamp)};
|
27044
27220
|
$$($nesting, 'Input').$_on_tick();
|
27045
27221
|
(Opal.class_variable_set($nesting[0], '@@draw_queue', []));
|
27046
27222
|
if ($truthy((($a = $nesting[0].$$cvars['@@paused']) == null ? nil : $a))) {
|
@@ -27049,7 +27225,7 @@ Opal.modules["dxopal/window"] = function(Opal) {
|
|
27049
27225
|
$send($$($nesting, 'DXOpal'), 'dump_error', [], (($a = $nesting[0].$$cvars['@@block']) == null ? nil : $a).$to_proc())
|
27050
27226
|
};
|
27051
27227
|
(($a = $nesting[0].$$cvars['@@img']) == null ? nil : $a).$box_fill(0, 0, (($a = $nesting[0].$$cvars['@@width']) == null ? nil : $a), (($a = $nesting[0].$$cvars['@@height']) == null ? nil : $a), (($a = $nesting[0].$$cvars['@@bgcolor']) == null ? nil : $a));
|
27052
|
-
sorted = $send((($a = $nesting[0].$$cvars['@@draw_queue']) == null ? nil : $a), 'sort', [], ($$
|
27228
|
+
sorted = $send((($a = $nesting[0].$$cvars['@@draw_queue']) == null ? nil : $a), 'sort', [], ($$11 = function(a, b){var self = $$11.$$s || this;
|
27053
27229
|
|
27054
27230
|
|
27055
27231
|
|
@@ -27064,8 +27240,8 @@ Opal.modules["dxopal/window"] = function(Opal) {
|
|
27064
27240
|
return a['$[]'](1)['$<=>'](b['$[]'](1))
|
27065
27241
|
} else {
|
27066
27242
|
return a['$[]'](0)['$<=>'](b['$[]'](0))
|
27067
|
-
};}, $$
|
27068
|
-
$send(sorted, 'each', [], ($$
|
27243
|
+
};}, $$11.$$s = self, $$11.$$arity = 2, $$11));
|
27244
|
+
$send(sorted, 'each', [], ($$12 = function(item){var self = $$12.$$s || this, $c, $case = nil, $writer = nil;
|
27069
27245
|
|
27070
27246
|
|
27071
27247
|
|
@@ -27089,79 +27265,93 @@ Opal.modules["dxopal/window"] = function(Opal) {
|
|
27089
27265
|
else if ("circle_fill"['$===']($case)) {return $send((($c = $nesting[0].$$cvars['@@img']) == null ? nil : $c), 'circle_fill', Opal.to_a(item.$drop(3)))}
|
27090
27266
|
else if ("triangle"['$===']($case)) {return $send((($c = $nesting[0].$$cvars['@@img']) == null ? nil : $c), 'triangle', Opal.to_a(item.$drop(3)))}
|
27091
27267
|
else if ("triangle_fill"['$===']($case)) {return $send((($c = $nesting[0].$$cvars['@@img']) == null ? nil : $c), 'triangle_fill', Opal.to_a(item.$drop(3)))}
|
27092
|
-
else { return nil }})();}, $$
|
27093
|
-
return (window).requestAnimationFrame(($$
|
27268
|
+
else { return nil }})();}, $$12.$$s = self, $$12.$$arity = 1, $$12));
|
27269
|
+
return (window).requestAnimationFrame(($$13 = function(time){var self = $$13.$$s || this;
|
27094
27270
|
|
27095
27271
|
|
27096
27272
|
|
27097
27273
|
if (time == null) {
|
27098
27274
|
time = nil;
|
27099
27275
|
};
|
27100
|
-
return self.$_loop(time);}, $$
|
27101
|
-
}, $Window__loop$
|
27102
|
-
Opal.defs(self, '$_init', $Window__init$
|
27103
|
-
var self = this, canvas = nil, img = nil;
|
27276
|
+
return self.$_loop(time);}, $$13.$$s = self, $$13.$$arity = 1, $$13));
|
27277
|
+
}, $Window__loop$9.$$arity = 1);
|
27278
|
+
Opal.defs(self, '$_init', $Window__init$14 = function $$_init() {
|
27279
|
+
var $a, self = this, canvas = nil, $writer = nil, img = nil;
|
27104
27280
|
|
27105
27281
|
|
27106
27282
|
canvas = document.getElementById("dxopal-canvas");
|
27107
|
-
|
27108
|
-
|
27109
|
-
|
27283
|
+
|
27284
|
+
$writer = [(($a = $nesting[0].$$cvars['@@width']) == null ? nil : $a)];
|
27285
|
+
$send(self, 'width=', Opal.to_a($writer));
|
27286
|
+
$writer[$rb_minus($writer["length"], 1)];;
|
27287
|
+
|
27288
|
+
$writer = [(($a = $nesting[0].$$cvars['@@height']) == null ? nil : $a)];
|
27289
|
+
$send(self, 'height=', Opal.to_a($writer));
|
27290
|
+
$writer[$rb_minus($writer["length"], 1)];;
|
27291
|
+
img = $$($nesting, 'Image').$new(self.$width(), self.$height(), $hash2(["canvas"], {"canvas": canvas}));
|
27110
27292
|
$$($nesting, 'Input').$_init(canvas);
|
27111
27293
|
return img;
|
27112
|
-
}, $Window__init$
|
27113
|
-
Opal.defs(self, '$_img', $Window__img$
|
27294
|
+
}, $Window__init$14.$$arity = 0);
|
27295
|
+
Opal.defs(self, '$_img', $Window__img$15 = function $$_img() {
|
27114
27296
|
var $a, self = this;
|
27115
27297
|
|
27116
27298
|
return (($a = $nesting[0].$$cvars['@@img']) == null ? nil : $a)
|
27117
|
-
}, $Window__img$
|
27118
|
-
Opal.defs(self, '$fps', $Window_fps$
|
27299
|
+
}, $Window__img$15.$$arity = 0);
|
27300
|
+
Opal.defs(self, '$fps', $Window_fps$16 = function $$fps() {
|
27119
27301
|
var $a, self = this;
|
27120
27302
|
|
27121
27303
|
return (($a = $nesting[0].$$cvars['@@fps']) == null ? nil : $a)
|
27122
|
-
}, $Window_fps$
|
27123
|
-
Opal.defs(self, '$fps=', $Window_fps$eq$
|
27304
|
+
}, $Window_fps$16.$$arity = 0);
|
27305
|
+
Opal.defs(self, '$fps=', $Window_fps$eq$17 = function(w) {
|
27124
27306
|
var self = this;
|
27125
27307
|
|
27126
27308
|
return (Opal.class_variable_set($nesting[0], '@@fps', w))
|
27127
|
-
}, $Window_fps$eq$
|
27128
|
-
Opal.defs(self, '$real_fps', $Window_real_fps$
|
27309
|
+
}, $Window_fps$eq$17.$$arity = 1);
|
27310
|
+
Opal.defs(self, '$real_fps', $Window_real_fps$18 = function $$real_fps() {
|
27129
27311
|
var $a, self = this;
|
27130
27312
|
|
27131
27313
|
return (($a = $nesting[0].$$cvars['@@real_fps']) == null ? nil : $a)
|
27132
|
-
}, $Window_real_fps$
|
27133
|
-
Opal.defs(self, '$width', $Window_width$
|
27314
|
+
}, $Window_real_fps$18.$$arity = 0);
|
27315
|
+
Opal.defs(self, '$width', $Window_width$19 = function $$width() {
|
27134
27316
|
var $a, self = this;
|
27135
27317
|
|
27136
27318
|
return (($a = $nesting[0].$$cvars['@@width']) == null ? nil : $a)
|
27137
|
-
}, $Window_width$
|
27138
|
-
Opal.defs(self, '$width=', $Window_width$eq$
|
27139
|
-
var self = this;
|
27319
|
+
}, $Window_width$19.$$arity = 0);
|
27320
|
+
Opal.defs(self, '$width=', $Window_width$eq$20 = function(w) {
|
27321
|
+
var $a, self = this, canvas = nil;
|
27140
27322
|
|
27141
|
-
|
27142
|
-
|
27143
|
-
|
27323
|
+
|
27324
|
+
canvas = document.getElementById("dxopal-canvas");
|
27325
|
+
(Opal.class_variable_set($nesting[0], '@@width', ($truthy($a = w) ? $a : window.innerWidth)));
|
27326
|
+
canvas.width = (($a = $nesting[0].$$cvars['@@width']) == null ? nil : $a);
|
27327
|
+
return canvas.style.width = (($a = $nesting[0].$$cvars['@@width']) == null ? nil : $a);
|
27328
|
+
}, $Window_width$eq$20.$$arity = 1);
|
27329
|
+
Opal.defs(self, '$height', $Window_height$21 = function $$height() {
|
27144
27330
|
var $a, self = this;
|
27145
27331
|
|
27146
27332
|
return (($a = $nesting[0].$$cvars['@@height']) == null ? nil : $a)
|
27147
|
-
}, $Window_height$
|
27148
|
-
Opal.defs(self, '$height=', $Window_height$eq$
|
27149
|
-
var self = this;
|
27333
|
+
}, $Window_height$21.$$arity = 0);
|
27334
|
+
Opal.defs(self, '$height=', $Window_height$eq$22 = function(h) {
|
27335
|
+
var $a, self = this, canvas = nil;
|
27150
27336
|
|
27151
|
-
|
27152
|
-
|
27337
|
+
|
27338
|
+
canvas = document.getElementById("dxopal-canvas");
|
27339
|
+
(Opal.class_variable_set($nesting[0], '@@height', ($truthy($a = h) ? $a : window.innerHeight)));
|
27340
|
+
canvas.height = (($a = $nesting[0].$$cvars['@@height']) == null ? nil : $a);
|
27341
|
+
return canvas.style.height = (($a = $nesting[0].$$cvars['@@height']) == null ? nil : $a);
|
27342
|
+
}, $Window_height$eq$22.$$arity = 1);
|
27153
27343
|
(Opal.class_variable_set($nesting[0], '@@bgcolor', $$$($$$($$($nesting, 'Constants'), 'Colors'), 'C_BLACK')));
|
27154
|
-
Opal.defs(self, '$bgcolor', $Window_bgcolor$
|
27344
|
+
Opal.defs(self, '$bgcolor', $Window_bgcolor$23 = function $$bgcolor() {
|
27155
27345
|
var $a, self = this;
|
27156
27346
|
|
27157
27347
|
return (($a = $nesting[0].$$cvars['@@bgcolor']) == null ? nil : $a)
|
27158
|
-
}, $Window_bgcolor$
|
27159
|
-
Opal.defs(self, '$bgcolor=', $Window_bgcolor$eq$
|
27348
|
+
}, $Window_bgcolor$23.$$arity = 0);
|
27349
|
+
Opal.defs(self, '$bgcolor=', $Window_bgcolor$eq$24 = function(col) {
|
27160
27350
|
var self = this;
|
27161
27351
|
|
27162
27352
|
return (Opal.class_variable_set($nesting[0], '@@bgcolor', col))
|
27163
|
-
}, $Window_bgcolor$eq$
|
27164
|
-
Opal.defs(self, '$draw', $Window_draw$
|
27353
|
+
}, $Window_bgcolor$eq$24.$$arity = 1);
|
27354
|
+
Opal.defs(self, '$draw', $Window_draw$25 = function $$draw(x, y, image, z) {
|
27165
27355
|
var self = this;
|
27166
27356
|
|
27167
27357
|
|
@@ -27170,8 +27360,8 @@ Opal.modules["dxopal/window"] = function(Opal) {
|
|
27170
27360
|
z = 0;
|
27171
27361
|
};
|
27172
27362
|
return self.$enqueue_draw(z, "image", x, y, image);
|
27173
|
-
}, $Window_draw$
|
27174
|
-
Opal.defs(self, '$draw_scale', $Window_draw_scale$
|
27363
|
+
}, $Window_draw$25.$$arity = -4);
|
27364
|
+
Opal.defs(self, '$draw_scale', $Window_draw_scale$26 = function $$draw_scale(x, y, image, scale_x, scale_y, center_x, center_y, z) {
|
27175
27365
|
var self = this;
|
27176
27366
|
|
27177
27367
|
|
@@ -27188,8 +27378,8 @@ Opal.modules["dxopal/window"] = function(Opal) {
|
|
27188
27378
|
z = 0;
|
27189
27379
|
};
|
27190
27380
|
return self.$enqueue_draw(z, "image_scale", x, y, image, scale_x, scale_y, center_x, center_y);
|
27191
|
-
}, $Window_draw_scale$
|
27192
|
-
Opal.defs(self, '$draw_rot', $Window_draw_rot$
|
27381
|
+
}, $Window_draw_scale$26.$$arity = -6);
|
27382
|
+
Opal.defs(self, '$draw_rot', $Window_draw_rot$27 = function $$draw_rot(x, y, image, angle, center_x, center_y, z) {
|
27193
27383
|
var self = this;
|
27194
27384
|
|
27195
27385
|
|
@@ -27206,8 +27396,8 @@ Opal.modules["dxopal/window"] = function(Opal) {
|
|
27206
27396
|
z = 0;
|
27207
27397
|
};
|
27208
27398
|
return self.$enqueue_draw(z, "image_rot", x, y, image, angle, center_x, center_y);
|
27209
|
-
}, $Window_draw_rot$
|
27210
|
-
Opal.defs(self, '$draw_ex', $Window_draw_ex$
|
27399
|
+
}, $Window_draw_rot$27.$$arity = -5);
|
27400
|
+
Opal.defs(self, '$draw_ex', $Window_draw_ex$28 = function $$draw_ex(x, y, image, options) {
|
27211
27401
|
var $a, self = this;
|
27212
27402
|
|
27213
27403
|
|
@@ -27216,8 +27406,8 @@ Opal.modules["dxopal/window"] = function(Opal) {
|
|
27216
27406
|
options = $hash2([], {});
|
27217
27407
|
};
|
27218
27408
|
return self.$enqueue_draw(($truthy($a = options['$[]']("z")) ? $a : 0), "draw_ex", x, y, image, options);
|
27219
|
-
}, $Window_draw_ex$
|
27220
|
-
Opal.defs(self, '$draw_font', $Window_draw_font$
|
27409
|
+
}, $Window_draw_ex$28.$$arity = -4);
|
27410
|
+
Opal.defs(self, '$draw_font', $Window_draw_font$29 = function $$draw_font(x, y, string, font, option) {
|
27221
27411
|
var $a, self = this, z = nil, color = nil;
|
27222
27412
|
|
27223
27413
|
|
@@ -27228,8 +27418,8 @@ Opal.modules["dxopal/window"] = function(Opal) {
|
|
27228
27418
|
z = ($truthy($a = option['$[]']("z")) ? $a : 0);
|
27229
27419
|
color = ($truthy($a = option['$[]']("color")) ? $a : [255, 255, 255]);
|
27230
27420
|
return self.$enqueue_draw(z, "font", x, y, string, font, color);
|
27231
|
-
}, $Window_draw_font$
|
27232
|
-
Opal.defs(self, '$draw_pixel', $Window_draw_pixel$
|
27421
|
+
}, $Window_draw_font$29.$$arity = -5);
|
27422
|
+
Opal.defs(self, '$draw_pixel', $Window_draw_pixel$30 = function $$draw_pixel(x, y, color, z) {
|
27233
27423
|
var self = this;
|
27234
27424
|
|
27235
27425
|
|
@@ -27238,8 +27428,8 @@ Opal.modules["dxopal/window"] = function(Opal) {
|
|
27238
27428
|
z = 0;
|
27239
27429
|
};
|
27240
27430
|
return self.$enqueue_draw(z, "pixel", x, y, color);
|
27241
|
-
}, $Window_draw_pixel$
|
27242
|
-
Opal.defs(self, '$draw_line', $Window_draw_line$
|
27431
|
+
}, $Window_draw_pixel$30.$$arity = -4);
|
27432
|
+
Opal.defs(self, '$draw_line', $Window_draw_line$31 = function $$draw_line(x1, y1, x2, y2, color, z) {
|
27243
27433
|
var self = this;
|
27244
27434
|
|
27245
27435
|
|
@@ -27248,8 +27438,8 @@ Opal.modules["dxopal/window"] = function(Opal) {
|
|
27248
27438
|
z = 0;
|
27249
27439
|
};
|
27250
27440
|
return self.$enqueue_draw(z, "line", x1, y1, x2, y2, color);
|
27251
|
-
}, $Window_draw_line$
|
27252
|
-
Opal.defs(self, '$draw_box', $Window_draw_box$
|
27441
|
+
}, $Window_draw_line$31.$$arity = -6);
|
27442
|
+
Opal.defs(self, '$draw_box', $Window_draw_box$32 = function $$draw_box(x1, y1, x2, y2, color, z) {
|
27253
27443
|
var self = this;
|
27254
27444
|
|
27255
27445
|
|
@@ -27258,8 +27448,8 @@ Opal.modules["dxopal/window"] = function(Opal) {
|
|
27258
27448
|
z = 0;
|
27259
27449
|
};
|
27260
27450
|
return self.$enqueue_draw(z, "box", x1, y1, x2, y2, color);
|
27261
|
-
}, $Window_draw_box$
|
27262
|
-
Opal.defs(self, '$draw_box_fill', $Window_draw_box_fill$
|
27451
|
+
}, $Window_draw_box$32.$$arity = -6);
|
27452
|
+
Opal.defs(self, '$draw_box_fill', $Window_draw_box_fill$33 = function $$draw_box_fill(x1, y1, x2, y2, color, z) {
|
27263
27453
|
var self = this;
|
27264
27454
|
|
27265
27455
|
|
@@ -27268,8 +27458,8 @@ Opal.modules["dxopal/window"] = function(Opal) {
|
|
27268
27458
|
z = 0;
|
27269
27459
|
};
|
27270
27460
|
return self.$enqueue_draw(z, "box_fill", x1, y1, x2, y2, color);
|
27271
|
-
}, $Window_draw_box_fill$
|
27272
|
-
Opal.defs(self, '$draw_circle', $Window_draw_circle$
|
27461
|
+
}, $Window_draw_box_fill$33.$$arity = -6);
|
27462
|
+
Opal.defs(self, '$draw_circle', $Window_draw_circle$34 = function $$draw_circle(x, y, r, color, z) {
|
27273
27463
|
var self = this;
|
27274
27464
|
|
27275
27465
|
|
@@ -27278,8 +27468,8 @@ Opal.modules["dxopal/window"] = function(Opal) {
|
|
27278
27468
|
z = 0;
|
27279
27469
|
};
|
27280
27470
|
return self.$enqueue_draw(z, "circle", x, y, r, color);
|
27281
|
-
}, $Window_draw_circle$
|
27282
|
-
Opal.defs(self, '$draw_circle_fill', $Window_draw_circle_fill$
|
27471
|
+
}, $Window_draw_circle$34.$$arity = -5);
|
27472
|
+
Opal.defs(self, '$draw_circle_fill', $Window_draw_circle_fill$35 = function $$draw_circle_fill(x, y, r, color, z) {
|
27283
27473
|
var self = this;
|
27284
27474
|
|
27285
27475
|
|
@@ -27288,8 +27478,8 @@ Opal.modules["dxopal/window"] = function(Opal) {
|
|
27288
27478
|
z = 0;
|
27289
27479
|
};
|
27290
27480
|
return self.$enqueue_draw(z, "circle_fill", x, y, r, color);
|
27291
|
-
}, $Window_draw_circle_fill$
|
27292
|
-
Opal.defs(self, '$draw_triangle', $Window_draw_triangle$
|
27481
|
+
}, $Window_draw_circle_fill$35.$$arity = -5);
|
27482
|
+
Opal.defs(self, '$draw_triangle', $Window_draw_triangle$36 = function $$draw_triangle(x1, y1, x2, y2, x3, y3, color, z) {
|
27293
27483
|
var self = this;
|
27294
27484
|
|
27295
27485
|
|
@@ -27298,8 +27488,8 @@ Opal.modules["dxopal/window"] = function(Opal) {
|
|
27298
27488
|
z = 0;
|
27299
27489
|
};
|
27300
27490
|
return self.$enqueue_draw(z, "triangle", x1, y1, x2, y2, x3, y3, color);
|
27301
|
-
}, $Window_draw_triangle$
|
27302
|
-
Opal.defs(self, '$draw_triangle_fill', $Window_draw_triangle_fill$
|
27491
|
+
}, $Window_draw_triangle$36.$$arity = -8);
|
27492
|
+
Opal.defs(self, '$draw_triangle_fill', $Window_draw_triangle_fill$37 = function $$draw_triangle_fill(x1, y1, x2, y2, x3, y3, color, z) {
|
27303
27493
|
var self = this;
|
27304
27494
|
|
27305
27495
|
|
@@ -27308,8 +27498,8 @@ Opal.modules["dxopal/window"] = function(Opal) {
|
|
27308
27498
|
z = 0;
|
27309
27499
|
};
|
27310
27500
|
return self.$enqueue_draw(z, "triangle_fill", x1, y1, x2, y2, x3, y3, color);
|
27311
|
-
}, $Window_draw_triangle_fill$
|
27312
|
-
Opal.defs(self, '$enqueue_draw', $Window_enqueue_draw$
|
27501
|
+
}, $Window_draw_triangle_fill$37.$$arity = -8);
|
27502
|
+
Opal.defs(self, '$enqueue_draw', $Window_enqueue_draw$38 = function $$enqueue_draw(z, $a) {
|
27313
27503
|
var $post_args, args, $b, self = this;
|
27314
27504
|
|
27315
27505
|
|
@@ -27318,12 +27508,12 @@ Opal.modules["dxopal/window"] = function(Opal) {
|
|
27318
27508
|
|
27319
27509
|
args = $post_args;;
|
27320
27510
|
return (($b = $nesting[0].$$cvars['@@draw_queue']) == null ? nil : $b).$push([z, (($b = $nesting[0].$$cvars['@@draw_queue']) == null ? nil : $b).$length()].concat(Opal.to_a(args)));
|
27321
|
-
}, $Window_enqueue_draw$
|
27511
|
+
}, $Window_enqueue_draw$38.$$arity = -2);
|
27322
27512
|
})($nesting[0], $nesting)
|
27323
27513
|
})($nesting[0], $nesting);
|
27324
27514
|
};
|
27325
27515
|
|
27326
|
-
/* Generated by Opal 1.0.
|
27516
|
+
/* Generated by Opal 1.0.5 */
|
27327
27517
|
Opal.modules["dxopal/version"] = function(Opal) {
|
27328
27518
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module;
|
27329
27519
|
|
@@ -27332,11 +27522,11 @@ Opal.modules["dxopal/version"] = function(Opal) {
|
|
27332
27522
|
|
27333
27523
|
var $nesting = [self].concat($parent_nesting);
|
27334
27524
|
|
27335
|
-
Opal.const_set($nesting[0], 'VERSION', "1.
|
27525
|
+
Opal.const_set($nesting[0], 'VERSION', "1.5.2")
|
27336
27526
|
})($nesting[0], $nesting)
|
27337
27527
|
};
|
27338
27528
|
|
27339
|
-
/* Generated by Opal 1.0.
|
27529
|
+
/* Generated by Opal 1.0.5 */
|
27340
27530
|
Opal.modules["corelib/pack_unpack/format_string_parser"] = function(Opal) {
|
27341
27531
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module;
|
27342
27532
|
|
@@ -27482,7 +27672,7 @@ Opal.modules["corelib/pack_unpack/format_string_parser"] = function(Opal) {
|
|
27482
27672
|
})($nesting[0], $nesting)
|
27483
27673
|
};
|
27484
27674
|
|
27485
|
-
/* Generated by Opal 1.0.
|
27675
|
+
/* Generated by Opal 1.0.5 */
|
27486
27676
|
Opal.modules["corelib/string/unpack"] = function(Opal) {
|
27487
27677
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $klass = Opal.klass;
|
27488
27678
|
|
@@ -28286,7 +28476,7 @@ Opal.modules["corelib/string/unpack"] = function(Opal) {
|
|
28286
28476
|
})($nesting[0], null, $nesting);
|
28287
28477
|
};
|
28288
28478
|
|
28289
|
-
/* Generated by Opal 1.0.
|
28479
|
+
/* Generated by Opal 1.0.5 */
|
28290
28480
|
Opal.modules["set"] = function(Opal) {
|
28291
28481
|
function $rb_minus(lhs, rhs) {
|
28292
28482
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
|
@@ -28741,7 +28931,7 @@ Opal.modules["set"] = function(Opal) {
|
|
28741
28931
|
})($nesting[0], $nesting);
|
28742
28932
|
};
|
28743
28933
|
|
28744
|
-
/* Generated by Opal 1.0.
|
28934
|
+
/* Generated by Opal 1.0.5 */
|
28745
28935
|
Opal.modules["ast/node"] = function(Opal) {
|
28746
28936
|
function $rb_plus(lhs, rhs) {
|
28747
28937
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs + rhs : lhs['$+'](rhs);
|
@@ -28751,7 +28941,7 @@ Opal.modules["ast/node"] = function(Opal) {
|
|
28751
28941
|
}
|
28752
28942
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $hash2 = Opal.hash2, $truthy = Opal.truthy, $send = Opal.send;
|
28753
28943
|
|
28754
|
-
Opal.add_stubs(['$attr_reader', '$to_sym', '$freeze', '$to_a', '$assign_properties', '$hash', '$class', '$eql?', '$type', '$children', '$each', '$instance_variable_set', '$protected', '$private', '$==', '$nil?', '$
|
28944
|
+
Opal.add_stubs(['$attr_reader', '$to_sym', '$freeze', '$to_a', '$assign_properties', '$hash', '$class', '$eql?', '$type', '$children', '$each', '$instance_variable_set', '$protected', '$private', '$==', '$nil?', '$original_dup', '$send', '$equal?', '$respond_to?', '$to_ast', '$updated', '$+', '$*', '$fancy_type', '$is_a?', '$to_sexp', '$inspect', '$map', '$to_sexp_array', '$gsub', '$to_s']);
|
28755
28945
|
return (function($base, $parent_nesting) {
|
28756
28946
|
var self = $module($base, 'AST');
|
28757
28947
|
|
@@ -28823,7 +29013,7 @@ Opal.modules["ast/node"] = function(Opal) {
|
|
28823
29013
|
Opal.alias(self, "clone", "dup");
|
28824
29014
|
|
28825
29015
|
Opal.def(self, '$updated', $Node_updated$6 = function $$updated(type, children, properties) {
|
28826
|
-
var $a, $b, self = this, new_type = nil, new_children = nil, new_properties = nil;
|
29016
|
+
var $a, $b, self = this, new_type = nil, new_children = nil, new_properties = nil, copy = nil;
|
28827
29017
|
|
28828
29018
|
|
28829
29019
|
|
@@ -28844,7 +29034,10 @@ Opal.modules["ast/node"] = function(Opal) {
|
|
28844
29034
|
if ($truthy(($truthy($a = (($b = self.type['$=='](new_type)) ? self.children['$=='](new_children) : self.type['$=='](new_type))) ? properties['$nil?']() : $a))) {
|
28845
29035
|
return self
|
28846
29036
|
} else {
|
28847
|
-
|
29037
|
+
|
29038
|
+
copy = self.$original_dup();
|
29039
|
+
copy.$send("initialize", new_type, new_children, new_properties);
|
29040
|
+
return copy;
|
28848
29041
|
};
|
28849
29042
|
}, $Node_updated$6.$$arity = -1);
|
28850
29043
|
|
@@ -28963,7 +29156,7 @@ Opal.modules["ast/node"] = function(Opal) {
|
|
28963
29156
|
})($nesting[0], $nesting)
|
28964
29157
|
};
|
28965
29158
|
|
28966
|
-
/* Generated by Opal 1.0.
|
29159
|
+
/* Generated by Opal 1.0.5 */
|
28967
29160
|
Opal.modules["ast/processor/mixin"] = function(Opal) {
|
28968
29161
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy, $send = Opal.send;
|
28969
29162
|
|
@@ -29026,7 +29219,7 @@ Opal.modules["ast/processor/mixin"] = function(Opal) {
|
|
29026
29219
|
})($nesting[0], $nesting)
|
29027
29220
|
};
|
29028
29221
|
|
29029
|
-
/* Generated by Opal 1.0.
|
29222
|
+
/* Generated by Opal 1.0.5 */
|
29030
29223
|
Opal.modules["ast/processor"] = function(Opal) {
|
29031
29224
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass;
|
29032
29225
|
|
@@ -29048,7 +29241,7 @@ Opal.modules["ast/processor"] = function(Opal) {
|
|
29048
29241
|
})($nesting[0], $nesting)
|
29049
29242
|
};
|
29050
29243
|
|
29051
|
-
/* Generated by Opal 1.0.
|
29244
|
+
/* Generated by Opal 1.0.5 */
|
29052
29245
|
Opal.modules["ast/sexp"] = function(Opal) {
|
29053
29246
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module;
|
29054
29247
|
|
@@ -29078,7 +29271,7 @@ Opal.modules["ast/sexp"] = function(Opal) {
|
|
29078
29271
|
})($nesting[0], $nesting)
|
29079
29272
|
};
|
29080
29273
|
|
29081
|
-
/* Generated by Opal 1.0.
|
29274
|
+
/* Generated by Opal 1.0.5 */
|
29082
29275
|
Opal.modules["ast"] = function(Opal) {
|
29083
29276
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module;
|
29084
29277
|
|
@@ -29095,7 +29288,7 @@ Opal.modules["ast"] = function(Opal) {
|
|
29095
29288
|
})($nesting[0], $nesting)
|
29096
29289
|
};
|
29097
29290
|
|
29098
|
-
/* Generated by Opal 1.0.
|
29291
|
+
/* Generated by Opal 1.0.5 */
|
29099
29292
|
Opal.modules["parser/ast/node"] = function(Opal) {
|
29100
29293
|
function $rb_minus(lhs, rhs) {
|
29101
29294
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
|
@@ -29142,7 +29335,7 @@ Opal.modules["parser/ast/node"] = function(Opal) {
|
|
29142
29335
|
})($nesting[0], $nesting)
|
29143
29336
|
};
|
29144
29337
|
|
29145
|
-
/* Generated by Opal 1.0.
|
29338
|
+
/* Generated by Opal 1.0.5 */
|
29146
29339
|
Opal.modules["opal/ast/node"] = function(Opal) {
|
29147
29340
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy, $hash2 = Opal.hash2, $send = Opal.send;
|
29148
29341
|
|
@@ -29212,7 +29405,7 @@ Opal.modules["opal/ast/node"] = function(Opal) {
|
|
29212
29405
|
})($nesting[0], $nesting);
|
29213
29406
|
};
|
29214
29407
|
|
29215
|
-
/* Generated by Opal 1.0.
|
29408
|
+
/* Generated by Opal 1.0.5 */
|
29216
29409
|
Opal.modules["racc/parser"] = function(Opal) {
|
29217
29410
|
function $rb_lt(lhs, rhs) {
|
29218
29411
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs < rhs : lhs['$<'](rhs);
|
@@ -29715,7 +29908,7 @@ Opal.modules["racc/parser"] = function(Opal) {
|
|
29715
29908
|
})($nesting[0], $nesting);
|
29716
29909
|
};
|
29717
29910
|
|
29718
|
-
/* Generated by Opal 1.0.
|
29911
|
+
/* Generated by Opal 1.0.5 */
|
29719
29912
|
Opal.modules["parser/version"] = function(Opal) {
|
29720
29913
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module;
|
29721
29914
|
|
@@ -29728,7 +29921,7 @@ Opal.modules["parser/version"] = function(Opal) {
|
|
29728
29921
|
})($nesting[0], $nesting)
|
29729
29922
|
};
|
29730
29923
|
|
29731
|
-
/* Generated by Opal 1.0.
|
29924
|
+
/* Generated by Opal 1.0.5 */
|
29732
29925
|
Opal.modules["racc/parser"] = function(Opal) {
|
29733
29926
|
function $rb_lt(lhs, rhs) {
|
29734
29927
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs < rhs : lhs['$<'](rhs);
|
@@ -30231,7 +30424,7 @@ Opal.modules["racc/parser"] = function(Opal) {
|
|
30231
30424
|
})($nesting[0], $nesting);
|
30232
30425
|
};
|
30233
30426
|
|
30234
|
-
/* Generated by Opal 1.0.
|
30427
|
+
/* Generated by Opal 1.0.5 */
|
30235
30428
|
Opal.modules["parser/messages"] = function(Opal) {
|
30236
30429
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $hash2 = Opal.hash2;
|
30237
30430
|
|
@@ -30245,7 +30438,7 @@ Opal.modules["parser/messages"] = function(Opal) {
|
|
30245
30438
|
})($nesting[0], $nesting)
|
30246
30439
|
};
|
30247
30440
|
|
30248
|
-
/* Generated by Opal 1.0.
|
30441
|
+
/* Generated by Opal 1.0.5 */
|
30249
30442
|
Opal.modules["parser/deprecation"] = function(Opal) {
|
30250
30443
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $truthy = Opal.truthy;
|
30251
30444
|
|
@@ -30273,7 +30466,7 @@ Opal.modules["parser/deprecation"] = function(Opal) {
|
|
30273
30466
|
})($nesting[0], $nesting)
|
30274
30467
|
};
|
30275
30468
|
|
30276
|
-
/* Generated by Opal 1.0.
|
30469
|
+
/* Generated by Opal 1.0.5 */
|
30277
30470
|
Opal.modules["parser/ast/processor"] = function(Opal) {
|
30278
30471
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy;
|
30279
30472
|
|
@@ -30526,7 +30719,7 @@ Opal.modules["parser/ast/processor"] = function(Opal) {
|
|
30526
30719
|
})($nesting[0], $nesting)
|
30527
30720
|
};
|
30528
30721
|
|
30529
|
-
/* Generated by Opal 1.0.
|
30722
|
+
/* Generated by Opal 1.0.5 */
|
30530
30723
|
Opal.modules["parser/meta"] = function(Opal) {
|
30531
30724
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $send = Opal.send;
|
30532
30725
|
|
@@ -30546,7 +30739,7 @@ Opal.modules["parser/meta"] = function(Opal) {
|
|
30546
30739
|
})($nesting[0], $nesting)
|
30547
30740
|
};
|
30548
30741
|
|
30549
|
-
/* Generated by Opal 1.0.
|
30742
|
+
/* Generated by Opal 1.0.5 */
|
30550
30743
|
Opal.modules["parser/source/buffer"] = function(Opal) {
|
30551
30744
|
function $rb_minus(lhs, rhs) {
|
30552
30745
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
|
@@ -30813,7 +31006,7 @@ Opal.modules["parser/source/buffer"] = function(Opal) {
|
|
30813
31006
|
})($nesting[0], $nesting)
|
30814
31007
|
};
|
30815
31008
|
|
30816
|
-
/* Generated by Opal 1.0.
|
31009
|
+
/* Generated by Opal 1.0.5 */
|
30817
31010
|
Opal.modules["parser/source/range"] = function(Opal) {
|
30818
31011
|
function $rb_lt(lhs, rhs) {
|
30819
31012
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs < rhs : lhs['$<'](rhs);
|
@@ -31094,7 +31287,7 @@ Opal.modules["parser/source/range"] = function(Opal) {
|
|
31094
31287
|
})($nesting[0], $nesting)
|
31095
31288
|
};
|
31096
31289
|
|
31097
|
-
/* Generated by Opal 1.0.
|
31290
|
+
/* Generated by Opal 1.0.5 */
|
31098
31291
|
Opal.modules["parser/source/comment"] = function(Opal) {
|
31099
31292
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy;
|
31100
31293
|
|
@@ -31182,7 +31375,7 @@ Opal.modules["parser/source/comment"] = function(Opal) {
|
|
31182
31375
|
})($nesting[0], $nesting)
|
31183
31376
|
};
|
31184
31377
|
|
31185
|
-
/* Generated by Opal 1.0.
|
31378
|
+
/* Generated by Opal 1.0.5 */
|
31186
31379
|
Opal.modules["parser/source/comment/associator"] = function(Opal) {
|
31187
31380
|
function $rb_minus(lhs, rhs) {
|
31188
31381
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
|
@@ -31392,7 +31585,7 @@ Opal.modules["parser/source/comment/associator"] = function(Opal) {
|
|
31392
31585
|
})($nesting[0], $nesting)
|
31393
31586
|
};
|
31394
31587
|
|
31395
|
-
/* Generated by Opal 1.0.
|
31588
|
+
/* Generated by Opal 1.0.5 */
|
31396
31589
|
Opal.modules["parser/source/rewriter"] = function(Opal) {
|
31397
31590
|
function $rb_minus(lhs, rhs) {
|
31398
31591
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
|
@@ -31887,7 +32080,7 @@ Opal.modules["parser/source/rewriter"] = function(Opal) {
|
|
31887
32080
|
})($nesting[0], $nesting)
|
31888
32081
|
};
|
31889
32082
|
|
31890
|
-
/* Generated by Opal 1.0.
|
32083
|
+
/* Generated by Opal 1.0.5 */
|
31891
32084
|
Opal.modules["parser/source/rewriter/action"] = function(Opal) {
|
31892
32085
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy;
|
31893
32086
|
|
@@ -31965,7 +32158,7 @@ Opal.modules["parser/source/rewriter/action"] = function(Opal) {
|
|
31965
32158
|
})($nesting[0], $nesting)
|
31966
32159
|
};
|
31967
32160
|
|
31968
|
-
/* Generated by Opal 1.0.
|
32161
|
+
/* Generated by Opal 1.0.5 */
|
31969
32162
|
Opal.modules["parser/source/tree_rewriter"] = function(Opal) {
|
31970
32163
|
function $rb_minus(lhs, rhs) {
|
31971
32164
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
|
@@ -32243,7 +32436,7 @@ Opal.modules["parser/source/tree_rewriter"] = function(Opal) {
|
|
32243
32436
|
})($nesting[0], $nesting)
|
32244
32437
|
};
|
32245
32438
|
|
32246
|
-
/* Generated by Opal 1.0.
|
32439
|
+
/* Generated by Opal 1.0.5 */
|
32247
32440
|
Opal.modules["parser/source/tree_rewriter/action"] = function(Opal) {
|
32248
32441
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $hash2 = Opal.hash2, $truthy = Opal.truthy, $send = Opal.send;
|
32249
32442
|
|
@@ -32491,7 +32684,7 @@ Opal.modules["parser/source/tree_rewriter/action"] = function(Opal) {
|
|
32491
32684
|
})($nesting[0], $nesting)
|
32492
32685
|
};
|
32493
32686
|
|
32494
|
-
/* Generated by Opal 1.0.
|
32687
|
+
/* Generated by Opal 1.0.5 */
|
32495
32688
|
Opal.modules["parser/source/map"] = function(Opal) {
|
32496
32689
|
function $rb_minus(lhs, rhs) {
|
32497
32690
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
|
@@ -32641,7 +32834,7 @@ Opal.modules["parser/source/map"] = function(Opal) {
|
|
32641
32834
|
})($nesting[0], $nesting)
|
32642
32835
|
};
|
32643
32836
|
|
32644
|
-
/* Generated by Opal 1.0.
|
32837
|
+
/* Generated by Opal 1.0.5 */
|
32645
32838
|
Opal.modules["parser/source/map/operator"] = function(Opal) {
|
32646
32839
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $send = Opal.send;
|
32647
32840
|
|
@@ -32676,7 +32869,7 @@ Opal.modules["parser/source/map/operator"] = function(Opal) {
|
|
32676
32869
|
})($nesting[0], $nesting)
|
32677
32870
|
};
|
32678
32871
|
|
32679
|
-
/* Generated by Opal 1.0.
|
32872
|
+
/* Generated by Opal 1.0.5 */
|
32680
32873
|
Opal.modules["parser/source/map/collection"] = function(Opal) {
|
32681
32874
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $send = Opal.send;
|
32682
32875
|
|
@@ -32712,7 +32905,7 @@ Opal.modules["parser/source/map/collection"] = function(Opal) {
|
|
32712
32905
|
})($nesting[0], $nesting)
|
32713
32906
|
};
|
32714
32907
|
|
32715
|
-
/* Generated by Opal 1.0.
|
32908
|
+
/* Generated by Opal 1.0.5 */
|
32716
32909
|
Opal.modules["parser/source/map/constant"] = function(Opal) {
|
32717
32910
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $send = Opal.send;
|
32718
32911
|
|
@@ -32769,7 +32962,7 @@ Opal.modules["parser/source/map/constant"] = function(Opal) {
|
|
32769
32962
|
})($nesting[0], $nesting)
|
32770
32963
|
};
|
32771
32964
|
|
32772
|
-
/* Generated by Opal 1.0.
|
32965
|
+
/* Generated by Opal 1.0.5 */
|
32773
32966
|
Opal.modules["parser/source/map/variable"] = function(Opal) {
|
32774
32967
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $send = Opal.send;
|
32775
32968
|
|
@@ -32829,7 +33022,7 @@ Opal.modules["parser/source/map/variable"] = function(Opal) {
|
|
32829
33022
|
})($nesting[0], $nesting)
|
32830
33023
|
};
|
32831
33024
|
|
32832
|
-
/* Generated by Opal 1.0.
|
33025
|
+
/* Generated by Opal 1.0.5 */
|
32833
33026
|
Opal.modules["parser/source/map/keyword"] = function(Opal) {
|
32834
33027
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $send = Opal.send;
|
32835
33028
|
|
@@ -32867,7 +33060,7 @@ Opal.modules["parser/source/map/keyword"] = function(Opal) {
|
|
32867
33060
|
})($nesting[0], $nesting)
|
32868
33061
|
};
|
32869
33062
|
|
32870
|
-
/* Generated by Opal 1.0.
|
33063
|
+
/* Generated by Opal 1.0.5 */
|
32871
33064
|
Opal.modules["parser/source/map/definition"] = function(Opal) {
|
32872
33065
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $send = Opal.send;
|
32873
33066
|
|
@@ -32909,7 +33102,7 @@ Opal.modules["parser/source/map/definition"] = function(Opal) {
|
|
32909
33102
|
})($nesting[0], $nesting)
|
32910
33103
|
};
|
32911
33104
|
|
32912
|
-
/* Generated by Opal 1.0.
|
33105
|
+
/* Generated by Opal 1.0.5 */
|
32913
33106
|
Opal.modules["parser/source/map/send"] = function(Opal) {
|
32914
33107
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $send = Opal.send;
|
32915
33108
|
|
@@ -32970,7 +33163,7 @@ Opal.modules["parser/source/map/send"] = function(Opal) {
|
|
32970
33163
|
})($nesting[0], $nesting)
|
32971
33164
|
};
|
32972
33165
|
|
32973
|
-
/* Generated by Opal 1.0.
|
33166
|
+
/* Generated by Opal 1.0.5 */
|
32974
33167
|
Opal.modules["parser/source/map/index"] = function(Opal) {
|
32975
33168
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $send = Opal.send;
|
32976
33169
|
|
@@ -33028,7 +33221,7 @@ Opal.modules["parser/source/map/index"] = function(Opal) {
|
|
33028
33221
|
})($nesting[0], $nesting)
|
33029
33222
|
};
|
33030
33223
|
|
33031
|
-
/* Generated by Opal 1.0.
|
33224
|
+
/* Generated by Opal 1.0.5 */
|
33032
33225
|
Opal.modules["parser/source/map/condition"] = function(Opal) {
|
33033
33226
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $send = Opal.send;
|
33034
33227
|
|
@@ -33067,7 +33260,7 @@ Opal.modules["parser/source/map/condition"] = function(Opal) {
|
|
33067
33260
|
})($nesting[0], $nesting)
|
33068
33261
|
};
|
33069
33262
|
|
33070
|
-
/* Generated by Opal 1.0.
|
33263
|
+
/* Generated by Opal 1.0.5 */
|
33071
33264
|
Opal.modules["parser/source/map/ternary"] = function(Opal) {
|
33072
33265
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $send = Opal.send;
|
33073
33266
|
|
@@ -33103,7 +33296,7 @@ Opal.modules["parser/source/map/ternary"] = function(Opal) {
|
|
33103
33296
|
})($nesting[0], $nesting)
|
33104
33297
|
};
|
33105
33298
|
|
33106
|
-
/* Generated by Opal 1.0.
|
33299
|
+
/* Generated by Opal 1.0.5 */
|
33107
33300
|
Opal.modules["parser/source/map/for"] = function(Opal) {
|
33108
33301
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $send = Opal.send;
|
33109
33302
|
|
@@ -33140,7 +33333,7 @@ Opal.modules["parser/source/map/for"] = function(Opal) {
|
|
33140
33333
|
})($nesting[0], $nesting)
|
33141
33334
|
};
|
33142
33335
|
|
33143
|
-
/* Generated by Opal 1.0.
|
33336
|
+
/* Generated by Opal 1.0.5 */
|
33144
33337
|
Opal.modules["parser/source/map/rescue_body"] = function(Opal) {
|
33145
33338
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $send = Opal.send;
|
33146
33339
|
|
@@ -33179,7 +33372,7 @@ Opal.modules["parser/source/map/rescue_body"] = function(Opal) {
|
|
33179
33372
|
})($nesting[0], $nesting)
|
33180
33373
|
};
|
33181
33374
|
|
33182
|
-
/* Generated by Opal 1.0.
|
33375
|
+
/* Generated by Opal 1.0.5 */
|
33183
33376
|
Opal.modules["parser/source/map/heredoc"] = function(Opal) {
|
33184
33377
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $send = Opal.send;
|
33185
33378
|
|
@@ -33216,7 +33409,7 @@ Opal.modules["parser/source/map/heredoc"] = function(Opal) {
|
|
33216
33409
|
})($nesting[0], $nesting)
|
33217
33410
|
};
|
33218
33411
|
|
33219
|
-
/* Generated by Opal 1.0.
|
33412
|
+
/* Generated by Opal 1.0.5 */
|
33220
33413
|
Opal.modules["parser/source/map/objc_kwarg"] = function(Opal) {
|
33221
33414
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $send = Opal.send;
|
33222
33415
|
|
@@ -33253,7 +33446,7 @@ Opal.modules["parser/source/map/objc_kwarg"] = function(Opal) {
|
|
33253
33446
|
})($nesting[0], $nesting)
|
33254
33447
|
};
|
33255
33448
|
|
33256
|
-
/* Generated by Opal 1.0.
|
33449
|
+
/* Generated by Opal 1.0.5 */
|
33257
33450
|
Opal.modules["parser/syntax_error"] = function(Opal) {
|
33258
33451
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $send = Opal.send;
|
33259
33452
|
|
@@ -33282,7 +33475,7 @@ Opal.modules["parser/syntax_error"] = function(Opal) {
|
|
33282
33475
|
})($nesting[0], $nesting)
|
33283
33476
|
};
|
33284
33477
|
|
33285
|
-
/* Generated by Opal 1.0.
|
33478
|
+
/* Generated by Opal 1.0.5 */
|
33286
33479
|
Opal.modules["parser/clobbering_error"] = function(Opal) {
|
33287
33480
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass;
|
33288
33481
|
|
@@ -33301,7 +33494,7 @@ Opal.modules["parser/clobbering_error"] = function(Opal) {
|
|
33301
33494
|
})($nesting[0], $nesting)
|
33302
33495
|
};
|
33303
33496
|
|
33304
|
-
/* Generated by Opal 1.0.
|
33497
|
+
/* Generated by Opal 1.0.5 */
|
33305
33498
|
Opal.modules["parser/diagnostic"] = function(Opal) {
|
33306
33499
|
function $rb_plus(lhs, rhs) {
|
33307
33500
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs + rhs : lhs['$+'](rhs);
|
@@ -33461,7 +33654,7 @@ Opal.modules["parser/diagnostic"] = function(Opal) {
|
|
33461
33654
|
})($nesting[0], $nesting)
|
33462
33655
|
};
|
33463
33656
|
|
33464
|
-
/* Generated by Opal 1.0.
|
33657
|
+
/* Generated by Opal 1.0.5 */
|
33465
33658
|
Opal.modules["parser/diagnostic/engine"] = function(Opal) {
|
33466
33659
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy;
|
33467
33660
|
|
@@ -33522,7 +33715,7 @@ Opal.modules["parser/diagnostic/engine"] = function(Opal) {
|
|
33522
33715
|
})($nesting[0], $nesting)
|
33523
33716
|
};
|
33524
33717
|
|
33525
|
-
/* Generated by Opal 1.0.
|
33718
|
+
/* Generated by Opal 1.0.5 */
|
33526
33719
|
Opal.modules["parser/static_environment"] = function(Opal) {
|
33527
33720
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass;
|
33528
33721
|
|
@@ -33596,7 +33789,7 @@ Opal.modules["parser/static_environment"] = function(Opal) {
|
|
33596
33789
|
})($nesting[0], $nesting)
|
33597
33790
|
};
|
33598
33791
|
|
33599
|
-
/* Generated by Opal 1.0.
|
33792
|
+
/* Generated by Opal 1.0.5 */
|
33600
33793
|
Opal.modules["parser/lexer"] = function(Opal) {
|
33601
33794
|
function $rb_minus(lhs, rhs) {
|
33602
33795
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
|
@@ -42528,7 +42721,7 @@ Opal.modules["parser/lexer"] = function(Opal) {
|
|
42528
42721
|
})($$($nesting, 'Parser'), null, $nesting)
|
42529
42722
|
};
|
42530
42723
|
|
42531
|
-
/* Generated by Opal 1.0.
|
42724
|
+
/* Generated by Opal 1.0.5 */
|
42532
42725
|
Opal.modules["parser/lexer/literal"] = function(Opal) {
|
42533
42726
|
function $rb_plus(lhs, rhs) {
|
42534
42727
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs + rhs : lhs['$+'](rhs);
|
@@ -42847,7 +43040,7 @@ Opal.modules["parser/lexer/literal"] = function(Opal) {
|
|
42847
43040
|
})($nesting[0], $nesting)
|
42848
43041
|
};
|
42849
43042
|
|
42850
|
-
/* Generated by Opal 1.0.
|
43043
|
+
/* Generated by Opal 1.0.5 */
|
42851
43044
|
Opal.modules["parser/lexer/stack_state"] = function(Opal) {
|
42852
43045
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy;
|
42853
43046
|
|
@@ -42931,7 +43124,7 @@ Opal.modules["parser/lexer/stack_state"] = function(Opal) {
|
|
42931
43124
|
})($nesting[0], $nesting)
|
42932
43125
|
};
|
42933
43126
|
|
42934
|
-
/* Generated by Opal 1.0.
|
43127
|
+
/* Generated by Opal 1.0.5 */
|
42935
43128
|
Opal.modules["parser/lexer/dedenter"] = function(Opal) {
|
42936
43129
|
function $rb_minus(lhs, rhs) {
|
42937
43130
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
|
@@ -43052,7 +43245,7 @@ Opal.modules["parser/lexer/dedenter"] = function(Opal) {
|
|
43052
43245
|
})($nesting[0], $nesting)
|
43053
43246
|
};
|
43054
43247
|
|
43055
|
-
/* Generated by Opal 1.0.
|
43248
|
+
/* Generated by Opal 1.0.5 */
|
43056
43249
|
Opal.modules["parser/lexer/max_numparam_stack"] = function(Opal) {
|
43057
43250
|
function $rb_ge(lhs, rhs) {
|
43058
43251
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs >= rhs : lhs['$>='](rhs);
|
@@ -43126,7 +43319,7 @@ Opal.modules["parser/lexer/max_numparam_stack"] = function(Opal) {
|
|
43126
43319
|
})($nesting[0], $nesting)
|
43127
43320
|
};
|
43128
43321
|
|
43129
|
-
/* Generated by Opal 1.0.
|
43322
|
+
/* Generated by Opal 1.0.5 */
|
43130
43323
|
Opal.modules["parser/builders/default"] = function(Opal) {
|
43131
43324
|
function $rb_minus(lhs, rhs) {
|
43132
43325
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
|
@@ -44866,7 +45059,7 @@ Opal.modules["parser/builders/default"] = function(Opal) {
|
|
44866
45059
|
})($nesting[0], $nesting)
|
44867
45060
|
};
|
44868
45061
|
|
44869
|
-
/* Generated by Opal 1.0.
|
45062
|
+
/* Generated by Opal 1.0.5 */
|
44870
45063
|
Opal.modules["parser/context"] = function(Opal) {
|
44871
45064
|
function $rb_gt(lhs, rhs) {
|
44872
45065
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs > rhs : lhs['$>'](rhs);
|
@@ -44958,7 +45151,7 @@ Opal.modules["parser/context"] = function(Opal) {
|
|
44958
45151
|
})($nesting[0], $nesting)
|
44959
45152
|
};
|
44960
45153
|
|
44961
|
-
/* Generated by Opal 1.0.
|
45154
|
+
/* Generated by Opal 1.0.5 */
|
44962
45155
|
Opal.modules["parser/base"] = function(Opal) {
|
44963
45156
|
function $rb_minus(lhs, rhs) {
|
44964
45157
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
|
@@ -45241,7 +45434,7 @@ Opal.modules["parser/base"] = function(Opal) {
|
|
45241
45434
|
})($nesting[0], $nesting)
|
45242
45435
|
};
|
45243
45436
|
|
45244
|
-
/* Generated by Opal 1.0.
|
45437
|
+
/* Generated by Opal 1.0.5 */
|
45245
45438
|
Opal.modules["parser/rewriter"] = function(Opal) {
|
45246
45439
|
function $rb_minus(lhs, rhs) {
|
45247
45440
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
|
@@ -45331,7 +45524,7 @@ Opal.modules["parser/rewriter"] = function(Opal) {
|
|
45331
45524
|
})($nesting[0], $nesting)
|
45332
45525
|
};
|
45333
45526
|
|
45334
|
-
/* Generated by Opal 1.0.
|
45527
|
+
/* Generated by Opal 1.0.5 */
|
45335
45528
|
Opal.modules["parser/tree_rewriter"] = function(Opal) {
|
45336
45529
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $hash2 = Opal.hash2, $hash = Opal.hash;
|
45337
45530
|
|
@@ -45404,7 +45597,7 @@ Opal.modules["parser/tree_rewriter"] = function(Opal) {
|
|
45404
45597
|
})($nesting[0], $nesting)
|
45405
45598
|
};
|
45406
45599
|
|
45407
|
-
/* Generated by Opal 1.0.
|
45600
|
+
/* Generated by Opal 1.0.5 */
|
45408
45601
|
Opal.modules["parser"] = function(Opal) {
|
45409
45602
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $truthy = Opal.truthy, $module = Opal.module;
|
45410
45603
|
|
@@ -45490,7 +45683,7 @@ Opal.modules["parser"] = function(Opal) {
|
|
45490
45683
|
})($nesting[0], $nesting);
|
45491
45684
|
};
|
45492
45685
|
|
45493
|
-
/* Generated by Opal 1.0.
|
45686
|
+
/* Generated by Opal 1.0.5 */
|
45494
45687
|
Opal.modules["parser/ruby25"] = function(Opal) {
|
45495
45688
|
function $rb_minus(lhs, rhs) {
|
45496
45689
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
|
@@ -49288,7 +49481,7 @@ Opal.modules["parser/ruby25"] = function(Opal) {
|
|
49288
49481
|
})($nesting[0], $nesting);
|
49289
49482
|
};
|
49290
49483
|
|
49291
|
-
/* Generated by Opal 1.0.
|
49484
|
+
/* Generated by Opal 1.0.5 */
|
49292
49485
|
Opal.modules["opal/ast/builder"] = function(Opal) {
|
49293
49486
|
function $rb_minus(lhs, rhs) {
|
49294
49487
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
|
@@ -49329,7 +49522,7 @@ Opal.modules["opal/ast/builder"] = function(Opal) {
|
|
49329
49522
|
})($nesting[0], $nesting);
|
49330
49523
|
};
|
49331
49524
|
|
49332
|
-
/* Generated by Opal 1.0.
|
49525
|
+
/* Generated by Opal 1.0.5 */
|
49333
49526
|
Opal.modules["opal/rewriters/base"] = function(Opal) {
|
49334
49527
|
function $rb_plus(lhs, rhs) {
|
49335
49528
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs + rhs : lhs['$+'](rhs);
|
@@ -49526,7 +49719,7 @@ Opal.modules["opal/rewriters/base"] = function(Opal) {
|
|
49526
49719
|
})($nesting[0], $nesting);
|
49527
49720
|
};
|
49528
49721
|
|
49529
|
-
/* Generated by Opal 1.0.
|
49722
|
+
/* Generated by Opal 1.0.5 */
|
49530
49723
|
Opal.modules["opal/rewriters/opal_engine_check"] = function(Opal) {
|
49531
49724
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy;
|
49532
49725
|
|
@@ -49582,7 +49775,7 @@ Opal.modules["opal/rewriters/opal_engine_check"] = function(Opal) {
|
|
49582
49775
|
})($nesting[0], $nesting);
|
49583
49776
|
};
|
49584
49777
|
|
49585
|
-
/* Generated by Opal 1.0.
|
49778
|
+
/* Generated by Opal 1.0.5 */
|
49586
49779
|
Opal.modules["opal/rewriters/for_rewriter"] = function(Opal) {
|
49587
49780
|
function $rb_plus(lhs, rhs) {
|
49588
49781
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs + rhs : lhs['$+'](rhs);
|
@@ -49687,7 +49880,7 @@ Opal.modules["opal/rewriters/for_rewriter"] = function(Opal) {
|
|
49687
49880
|
})($nesting[0], $nesting);
|
49688
49881
|
};
|
49689
49882
|
|
49690
|
-
/* Generated by Opal 1.0.
|
49883
|
+
/* Generated by Opal 1.0.5 */
|
49691
49884
|
Opal.modules["opal/rewriters/explicit_writer_return"] = function(Opal) {
|
49692
49885
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy, $send = Opal.send;
|
49693
49886
|
|
@@ -49760,7 +49953,7 @@ Opal.modules["opal/rewriters/explicit_writer_return"] = function(Opal) {
|
|
49760
49953
|
})($nesting[0], $nesting);
|
49761
49954
|
};
|
49762
49955
|
|
49763
|
-
/* Generated by Opal 1.0.
|
49956
|
+
/* Generated by Opal 1.0.5 */
|
49764
49957
|
Opal.modules["opal/rewriters/js_reserved_words"] = function(Opal) {
|
49765
49958
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy, $range = Opal.range, $send = Opal.send, $hash2 = Opal.hash2;
|
49766
49959
|
|
@@ -49899,7 +50092,7 @@ Opal.modules["opal/rewriters/js_reserved_words"] = function(Opal) {
|
|
49899
50092
|
})($nesting[0], $nesting);
|
49900
50093
|
};
|
49901
50094
|
|
49902
|
-
/* Generated by Opal 1.0.
|
50095
|
+
/* Generated by Opal 1.0.5 */
|
49903
50096
|
Opal.modules["opal/rewriters/block_to_iter"] = function(Opal) {
|
49904
50097
|
function $rb_plus(lhs, rhs) {
|
49905
50098
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs + rhs : lhs['$+'](rhs);
|
@@ -49942,7 +50135,7 @@ Opal.modules["opal/rewriters/block_to_iter"] = function(Opal) {
|
|
49942
50135
|
})($nesting[0], $nesting);
|
49943
50136
|
};
|
49944
50137
|
|
49945
|
-
/* Generated by Opal 1.0.
|
50138
|
+
/* Generated by Opal 1.0.5 */
|
49946
50139
|
Opal.modules["opal/rewriters/dot_js_syntax"] = function(Opal) {
|
49947
50140
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy, $send = Opal.send;
|
49948
50141
|
|
@@ -50023,7 +50216,7 @@ Opal.modules["opal/rewriters/dot_js_syntax"] = function(Opal) {
|
|
50023
50216
|
})($nesting[0], $nesting);
|
50024
50217
|
};
|
50025
50218
|
|
50026
|
-
/* Generated by Opal 1.0.
|
50219
|
+
/* Generated by Opal 1.0.5 */
|
50027
50220
|
Opal.modules["opal/rewriters/logical_operator_assignment"] = function(Opal) {
|
50028
50221
|
function $rb_plus(lhs, rhs) {
|
50029
50222
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs + rhs : lhs['$+'](rhs);
|
@@ -50187,7 +50380,7 @@ Opal.modules["opal/rewriters/logical_operator_assignment"] = function(Opal) {
|
|
50187
50380
|
})($nesting[0], $nesting);
|
50188
50381
|
};
|
50189
50382
|
|
50190
|
-
/* Generated by Opal 1.0.
|
50383
|
+
/* Generated by Opal 1.0.5 */
|
50191
50384
|
Opal.modules["opal/rewriters/binary_operator_assignment"] = function(Opal) {
|
50192
50385
|
function $rb_plus(lhs, rhs) {
|
50193
50386
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs + rhs : lhs['$+'](rhs);
|
@@ -50335,7 +50528,7 @@ Opal.modules["opal/rewriters/binary_operator_assignment"] = function(Opal) {
|
|
50335
50528
|
})($nesting[0], $nesting);
|
50336
50529
|
};
|
50337
50530
|
|
50338
|
-
/* Generated by Opal 1.0.
|
50531
|
+
/* Generated by Opal 1.0.5 */
|
50339
50532
|
Opal.modules["opal/rewriters/hashes/key_duplicates_rewriter"] = function(Opal) {
|
50340
50533
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $send = Opal.send, $truthy = Opal.truthy;
|
50341
50534
|
|
@@ -50441,7 +50634,7 @@ Opal.modules["opal/rewriters/hashes/key_duplicates_rewriter"] = function(Opal) {
|
|
50441
50634
|
})($nesting[0], $nesting);
|
50442
50635
|
};
|
50443
50636
|
|
50444
|
-
/* Generated by Opal 1.0.
|
50637
|
+
/* Generated by Opal 1.0.5 */
|
50445
50638
|
Opal.modules["opal/rewriters/dump_args"] = function(Opal) {
|
50446
50639
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $send = Opal.send, $hash2 = Opal.hash2;
|
50447
50640
|
|
@@ -50498,7 +50691,7 @@ Opal.modules["opal/rewriters/dump_args"] = function(Opal) {
|
|
50498
50691
|
})($nesting[0], $nesting);
|
50499
50692
|
};
|
50500
50693
|
|
50501
|
-
/* Generated by Opal 1.0.
|
50694
|
+
/* Generated by Opal 1.0.5 */
|
50502
50695
|
Opal.modules["opal/rewriters/mlhs_args"] = function(Opal) {
|
50503
50696
|
function $rb_plus(lhs, rhs) {
|
50504
50697
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs + rhs : lhs['$+'](rhs);
|
@@ -50668,7 +50861,7 @@ Opal.modules["opal/rewriters/mlhs_args"] = function(Opal) {
|
|
50668
50861
|
})($nesting[0], $nesting);
|
50669
50862
|
};
|
50670
50863
|
|
50671
|
-
/* Generated by Opal 1.0.
|
50864
|
+
/* Generated by Opal 1.0.5 */
|
50672
50865
|
Opal.modules["opal/rewriters/arguments"] = function(Opal) {
|
50673
50866
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $send = Opal.send, $truthy = Opal.truthy;
|
50674
50867
|
|
@@ -50756,7 +50949,7 @@ Opal.modules["opal/rewriters/arguments"] = function(Opal) {
|
|
50756
50949
|
})($nesting[0], $nesting)
|
50757
50950
|
};
|
50758
50951
|
|
50759
|
-
/* Generated by Opal 1.0.
|
50952
|
+
/* Generated by Opal 1.0.5 */
|
50760
50953
|
Opal.modules["opal/rewriters/inline_args"] = function(Opal) {
|
50761
50954
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $send = Opal.send, $truthy = Opal.truthy, $hash2 = Opal.hash2;
|
50762
50955
|
|
@@ -51047,7 +51240,7 @@ Opal.modules["opal/rewriters/inline_args"] = function(Opal) {
|
|
51047
51240
|
})($nesting[0], $nesting);
|
51048
51241
|
};
|
51049
51242
|
|
51050
|
-
/* Generated by Opal 1.0.
|
51243
|
+
/* Generated by Opal 1.0.5 */
|
51051
51244
|
Opal.modules["opal/rewriter"] = function(Opal) {
|
51052
51245
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy, $send = Opal.send;
|
51053
51246
|
|
@@ -51164,7 +51357,7 @@ Opal.modules["opal/rewriter"] = function(Opal) {
|
|
51164
51357
|
})($nesting[0], $nesting);
|
51165
51358
|
};
|
51166
51359
|
|
51167
|
-
/* Generated by Opal 1.0.
|
51360
|
+
/* Generated by Opal 1.0.5 */
|
51168
51361
|
Opal.modules["opal/parser/source_buffer"] = function(Opal) {
|
51169
51362
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy, $send = Opal.send;
|
51170
51363
|
|
@@ -51198,7 +51391,7 @@ Opal.modules["opal/parser/source_buffer"] = function(Opal) {
|
|
51198
51391
|
})($nesting[0], $nesting)
|
51199
51392
|
};
|
51200
51393
|
|
51201
|
-
/* Generated by Opal 1.0.
|
51394
|
+
/* Generated by Opal 1.0.5 */
|
51202
51395
|
Opal.modules["opal/parser/default_config"] = function(Opal) {
|
51203
51396
|
function $rb_minus(lhs, rhs) {
|
51204
51397
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
|
@@ -51324,7 +51517,7 @@ Opal.modules["opal/parser/default_config"] = function(Opal) {
|
|
51324
51517
|
})($nesting[0], $nesting)
|
51325
51518
|
};
|
51326
51519
|
|
51327
|
-
/* Generated by Opal 1.0.
|
51520
|
+
/* Generated by Opal 1.0.5 */
|
51328
51521
|
Opal.modules["opal/parser/with_ruby_lexer"] = function(Opal) {
|
51329
51522
|
function $rb_minus(lhs, rhs) {
|
51330
51523
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
|
@@ -51346,63 +51539,83 @@ Opal.modules["opal/parser/with_ruby_lexer"] = function(Opal) {
|
|
51346
51539
|
})($$$($$($nesting, 'Opal'), 'Parser'), $$$($$($nesting, 'Parser'), 'Ruby25'), $nesting)
|
51347
51540
|
};
|
51348
51541
|
|
51349
|
-
/* Generated by Opal 1.0.
|
51542
|
+
/* Generated by Opal 1.0.5 */
|
51350
51543
|
Opal.modules["opal/parser/patch"] = function(Opal) {
|
51351
51544
|
function $rb_plus(lhs, rhs) {
|
51352
51545
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs + rhs : lhs['$+'](rhs);
|
51353
51546
|
}
|
51354
51547
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $klass = Opal.klass, $truthy = Opal.truthy, $send = Opal.send;
|
51355
51548
|
|
51356
|
-
Opal.add_stubs(['$==', '$+', '$to_a', '$lines', '$end_with?', '$<<', '$map', '$chomp']);
|
51549
|
+
Opal.add_stubs(['$==', '$source', '$unpack', '$+', '$to_a', '$lines', '$end_with?', '$<<', '$map', '$chomp']);
|
51357
51550
|
if ($$($nesting, 'RUBY_ENGINE')['$==']("opal")) {
|
51358
51551
|
|
51552
|
+
(function($base, $super, $parent_nesting) {
|
51553
|
+
var self = $klass($base, $super, 'Lexer');
|
51554
|
+
|
51555
|
+
var $nesting = [self].concat($parent_nesting), $Lexer_source_buffer$eq$1;
|
51556
|
+
|
51557
|
+
self.$$prototype.source_buffer = nil;
|
51558
|
+
return (Opal.def(self, '$source_buffer=', $Lexer_source_buffer$eq$1 = function(source_buffer) {
|
51559
|
+
var self = this, source = nil;
|
51560
|
+
|
51561
|
+
|
51562
|
+
self.source_buffer = source_buffer;
|
51563
|
+
if ($truthy(self.source_buffer)) {
|
51564
|
+
|
51565
|
+
source = self.source_buffer.$source();
|
51566
|
+
return (self.source_pts = source.$unpack("U*"));
|
51567
|
+
} else {
|
51568
|
+
return (self.source_pts = nil)
|
51569
|
+
};
|
51570
|
+
}, $Lexer_source_buffer$eq$1.$$arity = 1), nil) && 'source_buffer='
|
51571
|
+
})($$($nesting, 'Parser'), null, $nesting);
|
51359
51572
|
(function($base, $super, $parent_nesting) {
|
51360
51573
|
var self = $klass($base, $super, 'Literal');
|
51361
51574
|
|
51362
|
-
var $nesting = [self].concat($parent_nesting), $Literal_extend_string$
|
51575
|
+
var $nesting = [self].concat($parent_nesting), $Literal_extend_string$2;
|
51363
51576
|
|
51364
51577
|
self.$$prototype.buffer_s = self.$$prototype.buffer = nil;
|
51365
51578
|
|
51366
51579
|
|
51367
51580
|
Opal.udef(self, '$' + "extend_string");;
|
51368
|
-
return (Opal.def(self, '$extend_string', $Literal_extend_string$
|
51581
|
+
return (Opal.def(self, '$extend_string', $Literal_extend_string$2 = function $$extend_string(string, ts, te) {
|
51369
51582
|
var $a, self = this;
|
51370
51583
|
|
51371
51584
|
|
51372
51585
|
self.buffer_s = ($truthy($a = self.buffer_s) ? $a : ts);
|
51373
51586
|
self.buffer_e = te;
|
51374
51587
|
return (self.buffer = $rb_plus(self.buffer, string));
|
51375
|
-
}, $Literal_extend_string$
|
51588
|
+
}, $Literal_extend_string$2.$$arity = 3), nil) && 'extend_string';
|
51376
51589
|
})($$$($$($nesting, 'Parser'), 'Lexer'), null, $nesting);
|
51377
51590
|
return (function($base, $super, $parent_nesting) {
|
51378
51591
|
var self = $klass($base, $super, 'Buffer');
|
51379
51592
|
|
51380
|
-
var $nesting = [self].concat($parent_nesting), $Buffer_source_lines$
|
51593
|
+
var $nesting = [self].concat($parent_nesting), $Buffer_source_lines$3;
|
51381
51594
|
|
51382
51595
|
self.$$prototype.lines = self.$$prototype.source = nil;
|
51383
|
-
return (Opal.def(self, '$source_lines', $Buffer_source_lines$
|
51384
|
-
var $a, $$
|
51596
|
+
return (Opal.def(self, '$source_lines', $Buffer_source_lines$3 = function $$source_lines() {
|
51597
|
+
var $a, $$4, self = this, lines = nil;
|
51385
51598
|
|
51386
51599
|
return (self.lines = ($truthy($a = self.lines) ? $a : ((lines = self.source.$lines().$to_a()), (function() {if ($truthy(self.source['$end_with?']("\n"))) {
|
51387
51600
|
return lines['$<<']("")
|
51388
51601
|
} else {
|
51389
51602
|
return nil
|
51390
|
-
}; return nil; })(), $send(lines, 'map', [], ($$
|
51603
|
+
}; return nil; })(), $send(lines, 'map', [], ($$4 = function(line){var self = $$4.$$s || this;
|
51391
51604
|
|
51392
51605
|
|
51393
51606
|
|
51394
51607
|
if (line == null) {
|
51395
51608
|
line = nil;
|
51396
51609
|
};
|
51397
|
-
return line.$chomp("\n");}, $$
|
51398
|
-
}, $Buffer_source_lines$
|
51610
|
+
return line.$chomp("\n");}, $$4.$$s = self, $$4.$$arity = 1, $$4)))))
|
51611
|
+
}, $Buffer_source_lines$3.$$arity = 0), nil) && 'source_lines'
|
51399
51612
|
})($$$($$($nesting, 'Parser'), 'Source'), null, $nesting);
|
51400
51613
|
} else {
|
51401
51614
|
return nil
|
51402
51615
|
}
|
51403
51616
|
};
|
51404
51617
|
|
51405
|
-
/* Generated by Opal 1.0.
|
51618
|
+
/* Generated by Opal 1.0.5 */
|
51406
51619
|
Opal.modules["opal/parser"] = function(Opal) {
|
51407
51620
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice;
|
51408
51621
|
|
@@ -51420,7 +51633,7 @@ Opal.modules["opal/parser"] = function(Opal) {
|
|
51420
51633
|
};
|
51421
51634
|
};
|
51422
51635
|
|
51423
|
-
/* Generated by Opal 1.0.
|
51636
|
+
/* Generated by Opal 1.0.5 */
|
51424
51637
|
Opal.modules["opal/fragment"] = function(Opal) {
|
51425
51638
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy;
|
51426
51639
|
|
@@ -51496,7 +51709,7 @@ Opal.modules["opal/fragment"] = function(Opal) {
|
|
51496
51709
|
})($nesting[0], $nesting)
|
51497
51710
|
};
|
51498
51711
|
|
51499
|
-
/* Generated by Opal 1.0.
|
51712
|
+
/* Generated by Opal 1.0.5 */
|
51500
51713
|
Opal.modules["opal/nodes/helpers"] = function(Opal) {
|
51501
51714
|
function $rb_plus(lhs, rhs) {
|
51502
51715
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs + rhs : lhs['$+'](rhs);
|
@@ -51642,7 +51855,7 @@ Opal.modules["opal/nodes/helpers"] = function(Opal) {
|
|
51642
51855
|
})($nesting[0], $nesting);
|
51643
51856
|
};
|
51644
51857
|
|
51645
|
-
/* Generated by Opal 1.0.
|
51858
|
+
/* Generated by Opal 1.0.5 */
|
51646
51859
|
Opal.modules["opal/nodes/base"] = function(Opal) {
|
51647
51860
|
function $rb_minus(lhs, rhs) {
|
51648
51861
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
|
@@ -52006,7 +52219,7 @@ Opal.modules["opal/nodes/base"] = function(Opal) {
|
|
52006
52219
|
})($nesting[0], $nesting);
|
52007
52220
|
};
|
52008
52221
|
|
52009
|
-
/* Generated by Opal 1.0.
|
52222
|
+
/* Generated by Opal 1.0.5 */
|
52010
52223
|
Opal.modules["opal/nodes/literal"] = function(Opal) {
|
52011
52224
|
function $rb_plus(lhs, rhs) {
|
52012
52225
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs + rhs : lhs['$+'](rhs);
|
@@ -52453,7 +52666,7 @@ Opal.modules["opal/nodes/literal"] = function(Opal) {
|
|
52453
52666
|
})($nesting[0], $nesting);
|
52454
52667
|
};
|
52455
52668
|
|
52456
|
-
/* Generated by Opal 1.0.
|
52669
|
+
/* Generated by Opal 1.0.5 */
|
52457
52670
|
Opal.modules["opal/nodes/variables"] = function(Opal) {
|
52458
52671
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy, $send = Opal.send, $range = Opal.range;
|
52459
52672
|
|
@@ -52783,7 +52996,7 @@ Opal.modules["opal/nodes/variables"] = function(Opal) {
|
|
52783
52996
|
})($nesting[0], $nesting);
|
52784
52997
|
};
|
52785
52998
|
|
52786
|
-
/* Generated by Opal 1.0.
|
52999
|
+
/* Generated by Opal 1.0.5 */
|
52787
53000
|
Opal.modules["opal/nodes/constants"] = function(Opal) {
|
52788
53001
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy;
|
52789
53002
|
|
@@ -52864,7 +53077,7 @@ Opal.modules["opal/nodes/constants"] = function(Opal) {
|
|
52864
53077
|
})($nesting[0], $nesting);
|
52865
53078
|
};
|
52866
53079
|
|
52867
|
-
/* Generated by Opal 1.0.
|
53080
|
+
/* Generated by Opal 1.0.5 */
|
52868
53081
|
Opal.modules["pathname"] = function(Opal) {
|
52869
53082
|
function $rb_plus(lhs, rhs) {
|
52870
53083
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs + rhs : lhs['$+'](rhs);
|
@@ -53241,7 +53454,7 @@ Opal.modules["pathname"] = function(Opal) {
|
|
53241
53454
|
})($nesting[0], $nesting);
|
53242
53455
|
};
|
53243
53456
|
|
53244
|
-
/* Generated by Opal 1.0.
|
53457
|
+
/* Generated by Opal 1.0.5 */
|
53245
53458
|
Opal.modules["opal/nodes/runtime_helpers"] = function(Opal) {
|
53246
53459
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $send = Opal.send, $truthy = Opal.truthy;
|
53247
53460
|
|
@@ -53323,7 +53536,7 @@ Opal.modules["opal/nodes/runtime_helpers"] = function(Opal) {
|
|
53323
53536
|
})($nesting[0], $nesting);
|
53324
53537
|
};
|
53325
53538
|
|
53326
|
-
/* Generated by Opal 1.0.
|
53539
|
+
/* Generated by Opal 1.0.5 */
|
53327
53540
|
Opal.modules["opal/rewriters/break_finder"] = function(Opal) {
|
53328
53541
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass;
|
53329
53542
|
|
@@ -53384,7 +53597,7 @@ Opal.modules["opal/rewriters/break_finder"] = function(Opal) {
|
|
53384
53597
|
})($nesting[0], $nesting);
|
53385
53598
|
};
|
53386
53599
|
|
53387
|
-
/* Generated by Opal 1.0.
|
53600
|
+
/* Generated by Opal 1.0.5 */
|
53388
53601
|
Opal.modules["opal/nodes/call"] = function(Opal) {
|
53389
53602
|
function $rb_minus(lhs, rhs) {
|
53390
53603
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
|
@@ -53902,7 +54115,7 @@ Opal.modules["opal/nodes/call"] = function(Opal) {
|
|
53902
54115
|
})($nesting[0], $nesting);
|
53903
54116
|
};
|
53904
54117
|
|
53905
|
-
/* Generated by Opal 1.0.
|
54118
|
+
/* Generated by Opal 1.0.5 */
|
53906
54119
|
Opal.modules["opal/nodes/csend"] = function(Opal) {
|
53907
54120
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $send = Opal.send;
|
53908
54121
|
|
@@ -53949,7 +54162,7 @@ Opal.modules["opal/nodes/csend"] = function(Opal) {
|
|
53949
54162
|
})($nesting[0], $nesting);
|
53950
54163
|
};
|
53951
54164
|
|
53952
|
-
/* Generated by Opal 1.0.
|
54165
|
+
/* Generated by Opal 1.0.5 */
|
53953
54166
|
Opal.modules["opal/nodes/call_special"] = function(Opal) {
|
53954
54167
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $send = Opal.send, $truthy = Opal.truthy;
|
53955
54168
|
|
@@ -54066,7 +54279,7 @@ Opal.modules["opal/nodes/call_special"] = function(Opal) {
|
|
54066
54279
|
})($nesting[0], $nesting);
|
54067
54280
|
};
|
54068
54281
|
|
54069
|
-
/* Generated by Opal 1.0.
|
54282
|
+
/* Generated by Opal 1.0.5 */
|
54070
54283
|
Opal.modules["opal/nodes/scope"] = function(Opal) {
|
54071
54284
|
function $rb_minus(lhs, rhs) {
|
54072
54285
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
|
@@ -54509,7 +54722,7 @@ Opal.modules["opal/nodes/scope"] = function(Opal) {
|
|
54509
54722
|
})($nesting[0], $nesting);
|
54510
54723
|
};
|
54511
54724
|
|
54512
|
-
/* Generated by Opal 1.0.
|
54725
|
+
/* Generated by Opal 1.0.5 */
|
54513
54726
|
Opal.modules["opal/nodes/module"] = function(Opal) {
|
54514
54727
|
function $rb_minus(lhs, rhs) {
|
54515
54728
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
|
@@ -54576,7 +54789,7 @@ Opal.modules["opal/nodes/module"] = function(Opal) {
|
|
54576
54789
|
})($nesting[0], $nesting);
|
54577
54790
|
};
|
54578
54791
|
|
54579
|
-
/* Generated by Opal 1.0.
|
54792
|
+
/* Generated by Opal 1.0.5 */
|
54580
54793
|
Opal.modules["opal/nodes/class"] = function(Opal) {
|
54581
54794
|
function $rb_minus(lhs, rhs) {
|
54582
54795
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
|
@@ -54647,7 +54860,7 @@ Opal.modules["opal/nodes/class"] = function(Opal) {
|
|
54647
54860
|
})($nesting[0], $nesting);
|
54648
54861
|
};
|
54649
54862
|
|
54650
|
-
/* Generated by Opal 1.0.
|
54863
|
+
/* Generated by Opal 1.0.5 */
|
54651
54864
|
Opal.modules["opal/nodes/singleton_class"] = function(Opal) {
|
54652
54865
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $send = Opal.send;
|
54653
54866
|
|
@@ -54691,7 +54904,7 @@ Opal.modules["opal/nodes/singleton_class"] = function(Opal) {
|
|
54691
54904
|
})($nesting[0], $nesting);
|
54692
54905
|
};
|
54693
54906
|
|
54694
|
-
/* Generated by Opal 1.0.
|
54907
|
+
/* Generated by Opal 1.0.5 */
|
54695
54908
|
Opal.modules["opal/nodes/args/arg"] = function(Opal) {
|
54696
54909
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass;
|
54697
54910
|
|
@@ -54734,7 +54947,7 @@ Opal.modules["opal/nodes/args/arg"] = function(Opal) {
|
|
54734
54947
|
})($nesting[0], $nesting);
|
54735
54948
|
};
|
54736
54949
|
|
54737
|
-
/* Generated by Opal 1.0.
|
54950
|
+
/* Generated by Opal 1.0.5 */
|
54738
54951
|
Opal.modules["opal/nodes/args/arity_check"] = function(Opal) {
|
54739
54952
|
function $rb_minus(lhs, rhs) {
|
54740
54953
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
|
@@ -54977,7 +55190,7 @@ Opal.modules["opal/nodes/args/arity_check"] = function(Opal) {
|
|
54977
55190
|
})($nesting[0], $nesting);
|
54978
55191
|
};
|
54979
55192
|
|
54980
|
-
/* Generated by Opal 1.0.
|
55193
|
+
/* Generated by Opal 1.0.5 */
|
54981
55194
|
Opal.modules["opal/nodes/args/ensure_kwargs_are_kwargs"] = function(Opal) {
|
54982
55195
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass;
|
54983
55196
|
|
@@ -55023,7 +55236,7 @@ Opal.modules["opal/nodes/args/ensure_kwargs_are_kwargs"] = function(Opal) {
|
|
55023
55236
|
})($nesting[0], $nesting);
|
55024
55237
|
};
|
55025
55238
|
|
55026
|
-
/* Generated by Opal 1.0.
|
55239
|
+
/* Generated by Opal 1.0.5 */
|
55027
55240
|
Opal.modules["opal/nodes/args/extract_block_arg"] = function(Opal) {
|
55028
55241
|
function $rb_minus(lhs, rhs) {
|
55029
55242
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
|
@@ -55078,7 +55291,7 @@ Opal.modules["opal/nodes/args/extract_block_arg"] = function(Opal) {
|
|
55078
55291
|
})($nesting[0], $nesting);
|
55079
55292
|
};
|
55080
55293
|
|
55081
|
-
/* Generated by Opal 1.0.
|
55294
|
+
/* Generated by Opal 1.0.5 */
|
55082
55295
|
Opal.modules["opal/nodes/args/extract_kwarg"] = function(Opal) {
|
55083
55296
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass;
|
55084
55297
|
|
@@ -55127,7 +55340,7 @@ Opal.modules["opal/nodes/args/extract_kwarg"] = function(Opal) {
|
|
55127
55340
|
})($nesting[0], $nesting);
|
55128
55341
|
};
|
55129
55342
|
|
55130
|
-
/* Generated by Opal 1.0.
|
55343
|
+
/* Generated by Opal 1.0.5 */
|
55131
55344
|
Opal.modules["opal/nodes/args/extract_kwargs"] = function(Opal) {
|
55132
55345
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass;
|
55133
55346
|
|
@@ -55169,7 +55382,7 @@ Opal.modules["opal/nodes/args/extract_kwargs"] = function(Opal) {
|
|
55169
55382
|
})($nesting[0], $nesting);
|
55170
55383
|
};
|
55171
55384
|
|
55172
|
-
/* Generated by Opal 1.0.
|
55385
|
+
/* Generated by Opal 1.0.5 */
|
55173
55386
|
Opal.modules["opal/nodes/args/extract_kwoptarg"] = function(Opal) {
|
55174
55387
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass;
|
55175
55388
|
|
@@ -55220,7 +55433,7 @@ Opal.modules["opal/nodes/args/extract_kwoptarg"] = function(Opal) {
|
|
55220
55433
|
})($nesting[0], $nesting);
|
55221
55434
|
};
|
55222
55435
|
|
55223
|
-
/* Generated by Opal 1.0.
|
55436
|
+
/* Generated by Opal 1.0.5 */
|
55224
55437
|
Opal.modules["opal/nodes/args/extract_kwrestarg"] = function(Opal) {
|
55225
55438
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy, $send = Opal.send;
|
55226
55439
|
|
@@ -55282,7 +55495,7 @@ Opal.modules["opal/nodes/args/extract_kwrestarg"] = function(Opal) {
|
|
55282
55495
|
})($nesting[0], $nesting);
|
55283
55496
|
};
|
55284
55497
|
|
55285
|
-
/* Generated by Opal 1.0.
|
55498
|
+
/* Generated by Opal 1.0.5 */
|
55286
55499
|
Opal.modules["opal/nodes/args/extract_optarg"] = function(Opal) {
|
55287
55500
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass;
|
55288
55501
|
|
@@ -55328,7 +55541,7 @@ Opal.modules["opal/nodes/args/extract_optarg"] = function(Opal) {
|
|
55328
55541
|
})($nesting[0], $nesting);
|
55329
55542
|
};
|
55330
55543
|
|
55331
|
-
/* Generated by Opal 1.0.
|
55544
|
+
/* Generated by Opal 1.0.5 */
|
55332
55545
|
Opal.modules["opal/nodes/args/extract_post_arg"] = function(Opal) {
|
55333
55546
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass;
|
55334
55547
|
|
@@ -55375,7 +55588,7 @@ Opal.modules["opal/nodes/args/extract_post_arg"] = function(Opal) {
|
|
55375
55588
|
})($nesting[0], $nesting);
|
55376
55589
|
};
|
55377
55590
|
|
55378
|
-
/* Generated by Opal 1.0.
|
55591
|
+
/* Generated by Opal 1.0.5 */
|
55379
55592
|
Opal.modules["opal/nodes/args/extract_post_optarg"] = function(Opal) {
|
55380
55593
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass;
|
55381
55594
|
|
@@ -55426,7 +55639,7 @@ Opal.modules["opal/nodes/args/extract_post_optarg"] = function(Opal) {
|
|
55426
55639
|
})($nesting[0], $nesting);
|
55427
55640
|
};
|
55428
55641
|
|
55429
|
-
/* Generated by Opal 1.0.
|
55642
|
+
/* Generated by Opal 1.0.5 */
|
55430
55643
|
Opal.modules["opal/nodes/args/extract_restarg"] = function(Opal) {
|
55431
55644
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy;
|
55432
55645
|
|
@@ -55479,7 +55692,7 @@ Opal.modules["opal/nodes/args/extract_restarg"] = function(Opal) {
|
|
55479
55692
|
})($nesting[0], $nesting);
|
55480
55693
|
};
|
55481
55694
|
|
55482
|
-
/* Generated by Opal 1.0.
|
55695
|
+
/* Generated by Opal 1.0.5 */
|
55483
55696
|
Opal.modules["opal/nodes/args/fake_arg"] = function(Opal) {
|
55484
55697
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass;
|
55485
55698
|
|
@@ -55522,7 +55735,7 @@ Opal.modules["opal/nodes/args/fake_arg"] = function(Opal) {
|
|
55522
55735
|
})($nesting[0], $nesting);
|
55523
55736
|
};
|
55524
55737
|
|
55525
|
-
/* Generated by Opal 1.0.
|
55738
|
+
/* Generated by Opal 1.0.5 */
|
55526
55739
|
Opal.modules["opal/nodes/args/initialize_iterarg"] = function(Opal) {
|
55527
55740
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass;
|
55528
55741
|
|
@@ -55566,7 +55779,7 @@ Opal.modules["opal/nodes/args/initialize_iterarg"] = function(Opal) {
|
|
55566
55779
|
})($nesting[0], $nesting);
|
55567
55780
|
};
|
55568
55781
|
|
55569
|
-
/* Generated by Opal 1.0.
|
55782
|
+
/* Generated by Opal 1.0.5 */
|
55570
55783
|
Opal.modules["opal/nodes/args/initialize_shadowarg"] = function(Opal) {
|
55571
55784
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass;
|
55572
55785
|
|
@@ -55610,7 +55823,7 @@ Opal.modules["opal/nodes/args/initialize_shadowarg"] = function(Opal) {
|
|
55610
55823
|
})($nesting[0], $nesting);
|
55611
55824
|
};
|
55612
55825
|
|
55613
|
-
/* Generated by Opal 1.0.
|
55826
|
+
/* Generated by Opal 1.0.5 */
|
55614
55827
|
Opal.modules["opal/nodes/args/parameters"] = function(Opal) {
|
55615
55828
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $send = Opal.send, $truthy = Opal.truthy;
|
55616
55829
|
|
@@ -55739,7 +55952,7 @@ Opal.modules["opal/nodes/args/parameters"] = function(Opal) {
|
|
55739
55952
|
})($nesting[0], $nesting)
|
55740
55953
|
};
|
55741
55954
|
|
55742
|
-
/* Generated by Opal 1.0.
|
55955
|
+
/* Generated by Opal 1.0.5 */
|
55743
55956
|
Opal.modules["opal/nodes/args/prepare_post_args"] = function(Opal) {
|
55744
55957
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass;
|
55745
55958
|
|
@@ -55782,7 +55995,7 @@ Opal.modules["opal/nodes/args/prepare_post_args"] = function(Opal) {
|
|
55782
55995
|
})($nesting[0], $nesting);
|
55783
55996
|
};
|
55784
55997
|
|
55785
|
-
/* Generated by Opal 1.0.
|
55998
|
+
/* Generated by Opal 1.0.5 */
|
55786
55999
|
Opal.modules["opal/nodes/args"] = function(Opal) {
|
55787
56000
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $send = Opal.send, $truthy = Opal.truthy;
|
55788
56001
|
|
@@ -55846,7 +56059,7 @@ Opal.modules["opal/nodes/args"] = function(Opal) {
|
|
55846
56059
|
})($nesting[0], $nesting);
|
55847
56060
|
};
|
55848
56061
|
|
55849
|
-
/* Generated by Opal 1.0.
|
56062
|
+
/* Generated by Opal 1.0.5 */
|
55850
56063
|
Opal.modules["opal/nodes/node_with_args"] = function(Opal) {
|
55851
56064
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $send = Opal.send, $truthy = Opal.truthy;
|
55852
56065
|
|
@@ -55929,7 +56142,7 @@ Opal.modules["opal/nodes/node_with_args"] = function(Opal) {
|
|
55929
56142
|
})($nesting[0], $nesting);
|
55930
56143
|
};
|
55931
56144
|
|
55932
|
-
/* Generated by Opal 1.0.
|
56145
|
+
/* Generated by Opal 1.0.5 */
|
55933
56146
|
Opal.modules["opal/nodes/iter"] = function(Opal) {
|
55934
56147
|
function $rb_minus(lhs, rhs) {
|
55935
56148
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
|
@@ -56086,7 +56299,7 @@ Opal.modules["opal/nodes/iter"] = function(Opal) {
|
|
56086
56299
|
})($nesting[0], $nesting);
|
56087
56300
|
};
|
56088
56301
|
|
56089
|
-
/* Generated by Opal 1.0.
|
56302
|
+
/* Generated by Opal 1.0.5 */
|
56090
56303
|
Opal.modules["opal/nodes/def"] = function(Opal) {
|
56091
56304
|
function $rb_minus(lhs, rhs) {
|
56092
56305
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
|
@@ -56232,7 +56445,7 @@ Opal.modules["opal/nodes/def"] = function(Opal) {
|
|
56232
56445
|
})($nesting[0], $nesting);
|
56233
56446
|
};
|
56234
56447
|
|
56235
|
-
/* Generated by Opal 1.0.
|
56448
|
+
/* Generated by Opal 1.0.5 */
|
56236
56449
|
Opal.modules["opal/nodes/defs"] = function(Opal) {
|
56237
56450
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy;
|
56238
56451
|
|
@@ -56274,7 +56487,7 @@ Opal.modules["opal/nodes/defs"] = function(Opal) {
|
|
56274
56487
|
})($nesting[0], $nesting);
|
56275
56488
|
};
|
56276
56489
|
|
56277
|
-
/* Generated by Opal 1.0.
|
56490
|
+
/* Generated by Opal 1.0.5 */
|
56278
56491
|
Opal.modules["opal/nodes/if"] = function(Opal) {
|
56279
56492
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy, $send = Opal.send;
|
56280
56493
|
|
@@ -56388,7 +56601,7 @@ Opal.modules["opal/nodes/if"] = function(Opal) {
|
|
56388
56601
|
})($nesting[0], $nesting);
|
56389
56602
|
};
|
56390
56603
|
|
56391
|
-
/* Generated by Opal 1.0.
|
56604
|
+
/* Generated by Opal 1.0.5 */
|
56392
56605
|
Opal.modules["opal/nodes/logic"] = function(Opal) {
|
56393
56606
|
function $rb_minus(lhs, rhs) {
|
56394
56607
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
|
@@ -56786,7 +56999,7 @@ Opal.modules["opal/nodes/logic"] = function(Opal) {
|
|
56786
56999
|
})($nesting[0], $nesting);
|
56787
57000
|
};
|
56788
57001
|
|
56789
|
-
/* Generated by Opal 1.0.
|
57002
|
+
/* Generated by Opal 1.0.5 */
|
56790
57003
|
Opal.modules["opal/nodes/definitions"] = function(Opal) {
|
56791
57004
|
function $rb_gt(lhs, rhs) {
|
56792
57005
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs > rhs : lhs['$>'](rhs);
|
@@ -56956,7 +57169,7 @@ Opal.modules["opal/nodes/definitions"] = function(Opal) {
|
|
56956
57169
|
})($nesting[0], $nesting);
|
56957
57170
|
};
|
56958
57171
|
|
56959
|
-
/* Generated by Opal 1.0.
|
57172
|
+
/* Generated by Opal 1.0.5 */
|
56960
57173
|
Opal.modules["opal/nodes/yield"] = function(Opal) {
|
56961
57174
|
function $rb_minus(lhs, rhs) {
|
56962
57175
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
|
@@ -57071,7 +57284,7 @@ Opal.modules["opal/nodes/yield"] = function(Opal) {
|
|
57071
57284
|
})($nesting[0], $nesting);
|
57072
57285
|
};
|
57073
57286
|
|
57074
|
-
/* Generated by Opal 1.0.
|
57287
|
+
/* Generated by Opal 1.0.5 */
|
57075
57288
|
Opal.modules["opal/nodes/rescue"] = function(Opal) {
|
57076
57289
|
function $rb_minus(lhs, rhs) {
|
57077
57290
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
|
@@ -57347,7 +57560,7 @@ Opal.modules["opal/nodes/rescue"] = function(Opal) {
|
|
57347
57560
|
})($nesting[0], $nesting);
|
57348
57561
|
};
|
57349
57562
|
|
57350
|
-
/* Generated by Opal 1.0.
|
57563
|
+
/* Generated by Opal 1.0.5 */
|
57351
57564
|
Opal.modules["opal/nodes/case"] = function(Opal) {
|
57352
57565
|
function $rb_minus(lhs, rhs) {
|
57353
57566
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
|
@@ -57530,7 +57743,7 @@ Opal.modules["opal/nodes/case"] = function(Opal) {
|
|
57530
57743
|
})($nesting[0], $nesting);
|
57531
57744
|
};
|
57532
57745
|
|
57533
|
-
/* Generated by Opal 1.0.
|
57746
|
+
/* Generated by Opal 1.0.5 */
|
57534
57747
|
Opal.modules["opal/nodes/super"] = function(Opal) {
|
57535
57748
|
function $rb_minus(lhs, rhs) {
|
57536
57749
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
|
@@ -57814,7 +58027,7 @@ Opal.modules["opal/nodes/super"] = function(Opal) {
|
|
57814
58027
|
})($nesting[0], $nesting);
|
57815
58028
|
};
|
57816
58029
|
|
57817
|
-
/* Generated by Opal 1.0.
|
58030
|
+
/* Generated by Opal 1.0.5 */
|
57818
58031
|
Opal.modules["opal/version"] = function(Opal) {
|
57819
58032
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module;
|
57820
58033
|
|
@@ -57823,11 +58036,11 @@ Opal.modules["opal/version"] = function(Opal) {
|
|
57823
58036
|
|
57824
58037
|
var $nesting = [self].concat($parent_nesting);
|
57825
58038
|
|
57826
|
-
Opal.const_set($nesting[0], 'VERSION', "1.0.
|
58039
|
+
Opal.const_set($nesting[0], 'VERSION', "1.0.5")
|
57827
58040
|
})($nesting[0], $nesting)
|
57828
58041
|
};
|
57829
58042
|
|
57830
|
-
/* Generated by Opal 1.0.
|
58043
|
+
/* Generated by Opal 1.0.5 */
|
57831
58044
|
Opal.modules["opal/nodes/top"] = function(Opal) {
|
57832
58045
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $send = Opal.send, $truthy = Opal.truthy;
|
57833
58046
|
|
@@ -58007,7 +58220,7 @@ Opal.modules["opal/nodes/top"] = function(Opal) {
|
|
58007
58220
|
})($nesting[0], $nesting);
|
58008
58221
|
};
|
58009
58222
|
|
58010
|
-
/* Generated by Opal 1.0.
|
58223
|
+
/* Generated by Opal 1.0.5 */
|
58011
58224
|
Opal.modules["opal/nodes/while"] = function(Opal) {
|
58012
58225
|
function $rb_minus(lhs, rhs) {
|
58013
58226
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
|
@@ -58141,7 +58354,7 @@ Opal.modules["opal/nodes/while"] = function(Opal) {
|
|
58141
58354
|
})($nesting[0], $nesting);
|
58142
58355
|
};
|
58143
58356
|
|
58144
|
-
/* Generated by Opal 1.0.
|
58357
|
+
/* Generated by Opal 1.0.5 */
|
58145
58358
|
Opal.modules["opal/nodes/hash"] = function(Opal) {
|
58146
58359
|
function $rb_minus(lhs, rhs) {
|
58147
58360
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
|
@@ -58359,7 +58572,7 @@ Opal.modules["opal/nodes/hash"] = function(Opal) {
|
|
58359
58572
|
})($nesting[0], $nesting);
|
58360
58573
|
};
|
58361
58574
|
|
58362
|
-
/* Generated by Opal 1.0.
|
58575
|
+
/* Generated by Opal 1.0.5 */
|
58363
58576
|
Opal.modules["opal/nodes/array"] = function(Opal) {
|
58364
58577
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy, $send = Opal.send;
|
58365
58578
|
|
@@ -58442,7 +58655,7 @@ Opal.modules["opal/nodes/array"] = function(Opal) {
|
|
58442
58655
|
})($nesting[0], $nesting);
|
58443
58656
|
};
|
58444
58657
|
|
58445
|
-
/* Generated by Opal 1.0.
|
58658
|
+
/* Generated by Opal 1.0.5 */
|
58446
58659
|
Opal.modules["opal/nodes/defined"] = function(Opal) {
|
58447
58660
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy, $send = Opal.send, $range = Opal.range;
|
58448
58661
|
|
@@ -58709,7 +58922,7 @@ Opal.modules["opal/nodes/defined"] = function(Opal) {
|
|
58709
58922
|
})($nesting[0], $nesting);
|
58710
58923
|
};
|
58711
58924
|
|
58712
|
-
/* Generated by Opal 1.0.
|
58925
|
+
/* Generated by Opal 1.0.5 */
|
58713
58926
|
Opal.modules["opal/nodes/masgn"] = function(Opal) {
|
58714
58927
|
function $rb_ge(lhs, rhs) {
|
58715
58928
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs >= rhs : lhs['$>='](rhs);
|
@@ -58896,7 +59109,7 @@ Opal.modules["opal/nodes/masgn"] = function(Opal) {
|
|
58896
59109
|
})($nesting[0], $nesting);
|
58897
59110
|
};
|
58898
59111
|
|
58899
|
-
/* Generated by Opal 1.0.
|
59112
|
+
/* Generated by Opal 1.0.5 */
|
58900
59113
|
Opal.modules["opal/nodes/arglist"] = function(Opal) {
|
58901
59114
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $send = Opal.send, $truthy = Opal.truthy;
|
58902
59115
|
|
@@ -58977,7 +59190,7 @@ Opal.modules["opal/nodes/arglist"] = function(Opal) {
|
|
58977
59190
|
})($nesting[0], $nesting);
|
58978
59191
|
};
|
58979
59192
|
|
58980
|
-
/* Generated by Opal 1.0.
|
59193
|
+
/* Generated by Opal 1.0.5 */
|
58981
59194
|
Opal.modules["opal/nodes/x_string"] = function(Opal) {
|
58982
59195
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy, $send = Opal.send, $range = Opal.range, $lambda = Opal.lambda;
|
58983
59196
|
|
@@ -59144,7 +59357,7 @@ Opal.modules["opal/nodes/x_string"] = function(Opal) {
|
|
59144
59357
|
})($nesting[0], $nesting)
|
59145
59358
|
};
|
59146
59359
|
|
59147
|
-
/* Generated by Opal 1.0.
|
59360
|
+
/* Generated by Opal 1.0.5 */
|
59148
59361
|
Opal.modules["opal/nodes/lambda"] = function(Opal) {
|
59149
59362
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass;
|
59150
59363
|
|
@@ -59181,7 +59394,7 @@ Opal.modules["opal/nodes/lambda"] = function(Opal) {
|
|
59181
59394
|
})($nesting[0], $nesting);
|
59182
59395
|
};
|
59183
59396
|
|
59184
|
-
/* Generated by Opal 1.0.
|
59397
|
+
/* Generated by Opal 1.0.5 */
|
59185
59398
|
Opal.modules["opal/nodes"] = function(Opal) {
|
59186
59399
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice;
|
59187
59400
|
|
@@ -59220,7 +59433,7 @@ Opal.modules["opal/nodes"] = function(Opal) {
|
|
59220
59433
|
return self.$require("opal/nodes/lambda");
|
59221
59434
|
};
|
59222
59435
|
|
59223
|
-
/* Generated by Opal 1.0.
|
59436
|
+
/* Generated by Opal 1.0.5 */
|
59224
59437
|
Opal.modules["opal/eof_content"] = function(Opal) {
|
59225
59438
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy, $send = Opal.send, $range = Opal.range;
|
59226
59439
|
|
@@ -59289,7 +59502,7 @@ Opal.modules["opal/eof_content"] = function(Opal) {
|
|
59289
59502
|
})($nesting[0], $nesting)
|
59290
59503
|
};
|
59291
59504
|
|
59292
|
-
/* Generated by Opal 1.0.
|
59505
|
+
/* Generated by Opal 1.0.5 */
|
59293
59506
|
Opal.modules["opal/errors"] = function(Opal) {
|
59294
59507
|
function $rb_minus(lhs, rhs) {
|
59295
59508
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
|
@@ -59470,7 +59683,7 @@ Opal.modules["opal/errors"] = function(Opal) {
|
|
59470
59683
|
})($nesting[0], $nesting)
|
59471
59684
|
};
|
59472
59685
|
|
59473
|
-
/* Generated by Opal 1.0.
|
59686
|
+
/* Generated by Opal 1.0.5 */
|
59474
59687
|
Opal.modules["opal/compiler"] = function(Opal) {
|
59475
59688
|
function $rb_minus(lhs, rhs) {
|
59476
59689
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
|
@@ -59898,7 +60111,7 @@ Opal.modules["opal/compiler"] = function(Opal) {
|
|
59898
60111
|
})($nesting[0], $nesting);
|
59899
60112
|
};
|
59900
60113
|
|
59901
|
-
/* Generated by Opal 1.0.
|
60114
|
+
/* Generated by Opal 1.0.5 */
|
59902
60115
|
Opal.modules["opal/erb"] = function(Opal) {
|
59903
60116
|
function $rb_plus(lhs, rhs) {
|
59904
60117
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs + rhs : lhs['$+'](rhs);
|
@@ -60008,7 +60221,7 @@ Opal.modules["opal/erb"] = function(Opal) {
|
|
60008
60221
|
})($nesting[0], $nesting);
|
60009
60222
|
};
|
60010
60223
|
|
60011
|
-
/* Generated by Opal 1.0.
|
60224
|
+
/* Generated by Opal 1.0.5 */
|
60012
60225
|
Opal.modules["opal-parser"] = function(Opal) {
|
60013
60226
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $hash2 = Opal.hash2;
|
60014
60227
|
|
@@ -60087,7 +60300,7 @@ Opal.modules["opal-parser"] = function(Opal) {
|
|
60087
60300
|
;
|
60088
60301
|
};
|
60089
60302
|
|
60090
|
-
/* Generated by Opal 1.0.
|
60303
|
+
/* Generated by Opal 1.0.5 */
|
60091
60304
|
Opal.modules["singleton"] = function(Opal) {
|
60092
60305
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $send = Opal.send, $truthy = Opal.truthy;
|
60093
60306
|
|
@@ -60181,7 +60394,7 @@ Opal.modules["singleton"] = function(Opal) {
|
|
60181
60394
|
})($nesting[0], $nesting)
|
60182
60395
|
};
|
60183
60396
|
|
60184
|
-
/* Generated by Opal 1.0.
|
60397
|
+
/* Generated by Opal 1.0.5 */
|
60185
60398
|
Opal.modules["delegate"] = function(Opal) {
|
60186
60399
|
var $DelegateClass$5, self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $klass = Opal.klass, $truthy = Opal.truthy, $send = Opal.send;
|
60187
60400
|
|
@@ -60244,7 +60457,7 @@ Opal.modules["delegate"] = function(Opal) {
|
|
60244
60457
|
}, $DelegateClass$5.$$arity = 1), nil) && 'DelegateClass';
|
60245
60458
|
};
|
60246
60459
|
|
60247
|
-
/* Generated by Opal 1.0.
|
60460
|
+
/* Generated by Opal 1.0.5 */
|
60248
60461
|
Opal.modules["forwardable"] = function(Opal) {
|
60249
60462
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $send = Opal.send, $truthy = Opal.truthy;
|
60250
60463
|
|
@@ -60436,7 +60649,7 @@ Opal.modules["forwardable"] = function(Opal) {
|
|
60436
60649
|
})($nesting[0], $nesting);
|
60437
60650
|
};
|
60438
60651
|
|
60439
|
-
/* Generated by Opal 1.0.
|
60652
|
+
/* Generated by Opal 1.0.5 */
|
60440
60653
|
Opal.modules["pp"] = function(Opal) {
|
60441
60654
|
function $rb_le(lhs, rhs) {
|
60442
60655
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs <= rhs : lhs['$<='](rhs);
|
@@ -60538,7 +60751,7 @@ Opal.modules["pp"] = function(Opal) {
|
|
60538
60751
|
})($nesting[0], null, $nesting);
|
60539
60752
|
};
|
60540
60753
|
|
60541
|
-
/* Generated by Opal 1.0.
|
60754
|
+
/* Generated by Opal 1.0.5 */
|
60542
60755
|
Opal.modules["promise"] = function(Opal) {
|
60543
60756
|
function $rb_plus(lhs, rhs) {
|
60544
60757
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs + rhs : lhs['$+'](rhs);
|
@@ -61119,7 +61332,7 @@ Opal.modules["promise"] = function(Opal) {
|
|
61119
61332
|
})($nesting[0], null, $nesting)
|
61120
61333
|
};
|
61121
61334
|
|
61122
|
-
/* Generated by Opal 1.0.
|
61335
|
+
/* Generated by Opal 1.0.5 */
|
61123
61336
|
Opal.modules["time"] = function(Opal) {
|
61124
61337
|
var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $klass = Opal.klass;
|
61125
61338
|
|
@@ -61143,7 +61356,7 @@ Opal.modules["time"] = function(Opal) {
|
|
61143
61356
|
})($nesting[0], null, $nesting)
|
61144
61357
|
};
|
61145
61358
|
|
61146
|
-
/* Generated by Opal 1.0.
|
61359
|
+
/* Generated by Opal 1.0.5 */
|
61147
61360
|
Opal.modules["dxopal/patches/require_remote"] = function(Opal) {
|
61148
61361
|
var $require_remote$1, self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice;
|
61149
61362
|
|
@@ -61164,7 +61377,7 @@ Opal.modules["dxopal/patches/require_remote"] = function(Opal) {
|
|
61164
61377
|
}, $require_remote$1.$$arity = 1), nil) && 'require_remote';
|
61165
61378
|
};
|
61166
61379
|
|
61167
|
-
/* Generated by Opal 1.0.
|
61380
|
+
/* Generated by Opal 1.0.5 */
|
61168
61381
|
Opal.modules["dxopal/patches/require_dxopal"] = function(Opal) {
|
61169
61382
|
var $require$1, self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $send = Opal.send;
|
61170
61383
|
|
@@ -61193,7 +61406,7 @@ Opal.modules["dxopal/patches/require_dxopal"] = function(Opal) {
|
|
61193
61406
|
}, $require$1.$$arity = -1), nil) && 'require';
|
61194
61407
|
};
|
61195
61408
|
|
61196
|
-
/* Generated by Opal 1.0.
|
61409
|
+
/* Generated by Opal 1.0.5 */
|
61197
61410
|
(function(Opal) {
|
61198
61411
|
function $rb_minus(lhs, rhs) {
|
61199
61412
|
return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
|