dxopal 1.2.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b41a4ded00dc47826b9f2260c2858d0f2ac949d84152ff94caf559f04464b914
4
- data.tar.gz: 1f3a1fe4932bd83a323de0d2ec03cf86e2a426e4b076360aae586d7ad26f6c68
3
+ metadata.gz: 0c1743705f4820912e564d6a08765310561715a775b4e83cfd83c0537b63c889
4
+ data.tar.gz: f83619fd2ed2389fcc171ac14af8c5b9c9196c069a8ca02a8e93566fb6feec32
5
5
  SHA512:
6
- metadata.gz: 7b62b0900d1d6b92242957d05736d3b8a9c3a64b0bc758633fe64afb2e04d564396a1a14e3c0d033717a8420c3e9802a83fed30ab691e35a1e23f81994b5ebc9
7
- data.tar.gz: 7c7f20d6d926d3d0c1cfc0ee457b72d283ba18734a4db0d0ed3c4991bf23e695067ae12919bb90020e15270343cfd13356a7bf0bda6c25e9c8aae3fbf0738b49
6
+ metadata.gz: '019d8d740f9d56706365dc610d6880516f54b28628400ee4ad0a8b51f389b7a9dbcf947e9db9513b0fee9565f9a261541827e8b78441b73c5ba57d49da6c3d43'
7
+ data.tar.gz: 85892914a672e612fb3368d73875a7b385949152d5408faf2fdb3b53f7087c878e4db22cd7192d3cf7cbbf8d415cc5611ab1e6dcd34fcae8d3087dff0dc57711
@@ -1,3 +1,8 @@
1
+ ## v1.3.0 (2018-09-29)
2
+
3
+ - new: [Support blend mode `:add`](https://github.com/yhara/dxopal/pull/11)
4
+ - Update gems
5
+
1
6
  ## v1.2.0 (2018-05-16)
2
7
 
3
8
  - new: Support shift/ctrl key
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## Prerequisites
4
4
 
5
- - Ruby (tested with 2.3.3)
5
+ - Ruby (tested with 2.5.1)
6
6
  - Node.js (to minify .js)
7
7
 
8
8
  ## Setup
data/Gemfile CHANGED
@@ -1,2 +1,9 @@
1
1
  source 'https://rubygems.org'
2
- gemspec
2
+
3
+ gem 'opal' #, github: 'opal/opal'
4
+ gem 'opal-sprockets'
5
+ gem 'rake'
6
+ gem 'yard'
7
+ gem 'puma'
8
+
9
+ #gem 'dxopal', path: '.'
@@ -1,49 +1,39 @@
1
- PATH
2
- remote: .
3
- specs:
4
- dxopal (1.2.0.dev)
5
- opal (~> 0.11.0)
6
- rack (~> 2.0)
7
- thor (~> 0.19.1)
8
-
9
1
  GEM
10
2
  remote: https://rubygems.org/
11
3
  specs:
12
- ast (2.3.0)
4
+ ast (2.4.0)
13
5
  concurrent-ruby (1.0.5)
14
6
  hike (1.2.3)
15
- opal (0.11.0)
7
+ opal (0.11.3)
16
8
  ast (>= 2.3.0)
17
9
  hike (~> 1.2)
18
10
  parser (= 2.3.3.1)
19
11
  sourcemap (~> 0.1.0)
20
- opal-sprockets (0.4.1.0.11.0.3.1)
12
+ opal-sprockets (0.4.2.0.11.0.3.1)
21
13
  opal (~> 0.11.0)
22
14
  sprockets (~> 3.1)
23
15
  tilt (>= 1.4)
24
16
  parser (2.3.3.1)
25
17
  ast (~> 2.2)
26
- puma (3.11.2)
27
- rack (2.0.3)
28
- rake (10.5.0)
18
+ puma (3.12.0)
19
+ rack (2.0.5)
20
+ rake (12.3.1)
29
21
  sourcemap (0.1.1)
30
- sprockets (3.7.1)
22
+ sprockets (3.7.2)
31
23
  concurrent-ruby (~> 1.0)
32
24
  rack (> 1, < 3)
33
- thor (0.19.4)
34
25
  tilt (2.0.8)
35
- yard (0.9.12)
26
+ yard (0.9.16)
36
27
 
37
28
  PLATFORMS
38
29
  ruby
39
30
 
40
31
  DEPENDENCIES
41
- bundler (~> 1.14)
42
- dxopal!
43
- opal-sprockets (~> 0.4.1)
44
- puma (~> 3.11.2)
45
- rake (~> 10.0)
46
- yard (~> 0.9.12)
32
+ opal
33
+ opal-sprockets
34
+ puma
35
+ rake
36
+ yard
47
37
 
48
38
  BUNDLED WITH
49
39
  1.16.1
data/Rakefile CHANGED
@@ -41,7 +41,6 @@ namespace "release" do
41
41
 
42
42
  desc "Release gem"
43
43
  task :push_gem do
44
- sh "gem build dxopal.gemspec"
45
44
  sh "gem push dxopal-#{DXOpal::VERSION}.gem"
46
45
  end
47
46
 
@@ -57,7 +56,7 @@ end
57
56
 
58
57
  # How to make a release
59
58
  # 0. Edit opal/dxopal/version.rb
60
- # 1. Edit CHANGELOG.md
59
+ # 1. Add release date in CHANGELOG.md
61
60
  # 2. `rake release:make_release_commit`
62
61
  # 3. Test
63
62
  # - Open starter-kit/index.html in Firefox
data/TODO.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Compatibility to DXRuby
2
2
 
3
+ DXOpal has many of the DXRuby methods but some are not implemented yet. Pull Requests are welcome!
4
+
5
+ And if you are not sure how to implement, just create a issue to request them: https://github.com/yhara/dxopal/issues
6
+
3
7
  ## module Input
4
8
 
5
9
  - [ ] x - TODO: pad support
@@ -243,20 +247,20 @@ These methods will not be supported.
243
247
  - [x] y=
244
248
  - [x] z
245
249
  - [x] z=
246
- - [ ] angle
247
- - [ ] angle=
248
- - [ ] scale_x
249
- - [ ] scale_x=
250
- - [ ] scale_y
251
- - [ ] scale_y=
252
- - [ ] center_x
253
- - [ ] center_x=
254
- - [ ] center_y
255
- - [ ] center_y=
256
- - [ ] alpha
257
- - [ ] alpha=
258
- - [ ] blend
259
- - [ ] blend=
250
+ - [x] angle
251
+ - [x] angle=
252
+ - [x] scale_x
253
+ - [x] scale_x=
254
+ - [x] scale_y
255
+ - [x] scale_y=
256
+ - [x] center_x
257
+ - [x] center_x=
258
+ - [x] center_y
259
+ - [x] center_y=
260
+ - [x] alpha
261
+ - [x] alpha=
262
+ - [x] blend
263
+ - [ ] blend= (TODO: :none, :add2, :sub)
260
264
  - [ ] shader
261
265
  - [ ] shader=
262
266
  - [x] image
@@ -267,8 +271,8 @@ These methods will not be supported.
267
271
  - [x] collision=
268
272
  - [x] collision_enable
269
273
  - [x] collision_enable=
270
- - [ ] collision_sync
271
- - [ ] collision_sync=
274
+ - [x] collision_sync
275
+ - [x] collision_sync=
272
276
  - [x] visible
273
277
  - [x] visible=
274
278
  - [x] vanish
@@ -163,7 +163,7 @@
163
163
  // - nesting: the namespaces wrapping the current scope, e.g. nesting inside
164
164
  // `module A; module B::C; end; end` is `[B::C, A]`
165
165
 
166
- // Get the cosntant in the scope of the current cref
166
+ // Get the constant in the scope of the current cref
167
167
  function const_get_name(cref, name) {
168
168
  if (cref) return cref.$$const[name];
169
169
  }
@@ -2288,7 +2288,7 @@
2288
2288
  TypeError.$$super = Error;
2289
2289
  }).call(this);
2290
2290
  Opal.loaded(["corelib/runtime"]);
2291
- /* Generated by Opal 0.11.0 */
2291
+ /* Generated by Opal 0.11.3 */
2292
2292
  Opal.modules["corelib/helpers"] = function(Opal) {
2293
2293
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $truthy = Opal.truthy;
2294
2294
 
@@ -2454,10 +2454,13 @@ Opal.modules["corelib/helpers"] = function(Opal) {
2454
2454
  }
2455
2455
 
2456
2456
 
2457
- var method_name;
2457
+ var method_name, method;
2458
2458
  for (var i = method_names.length - 1; i >= 0; i--) {
2459
2459
  method_name = method_names[i];
2460
- owner_class.$$proto['$'+method_name].$$pristine = true
2460
+ method = owner_class.$$proto['$'+method_name];
2461
+ if (method && !method.$$stub) {
2462
+ method.$$pristine = true;
2463
+ }
2461
2464
  }
2462
2465
  ;
2463
2466
  return nil;
@@ -2465,7 +2468,7 @@ Opal.modules["corelib/helpers"] = function(Opal) {
2465
2468
  })($nesting[0], $nesting)
2466
2469
  };
2467
2470
 
2468
- /* Generated by Opal 0.11.0 */
2471
+ /* Generated by Opal 0.11.3 */
2469
2472
  Opal.modules["corelib/module"] = function(Opal) {
2470
2473
  function $rb_lt(lhs, rhs) {
2471
2474
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs < rhs : lhs['$<'](rhs);
@@ -3384,7 +3387,7 @@ if (o == null) o = nil;if (c == null) c = nil;
3384
3387
  })($nesting[0], null, $nesting)
3385
3388
  };
3386
3389
 
3387
- /* Generated by Opal 0.11.0 */
3390
+ /* Generated by Opal 0.11.3 */
3388
3391
  Opal.modules["corelib/class"] = function(Opal) {
3389
3392
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $klass = Opal.klass, $send = Opal.send;
3390
3393
 
@@ -3492,7 +3495,7 @@ Opal.modules["corelib/class"] = function(Opal) {
3492
3495
  })($nesting[0], null, $nesting);
3493
3496
  };
3494
3497
 
3495
- /* Generated by Opal 0.11.0 */
3498
+ /* Generated by Opal 0.11.3 */
3496
3499
  Opal.modules["corelib/basic_object"] = function(Opal) {
3497
3500
  function $rb_gt(lhs, rhs) {
3498
3501
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs > rhs : lhs['$>'](rhs);
@@ -3573,7 +3576,6 @@ Opal.modules["corelib/basic_object"] = function(Opal) {
3573
3576
 
3574
3577
  return self['$=='](other)['$!']()
3575
3578
  }, TMP_BasicObject_$B$eq_7.$$arity = 1);
3576
- Opal.alias(self, "equal?", "==");
3577
3579
 
3578
3580
  Opal.defn(self, '$instance_eval', TMP_BasicObject_instance_eval_8 = function $$instance_eval($a_rest) {
3579
3581
  var $b, TMP_9, self = this, args, $iter = TMP_BasicObject_instance_eval_8.$$p, block = $iter || nil, string = nil, file = nil, _lineno = nil, default_eval_options = nil, compiling_options = nil, compiled = nil;
@@ -3709,7 +3711,7 @@ Opal.modules["corelib/basic_object"] = function(Opal) {
3709
3711
  })($nesting[0], null, $nesting)
3710
3712
  };
3711
3713
 
3712
- /* Generated by Opal 0.11.0 */
3714
+ /* Generated by Opal 0.11.3 */
3713
3715
  Opal.modules["corelib/kernel"] = function(Opal) {
3714
3716
  function $rb_gt(lhs, rhs) {
3715
3717
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs > rhs : lhs['$>'](rhs);
@@ -5238,7 +5240,7 @@ if (obj == null) obj = nil;
5238
5240
  })($nesting[0], null, $nesting);
5239
5241
  };
5240
5242
 
5241
- /* Generated by Opal 0.11.0 */
5243
+ /* Generated by Opal 0.11.3 */
5242
5244
  Opal.modules["corelib/error"] = function(Opal) {
5243
5245
  function $rb_plus(lhs, rhs) {
5244
5246
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs + rhs : lhs['$+'](rhs);
@@ -5673,7 +5675,7 @@ Opal.modules["corelib/error"] = function(Opal) {
5673
5675
  })($nesting[0], $nesting);
5674
5676
  };
5675
5677
 
