Skip to content
This repository was archived by the owner on Oct 19, 2018. It is now read-only.

Commit e153ff2

Browse files
author
Barrie Hadfield
committed
hyperloop-config 0.9.5
1 parent b37fff1 commit e153ff2

File tree

5 files changed

+78
-26
lines changed

5 files changed

+78
-26
lines changed

Gemfile.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ GEM
9090
opal-activesupport (>= 0.2.0)
9191
hyper-store (0.2.1)
9292
hyperloop-config (>= 0.9.2)
93-
hyperloop-config (0.9.4)
93+
hyperloop-config (0.9.5)
9494
opal
9595
opal-browser
9696
i18n (0.8.1)
@@ -199,9 +199,9 @@ GEM
199199
thor (0.19.4)
200200
thread_safe (0.3.6)
201201
tilt (2.0.7)
202-
tzinfo (1.2.2)
202+
tzinfo (1.2.3)
203203
thread_safe (~> 0.1)
204-
uglifier (3.1.9)
204+
uglifier (3.1.10)
205205
execjs (>= 0.3.0, < 3)
206206
websocket-driver (0.6.5)
207207
websocket-extensions (>= 0.1.0)

VERSIONS.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11

22
These libraries are built with the following Gem versions:
33

4-
| Gem | Version |
5-
|------------------|----------|
6-
| hyper-component | 0.12.3 |
7-
| hyper-operation | 0.5.2 |
8-
| hyper-store | 0.2.1 |
9-
| opal | 0.10.3 |
4+
| Gem | Version |
5+
|--------------------|----------|
6+
| hyper-component | 0.12.3 |
7+
| hyper-operation | 0.5.2 |
8+
| hyper-store | 0.2.1 |
9+
| hyperloop-config | 0.9.5 |
10+
| opal | 0.10.3 |

hyperloop.js

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3131,6 +3131,56 @@ Opal.modules["hyperloop/client_stubs"] = function(Opal) {
31313131
})($scope.base)
31323132
};
31333133

3134+
/* Generated by Opal 0.10.3 */
3135+
Opal.modules["hyperloop/context"] = function(Opal) {
3136+
var self = Opal.top, $scope = Opal, nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $hash2 = Opal.hash2;
3137+
3138+
Opal.add_stubs(['$[]', '$[]=', '$instance_variable_get', '$instance_variable_set', '$each', '$call', '$run']);
3139+
return (function($base) {
3140+
var $Hyperloop, self = $Hyperloop = $module($base, 'Hyperloop');
3141+
3142+
var def = self.$$proto, $scope = self.$$scope;
3143+
3144+
(function($base) {
3145+
var $Context, self = $Context = $module($base, 'Context');
3146+
3147+
var def = self.$$proto, $scope = self.$$scope, TMP_1, TMP_3;
3148+
3149+
Opal.defs(self, '$set_var', TMP_1 = function $$set_var(ctx, var$) {
3150+
var $a, $b, $c, self = this, $iter = TMP_1.$$p, block = $iter || nil;
3151+
if (self.context_hash == null) self.context_hash = nil;
3152+
3153+
TMP_1.$$p = null;
3154+
if ((($a = self.context_hash) !== nil && $a != null && (!$a.$$is_boolean || $a == true))) {
3155+
($a = ctx, $b = self.context_hash, ((($c = $b['$[]']($a)) !== false && $c !== nil && $c != null) ? $c : $b['$[]=']($a, [var$, block])))};
3156+
return ((($a = ctx.$instance_variable_get(var$)) !== false && $a !== nil && $a != null) ? $a : ctx.$instance_variable_set(var$, Opal.yieldX(block, [])));
3157+
}, TMP_1.$$arity = 2);
3158+
3159+
Opal.defs(self, '$reset!', TMP_3 = function(reboot) {
3160+
var $a, $b, TMP_2, self = this;
3161+
if (self.context_hash == null) self.context_hash = nil;
3162+
3163+
if (reboot == null) {
3164+
reboot = true;
3165+
}
3166+
if ((($a = self.context_hash) !== nil && $a != null && (!$a.$$is_boolean || $a == true))) {
3167+
($a = ($b = self.context_hash).$each, $a.$$p = (TMP_2 = function(context, var_and_block){var self = TMP_2.$$s || this, $c, $d, var$ = nil, block = nil;
3168+
if (context == null) context = nil;if (var_and_block == null) var_and_block = nil;
3169+
$d = var_and_block, $c = Opal.to_ary($d), var$ = ($c[0] == null ? nil : $c[0]), block = ($c[1] == null ? nil : $c[1]), $d;
3170+
return context.$instance_variable_set(var$, block.$call());}, TMP_2.$$s = self, TMP_2.$$arity = 2, TMP_2), $a).call($b);
3171+
if (reboot !== false && reboot !== nil && reboot != null) {
3172+
return (((($scope.get('Hyperloop')).$$scope.get('Application'))).$$scope.get('Boot')).$run()
3173+
} else {
3174+
return nil
3175+
};
3176+
} else {
3177+
return self.context_hash = $hash2([], {})
3178+
};
3179+
}, TMP_3.$$arity = -1);
3180+
})($scope.base)
3181+
})($scope.base)
3182+
};
3183+
31343184
/* Generated by Opal 0.10.3 */
31353185
Opal.modules["hyperloop/on_client"] = function(Opal) {
31363186
var self = Opal.top, $scope = Opal, nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module;
@@ -3157,6 +3207,7 @@ Opal.modules["hyperloop-config"] = function(Opal) {
31573207
Opal.add_stubs(['$==', '$require']);
31583208
if ($scope.get('RUBY_ENGINE')['$==']("opal")) {
31593209
self.$require("hyperloop/client_stubs");
3210+
self.$require("hyperloop/context");
31603211
return self.$require("hyperloop/on_client");}
31613212
};
31623213

hyperloop.min.js

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

opal-compiler.min.js

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)