5676
- /* Generated by Opal 0.11.0 */
5678
+ /* Generated by Opal 0.11.3 */
5677
5679
  Opal.modules["corelib/constants"] = function(Opal) {
5678
5680
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice;
5679
5681
 
@@ -5681,15 +5683,15 @@ Opal.modules["corelib/constants"] = function(Opal) {
5681
5683
  Opal.const_set($nesting[0], 'RUBY_PLATFORM', "opal");
5682
5684
  Opal.const_set($nesting[0], 'RUBY_ENGINE', "opal");
5683
5685
  Opal.const_set($nesting[0], 'RUBY_VERSION', "2.4.0");
5684
- Opal.const_set($nesting[0], 'RUBY_ENGINE_VERSION', "0.11.0");
5685
- Opal.const_set($nesting[0], 'RUBY_RELEASE_DATE', "2017-12-08");
5686
+ Opal.const_set($nesting[0], 'RUBY_ENGINE_VERSION', "0.11.3");
5687
+ Opal.const_set($nesting[0], 'RUBY_RELEASE_DATE', "2018-08-28");
5686
5688
  Opal.const_set($nesting[0], 'RUBY_PATCHLEVEL', 0);
5687
5689
  Opal.const_set($nesting[0], 'RUBY_REVISION', 0);
5688
5690
  Opal.const_set($nesting[0], 'RUBY_COPYRIGHT', "opal - Copyright (C) 2013-2015 Adam Beynon");
5689
5691
  return Opal.const_set($nesting[0], 'RUBY_DESCRIPTION', "" + "opal " + (Opal.const_get_relative($nesting, 'RUBY_ENGINE_VERSION')) + " (" + (Opal.const_get_relative($nesting, 'RUBY_RELEASE_DATE')) + " revision " + (Opal.const_get_relative($nesting, 'RUBY_REVISION')) + ")");
5690
5692
  };
5691
5693
 
5692
- /* Generated by Opal 0.11.0 */
5694
+ /* Generated by Opal 0.11.3 */
5693
5695
  Opal.modules["opal/base"] = function(Opal) {
5694
5696
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice;
5695
5697
 
@@ -5705,7 +5707,7 @@ Opal.modules["opal/base"] = function(Opal) {
5705
5707
  return self.$require("corelib/constants");
5706
5708
  };
5707
5709
 
5708
- /* Generated by Opal 0.11.0 */
5710
+ /* Generated by Opal 0.11.3 */
5709
5711
  Opal.modules["corelib/nil"] = function(Opal) {
5710
5712
  function $rb_gt(lhs, rhs) {
5711
5713
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs > rhs : lhs['$>'](rhs);
@@ -5869,7 +5871,7 @@ Opal.modules["corelib/nil"] = function(Opal) {
5869
5871
  return Opal.const_set($nesting[0], 'NIL', nil);
5870
5872
  };
5871
5873
 
5872
- /* Generated by Opal 0.11.0 */
5874
+ /* Generated by Opal 0.11.3 */
5873
5875
  Opal.modules["corelib/boolean"] = function(Opal) {
5874
5876
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $klass = Opal.klass, $hash2 = Opal.hash2;
5875
5877
 
@@ -5979,7 +5981,7 @@ Opal.modules["corelib/boolean"] = function(Opal) {
5979
5981
  return Opal.const_set($nesting[0], 'FALSE', false);
5980
5982
  };
5981
5983
 
5982
- /* Generated by Opal 0.11.0 */
5984
+ /* Generated by Opal 0.11.3 */
5983
5985
  Opal.modules["corelib/comparable"] = function(Opal) {
5984
5986
  function $rb_gt(lhs, rhs) {
5985
5987
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs > rhs : lhs['$>'](rhs);
@@ -6116,7 +6118,7 @@ Opal.modules["corelib/comparable"] = function(Opal) {
6116
6118
  })($nesting[0], $nesting)
6117
6119
  };
6118
6120
 
6119
- /* Generated by Opal 0.11.0 */
6121
+ /* Generated by Opal 0.11.3 */
6120
6122
  Opal.modules["corelib/regexp"] = function(Opal) {
6121
6123
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $klass = Opal.klass, $send = Opal.send, $truthy = Opal.truthy, $gvars = Opal.gvars;
6122
6124
 
@@ -6626,7 +6628,7 @@ Opal.modules["corelib/regexp"] = function(Opal) {
6626
6628
  })($nesting[0], null, $nesting);
6627
6629
  };
6628
6630
 
6629
- /* Generated by Opal 0.11.0 */
6631
+ /* Generated by Opal 0.11.3 */
6630
6632
  Opal.modules["corelib/string"] = function(Opal) {
6631
6633
  function $rb_divide(lhs, rhs) {
6632
6634
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs / rhs : lhs['$/'](rhs);
@@ -8596,7 +8598,7 @@ Opal.modules["corelib/string"] = function(Opal) {
8596
8598
  return Opal.const_set($nesting[0], 'Symbol', Opal.const_get_relative($nesting, 'String'));
8597
8599
  };
8598
8600
 
8599
- /* Generated by Opal 0.11.0 */
8601
+ /* Generated by Opal 0.11.3 */
8600
8602
  Opal.modules["corelib/enumerable"] = function(Opal) {
8601
8603
  function $rb_gt(lhs, rhs) {
8602
8604
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs > rhs : lhs['$>'](rhs);
@@ -10241,7 +10243,7 @@ if (i == null) i = nil;
10241
10243
  })($nesting[0], $nesting)
10242
10244
  };
10243
10245
 
10244
- /* Generated by Opal 0.11.0 */
10246
+ /* Generated by Opal 0.11.3 */
10245
10247
  Opal.modules["corelib/enumerator"] = function(Opal) {
10246
10248
  function $rb_plus(lhs, rhs) {
10247
10249
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs + rhs : lhs['$+'](rhs);
@@ -10875,7 +10877,7 @@ if (v == null) v = nil;
10875
10877
  })($nesting[0], null, $nesting);
10876
10878
  };
10877
10879
 
10878
- /* Generated by Opal 0.11.0 */
10880
+ /* Generated by Opal 0.11.3 */
10879
10881
  Opal.modules["corelib/numeric"] = function(Opal) {
10880
10882
  function $rb_minus(lhs, rhs) {
10881
10883
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
@@ -11169,7 +11171,7 @@ Opal.modules["corelib/numeric"] = function(Opal) {
11169
11171
  })($nesting[0], null, $nesting);
11170
11172
  };
11171
11173
 
11172
- /* Generated by Opal 0.11.0 */
11174
+ /* Generated by Opal 0.11.3 */
11173
11175
  Opal.modules["corelib/array"] = function(Opal) {
11174
11176
  function $rb_gt(lhs, rhs) {
11175
11177
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs > rhs : lhs['$>'](rhs);
@@ -12215,7 +12217,7 @@ if (other == null) other = nil;
12215
12217
 
12216
12218
  if (
12217
12219
  self.$$class === Opal.Array &&
12218
- self.$allocate.$$pristine &&
12220
+ self.$$class.$allocate.$$pristine &&
12219
12221
  self.$copy_instance_variables.$$pristine &&
12220
12222
  self.$initialize_dup.$$pristine
12221
12223
  ) return self.slice(0);
@@ -13712,7 +13714,7 @@ if (row == null) row = nil;
13712
13714
  };
13713
13715
  max = ($truthy($a = max) ? $a : row.length);
13714
13716
  if ($truthy((row.length)['$!='](max))) {
13715
- self.$raise(Opal.const_get_relative($nesting, 'IndexError'), "" + "element size differs (" + (row.length) + " should be " + (max))};
13717
+ self.$raise(Opal.const_get_relative($nesting, 'IndexError'), "" + "element size differs (" + (row.length) + " should be " + (max) + ")")};
13716
13718
  return $send((row.length), 'times', [], (TMP_105 = function(i){var self = TMP_105.$$s || this, $b, entry = nil, $writer = nil;
13717
13719
  if (i == null) i = nil;
13718
13720
 
@@ -13920,7 +13922,7 @@ if (ivar == null) ivar = nil;
13920
13922
  })($nesting[0], Array, $nesting);
13921
13923
  };
13922
13924
 
13923
- /* Generated by Opal 0.11.0 */
13925
+ /* Generated by Opal 0.11.3 */
13924
13926
  Opal.modules["corelib/hash"] = function(Opal) {
13925
13927
  function $rb_ge(lhs, rhs) {
13926
13928
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs >= rhs : lhs['$>='](rhs);
@@ -15270,7 +15272,7 @@ if (key == null) key = nil;
15270
15272
  })($nesting[0], null, $nesting);
15271
15273
  };
15272
15274
 
15273
- /* Generated by Opal 0.11.0 */
15275
+ /* Generated by Opal 0.11.3 */
15274
15276
  Opal.modules["corelib/number"] = function(Opal) {
15275
15277
  function $rb_gt(lhs, rhs) {
15276
15278
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs > rhs : lhs['$>'](rhs);
@@ -16466,7 +16468,7 @@ Opal.modules["corelib/number"] = function(Opal) {
16466
16468
  })($nesting[0], Opal.const_get_relative($nesting, 'Numeric'), $nesting);
16467
16469
  };
16468
16470
 
16469
- /* Generated by Opal 0.11.0 */
16471
+ /* Generated by Opal 0.11.3 */
16470
16472
  Opal.modules["corelib/range"] = function(Opal) {
16471
16473
  function $rb_le(lhs, rhs) {
16472
16474
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs <= rhs : lhs['$<='](rhs);
@@ -16869,7 +16871,7 @@ if (value == null) value = nil;if (idx == null) idx = nil;
16869
16871
  })($nesting[0], null, $nesting);
16870
16872
  };
16871
16873
 
16872
- /* Generated by Opal 0.11.0 */
16874
+ /* Generated by Opal 0.11.3 */
16873
16875
  Opal.modules["corelib/proc"] = function(Opal) {
16874
16876
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $klass = Opal.klass, $truthy = Opal.truthy;
16875
16877
 
@@ -17081,7 +17083,7 @@ Opal.modules["corelib/proc"] = function(Opal) {
17081
17083
  })($nesting[0], Function, $nesting)
17082
17084
  };
17083
17085
 
17084
- /* Generated by Opal 0.11.0 */
17086
+ /* Generated by Opal 0.11.3 */
17085
17087
  Opal.modules["corelib/method"] = function(Opal) {
17086
17088
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $klass = Opal.klass, $truthy = Opal.truthy;
17087
17089
 
@@ -17235,7 +17237,7 @@ Opal.modules["corelib/method"] = function(Opal) {
17235
17237
  })($nesting[0], null, $nesting);
17236
17238
  };
17237
17239
 
17238
- /* Generated by Opal 0.11.0 */
17240
+ /* Generated by Opal 0.11.3 */
17239
17241
  Opal.modules["corelib/variables"] = function(Opal) {
17240
17242
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $gvars = Opal.gvars, $hash2 = Opal.hash2;
17241
17243
 
@@ -17254,7 +17256,7 @@ Opal.modules["corelib/variables"] = function(Opal) {
17254
17256
  return ($gvars.SAFE = 0);
17255
17257
  };
17256
17258
 
17257
- /* Generated by Opal 0.11.0 */
17259
+ /* Generated by Opal 0.11.3 */
17258
17260
  Opal.modules["opal/regexp_anchors"] = function(Opal) {
17259
17261
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module;
17260
17262
 
@@ -17283,7 +17285,7 @@ Opal.modules["opal/regexp_anchors"] = function(Opal) {
17283
17285
  })($nesting[0], $nesting)
17284
17286
  };
17285
17287
 
17286
- /* Generated by Opal 0.11.0 */
17288
+ /* Generated by Opal 0.11.3 */
17287
17289
  Opal.modules["opal/mini"] = function(Opal) {
17288
17290
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice;
17289
17291
 
@@ -17307,7 +17309,7 @@ Opal.modules["opal/mini"] = function(Opal) {
17307
17309
  return self.$require("opal/regexp_anchors");
17308
17310
  };
17309
17311
 
17310
- /* Generated by Opal 0.11.0 */
17312
+ /* Generated by Opal 0.11.3 */
17311
17313
  Opal.modules["corelib/string/inheritance"] = function(Opal) {
17312
17314
  function $rb_plus(lhs, rhs) {
17313
17315
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs + rhs : lhs['$+'](rhs);
@@ -17551,7 +17553,7 @@ if (str == null) str = nil;
17551
17553
  })(Opal.const_get_relative($nesting, 'String'), null, $nesting);
17552
17554
  };
17553
17555
 
17554
- /* Generated by Opal 0.11.0 */
17556
+ /* Generated by Opal 0.11.3 */
17555
17557
  Opal.modules["corelib/string/encoding"] = function(Opal) {
17556
17558
  function $rb_plus(lhs, rhs) {
17557
17559
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs + rhs : lhs['$+'](rhs);
@@ -17873,7 +17875,7 @@ if (name == null) name = nil;
17873
17875
  })($nesting[0], null, $nesting);
17874
17876
  };
17875
17877
 
17876
- /* Generated by Opal 0.11.0 */
17878
+ /* Generated by Opal 0.11.3 */
17877
17879
  Opal.modules["corelib/math"] = function(Opal) {
17878
17880
  function $rb_minus(lhs, rhs) {
17879
17881
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
@@ -18424,7 +18426,7 @@ Opal.modules["corelib/math"] = function(Opal) {
18424
18426
  })($nesting[0], $nesting)
18425
18427
  };
18426
18428
 
18427
- /* Generated by Opal 0.11.0 */
18429
+ /* Generated by Opal 0.11.3 */
18428
18430
  Opal.modules["corelib/complex"] = function(Opal) {
18429
18431
  function $rb_times(lhs, rhs) {
18430
18432
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs * rhs : lhs['$*'](rhs);
@@ -18805,7 +18807,7 @@ Opal.modules["corelib/complex"] = function(Opal) {
18805
18807
  })($nesting[0], $nesting);
18806
18808
  };
18807
18809
 
18808
- /* Generated by Opal 0.11.0 */
18810
+ /* Generated by Opal 0.11.3 */
18809
18811
  Opal.modules["corelib/rational"] = function(Opal) {
18810
18812
  function $rb_lt(lhs, rhs) {
18811
18813
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs < rhs : lhs['$<'](rhs);
@@ -19209,7 +19211,7 @@ Opal.modules["corelib/rational"] = function(Opal) {
19209
19211
  })($nesting[0], $nesting);
19210
19212
  };
19211
19213
 
19212
- /* Generated by Opal 0.11.0 */
19214
+ /* Generated by Opal 0.11.3 */
19213
19215
  Opal.modules["corelib/time"] = function(Opal) {
19214
19216
  function $rb_gt(lhs, rhs) {
19215
19217
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs > rhs : lhs['$>'](rhs);
@@ -20117,7 +20119,7 @@ Opal.modules["corelib/time"] = function(Opal) {
20117
20119
  })($nesting[0], Date, $nesting);
20118
20120
  };
20119
20121
 
20120
- /* Generated by Opal 0.11.0 */
20122
+ /* Generated by Opal 0.11.3 */
20121
20123
  Opal.modules["corelib/struct"] = function(Opal) {
20122
20124
  function $rb_gt(lhs, rhs) {
20123
20125
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs > rhs : lhs['$>'](rhs);
@@ -20534,7 +20536,7 @@ if (arg == null) arg = nil;
20534
20536
  })($nesting[0], null, $nesting);
20535
20537
  };
20536
20538
 
20537
- /* Generated by Opal 0.11.0 */
20539
+ /* Generated by Opal 0.11.3 */
20538
20540
  Opal.modules["corelib/io"] = function(Opal) {
20539
20541
  function $rb_minus(lhs, rhs) {
20540
20542
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
@@ -20691,7 +20693,7 @@ if (arg == null) arg = nil;
20691
20693
  return Opal.const_get_relative($nesting, 'STDERR').$extend(Opal.const_get_qualified(Opal.const_get_relative($nesting, 'IO'), 'Writable'));
20692
20694
  };
20693
20695
 
20694
- /* Generated by Opal 0.11.0 */
20696
+ /* Generated by Opal 0.11.3 */
20695
20697
  Opal.modules["corelib/main"] = function(Opal) {
20696
20698
  var TMP_to_s_1, TMP_include_2, self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice;
20697
20699
 
@@ -20709,7 +20711,7 @@ Opal.modules["corelib/main"] = function(Opal) {
20709
20711
  }, TMP_include_2.$$arity = 1);
20710
20712
  };
20711
20713
 
20712
- /* Generated by Opal 0.11.0 */
20714
+ /* Generated by Opal 0.11.3 */
20713
20715
  Opal.modules["corelib/dir"] = function(Opal) {
20714
20716
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $klass = Opal.klass, $truthy = Opal.truthy;
20715
20717
 
@@ -20754,7 +20756,7 @@ Opal.modules["corelib/dir"] = function(Opal) {
20754
20756
  })($nesting[0], null, $nesting)
20755
20757
  };
20756
20758
 
20757
- /* Generated by Opal 0.11.0 */
20759
+ /* Generated by Opal 0.11.3 */
20758
20760
  Opal.modules["corelib/file"] = function(Opal) {
20759
20761
  function $rb_plus(lhs, rhs) {
20760
20762
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs + rhs : lhs['$+'](rhs);
@@ -21023,7 +21025,7 @@ if (item == null) item = nil;if (index == null) index = nil;
21023
21025
  })($nesting[0], Opal.const_get_relative($nesting, 'IO'), $nesting)
21024
21026
  };
21025
21027
 
21026
- /* Generated by Opal 0.11.0 */
21028
+ /* Generated by Opal 0.11.3 */
21027
21029
  Opal.modules["corelib/process"] = function(Opal) {
21028
21030
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $klass = Opal.klass, $truthy = Opal.truthy;
21029
21031
 
@@ -21128,7 +21130,7 @@ Opal.modules["corelib/process"] = function(Opal) {
21128
21130
  })($nesting[0], null, $nesting);
21129
21131
  };
21130
21132
 
21131
- /* Generated by Opal 0.11.0 */
21133
+ /* Generated by Opal 0.11.3 */
21132
21134
  Opal.modules["corelib/random/seedrandom"] = function(Opal) {
21133
21135
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $klass = Opal.klass;
21134
21136
 
@@ -21154,7 +21156,7 @@ Opal.modules["corelib/random/seedrandom"] = function(Opal) {
21154
21156
  })($nesting[0], null, $nesting)
21155
21157
  };
21156
21158
 
21157
- /* Generated by Opal 0.11.0 */
21159
+ /* Generated by Opal 0.11.3 */
21158
21160
  Opal.modules["corelib/random"] = function(Opal) {
21159
21161
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $klass = Opal.klass, $truthy = Opal.truthy, $send = Opal.send;
21160
21162
 
@@ -21303,7 +21305,7 @@ Opal.modules["corelib/random"] = function(Opal) {
21303
21305
  })($nesting[0], null, $nesting);
21304
21306
  };
21305
21307
 
21306
- /* Generated by Opal 0.11.0 */
21308
+ /* Generated by Opal 0.11.3 */
21307
21309
  Opal.modules["corelib/unsupported"] = function(Opal) {
21308
21310
  var TMP_public_30, TMP_private_31, self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $klass = Opal.klass, $module = Opal.module;
21309
21311
 
@@ -21595,7 +21597,7 @@ Opal.modules["corelib/unsupported"] = function(Opal) {
21595
21597
  }, TMP_private_31.$$arity = -1);
21596
21598
  };
21597
21599
 
21598
- /* Generated by Opal 0.11.0 */
21600
+ /* Generated by Opal 0.11.3 */
21599
21601
  Opal.modules["opal"] = function(Opal) {
21600
21602
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice;
21601
21603
 
@@ -21619,7 +21621,7 @@ Opal.modules["opal"] = function(Opal) {
21619
21621
  return self.$require("corelib/unsupported");
21620
21622
  };
21621
21623
 
21622
- /* Generated by Opal 0.11.0 */
21624
+ /* Generated by Opal 0.11.3 */
21623
21625
  Opal.modules["native"] = function(Opal) {
21624
21626
  function $rb_minus(lhs, rhs) {
21625
21627
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
@@ -22496,7 +22498,7 @@ if (name == null) name = nil;if (value == null) value = nil;
22496
22498
  return ($gvars.$ = ($gvars.global = self.$Native(Opal.global)));
22497
22499
  };
22498
22500
 
22499
- /* Generated by Opal 0.11.0 */
22501
+ /* Generated by Opal 0.11.3 */
22500
22502
  Opal.modules["console"] = function(Opal) {
22501
22503
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $klass = Opal.klass, $truthy = Opal.truthy, $send = Opal.send, $gvars = Opal.gvars;
22502
22504
 
@@ -22657,7 +22659,7 @@ Opal.modules["console"] = function(Opal) {
22657
22659
  };
22658
22660
  };
22659
22661
 
22660
- /* Generated by Opal 0.11.0 */
22662
+ /* Generated by Opal 0.11.3 */
22661
22663
  Opal.modules["dxopal/constants/colors"] = function(Opal) {
22662
22664
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module;
22663
22665
 
@@ -22691,7 +22693,7 @@ Opal.modules["dxopal/constants/colors"] = function(Opal) {
22691
22693
  })($nesting[0], $nesting)
22692
22694
  };
22693
22695
 
22694
- /* Generated by Opal 0.11.0 */
22696
+ /* Generated by Opal 0.11.3 */
22695
22697
  Opal.modules["dxopal/font"] = function(Opal) {
22696
22698
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy, $hash2 = Opal.hash2;
22697
22699
 
@@ -22755,7 +22757,7 @@ Opal.modules["dxopal/font"] = function(Opal) {
22755
22757
  })($nesting[0], $nesting)
22756
22758
  };
22757
22759
 
22758
- /* Generated by Opal 0.11.0 */
22760
+ /* Generated by Opal 0.11.3 */
22759
22761
  Opal.modules["dxopal/input"] = function(Opal) {
22760
22762
  function $rb_minus(lhs, rhs) {
22761
22763
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
@@ -22964,7 +22966,7 @@ Opal.modules["dxopal/input"] = function(Opal) {
22964
22966
  })($nesting[0], $nesting)
22965
22967
  };
22966
22968
 
22967
- /* Generated by Opal 0.11.0 */
22969
+ /* Generated by Opal 0.11.3 */
22968
22970
  Opal.modules["dxopal/input/key_codes"] = function(Opal) {
22969
22971
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module;
22970
22972
 
@@ -23073,7 +23075,7 @@ Opal.modules["dxopal/input/key_codes"] = function(Opal) {
23073
23075
  })($nesting[0], $nesting)
23074
23076
  };
23075
23077
 
23076
- /* Generated by Opal 0.11.0 */
23078
+ /* Generated by Opal 0.11.3 */
23077
23079
  Opal.modules["dxopal/remote_resource"] = function(Opal) {
23078
23080
  function $rb_minus(lhs, rhs) {
23079
23081
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
@@ -23211,7 +23213,7 @@ if (klass_name == null) klass_name = nil;if (items == null) items = nil;
23211
23213
  })($nesting[0], $nesting)
23212
23214
  };
23213
23215
 
23214
- /* Generated by Opal 0.11.0 */
23216
+ /* Generated by Opal 0.11.3 */
23215
23217
  Opal.modules["dxopal/image"] = function(Opal) {
23216
23218
  function $rb_divide(lhs, rhs) {
23217
23219
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs / rhs : lhs['$/'](rhs);
@@ -23342,9 +23344,10 @@ Opal.modules["dxopal/image"] = function(Opal) {
23342
23344
  }
23343
23345
  return self.$draw_ex(x, y, image, $hash2(["angle", "center_x", "center_y"], {"angle": angle, "center_x": center_x, "center_y": center_y}))
23344
23346
  }, TMP_Image_draw_rot_6.$$arity = -5);
23347
+ Opal.const_set($nesting[0], 'BLEND_TYPES', $hash2(["alpha", "add"], {"alpha": "source-over", "add": "lighter"}));
23345
23348
 
23346
23349
  Opal.defn(self, '$draw_ex', TMP_Image_draw_ex_7 = function $$draw_ex(x, y, image, options) {
23347
- var $a, self = this, scale_x = nil, scale_y = nil, center_x = nil, center_y = nil, angle = nil, cx = nil, cy = nil;
23350
+ 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;
23348
23351
 
23349
23352
  if (options == null) {
23350
23353
  options = $hash2([], {});
@@ -23354,6 +23357,8 @@ Opal.modules["dxopal/image"] = function(Opal) {
23354
23357
  scale_y = ($truthy($a = options['$[]']("scale_y")) ? $a : 1);
23355
23358
  center_x = ($truthy($a = options['$[]']("center_x")) ? $a : $rb_divide(image.$width(), 2));
23356
23359
  center_y = ($truthy($a = options['$[]']("center_y")) ? $a : $rb_divide(image.$height(), 2));
23360
+ alpha = ($truthy($a = options['$[]']("alpha")) ? $a : 255);
23361
+ blend = ($truthy($a = options['$[]']("blend")) ? $a : "alpha");
23357
23362
  angle = ($truthy($a = options['$[]']("angle")) ? $a : 0);
23358
23363
  cx = $rb_plus(x, center_x);
23359
23364
  cy = $rb_plus(y, center_y);
@@ -23361,7 +23366,11 @@ Opal.modules["dxopal/image"] = function(Opal) {
23361
23366
  self.ctx.translate(cx, cy);
23362
23367
  self.ctx.rotate(angle * Math.PI / 180.0);
23363
23368
  self.ctx.scale(scale_x, scale_y);
23369
+ self.ctx.save();
23370
+ self.ctx.globalAlpha = alpha / 255;
23371
+ self.ctx.globalCompositeOperation = Opal.const_get_relative($nesting, 'BLEND_TYPES')['$[]'](blend);
23364
23372
  self.ctx.drawImage(image.$canvas(), x-cx, y-cy);
23373
+ self.ctx.restore();
23365
23374
  self.ctx.setTransform(1, 0, 0, 1, 0, 0); // reset
23366
23375
  ;
23367
23376
  return self;
@@ -23646,7 +23655,7 @@ if (u == null) u = nil;
23646
23655
  })($nesting[0], $nesting);
23647
23656
  };
23648
23657
 
23649
- /* Generated by Opal 0.11.0 */
23658
+ /* Generated by Opal 0.11.3 */
23650
23659
  Opal.modules["dxopal/sound"] = function(Opal) {
23651
23660
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy;
23652
23661
 
@@ -23741,7 +23750,7 @@ Opal.modules["dxopal/sound"] = function(Opal) {
23741
23750
  })($nesting[0], $nesting);
23742
23751
  };
23743
23752
 
23744
- /* Generated by Opal 0.11.0 */
23753
+ /* Generated by Opal 0.11.3 */
23745
23754
  Opal.modules["dxopal/sound_effect"] = function(Opal) {
23746
23755
  function $rb_divide(lhs, rhs) {
23747
23756
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs / rhs : lhs['$/'](rhs);
@@ -23855,7 +23864,7 @@ Opal.modules["dxopal/sound_effect"] = function(Opal) {
23855
23864
  })($nesting[0], $nesting)
23856
23865
  };
23857
23866
 
23858
- /* Generated by Opal 0.11.0 */
23867
+ /* Generated by Opal 0.11.3 */
23859
23868
  Opal.modules["dxopal/sprite/collision_checker"] = function(Opal) {
23860
23869
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice;
23861
23870
 
@@ -24029,7 +24038,7 @@ Opal.DXOpal.CCk = CCk; // Alias
24029
24038
  })();
24030
24039
  };
24031
24040
 
24032
- /* Generated by Opal 0.11.0 */
24041
+ /* Generated by Opal 0.11.3 */
24033
24042
  Opal.modules["dxopal/sprite/collision_area"] = function(Opal) {
24034
24043
  function $rb_plus(lhs, rhs) {
24035
24044
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs + rhs : lhs['$+'](rhs);
@@ -24457,7 +24466,7 @@ Opal.modules["dxopal/sprite/collision_area"] = function(Opal) {
24457
24466
  })($nesting[0], $nesting);
24458
24467
  };
24459
24468
 
24460
- /* Generated by Opal 0.11.0 */
24469
+ /* Generated by Opal 0.11.3 */
24461
24470
  Opal.modules["dxopal/sprite/collision_check"] = function(Opal) {
24462
24471
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy, $send = Opal.send;
24463
24472
 
@@ -24620,7 +24629,7 @@ if (sprite == null) sprite = nil;
24620
24629
  })($nesting[0], $nesting);
24621
24630
  };
24622
24631
 
24623
- /* Generated by Opal 0.11.0 */
24632
+ /* Generated by Opal 0.11.3 */
24624
24633
  Opal.modules["dxopal/sprite/physics"] = function(Opal) {
24625
24634
  function $rb_plus(lhs, rhs) {
24626
24635
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs + rhs : lhs['$+'](rhs);
@@ -24760,7 +24769,7 @@ Opal.modules["dxopal/sprite/physics"] = function(Opal) {
24760
24769
  })($nesting[0], $nesting)
24761
24770
  };
24762
24771
 
24763
- /* Generated by Opal 0.11.0 */
24772
+ /* Generated by Opal 0.11.3 */
24764
24773
  Opal.modules["dxopal/sprite"] = function(Opal) {
24765
24774
  function $rb_divide(lhs, rhs) {
24766
24775
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs / rhs : lhs['$/'](rhs);
@@ -24785,7 +24794,7 @@ Opal.modules["dxopal/sprite"] = function(Opal) {
24785
24794
 
24786
24795
  var def = self.$$proto, $nesting = [self].concat($parent_nesting), TMP_Sprite_update_2, TMP_Sprite_clean_4, TMP_Sprite_draw_6, TMP_Sprite_initialize_7, TMP_Sprite_x$eq_8, TMP_Sprite_y$eq_9, TMP_Sprite_image_10, TMP_Sprite_image$eq_11, TMP_Sprite_vanish_12, TMP_Sprite_vanished$q_13, TMP_Sprite_draw_14;
24787
24796
 
24788
- def.image = def._matter_body = def.collision = def.center_x = def.vanished = def.visible = def.x = def.y = def.scale_x = def.scale_y = def.angle = def.center_y = nil;
24797
+ def.image = def._matter_body = def.collision = def.center_x = def.vanished = def.visible = def.x = def.y = def.scale_x = def.scale_y = def.alpha = def.blend = def.angle = def.center_y = nil;
24789
24798
 
24790
24799
  self.$extend(Opal.const_get_qualified(Opal.const_get_qualified(Opal.const_get_qualified(Opal.const_get_relative($nesting, 'DXOpal'), 'Sprite'), 'CollisionCheck'), 'ClassMethods'));
24791
24800
  self.$include(Opal.const_get_qualified(Opal.const_get_qualified(Opal.const_get_relative($nesting, 'DXOpal'), 'Sprite'), 'CollisionCheck'));
@@ -24849,6 +24858,8 @@ if (sprite == null) sprite = nil;
24849
24858
  self.$attr_accessor("angle");
24850
24859
  self.$attr_accessor("scale_x", "scale_y");
24851
24860
  self.$attr_accessor("center_x", "center_y");
24861
+ self.$attr_accessor("alpha");
24862
+ self.$attr_accessor("blend");
24852
24863
  self.$attr_reader("x", "y");
24853
24864
 
24854
24865
  Opal.defn(self, '$x=', TMP_Sprite_x$eq_8 = function(newx) {
@@ -24919,13 +24930,13 @@ if (sprite == null) sprite = nil;
24919
24930
  self.$raise("image not set to Sprite")};
24920
24931
  if ($truthy(self.visible['$!']())) {
24921
24932
  return nil};
24922
- return Opal.const_get_relative($nesting, 'Window').$draw_ex(self.x, self.y, self.image, $hash2(["scale_x", "scale_y", "angle", "center_x", "center_y"], {"scale_x": self.scale_x, "scale_y": self.scale_y, "angle": self.angle, "center_x": self.center_x, "center_y": self.center_y}));
24933
+ return Opal.const_get_relative($nesting, 'Window').$draw_ex(self.x, self.y, self.image, $hash2(["scale_x", "scale_y", "alpha", "blend", "angle", "center_x", "center_y"], {"scale_x": self.scale_x, "scale_y": self.scale_y, "alpha": self.alpha, "blend": self.blend, "angle": self.angle, "center_x": self.center_x, "center_y": self.center_y}));
24923
24934
  }, TMP_Sprite_draw_14.$$arity = 0), nil) && 'draw';
24924
24935
  })($nesting[0], null, $nesting)
24925
24936
  })($nesting[0], $nesting);
24926
24937
  };
24927
24938
 
24928
- /* Generated by Opal 0.11.0 */
24939
+ /* Generated by Opal 0.11.3 */
24929
24940
  Opal.modules["dxopal/window"] = function(Opal) {
24930
24941
  function $rb_ge(lhs, rhs) {
24931
24942
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs >= rhs : lhs['$>='](rhs);
@@ -25264,7 +25275,7 @@ if (time == null) time = nil;
25264
25275
  })($nesting[0], $nesting);
25265
25276
  };
25266
25277
 
25267
- /* Generated by Opal 0.11.0 */
25278
+ /* Generated by Opal 0.11.3 */
25268
25279
  Opal.modules["dxopal/version"] = function(Opal) {
25269
25280
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module;
25270
25281
 
@@ -25273,11 +25284,11 @@ Opal.modules["dxopal/version"] = function(Opal) {
25273
25284
 
25274
25285
  var def = self.$$proto, $nesting = [self].concat($parent_nesting);
25275
25286
 
25276
- Opal.const_set($nesting[0], 'VERSION', "1.2.0")
25287
+ Opal.const_set($nesting[0], 'VERSION', "1.3.0")
25277
25288
  })($nesting[0], $nesting)
25278
25289
  };
25279
25290
 
25280
- /* Generated by Opal 0.11.0 */
25291
+ /* Generated by Opal 0.11.3 */
25281
25292
  Opal.modules["set"] = function(Opal) {
25282
25293
  function $rb_minus(lhs, rhs) {
25283
25294
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
@@ -25650,7 +25661,7 @@ if (o == null) o = nil;
25650
25661
  })($nesting[0], $nesting);
25651
25662
  };
25652
25663
 
25653
- /* Generated by Opal 0.11.0 */
25664
+ /* Generated by Opal 0.11.3 */
25654
25665
  Opal.modules["ast/node"] = function(Opal) {
25655
25666
  function $rb_plus(lhs, rhs) {
25656
25667
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs + rhs : lhs['$+'](rhs);
@@ -25842,7 +25853,7 @@ if (child == null) child = nil;
25842
25853
  })($nesting[0], $nesting)
25843
25854
  };
25844
25855
 
25845
- /* Generated by Opal 0.11.0 */
25856
+ /* Generated by Opal 0.11.3 */
25846
25857
  Opal.modules["ast/processor/mixin"] = function(Opal) {
25847
25858
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy, $send = Opal.send;
25848
25859
 
@@ -25901,7 +25912,7 @@ if (node == null) node = nil;
25901
25912
  })($nesting[0], $nesting)
25902
25913
  };
25903
25914
 
25904
- /* Generated by Opal 0.11.0 */
25915
+ /* Generated by Opal 0.11.3 */
25905
25916
  Opal.modules["ast/processor"] = function(Opal) {
25906
25917
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass;
25907
25918
 
@@ -25924,7 +25935,7 @@ Opal.modules["ast/processor"] = function(Opal) {
25924
25935
  })($nesting[0], $nesting)
25925
25936
  };
25926
25937
 
25927
- /* Generated by Opal 0.11.0 */
25938
+ /* Generated by Opal 0.11.3 */
25928
25939
  Opal.modules["ast/sexp"] = function(Opal) {
25929
25940
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module;
25930
25941
 
@@ -25955,7 +25966,7 @@ Opal.modules["ast/sexp"] = function(Opal) {
25955
25966
  })($nesting[0], $nesting)
25956
25967
  };
25957
25968
 
25958
- /* Generated by Opal 0.11.0 */
25969
+ /* Generated by Opal 0.11.3 */
25959
25970
  Opal.modules["ast"] = function(Opal) {
25960
25971
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module;
25961
25972
 
@@ -25972,7 +25983,7 @@ Opal.modules["ast"] = function(Opal) {
25972
25983
  })($nesting[0], $nesting)
25973
25984
  };
25974
25985
 
25975
- /* Generated by Opal 0.11.0 */
25986
+ /* Generated by Opal 0.11.3 */
25976
25987
  Opal.modules["parser/ast/node"] = function(Opal) {
25977
25988
  function $rb_minus(lhs, rhs) {
25978
25989
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
@@ -26020,7 +26031,7 @@ Opal.modules["parser/ast/node"] = function(Opal) {
26020
26031
  })($nesting[0], $nesting)
26021
26032
  };
26022
26033
 
26023
- /* Generated by Opal 0.11.0 */
26034
+ /* Generated by Opal 0.11.3 */
26024
26035
  Opal.modules["opal/ast/node"] = function(Opal) {
26025
26036
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy, $hash2 = Opal.hash2, $send = Opal.send;
26026
26037
 
@@ -26091,7 +26102,7 @@ Opal.modules["opal/ast/node"] = function(Opal) {
26091
26102
  })($nesting[0], $nesting);
26092
26103
  };
26093
26104
 
26094
- /* Generated by Opal 0.11.0 */
26105
+ /* Generated by Opal 0.11.3 */
26095
26106
  Opal.modules["racc/parser"] = function(Opal) {
26096
26107
  function $rb_lt(lhs, rhs) {
26097
26108
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs < rhs : lhs['$<'](rhs);
@@ -26573,7 +26584,7 @@ if (st == null) st = nil;
26573
26584
  })($nesting[0], $nesting);
26574
26585
  };
26575
26586
 
26576
- /* Generated by Opal 0.11.0 */
26587
+ /* Generated by Opal 0.11.3 */
26577
26588
  Opal.modules["parser/compatibility/ruby1_8"] = function(Opal) {
26578
26589
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $klass = Opal.klass, $truthy = Opal.truthy, $send = Opal.send, $gvars = Opal.gvars;
26579
26590
 
@@ -26606,7 +26617,7 @@ Opal.modules["parser/compatibility/ruby1_8"] = function(Opal) {
26606
26617
  })($nesting[0], null, $nesting)
26607
26618
  };
26608
26619
 
26609
- /* Generated by Opal 0.11.0 */
26620
+ /* Generated by Opal 0.11.3 */
26610
26621
  Opal.modules["parser/compatibility/ruby1_9"] = function(Opal) {
26611
26622
  function $rb_minus(lhs, rhs) {
26612
26623
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
@@ -26668,7 +26679,7 @@ Opal.modules["parser/compatibility/ruby1_9"] = function(Opal) {
26668
26679
  }
26669
26680
  };
26670
26681
 
26671
- /* Generated by Opal 0.11.0 */
26682
+ /* Generated by Opal 0.11.3 */
26672
26683
  Opal.modules["parser/version"] = function(Opal) {
26673
26684
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module;
26674
26685
 
@@ -26681,7 +26692,7 @@ Opal.modules["parser/version"] = function(Opal) {
26681
26692
  })($nesting[0], $nesting)
26682
26693
  };
26683
26694
 
26684
- /* Generated by Opal 0.11.0 */
26695
+ /* Generated by Opal 0.11.3 */
26685
26696
  Opal.modules["parser/messages"] = function(Opal) {
26686
26697
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $hash2 = Opal.hash2;
26687
26698
 
@@ -26695,7 +26706,7 @@ Opal.modules["parser/messages"] = function(Opal) {
26695
26706
  })($nesting[0], $nesting)
26696
26707
  };
26697
26708
 
26698
- /* Generated by Opal 0.11.0 */
26709
+ /* Generated by Opal 0.11.3 */
26699
26710
  Opal.modules["parser/ast/processor"] = function(Opal) {
26700
26711
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy;
26701
26712
 
@@ -26928,7 +26939,7 @@ Opal.modules["parser/ast/processor"] = function(Opal) {
26928
26939
  })($nesting[0], $nesting)
26929
26940
  };
26930
26941
 
26931
- /* Generated by Opal 0.11.0 */
26942
+ /* Generated by Opal 0.11.3 */
26932
26943
  Opal.modules["parser/meta"] = function(Opal) {
26933
26944
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $send = Opal.send;
26934
26945
 
@@ -26948,7 +26959,7 @@ Opal.modules["parser/meta"] = function(Opal) {
26948
26959
  })($nesting[0], $nesting)
26949
26960
  };
26950
26961
 
26951
- /* Generated by Opal 0.11.0 */
26962
+ /* Generated by Opal 0.11.3 */
26952
26963
  Opal.modules["parser/source/buffer"] = function(Opal) {
26953
26964
  function $rb_minus(lhs, rhs) {
26954
26965
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
@@ -27202,7 +27213,7 @@ if (line == null) line = nil;if (line_begin == null) line_begin = nil;
27202
27213
  })($nesting[0], $nesting)
27203
27214
  };
27204
27215
 
27205
- /* Generated by Opal 0.11.0 */
27216
+ /* Generated by Opal 0.11.3 */
27206
27217
  Opal.modules["parser/source/range"] = function(Opal) {
27207
27218
  function $rb_lt(lhs, rhs) {
27208
27219
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs < rhs : lhs['$<'](rhs);
@@ -27399,7 +27410,7 @@ Opal.modules["parser/source/range"] = function(Opal) {
27399
27410
  })($nesting[0], $nesting)
27400
27411
  };
27401
27412
 
27402
- /* Generated by Opal 0.11.0 */
27413
+ /* Generated by Opal 0.11.3 */
27403
27414
  Opal.modules["parser/source/comment"] = function(Opal) {
27404
27415
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy;
27405
27416
 
@@ -27485,7 +27496,7 @@ Opal.modules["parser/source/comment"] = function(Opal) {
27485
27496
  })($nesting[0], $nesting)
27486
27497
  };
27487
27498
 
27488
- /* Generated by Opal 0.11.0 */
27499
+ /* Generated by Opal 0.11.3 */
27489
27500
  Opal.modules["parser/source/comment/associator"] = function(Opal) {
27490
27501
  function $rb_minus(lhs, rhs) {
27491
27502
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
@@ -27681,7 +27692,7 @@ if (child == null) child = nil;
27681
27692
  })($nesting[0], $nesting)
27682
27693
  };
27683
27694
 
27684
- /* Generated by Opal 0.11.0 */
27695
+ /* Generated by Opal 0.11.3 */
27685
27696
  Opal.modules["parser/source/rewriter"] = function(Opal) {
27686
27697
  function $rb_minus(lhs, rhs) {
27687
27698
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
@@ -28105,7 +28116,7 @@ if (act == null) act = nil;
28105
28116
  })($nesting[0], $nesting)
28106
28117
  };
28107
28118
 
28108
- /* Generated by Opal 0.11.0 */
28119
+ /* Generated by Opal 0.11.3 */
28109
28120
  Opal.modules["parser/source/rewriter/action"] = function(Opal) {
28110
28121
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy;
28111
28122
 
@@ -28181,7 +28192,7 @@ Opal.modules["parser/source/rewriter/action"] = function(Opal) {
28181
28192
  })($nesting[0], $nesting)
28182
28193
  };
28183
28194
 
28184
- /* Generated by Opal 0.11.0 */
28195
+ /* Generated by Opal 0.11.3 */
28185
28196
  Opal.modules["parser/source/map"] = function(Opal) {
28186
28197
  function $rb_minus(lhs, rhs) {
28187
28198
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
@@ -28311,7 +28322,7 @@ if (hash == null) hash = nil;if (ivar == null) ivar = nil;
28311
28322
  })($nesting[0], $nesting)
28312
28323
  };
28313
28324
 
28314
- /* Generated by Opal 0.11.0 */
28325
+ /* Generated by Opal 0.11.3 */
28315
28326
  Opal.modules["parser/source/map/operator"] = function(Opal) {
28316
28327
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $send = Opal.send;
28317
28328
 
@@ -28347,7 +28358,7 @@ Opal.modules["parser/source/map/operator"] = function(Opal) {
28347
28358
  })($nesting[0], $nesting)
28348
28359
  };
28349
28360
 
28350
- /* Generated by Opal 0.11.0 */
28361
+ /* Generated by Opal 0.11.3 */
28351
28362
  Opal.modules["parser/source/map/collection"] = function(Opal) {
28352
28363
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $send = Opal.send;
28353
28364
 
@@ -28384,7 +28395,7 @@ Opal.modules["parser/source/map/collection"] = function(Opal) {
28384
28395
  })($nesting[0], $nesting)
28385
28396
  };
28386
28397
 
28387
- /* Generated by Opal 0.11.0 */
28398
+ /* Generated by Opal 0.11.3 */
28388
28399
  Opal.modules["parser/source/map/constant"] = function(Opal) {
28389
28400
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $send = Opal.send;
28390
28401
 
@@ -28437,7 +28448,7 @@ if (map == null) map = nil;
28437
28448
  })($nesting[0], $nesting)
28438
28449
  };
28439
28450
 
28440
- /* Generated by Opal 0.11.0 */
28451
+ /* Generated by Opal 0.11.3 */
28441
28452
  Opal.modules["parser/source/map/variable"] = function(Opal) {
28442
28453
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $send = Opal.send;
28443
28454
 
@@ -28492,7 +28503,7 @@ if (map == null) map = nil;
28492
28503
  })($nesting[0], $nesting)
28493
28504
  };
28494
28505
 
28495
- /* Generated by Opal 0.11.0 */
28506
+ /* Generated by Opal 0.11.3 */
28496
28507
  Opal.modules["parser/source/map/keyword"] = function(Opal) {
28497
28508
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $send = Opal.send;
28498
28509
 
@@ -28531,7 +28542,7 @@ Opal.modules["parser/source/map/keyword"] = function(Opal) {
28531
28542
  })($nesting[0], $nesting)
28532
28543
  };
28533
28544
 
28534
- /* Generated by Opal 0.11.0 */
28545
+ /* Generated by Opal 0.11.3 */
28535
28546
  Opal.modules["parser/source/map/definition"] = function(Opal) {
28536
28547
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $send = Opal.send;
28537
28548
 
@@ -28574,7 +28585,7 @@ Opal.modules["parser/source/map/definition"] = function(Opal) {
28574
28585
  })($nesting[0], $nesting)
28575
28586
  };
28576
28587
 
28577
- /* Generated by Opal 0.11.0 */
28588
+ /* Generated by Opal 0.11.3 */
28578
28589
  Opal.modules["parser/source/map/send"] = function(Opal) {
28579
28590
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $send = Opal.send;
28580
28591
 
@@ -28631,7 +28642,7 @@ if (map == null) map = nil;
28631
28642
  })($nesting[0], $nesting)
28632
28643
  };
28633
28644
 
28634
- /* Generated by Opal 0.11.0 */
28645
+ /* Generated by Opal 0.11.3 */
28635
28646
  Opal.modules["parser/source/map/condition"] = function(Opal) {
28636
28647
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $send = Opal.send;
28637
28648
 
@@ -28671,7 +28682,7 @@ Opal.modules["parser/source/map/condition"] = function(Opal) {
28671
28682
  })($nesting[0], $nesting)
28672
28683
  };
28673
28684
 
28674
- /* Generated by Opal 0.11.0 */
28685
+ /* Generated by Opal 0.11.3 */
28675
28686
  Opal.modules["parser/source/map/ternary"] = function(Opal) {
28676
28687
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $send = Opal.send;
28677
28688
 
@@ -28708,7 +28719,7 @@ Opal.modules["parser/source/map/ternary"] = function(Opal) {
28708
28719
  })($nesting[0], $nesting)
28709
28720
  };
28710
28721
 
28711
- /* Generated by Opal 0.11.0 */
28722
+ /* Generated by Opal 0.11.3 */
28712
28723
  Opal.modules["parser/source/map/for"] = function(Opal) {
28713
28724
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $send = Opal.send;
28714
28725
 
@@ -28746,7 +28757,7 @@ Opal.modules["parser/source/map/for"] = function(Opal) {
28746
28757
  })($nesting[0], $nesting)
28747
28758
  };
28748
28759
 
28749
- /* Generated by Opal 0.11.0 */
28760
+ /* Generated by Opal 0.11.3 */
28750
28761
  Opal.modules["parser/source/map/rescue_body"] = function(Opal) {
28751
28762
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $send = Opal.send;
28752
28763
 
@@ -28786,7 +28797,7 @@ Opal.modules["parser/source/map/rescue_body"] = function(Opal) {
28786
28797
  })($nesting[0], $nesting)
28787
28798
  };
28788
28799
 
28789
- /* Generated by Opal 0.11.0 */
28800
+ /* Generated by Opal 0.11.3 */
28790
28801
  Opal.modules["parser/source/map/heredoc"] = function(Opal) {
28791
28802
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $send = Opal.send;
28792
28803
 
@@ -28824,7 +28835,7 @@ Opal.modules["parser/source/map/heredoc"] = function(Opal) {
28824
28835
  })($nesting[0], $nesting)
28825
28836
  };
28826
28837
 
28827
- /* Generated by Opal 0.11.0 */
28838
+ /* Generated by Opal 0.11.3 */
28828
28839
  Opal.modules["parser/source/map/objc_kwarg"] = function(Opal) {
28829
28840
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $send = Opal.send;
28830
28841
 
@@ -28862,7 +28873,7 @@ Opal.modules["parser/source/map/objc_kwarg"] = function(Opal) {
28862
28873
  })($nesting[0], $nesting)
28863
28874
  };
28864
28875
 
28865
- /* Generated by Opal 0.11.0 */
28876
+ /* Generated by Opal 0.11.3 */
28866
28877
  Opal.modules["parser/syntax_error"] = function(Opal) {
28867
28878
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $send = Opal.send;
28868
28879
 
@@ -28892,7 +28903,7 @@ Opal.modules["parser/syntax_error"] = function(Opal) {
28892
28903
  })($nesting[0], $nesting)
28893
28904
  };
28894
28905
 
28895
- /* Generated by Opal 0.11.0 */
28906
+ /* Generated by Opal 0.11.3 */
28896
28907
  Opal.modules["parser/clobbering_error"] = function(Opal) {
28897
28908
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass;
28898
28909
 
@@ -28912,7 +28923,7 @@ Opal.modules["parser/clobbering_error"] = function(Opal) {
28912
28923
  })($nesting[0], $nesting)
28913
28924
  };
28914
28925
 
28915
- /* Generated by Opal 0.11.0 */
28926
+ /* Generated by Opal 0.11.3 */
28916
28927
  Opal.modules["parser/diagnostic"] = function(Opal) {
28917
28928
  function $rb_plus(lhs, rhs) {
28918
28929
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs + rhs : lhs['$+'](rhs);
@@ -29061,7 +29072,7 @@ if (line == null) line = nil;
29061
29072
  })($nesting[0], $nesting)
29062
29073
  };
29063
29074
 
29064
- /* Generated by Opal 0.11.0 */
29075
+ /* Generated by Opal 0.11.3 */
29065
29076
  Opal.modules["parser/diagnostic/engine"] = function(Opal) {
29066
29077
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy;
29067
29078
 
@@ -29122,7 +29133,7 @@ Opal.modules["parser/diagnostic/engine"] = function(Opal) {
29122
29133
  })($nesting[0], $nesting)
29123
29134
  };
29124
29135
 
29125
- /* Generated by Opal 0.11.0 */
29136
+ /* Generated by Opal 0.11.3 */
29126
29137
  Opal.modules["parser/static_environment"] = function(Opal) {
29127
29138
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass;
29128
29139
 
@@ -29197,7 +29208,7 @@ Opal.modules["parser/static_environment"] = function(Opal) {
29197
29208
  })($nesting[0], $nesting)
29198
29209
  };
29199
29210
 
29200
- /* Generated by Opal 0.11.0 */
29211
+ /* Generated by Opal 0.11.3 */
29201
29212
  Opal.modules["parser/lexer"] = function(Opal) {
29202
29213
  function $rb_minus(lhs, rhs) {
29203
29214
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
@@ -37043,7 +37054,7 @@ if (keyword == null) keyword = nil;
37043
37054
  })(Opal.const_get_relative($nesting, 'Parser'), null, $nesting)
37044
37055
  };
37045
37056
 
37046
- /* Generated by Opal 0.11.0 */
37057
+ /* Generated by Opal 0.11.3 */
37047
37058
  Opal.modules["parser/lexer/literal"] = function(Opal) {
37048
37059
  function $rb_plus(lhs, rhs) {
37049
37060
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs + rhs : lhs['$+'](rhs);
@@ -37340,7 +37351,7 @@ if (char$ == null) char$ = nil;
37340
37351
  })($nesting[0], $nesting)
37341
37352
  };
37342
37353
 
37343
- /* Generated by Opal 0.11.0 */
37354
+ /* Generated by Opal 0.11.3 */
37344
37355
  Opal.modules["parser/lexer/stack_state"] = function(Opal) {
37345
37356
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy;
37346
37357
 
@@ -37417,7 +37428,7 @@ Opal.modules["parser/lexer/stack_state"] = function(Opal) {
37417
37428
  })($nesting[0], $nesting)
37418
37429
  };
37419
37430
 
37420
- /* Generated by Opal 0.11.0 */
37431
+ /* Generated by Opal 0.11.3 */
37421
37432
  Opal.modules["parser/lexer/dedenter"] = function(Opal) {
37422
37433
  function $rb_minus(lhs, rhs) {
37423
37434
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
@@ -37503,7 +37514,7 @@ if (char$ == null) char$ = nil;if (index == null) index = nil;
37503
37514
  })($nesting[0], $nesting)
37504
37515
  };
37505
37516
 
37506
- /* Generated by Opal 0.11.0 */
37517
+ /* Generated by Opal 0.11.3 */
37507
37518
  Opal.modules["parser/builders/default"] = function(Opal) {
37508
37519
  function $rb_minus(lhs, rhs) {
37509
37520
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
@@ -39068,7 +39079,7 @@ if (node == null) node = nil;
39068
39079
  })($nesting[0], $nesting)
39069
39080
  };
39070
39081
 
39071
- /* Generated by Opal 0.11.0 */
39082
+ /* Generated by Opal 0.11.3 */
39072
39083
  Opal.modules["parser/base"] = function(Opal) {
39073
39084
  function $rb_minus(lhs, rhs) {
39074
39085
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
@@ -39335,7 +39346,7 @@ if (token == null) token = nil;
39335
39346
  })($nesting[0], $nesting)
39336
39347
  };
39337
39348
 
39338
- /* Generated by Opal 0.11.0 */
39349
+ /* Generated by Opal 0.11.3 */
39339
39350
  Opal.modules["parser/rewriter"] = function(Opal) {
39340
39351
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass;
39341
39352
 
@@ -39395,7 +39406,7 @@ Opal.modules["parser/rewriter"] = function(Opal) {
39395
39406
  })($nesting[0], $nesting)
39396
39407
  };
39397
39408
 
39398
- /* Generated by Opal 0.11.0 */
39409
+ /* Generated by Opal 0.11.3 */
39399
39410
  Opal.modules["parser"] = function(Opal) {
39400
39411
  function $rb_lt(lhs, rhs) {
39401
39412
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs < rhs : lhs['$<'](rhs);
@@ -39486,7 +39497,7 @@ Opal.modules["parser"] = function(Opal) {
39486
39497
  })($nesting[0], $nesting);
39487
39498
  };
39488
39499
 
39489
- /* Generated by Opal 0.11.0 */
39500
+ /* Generated by Opal 0.11.3 */
39490
39501
  Opal.modules["parser/ruby23"] = function(Opal) {
39491
39502
  function $rb_minus(lhs, rhs) {
39492
39503
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
@@ -43196,7 +43207,7 @@ if (i == null) i = nil;
43196
43207
  })($nesting[0], $nesting);
43197
43208
  };
43198
43209
 
43199
- /* Generated by Opal 0.11.0 */
43210
+ /* Generated by Opal 0.11.3 */
43200
43211
  Opal.modules["opal/ast/builder"] = function(Opal) {
43201
43212
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $hash2 = Opal.hash2;
43202
43213
 
@@ -43230,11 +43241,14 @@ Opal.modules["opal/ast/builder"] = function(Opal) {
43230
43241
  })($nesting[0], $nesting);
43231
43242
  };
43232
43243
 
43233
- /* Generated by Opal 0.11.0 */
43244
+ /* Generated by Opal 0.11.3 */
43234
43245
  Opal.modules["opal/rewriters/base"] = function(Opal) {
43235
- var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy;
43246
+ function $rb_minus(lhs, rhs) {
43247
+ return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
43248
+ }
43249
+ var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy, $hash2 = Opal.hash2, $send = Opal.send;
43236
43250
 
43237
- Opal.add_stubs(['$require', '$new', '$nil?', '$include?', '$type', '$updated', '$s']);
43251
+ Opal.add_stubs(['$require', '$new', '$current_node', '$loc', '$nil?', '$include?', '$type', '$updated', '$s', '$attr_accessor', '$current_node=', '$-']);
43238
43252
 
43239
43253
  self.$require("parser");
43240
43254
  self.$require("opal/ast/node");
@@ -43252,12 +43266,68 @@ Opal.modules["opal/rewriters/base"] = function(Opal) {
43252
43266
  function $Base(){};
43253
43267
  var self = $Base = $klass($base, $super, 'Base', $Base);
43254
43268
 
43255
- var def = self.$$proto, $nesting = [self].concat($parent_nesting), TMP_Base_s_1, TMP_Base_s_2, TMP_Base_prepend_to_body_3, TMP_Base_append_to_body_4;
43269
+ var def = self.$$proto, $nesting = [self].concat($parent_nesting), TMP_Base_s_9, TMP_Base_s_10, TMP_Base_prepend_to_body_11, TMP_Base_append_to_body_12, TMP_Base_process_13;
43256
43270
 
43257
43271
 
43272
+ (function($base, $super, $parent_nesting) {
43273
+ function $DummyLocation(){};
43274
+ var self = $DummyLocation = $klass($base, $super, 'DummyLocation', $DummyLocation);
43275
+
43276
+ var def = self.$$proto, $nesting = [self].concat($parent_nesting), TMP_DummyLocation_node$eq_1, TMP_DummyLocation_expression_2, TMP_DummyLocation_begin_pos_3, TMP_DummyLocation_end_pos_4, TMP_DummyLocation_source_5, TMP_DummyLocation_line_6, TMP_DummyLocation_column_7, TMP_DummyLocation_last_line_8;
43277
+
43278
+
43279
+
43280
+ Opal.defn(self, '$node=', TMP_DummyLocation_node$eq_1 = function($a_rest) {
43281
+ var self = this;
43282
+
43283
+ return nil
43284
+ }, TMP_DummyLocation_node$eq_1.$$arity = -1);
43285
+
43286
+ Opal.defn(self, '$expression', TMP_DummyLocation_expression_2 = function $$expression() {
43287
+ var self = this;
43288
+
43289
+ return self
43290
+ }, TMP_DummyLocation_expression_2.$$arity = 0);
43291
+
43292
+ Opal.defn(self, '$begin_pos', TMP_DummyLocation_begin_pos_3 = function $$begin_pos() {
43293
+ var self = this;
43294
+
43295
+ return 0
43296
+ }, TMP_DummyLocation_begin_pos_3.$$arity = 0);
43297
+
43298
+ Opal.defn(self, '$end_pos', TMP_DummyLocation_end_pos_4 = function $$end_pos() {
43299
+ var self = this;
43300
+
43301
+ return 0
43302
+ }, TMP_DummyLocation_end_pos_4.$$arity = 0);
43303
+
43304
+ Opal.defn(self, '$source', TMP_DummyLocation_source_5 = function $$source() {
43305
+ var self = this;
43306
+
43307
+ return ""
43308
+ }, TMP_DummyLocation_source_5.$$arity = 0);
43309
+
43310
+ Opal.defn(self, '$line', TMP_DummyLocation_line_6 = function $$line() {
43311
+ var self = this;
43312
+
43313
+ return 0
43314
+ }, TMP_DummyLocation_line_6.$$arity = 0);
43315
+
43316
+ Opal.defn(self, '$column', TMP_DummyLocation_column_7 = function $$column() {
43317
+ var self = this;
43318
+
43319
+ return 0
43320
+ }, TMP_DummyLocation_column_7.$$arity = 0);
43321
+ return (Opal.defn(self, '$last_line', TMP_DummyLocation_last_line_8 = function $$last_line() {
43322
+ var self = this;
43323
+
43324
+ return Opal.const_get_qualified(Opal.const_get_relative($nesting, 'Float'), 'INFINITY')
43325
+ }, TMP_DummyLocation_last_line_8.$$arity = 0), nil) && 'last_line';
43326
+ })($nesting[0], null, $nesting);
43327
+ Opal.const_set($nesting[0], 'DUMMY_LOCATION', Opal.const_get_relative($nesting, 'DummyLocation').$new());
43258
43328
 
43259
- Opal.defn(self, '$s', TMP_Base_s_1 = function $$s(type, $a_rest) {
43260
- var self = this, children;
43329
+ Opal.defn(self, '$s', TMP_Base_s_9 = function $$s(type, $a_rest) {
43330
+ var self = this, children, loc = nil;
43261
43331
 
43262
43332
  var $args_len = arguments.length, $rest_len = $args_len - 1;
43263
43333
  if ($rest_len < 0) { $rest_len = 0; }
@@ -43265,9 +43335,15 @@ Opal.modules["opal/rewriters/base"] = function(Opal) {
43265
43335
  for (var $arg_idx = 1; $arg_idx < $args_len; $arg_idx++) {
43266
43336
  children[$arg_idx - 1] = arguments[$arg_idx];
43267
43337
  }
43268
- return Opal.const_get_qualified(Opal.const_get_qualified(Opal.const_get_qualified('::', 'Opal'), 'AST'), 'Node').$new(type, children)
43269
- }, TMP_Base_s_1.$$arity = -2);
43270
- Opal.defs(self, '$s', TMP_Base_s_2 = function $$s(type, $a_rest) {
43338
+
43339
+ loc = (function() {if ($truthy(self.$current_node())) {
43340
+ return self.$current_node().$loc()
43341
+ } else {
43342
+ return Opal.const_get_relative($nesting, 'DUMMY_LOCATION')
43343
+ }; return nil; })();
43344
+ return Opal.const_get_qualified(Opal.const_get_qualified(Opal.const_get_qualified('::', 'Opal'), 'AST'), 'Node').$new(type, children, $hash2(["location"], {"location": loc}));
43345
+ }, TMP_Base_s_9.$$arity = -2);
43346
+ Opal.defs(self, '$s', TMP_Base_s_10 = function $$s(type, $a_rest) {
43271
43347
  var self = this, children;
43272
43348
 
43273
43349
  var $args_len = arguments.length, $rest_len = $args_len - 1;
@@ -43276,8 +43352,8 @@ Opal.modules["opal/rewriters/base"] = function(Opal) {
43276
43352
  for (var $arg_idx = 1; $arg_idx < $args_len; $arg_idx++) {
43277
43353
  children[$arg_idx - 1] = arguments[$arg_idx];
43278
43354
  }
43279
- return Opal.const_get_qualified(Opal.const_get_qualified(Opal.const_get_qualified('::', 'Opal'), 'AST'), 'Node').$new(type, children)
43280
- }, TMP_Base_s_2.$$arity = -2);
43355
+ return Opal.const_get_qualified(Opal.const_get_qualified(Opal.const_get_qualified('::', 'Opal'), 'AST'), 'Node').$new(type, children, $hash2(["location"], {"location": Opal.const_get_relative($nesting, 'DUMMY_LOCATION')}))
43356
+ }, TMP_Base_s_10.$$arity = -2);
43281
43357
  Opal.alias(self, "on_iter", "process_regular_node");
43282
43358
  Opal.alias(self, "on_top", "process_regular_node");
43283
43359
  Opal.alias(self, "on_zsuper", "process_regular_node");
@@ -43286,7 +43362,7 @@ Opal.modules["opal/rewriters/base"] = function(Opal) {
43286
43362
  Opal.alias(self, "on_jsattrasgn", "process_regular_node");
43287
43363
  Opal.alias(self, "on_kwsplat", "process_regular_node");
43288
43364
 
43289
- Opal.defn(self, '$prepend_to_body', TMP_Base_prepend_to_body_3 = function $$prepend_to_body(body, node) {
43365
+ Opal.defn(self, '$prepend_to_body', TMP_Base_prepend_to_body_11 = function $$prepend_to_body(body, node) {
43290
43366
  var self = this;
43291
43367
 
43292
43368
  if ($truthy(body['$nil?']())) {
@@ -43296,8 +43372,9 @@ Opal.modules["opal/rewriters/base"] = function(Opal) {
43296
43372
  } else {
43297
43373
  return self.$s("begin", node, body)
43298
43374
  }
43299
- }, TMP_Base_prepend_to_body_3.$$arity = 2);
43300
- return (Opal.defn(self, '$append_to_body', TMP_Base_append_to_body_4 = function $$append_to_body(body, node) {
43375
+ }, TMP_Base_prepend_to_body_11.$$arity = 2);
43376
+
43377
+ Opal.defn(self, '$append_to_body', TMP_Base_append_to_body_12 = function $$append_to_body(body, node) {
43301
43378
  var self = this;
43302
43379
 
43303
43380
  if ($truthy(body['$nil?']())) {
@@ -43307,13 +43384,33 @@ Opal.modules["opal/rewriters/base"] = function(Opal) {
43307
43384
  } else {
43308
43385
  return self.$s("begin", body, node)
43309
43386
  }
43310
- }, TMP_Base_append_to_body_4.$$arity = 2), nil) && 'append_to_body';
43387
+ }, TMP_Base_append_to_body_12.$$arity = 2);
43388
+ self.$attr_accessor("current_node");
43389
+ return (Opal.defn(self, '$process', TMP_Base_process_13 = function $$process(node) {
43390
+ var self = this, $iter = TMP_Base_process_13.$$p, $yield = $iter || nil, $writer = nil, $zuper = nil, $zuper_i = nil, $zuper_ii = nil;
43391
+
43392
+ if ($iter) TMP_Base_process_13.$$p = null;
43393
+ // Prepare super implicit arguments
43394
+ for($zuper_i = 0, $zuper_ii = arguments.length, $zuper = new Array($zuper_ii); $zuper_i < $zuper_ii; $zuper_i++) {
43395
+ $zuper[$zuper_i] = arguments[$zuper_i];
43396
+ }
43397
+ return (function() { try {
43398
+
43399
+
43400
+ $writer = [node];
43401
+ $send(self, 'current_node=', Opal.to_a($writer));
43402
+ $writer[$rb_minus($writer["length"], 1)];;
43403
+ return $send(self, Opal.find_super_dispatcher(self, 'process', TMP_Base_process_13, false), $zuper, $iter);
43404
+ } finally {
43405
+ (($writer = [nil]), $send(self, 'current_node=', Opal.to_a($writer)), $writer[$rb_minus($writer["length"], 1)])
43406
+ }; })()
43407
+ }, TMP_Base_process_13.$$arity = 1), nil) && 'process';
43311
43408
  })($nesting[0], Opal.const_get_qualified(Opal.const_get_qualified(Opal.const_get_qualified('::', 'Parser'), 'AST'), 'Processor'), $nesting)
43312
43409
  })($nesting[0], $nesting)
43313
43410
  })($nesting[0], $nesting);
43314
43411
  };
43315
43412
 
43316
- /* Generated by Opal 0.11.0 */
43413
+ /* Generated by Opal 0.11.3 */
43317
43414
  Opal.modules["opal/rewriters/opal_engine_check"] = function(Opal) {
43318
43415
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy;
43319
43416
 
@@ -43370,7 +43467,7 @@ Opal.modules["opal/rewriters/opal_engine_check"] = function(Opal) {
43370
43467
  })($nesting[0], $nesting);
43371
43468
  };
43372
43469
 
43373
- /* Generated by Opal 0.11.0 */
43470
+ /* Generated by Opal 0.11.3 */
43374
43471
  Opal.modules["opal/rewriters/for_rewriter"] = function(Opal) {
43375
43472
  function $rb_plus(lhs, rhs) {
43376
43473
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs + rhs : lhs['$+'](rhs);
@@ -43473,7 +43570,7 @@ if (lvar_name == null) lvar_name = nil;
43473
43570
  })($nesting[0], $nesting);
43474
43571
  };
43475
43572
 
43476
- /* Generated by Opal 0.11.0 */
43573
+ /* Generated by Opal 0.11.3 */
43477
43574
  Opal.modules["opal/rewriters/explicit_writer_return"] = function(Opal) {
43478
43575
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy, $send = Opal.send;
43479
43576
 
@@ -43547,7 +43644,7 @@ Opal.modules["opal/rewriters/explicit_writer_return"] = function(Opal) {
43547
43644
  })($nesting[0], $nesting);
43548
43645
  };
43549
43646
 
43550
- /* Generated by Opal 0.11.0 */
43647
+ /* Generated by Opal 0.11.3 */
43551
43648
  Opal.modules["opal/rewriters/js_reserved_words"] = function(Opal) {
43552
43649
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy, $range = Opal.range, $send = Opal.send, $hash2 = Opal.hash2;
43553
43650
 
@@ -43687,7 +43784,7 @@ Opal.modules["opal/rewriters/js_reserved_words"] = function(Opal) {
43687
43784
  })($nesting[0], $nesting);
43688
43785
  };
43689
43786
 
43690
- /* Generated by Opal 0.11.0 */
43787
+ /* Generated by Opal 0.11.3 */
43691
43788
  Opal.modules["opal/rewriters/block_to_iter"] = function(Opal) {
43692
43789
  function $rb_plus(lhs, rhs) {
43693
43790
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs + rhs : lhs['$+'](rhs);
@@ -43731,7 +43828,7 @@ Opal.modules["opal/rewriters/block_to_iter"] = function(Opal) {
43731
43828
  })($nesting[0], $nesting);
43732
43829
  };
43733
43830
 
43734
- /* Generated by Opal 0.11.0 */
43831
+ /* Generated by Opal 0.11.3 */
43735
43832
  Opal.modules["opal/rewriters/dot_js_syntax"] = function(Opal) {
43736
43833
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy, $send = Opal.send;
43737
43834
 
@@ -43813,7 +43910,7 @@ Opal.modules["opal/rewriters/dot_js_syntax"] = function(Opal) {
43813
43910
  })($nesting[0], $nesting);
43814
43911
  };
43815
43912
 
43816
- /* Generated by Opal 0.11.0 */
43913
+ /* Generated by Opal 0.11.3 */
43817
43914
  Opal.modules["opal/rewriters/logical_operator_assignment"] = function(Opal) {
43818
43915
  function $rb_plus(lhs, rhs) {
43819
43916
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs + rhs : lhs['$+'](rhs);
@@ -43955,7 +44052,7 @@ if (lhs == null) lhs = nil;if (rhs == null) rhs = nil;if (root_type == null) roo
43955
44052
  })($nesting[0], $nesting);
43956
44053
  };
43957
44054
 
43958
- /* Generated by Opal 0.11.0 */
44055
+ /* Generated by Opal 0.11.3 */
43959
44056
  Opal.modules["opal/rewriters/binary_operator_assignment"] = function(Opal) {
43960
44057
  function $rb_plus(lhs, rhs) {
43961
44058
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs + rhs : lhs['$+'](rhs);
@@ -44085,7 +44182,7 @@ if (lhs == null) lhs = nil;if (op == null) op = nil;if (rhs == null) rhs = nil;
44085
44182
  })($nesting[0], $nesting);
44086
44183
  };
44087
44184
 
44088
- /* Generated by Opal 0.11.0 */
44185
+ /* Generated by Opal 0.11.3 */
44089
44186
  Opal.modules["opal/rewriters/hashes/key_duplicates_rewriter"] = function(Opal) {
44090
44187
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $send = Opal.send, $truthy = Opal.truthy;
44091
44188
 
@@ -44193,7 +44290,7 @@ Opal.modules["opal/rewriters/hashes/key_duplicates_rewriter"] = function(Opal) {
44193
44290
  })($nesting[0], $nesting);
44194
44291
  };
44195
44292
 
44196
- /* Generated by Opal 0.11.0 */
44293
+ /* Generated by Opal 0.11.3 */
44197
44294
  Opal.modules["opal/rewriter"] = function(Opal) {
44198
44295
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy, $send = Opal.send;
44199
44296
 
@@ -44301,7 +44398,7 @@ if (rewriter_class == null) rewriter_class = nil;
44301
44398
  })($nesting[0], $nesting);
44302
44399
  };
44303
44400
 
44304
- /* Generated by Opal 0.11.0 */
44401
+ /* Generated by Opal 0.11.3 */
44305
44402
  Opal.modules["opal/parser"] = function(Opal) {
44306
44403
  function $rb_minus(lhs, rhs) {
44307
44404
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
@@ -44421,7 +44518,7 @@ if (diagnostic == null) diagnostic = nil;
44421
44518
  })($nesting[0], $nesting);
44422
44519
  };
44423
44520
 
44424
- /* Generated by Opal 0.11.0 */
44521
+ /* Generated by Opal 0.11.3 */
44425
44522
  Opal.modules["opal/fragment"] = function(Opal) {
44426
44523
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy;
44427
44524
 
@@ -44497,7 +44594,7 @@ Opal.modules["opal/fragment"] = function(Opal) {
44497
44594
  })($nesting[0], $nesting)
44498
44595
  };
44499
44596
 
44500
- /* Generated by Opal 0.11.0 */
44597
+ /* Generated by Opal 0.11.3 */
44501
44598
  Opal.modules["opal/nodes/helpers"] = function(Opal) {
44502
44599
  function $rb_plus(lhs, rhs) {
44503
44600
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs + rhs : lhs['$+'](rhs);
@@ -44642,7 +44739,7 @@ Opal.modules["opal/nodes/helpers"] = function(Opal) {
44642
44739
  })($nesting[0], $nesting);
44643
44740
  };
44644
44741
 
44645
- /* Generated by Opal 0.11.0 */
44742
+ /* Generated by Opal 0.11.3 */
44646
44743
  Opal.modules["opal/nodes/base"] = function(Opal) {
44647
44744
  function $rb_minus(lhs, rhs) {
44648
44745
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
@@ -44976,7 +45073,7 @@ if (str == null) str = nil;
44976
45073
  })($nesting[0], $nesting);
44977
45074
  };
44978
45075
 
44979
- /* Generated by Opal 0.11.0 */
45076
+ /* Generated by Opal 0.11.3 */
44980
45077
  Opal.modules["opal/nodes/literal"] = function(Opal) {
44981
45078
  function $rb_plus(lhs, rhs) {
44982
45079
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs + rhs : lhs['$+'](rhs);
@@ -45450,7 +45547,7 @@ if (part == null) part = nil;if (idx == null) idx = nil;
45450
45547
  })($nesting[0], $nesting);
45451
45548
  };
45452
45549
 
45453
- /* Generated by Opal 0.11.0 */
45550
+ /* Generated by Opal 0.11.3 */
45454
45551
  Opal.modules["opal/nodes/variables"] = function(Opal) {
45455
45552
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy, $send = Opal.send, $range = Opal.range;
45456
45553
 
@@ -45762,7 +45859,7 @@ if (tmp == null) tmp = nil;
45762
45859
  })($nesting[0], $nesting);
45763
45860
  };
45764
45861
 
45765
- /* Generated by Opal 0.11.0 */
45862
+ /* Generated by Opal 0.11.3 */
45766
45863
  Opal.modules["opal/nodes/constants"] = function(Opal) {
45767
45864
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy;
45768
45865
 
@@ -45846,7 +45943,7 @@ Opal.modules["opal/nodes/constants"] = function(Opal) {
45846
45943
  })($nesting[0], $nesting);
45847
45944
  };
45848
45945
 
45849
- /* Generated by Opal 0.11.0 */
45946
+ /* Generated by Opal 0.11.3 */
45850
45947
  Opal.modules["pathname"] = function(Opal) {
45851
45948
  function $rb_plus(lhs, rhs) {
45852
45949
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs + rhs : lhs['$+'](rhs);
@@ -46200,7 +46297,7 @@ if (f == null) f = nil;
46200
46297
  })($nesting[0], $nesting);
46201
46298
  };
46202
46299
 
46203
- /* Generated by Opal 0.11.0 */
46300
+ /* Generated by Opal 0.11.3 */
46204
46301
  Opal.modules["opal/nodes/runtime_helpers"] = function(Opal) {
46205
46302
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $send = Opal.send, $truthy = Opal.truthy;
46206
46303
 
@@ -46282,7 +46379,7 @@ Opal.modules["opal/nodes/runtime_helpers"] = function(Opal) {
46282
46379
  })($nesting[0], $nesting);
46283
46380
  };
46284
46381
 
46285
- /* Generated by Opal 0.11.0 */
46382
+ /* Generated by Opal 0.11.3 */
46286
46383
  Opal.modules["opal/rewriters/break_finder"] = function(Opal) {
46287
46384
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass;
46288
46385
 
@@ -46344,7 +46441,7 @@ Opal.modules["opal/rewriters/break_finder"] = function(Opal) {
46344
46441
  })($nesting[0], $nesting);
46345
46442
  };
46346
46443
 
46347
- /* Generated by Opal 0.11.0 */
46444
+ /* Generated by Opal 0.11.3 */
46348
46445
  Opal.modules["opal/nodes/call"] = function(Opal) {
46349
46446
  function $rb_minus(lhs, rhs) {
46350
46447
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
@@ -46796,7 +46893,7 @@ if (p == null) p = nil;if (part == null) part = nil;
46796
46893
  })($nesting[0], $nesting);
46797
46894
  };
46798
46895
 
46799
- /* Generated by Opal 0.11.0 */
46896
+ /* Generated by Opal 0.11.3 */
46800
46897
  Opal.modules["opal/nodes/csend"] = function(Opal) {
46801
46898
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $send = Opal.send;
46802
46899
 
@@ -46840,7 +46937,7 @@ if (receiver_temp == null) receiver_temp = nil;
46840
46937
  })($nesting[0], $nesting);
46841
46938
  };
46842
46939
 
46843
- /* Generated by Opal 0.11.0 */
46940
+ /* Generated by Opal 0.11.3 */
46844
46941
  Opal.modules["opal/nodes/call_special"] = function(Opal) {
46845
46942
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $send = Opal.send, $truthy = Opal.truthy;
46846
46943
 
@@ -46958,7 +47055,7 @@ Opal.modules["opal/nodes/call_special"] = function(Opal) {
46958
47055
  })($nesting[0], $nesting);
46959
47056
  };
46960
47057
 
46961
- /* Generated by Opal 0.11.0 */
47058
+ /* Generated by Opal 0.11.3 */
46962
47059
  Opal.modules["opal/nodes/scope"] = function(Opal) {
46963
47060
  function $rb_minus(lhs, rhs) {
46964
47061
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
@@ -47384,7 +47481,7 @@ if (i == null) i = nil;
47384
47481
  })($nesting[0], $nesting);
47385
47482
  };
47386
47483
 
47387
- /* Generated by Opal 0.11.0 */
47484
+ /* Generated by Opal 0.11.3 */
47388
47485
  Opal.modules["opal/nodes/module"] = function(Opal) {
47389
47486
  function $rb_minus(lhs, rhs) {
47390
47487
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
@@ -47453,7 +47550,7 @@ Opal.modules["opal/nodes/module"] = function(Opal) {
47453
47550
  })($nesting[0], $nesting);
47454
47551
  };
47455
47552
 
47456
- /* Generated by Opal 0.11.0 */
47553
+ /* Generated by Opal 0.11.3 */
47457
47554
  Opal.modules["opal/nodes/class"] = function(Opal) {
47458
47555
  function $rb_minus(lhs, rhs) {
47459
47556
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
@@ -47527,7 +47624,7 @@ Opal.modules["opal/nodes/class"] = function(Opal) {
47527
47624
  })($nesting[0], $nesting);
47528
47625
  };
47529
47626
 
47530
- /* Generated by Opal 0.11.0 */
47627
+ /* Generated by Opal 0.11.3 */
47531
47628
  Opal.modules["opal/nodes/singleton_class"] = function(Opal) {
47532
47629
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $send = Opal.send;
47533
47630
 
@@ -47573,7 +47670,7 @@ Opal.modules["opal/nodes/singleton_class"] = function(Opal) {
47573
47670
  })($nesting[0], $nesting);
47574
47671
  };
47575
47672
 
47576
- /* Generated by Opal 0.11.0 */
47673
+ /* Generated by Opal 0.11.3 */
47577
47674
  Opal.modules["opal/nodes/inline_args"] = function(Opal) {
47578
47675
  function $rb_minus(lhs, rhs) {
47579
47676
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
@@ -47664,7 +47761,7 @@ if (result == null) result = nil;if (arg == null) arg = nil;
47664
47761
  })($nesting[0], $nesting);
47665
47762
  };
47666
47763
 
47667
- /* Generated by Opal 0.11.0 */
47764
+ /* Generated by Opal 0.11.3 */
47668
47765
  Opal.modules["opal/nodes/args/normarg"] = function(Opal) {
47669
47766
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy;
47670
47767
 
@@ -47713,7 +47810,7 @@ Opal.modules["opal/nodes/args/normarg"] = function(Opal) {
47713
47810
  })($nesting[0], $nesting);
47714
47811
  };
47715
47812
 
47716
- /* Generated by Opal 0.11.0 */
47813
+ /* Generated by Opal 0.11.3 */
47717
47814
  Opal.modules["opal/nodes/args/optarg"] = function(Opal) {
47718
47815
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass;
47719
47816
 
@@ -47755,7 +47852,7 @@ Opal.modules["opal/nodes/args/optarg"] = function(Opal) {
47755
47852
  })($nesting[0], $nesting);
47756
47853
  };
47757
47854
 
47758
- /* Generated by Opal 0.11.0 */
47855
+ /* Generated by Opal 0.11.3 */
47759
47856
  Opal.modules["opal/nodes/args/mlhsarg"] = function(Opal) {
47760
47857
  function $rb_minus(lhs, rhs) {
47761
47858
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
@@ -47844,7 +47941,7 @@ if (arg == null) arg = nil;
47844
47941
  })($nesting[0], $nesting);
47845
47942
  };
47846
47943
 
47847
- /* Generated by Opal 0.11.0 */
47944
+ /* Generated by Opal 0.11.3 */
47848
47945
  Opal.modules["opal/nodes/args/restarg"] = function(Opal) {
47849
47946
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy;
47850
47947
 
@@ -47898,7 +47995,7 @@ Opal.modules["opal/nodes/args/restarg"] = function(Opal) {
47898
47995
  })($nesting[0], $nesting);
47899
47996
  };
47900
47997
 
47901
- /* Generated by Opal 0.11.0 */
47998
+ /* Generated by Opal 0.11.3 */
47902
47999
  Opal.modules["opal/nodes/args/initialize_kwargs"] = function(Opal) {
47903
48000
  function $rb_minus(lhs, rhs) {
47904
48001
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
@@ -47948,7 +48045,7 @@ Opal.modules["opal/nodes/args/initialize_kwargs"] = function(Opal) {
47948
48045
  })($nesting[0], $nesting);
47949
48046
  };
47950
48047
 
47951
- /* Generated by Opal 0.11.0 */
48048
+ /* Generated by Opal 0.11.3 */
47952
48049
  Opal.modules["opal/nodes/args/kwarg"] = function(Opal) {
47953
48050
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass;
47954
48051
 
@@ -47993,7 +48090,7 @@ Opal.modules["opal/nodes/args/kwarg"] = function(Opal) {
47993
48090
  })($nesting[0], $nesting);
47994
48091
  };
47995
48092
 
47996
- /* Generated by Opal 0.11.0 */
48093
+ /* Generated by Opal 0.11.3 */
47997
48094
  Opal.modules["opal/nodes/args/kwoptarg"] = function(Opal) {
47998
48095
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass;
47999
48096
 
@@ -48040,7 +48137,7 @@ Opal.modules["opal/nodes/args/kwoptarg"] = function(Opal) {
48040
48137
  })($nesting[0], $nesting);
48041
48138
  };
48042
48139
 
48043
- /* Generated by Opal 0.11.0 */
48140
+ /* Generated by Opal 0.11.3 */
48044
48141
  Opal.modules["opal/nodes/args/kwrestarg"] = function(Opal) {
48045
48142
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy, $send = Opal.send;
48046
48143
 
@@ -48095,7 +48192,7 @@ if (arg_name == null) arg_name = nil;
48095
48192
  })($nesting[0], $nesting);
48096
48193
  };
48097
48194
 
48098
- /* Generated by Opal 0.11.0 */
48195
+ /* Generated by Opal 0.11.3 */
48099
48196
  Opal.modules["opal/nodes/args/post_kwargs"] = function(Opal) {
48100
48197
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy, $send = Opal.send;
48101
48198
 
@@ -48142,7 +48239,7 @@ if (arg == null) arg = nil;
48142
48239
  })($nesting[0], $nesting);
48143
48240
  };
48144
48241
 
48145
- /* Generated by Opal 0.11.0 */
48242
+ /* Generated by Opal 0.11.3 */
48146
48243
  Opal.modules["opal/nodes/args/post_args"] = function(Opal) {
48147
48244
  function $rb_minus(lhs, rhs) {
48148
48245
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
@@ -48345,7 +48442,7 @@ if (arg == null) arg = nil;
48345
48442
  })($nesting[0], $nesting);
48346
48443
  };
48347
48444
 
48348
- /* Generated by Opal 0.11.0 */
48445
+ /* Generated by Opal 0.11.3 */
48349
48446
  Opal.modules["opal/nodes/node_with_args"] = function(Opal) {
48350
48447
  function $rb_minus(lhs, rhs) {
48351
48448
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
@@ -48673,7 +48770,7 @@ if (arg == null) arg = nil;
48673
48770
  })($nesting[0], $nesting);
48674
48771
  };
48675
48772
 
48676
- /* Generated by Opal 0.11.0 */
48773
+ /* Generated by Opal 0.11.3 */
48677
48774
  Opal.modules["opal/nodes/iter"] = function(Opal) {
48678
48775
  function $rb_minus(lhs, rhs) {
48679
48776
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
@@ -48930,7 +49027,7 @@ if (arg == null) arg = nil;
48930
49027
  })($nesting[0], $nesting);
48931
49028
  };
48932
49029
 
48933
- /* Generated by Opal 0.11.0 */
49030
+ /* Generated by Opal 0.11.3 */
48934
49031
  Opal.modules["opal/nodes/def"] = function(Opal) {
48935
49032
  function $rb_minus(lhs, rhs) {
48936
49033
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
@@ -49123,7 +49220,7 @@ if (comment == null) comment = nil;
49123
49220
  })($nesting[0], $nesting);
49124
49221
  };
49125
49222
 
49126
- /* Generated by Opal 0.11.0 */
49223
+ /* Generated by Opal 0.11.3 */
49127
49224
  Opal.modules["opal/nodes/defs"] = function(Opal) {
49128
49225
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy, $send = Opal.send;
49129
49226
 
@@ -49176,7 +49273,7 @@ Opal.modules["opal/nodes/defs"] = function(Opal) {
49176
49273
  })($nesting[0], $nesting);
49177
49274
  };
49178
49275
 
49179
- /* Generated by Opal 0.11.0 */
49276
+ /* Generated by Opal 0.11.3 */
49180
49277
  Opal.modules["opal/nodes/if"] = function(Opal) {
49181
49278
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy, $send = Opal.send;
49182
49279
 
@@ -49293,7 +49390,7 @@ Opal.modules["opal/nodes/if"] = function(Opal) {
49293
49390
  })($nesting[0], $nesting);
49294
49391
  };
49295
49392
 
49296
- /* Generated by Opal 0.11.0 */
49393
+ /* Generated by Opal 0.11.3 */
49297
49394
  Opal.modules["opal/nodes/logic"] = function(Opal) {
49298
49395
  function $rb_minus(lhs, rhs) {
49299
49396
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
@@ -49688,7 +49785,7 @@ if (tmp == null) tmp = nil;
49688
49785
  })($nesting[0], $nesting);
49689
49786
  };
49690
49787
 
49691
- /* Generated by Opal 0.11.0 */
49788
+ /* Generated by Opal 0.11.3 */
49692
49789
  Opal.modules["opal/nodes/definitions"] = function(Opal) {
49693
49790
  function $rb_gt(lhs, rhs) {
49694
49791
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs > rhs : lhs['$>'](rhs);
@@ -49832,7 +49929,7 @@ if (child == null) child = nil;if (idx == null) idx = nil;
49832
49929
  })($nesting[0], $nesting);
49833
49930
  };
49834
49931
 
49835
- /* Generated by Opal 0.11.0 */
49932
+ /* Generated by Opal 0.11.3 */
49836
49933
  Opal.modules["opal/nodes/yield"] = function(Opal) {
49837
49934
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy, $send = Opal.send;
49838
49935
 
@@ -49943,14 +50040,14 @@ if (child == null) child = nil;
49943
50040
  })($nesting[0], $nesting);
49944
50041
  };
49945
50042
 
49946
- /* Generated by Opal 0.11.0 */
50043
+ /* Generated by Opal 0.11.3 */
49947
50044
  Opal.modules["opal/nodes/rescue"] = function(Opal) {
49948
50045
  function $rb_minus(lhs, rhs) {
49949
50046
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
49950
50047
  }
49951
50048
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $send = Opal.send, $truthy = Opal.truthy, $range = Opal.range;
49952
50049
 
49953
- Opal.add_stubs(['$require', '$handle', '$children', '$push', '$in_ensure', '$line', '$stmt', '$body_sexp', '$indent', '$has_rescue_else?', '$unshift', '$rescue_else_code', '$process', '$compiler', '$ensr_sexp', '$wrap_in_closure?', '$wrap', '$returns', '$begn', '$ensr', '$s', '$recv?', '$expr?', '$rescue_else_sexp', '$scope', '$stmt?', '$detect', '$[]', '$!=', '$type', '$rescue_else_sexp=', '$-', '$handle_rescue_else_manually?', '$body_code', '$each_with_index', '$==', '$body', '$!', '$in_ensure?', '$expr', '$klasses', '$lvar', '$rescue_body', '$klasses_sexp']);
50050
+ Opal.add_stubs(['$require', '$handle', '$children', '$push', '$in_ensure', '$line', '$stmt', '$body_sexp', '$indent', '$has_rescue_else?', '$unshift', '$rescue_else_code', '$process', '$compiler', '$ensr_sexp', '$wrap_in_closure?', '$wrap', '$returns', '$begn', '$ensr', '$s', '$recv?', '$expr?', '$rescue_else_sexp', '$scope', '$stmt?', '$detect', '$[]', '$!=', '$type', '$rescue_else_sexp=', '$-', '$handle_rescue_else_manually?', '$body_code', '$each_with_index', '$==', '$nil?', '$body', '$!', '$in_ensure?', '$expr', '$klasses', '$lvar', '$rescue_body', '$klasses_sexp']);
49954
50051
 
49955
50052
  self.$require("opal/nodes/base");
49956
50053
  return (function($base, $parent_nesting) {
@@ -50115,10 +50212,10 @@ if (child == null) child = nil;if (idx == null) idx = nil;
50115
50212
  }, TMP_RescueNode_compile_16.$$arity = 0);
50116
50213
 
50117
50214
  Opal.defn(self, '$body_code', TMP_RescueNode_body_code_17 = function $$body_code() {
50118
- var self = this, body_code = nil;
50215
+ var $a, self = this, body_code = nil;
50119
50216
 
50120
50217
 
50121
- body_code = (function() {if (self.$body().$type()['$==']("resbody")) {
50218
+ body_code = (function() {if ($truthy(($truthy($a = self.$body()['$nil?']()) ? $a : self.$body().$type()['$==']("resbody")))) {
50122
50219
  return self.$s("nil")
50123
50220
  } else {
50124
50221
  return self.$body()
@@ -50210,7 +50307,7 @@ if (child == null) child = nil;if (idx == null) idx = nil;
50210
50307
  })($nesting[0], $nesting);
50211
50308
  };
50212
50309
 
50213
- /* Generated by Opal 0.11.0 */
50310
+ /* Generated by Opal 0.11.3 */
50214
50311
  Opal.modules["opal/nodes/case"] = function(Opal) {
50215
50312
  function $rb_minus(lhs, rhs) {
50216
50313
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
@@ -50379,7 +50476,7 @@ if (check == null) check = nil;if (idx == null) idx = nil;
50379
50476
  })($nesting[0], $nesting);
50380
50477
  };
50381
50478
 
50382
- /* Generated by Opal 0.11.0 */
50479
+ /* Generated by Opal 0.11.3 */
50383
50480
  Opal.modules["opal/nodes/super"] = function(Opal) {
50384
50481
  function $rb_minus(lhs, rhs) {
50385
50482
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
@@ -50663,7 +50760,7 @@ if (c == null) c = nil;
50663
50760
  })($nesting[0], $nesting);
50664
50761
  };
50665
50762
 
50666
- /* Generated by Opal 0.11.0 */
50763
+ /* Generated by Opal 0.11.3 */
50667
50764
  Opal.modules["opal/version"] = function(Opal) {
50668
50765
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module;
50669
50766
 
@@ -50672,11 +50769,11 @@ Opal.modules["opal/version"] = function(Opal) {
50672
50769
 
50673
50770
  var def = self.$$proto, $nesting = [self].concat($parent_nesting);
50674
50771
 
50675
- Opal.const_set($nesting[0], 'VERSION', "0.11.0")
50772
+ Opal.const_set($nesting[0], 'VERSION', "0.11.3")
50676
50773
  })($nesting[0], $nesting)
50677
50774
  };
50678
50775
 
50679
- /* Generated by Opal 0.11.0 */
50776
+ /* Generated by Opal 0.11.3 */
50680
50777
  Opal.modules["opal/nodes/top"] = function(Opal) {
50681
50778
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $send = Opal.send, $truthy = Opal.truthy;
50682
50779
 
@@ -50843,7 +50940,7 @@ if (k == null) k = nil;
50843
50940
  })($nesting[0], $nesting);
50844
50941
  };
50845
50942
 
50846
- /* Generated by Opal 0.11.0 */
50943
+ /* Generated by Opal 0.11.3 */
50847
50944
  Opal.modules["opal/nodes/while"] = function(Opal) {
50848
50945
  function $rb_minus(lhs, rhs) {
50849
50946
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
@@ -50977,7 +51074,7 @@ if (redo_var == null) redo_var = nil;
50977
51074
  })($nesting[0], $nesting);
50978
51075
  };
50979
51076
 
50980
- /* Generated by Opal 0.11.0 */
51077
+ /* Generated by Opal 0.11.3 */
50981
51078
  Opal.modules["opal/nodes/hash"] = function(Opal) {
50982
51079
  function $rb_minus(lhs, rhs) {
50983
51080
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
@@ -51150,7 +51247,7 @@ if (key == null) key = nil;if (idx == null) idx = nil;
51150
51247
  })($nesting[0], $nesting);
51151
51248
  };
51152
51249
 
51153
- /* Generated by Opal 0.11.0 */
51250
+ /* Generated by Opal 0.11.3 */
51154
51251
  Opal.modules["opal/nodes/array"] = function(Opal) {
51155
51252
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy, $send = Opal.send;
51156
51253
 
@@ -51230,7 +51327,7 @@ if (child == null) child = nil;
51230
51327
  })($nesting[0], $nesting);
51231
51328
  };
51232
51329
 
51233
- /* Generated by Opal 0.11.0 */
51330
+ /* Generated by Opal 0.11.3 */
51234
51331
  Opal.modules["opal/nodes/defined"] = function(Opal) {
51235
51332
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy, $send = Opal.send, $range = Opal.range;
51236
51333
 
@@ -51485,7 +51582,7 @@ if (child == null) child = nil;if (idx == null) idx = nil;
51485
51582
  })($nesting[0], $nesting);
51486
51583
  };
51487
51584
 
51488
- /* Generated by Opal 0.11.0 */
51585
+ /* Generated by Opal 0.11.3 */
51489
51586
  Opal.modules["opal/nodes/masgn"] = function(Opal) {
51490
51587
  function $rb_ge(lhs, rhs) {
51491
51588
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs >= rhs : lhs['$>='](rhs);
@@ -51643,7 +51740,7 @@ if (child == null) child = nil;if (idx == null) idx = nil;
51643
51740
  })($nesting[0], $nesting);
51644
51741
  };
51645
51742
 
51646
- /* Generated by Opal 0.11.0 */
51743
+ /* Generated by Opal 0.11.3 */
51647
51744
  Opal.modules["opal/nodes/arglist"] = function(Opal) {
51648
51745
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $send = Opal.send, $truthy = Opal.truthy;
51649
51746
 
@@ -51721,7 +51818,7 @@ if (current == null) current = nil;
51721
51818
  })($nesting[0], $nesting);
51722
51819
  };
51723
51820
 
51724
- /* Generated by Opal 0.11.0 */
51821
+ /* Generated by Opal 0.11.3 */
51725
51822
  Opal.modules["opal/nodes"] = function(Opal) {
51726
51823
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice;
51727
51824
 
@@ -51766,7 +51863,7 @@ Opal.modules["opal/nodes"] = function(Opal) {
51766
51863
  return self.$require("opal/nodes/arglist");
51767
51864
  };
51768
51865
 
51769
- /* Generated by Opal 0.11.0 */
51866
+ /* Generated by Opal 0.11.3 */
51770
51867
  Opal.modules["opal/eof_content"] = function(Opal) {
51771
51868
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $truthy = Opal.truthy, $send = Opal.send, $range = Opal.range;
51772
51869
 
@@ -51831,7 +51928,7 @@ if (line == null) line = nil;
51831
51928
  })($nesting[0], $nesting)
51832
51929
  };
51833
51930
 
51834
- /* Generated by Opal 0.11.0 */
51931
+ /* Generated by Opal 0.11.3 */
51835
51932
  Opal.modules["opal/compiler"] = function(Opal) {
51836
51933
  function $rb_plus(lhs, rhs) {
51837
51934
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs + rhs : lhs['$+'](rhs);
@@ -52253,7 +52350,7 @@ if (str == null) str = nil;
52253
52350
  })($nesting[0], $nesting);
52254
52351
  };
52255
52352
 
52256
- /* Generated by Opal 0.11.0 */
52353
+ /* Generated by Opal 0.11.3 */
52257
52354
  Opal.modules["opal/erb"] = function(Opal) {
52258
52355
  function $rb_plus(lhs, rhs) {
52259
52356
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs + rhs : lhs['$+'](rhs);
@@ -52360,7 +52457,7 @@ Opal.modules["opal/erb"] = function(Opal) {
52360
52457
  })($nesting[0], $nesting);
52361
52458
  };
52362
52459
 
52363
- /* Generated by Opal 0.11.0 */
52460
+ /* Generated by Opal 0.11.3 */
52364
52461
  Opal.modules["opal-parser"] = function(Opal) {
52365
52462
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $hash2 = Opal.hash2;
52366
52463
 
@@ -52438,7 +52535,7 @@ Opal.modules["opal-parser"] = function(Opal) {
52438
52535
  ;
52439
52536
  };
52440
52537
 
52441
- /* Generated by Opal 0.11.0 */
52538
+ /* Generated by Opal 0.11.3 */
52442
52539
  Opal.modules["singleton"] = function(Opal) {
52443
52540
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $send = Opal.send, $truthy = Opal.truthy;
52444
52541
 
@@ -52532,7 +52629,7 @@ Opal.modules["singleton"] = function(Opal) {
52532
52629
  })($nesting[0], $nesting)
52533
52630
  };
52534
52631
 
52535
- /* Generated by Opal 0.11.0 */
52632
+ /* Generated by Opal 0.11.3 */
52536
52633
  Opal.modules["delegate"] = function(Opal) {
52537
52634
  var TMP_DelegateClass_5, self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $klass = Opal.klass, $truthy = Opal.truthy, $send = Opal.send;
52538
52635
 
@@ -52597,7 +52694,7 @@ Opal.modules["delegate"] = function(Opal) {
52597
52694
  }, TMP_DelegateClass_5.$$arity = 1), nil) && 'DelegateClass';
52598
52695
  };
52599
52696
 
52600
- /* Generated by Opal 0.11.0 */
52697
+ /* Generated by Opal 0.11.3 */
52601
52698
  Opal.modules["forwardable"] = function(Opal) {
52602
52699
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $send = Opal.send, $truthy = Opal.truthy;
52603
52700
 
@@ -52755,7 +52852,7 @@ if (method == null) method = nil;
52755
52852
  })($nesting[0], $nesting);
52756
52853
  };
52757
52854
 
52758
- /* Generated by Opal 0.11.0 */
52855
+ /* Generated by Opal 0.11.3 */
52759
52856
  Opal.modules["pp"] = function(Opal) {
52760
52857
  function $rb_le(lhs, rhs) {
52761
52858
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs <= rhs : lhs['$<='](rhs);
@@ -52849,7 +52946,7 @@ if (obj == null) obj = nil;
52849
52946
  })($nesting[0], null, $nesting);
52850
52947
  };
52851
52948
 
52852
- /* Generated by Opal 0.11.0 */
52949
+ /* Generated by Opal 0.11.3 */
52853
52950
  Opal.modules["promise"] = function(Opal) {
52854
52951
  function $rb_plus(lhs, rhs) {
52855
52952
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs + rhs : lhs['$+'](rhs);
@@ -53367,7 +53464,7 @@ if (values == null) values = nil;
53367
53464
  })($nesting[0], null, $nesting)
53368
53465
  };
53369
53466
 
53370
- /* Generated by Opal 0.11.0 */
53467
+ /* Generated by Opal 0.11.3 */
53371
53468
  Opal.modules["time"] = function(Opal) {
53372
53469
  var self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $klass = Opal.klass;
53373
53470
 
@@ -53392,7 +53489,28 @@ Opal.modules["time"] = function(Opal) {
53392
53489
  })($nesting[0], null, $nesting)
53393
53490
  };
53394
53491
 
53395
- /* Generated by Opal 0.11.0 */
53492
+ /* Generated by Opal 0.11.3 */
53493
+ Opal.modules["dxopal/patches/require_remote"] = function(Opal) {
53494
+ var TMP_require_remote_1, self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice;
53495
+
53496
+ Opal.add_stubs(['$require', '$eval']);
53497
+
53498
+ self.$require("opal-parser");
53499
+ return (Opal.defn(Opal.Object, '$require_remote', TMP_require_remote_1 = function $$require_remote(url) {
53500
+ var self = this;
53501
+
53502
+
53503
+
53504
+ var r = new XMLHttpRequest();
53505
+ r.overrideMimeType("text/plain"); // https://github.com/yhara/dxopal/issues/12
53506
+ r.open("GET", url, false);
53507
+ r.send('');
53508
+ ;
53509
+ return self.$eval(r.responseText);
53510
+ }, TMP_require_remote_1.$$arity = 1), nil) && 'require_remote';
53511
+ };
53512
+
53513
+ /* Generated by Opal 0.11.3 */
53396
53514
  (function(Opal) {
53397
53515
  function $rb_minus(lhs, rhs) {
53398
53516
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
@@ -53403,9 +53521,9 @@ Opal.modules["time"] = function(Opal) {
53403
53521
  function $rb_plus(lhs, rhs) {
53404
53522
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs + rhs : lhs['$+'](rhs);
53405
53523
  }
53406
- var TMP_console_1, TMP_require_remote_2, self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $gvars = Opal.gvars, $module = Opal.module, $truthy = Opal.truthy, $send = Opal.send;
53524
+ var TMP_console_1, self = Opal.top, $nesting = [], nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $gvars = Opal.gvars, $module = Opal.module, $truthy = Opal.truthy, $send = Opal.send;
53407
53525
 
53408
- Opal.add_stubs(['$require', '$eval', '$include', '$call', '$name', '$class', '$Array', '$backtrace', '$raise', '$new', '$[]=', '$-', '$join', '$sort', '$keys', '$>=', '$[]', '$inspect', '$+']);
53526
+ Opal.add_stubs(['$require', '$include', '$call', '$name', '$class', '$Array', '$backtrace', '$raise', '$new', '$[]=', '$-', '$join', '$sort', '$keys', '$>=', '$[]', '$inspect', '$+']);
53409
53527
 
53410
53528
  self.$require("opal");
53411
53529
  self.$require("console");
@@ -53427,19 +53545,6 @@ Opal.modules["time"] = function(Opal) {
53427
53545
  self.$require("dxopal/window");
53428
53546
  self.$require("dxopal/version");
53429
53547
  self.$require("opal-parser");
53430
-
53431
- Opal.defn(Opal.Object, '$require_remote', TMP_require_remote_2 = function $$require_remote(url) {
53432
- var self = this;
53433
-
53434
-
53435
-
53436
- var r = new XMLHttpRequest();
53437
- r.overrideMimeType("text/plain"); // Patch for Firefox + file://
53438
- r.open("GET", url, false);
53439
- r.send('');
53440
- ;
53441
- return self.$eval(r.responseText);
53442
- }, TMP_require_remote_2.$$arity = 1);
53443
53548
  self.$require("singleton");
53444
53549
  self.$require("delegate");
53445
53550
  self.$require("forwardable");
@@ -53447,20 +53552,21 @@ Opal.modules["time"] = function(Opal) {
53447
53552
  self.$require("promise");
53448
53553
  self.$require("set");
53449
53554
  self.$require("time");
53555
+ self.$require("dxopal/patches/require_remote");
53450
53556
  (function($base, $parent_nesting) {
53451
53557
  var $DXOpal, self = $DXOpal = $module($base, 'DXOpal');
53452
53558
 
53453
- var def = self.$$proto, $nesting = [self].concat($parent_nesting), TMP_DXOpal_dump_error_3, TMP_DXOpal_4, TMP_DXOpal_p__5;
53559
+ var def = self.$$proto, $nesting = [self].concat($parent_nesting), TMP_DXOpal_dump_error_2, TMP_DXOpal_3, TMP_DXOpal_p__4;
53454
53560
 
53455
53561
 
53456
53562
  self.$include(Opal.const_get_qualified(Opal.const_get_qualified(Opal.const_get_relative($nesting, 'DXOpal'), 'Constants'), 'Colors'));
53457
53563
  self.$include(Opal.const_get_qualified(Opal.const_get_qualified(Opal.const_get_relative($nesting, 'DXOpal'), 'Input'), 'KeyCodes'));
53458
53564
  self.$include(Opal.const_get_qualified(Opal.const_get_qualified(Opal.const_get_relative($nesting, 'DXOpal'), 'Input'), 'MouseCodes'));
53459
53565
  self.$include(Opal.const_get_qualified(Opal.const_get_qualified(Opal.const_get_relative($nesting, 'DXOpal'), 'SoundEffect'), 'WaveTypes'));
53460
- Opal.defs(self, '$dump_error', TMP_DXOpal_dump_error_3 = function $$dump_error() {
53461
- var self = this, $iter = TMP_DXOpal_dump_error_3.$$p, block = $iter || nil, ex = nil, div = nil;
53566
+ Opal.defs(self, '$dump_error', TMP_DXOpal_dump_error_2 = function $$dump_error() {
53567
+ var self = this, $iter = TMP_DXOpal_dump_error_2.$$p, block = $iter || nil, ex = nil, div = nil;
53462
53568
 
53463
- if ($iter) TMP_DXOpal_dump_error_3.$$p = null;
53569
+ if ($iter) TMP_DXOpal_dump_error_2.$$p = null;
53464
53570
  try {
53465
53571
  return block.$call()
53466
53572
  } catch ($err) {
@@ -53485,15 +53591,15 @@ Opal.modules["time"] = function(Opal) {
53485
53591
  } finally { Opal.pop_exception() }
53486
53592
  } else { throw $err; }
53487
53593
  }
53488
- }, TMP_DXOpal_dump_error_3.$$arity = 0);
53489
- Opal.const_set($nesting[0], 'P_CT', $send(Opal.const_get_relative($nesting, 'Hash'), 'new', [], (TMP_DXOpal_4 = function(h, k){var self = TMP_DXOpal_4.$$s || this, $writer = nil;
53594
+ }, TMP_DXOpal_dump_error_2.$$arity = 0);
53595
+ Opal.const_set($nesting[0], 'P_CT', $send(Opal.const_get_relative($nesting, 'Hash'), 'new', [], (TMP_DXOpal_3 = function(h, k){var self = TMP_DXOpal_3.$$s || this, $writer = nil;
53490
53596
  if (h == null) h = nil;if (k == null) k = nil;
53491
53597
 
53492
53598
  $writer = [k, 0];
53493
53599
  $send(h, '[]=', Opal.to_a($writer));
53494
- return $writer[$rb_minus($writer["length"], 1)];}, TMP_DXOpal_4.$$s = self, TMP_DXOpal_4.$$arity = 2, TMP_DXOpal_4)));
53600
+ return $writer[$rb_minus($writer["length"], 1)];}, TMP_DXOpal_3.$$s = self, TMP_DXOpal_3.$$arity = 2, TMP_DXOpal_3)));
53495
53601
 
53496
- Opal.defn(self, '$p_', TMP_DXOpal_p__5 = function $$p_(hash, n) {
53602
+ Opal.defn(self, '$p_', TMP_DXOpal_p__4 = function $$p_(hash, n) {
53497
53603
  var self = this, key = nil, $writer = nil;
53498
53604
 
53499
53605
  if (n == null) {
@@ -53508,7 +53614,7 @@ if (h == null) h = nil;if (k == null) k = nil;
53508
53614
  $writer = [key, $rb_plus(Opal.const_get_relative($nesting, 'P_CT')['$[]'](key), 1)];
53509
53615
  $send(Opal.const_get_relative($nesting, 'P_CT'), '[]=', Opal.to_a($writer));
53510
53616
  return $writer[$rb_minus($writer["length"], 1)];;
53511
- }, TMP_DXOpal_p__5.$$arity = -2);
53617
+ }, TMP_DXOpal_p__4.$$arity = -2);
53512
53618
  })($nesting[0], $nesting);
53513
53619
 
53514
53620
  // Like `console.log`, but prints only limited times.