Commit f5a9d52f authored by Tristan Cavelier's avatar Tristan Cavelier

fixup

parent f97e2be3
...@@ -99,7 +99,7 @@ ...@@ -99,7 +99,7 @@
///////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////
.allowPublicAcquisition('requestMaximize', function (_, subgadget_scope) { .allowPublicAcquisition('requestMaximize', function (_, subgadget_scope) {
var gadget = this, subgadget; var gadget = this, subgadget;
return this.getDeclaredGadget(gadget_scope).push(function (g) { return this.getDeclaredGadget(subgadget_scope).push(function (g) {
subgadget = g; subgadget = g;
return g.getElement(); return g.getElement();
}).push(function (element) { }).push(function (element) {
...@@ -108,7 +108,7 @@ ...@@ -108,7 +108,7 @@
}) })
.allowPublicAcquisition('leaveMaximize', function (_, subgadget_scope) { .allowPublicAcquisition('leaveMaximize', function (_, subgadget_scope) {
var gadget = this, subgadget; var gadget = this, subgadget;
return this.getDeclaredGadget(gadget_scope).push(function (g) { return this.getDeclaredGadget(subgadget_scope).push(function (g) {
subgadget = g; subgadget = g;
return g.getElement(); return g.getElement();
}).push(function (element) { }).push(function (element) {
...@@ -117,7 +117,7 @@ ...@@ -117,7 +117,7 @@
}) })
.allowPublicAcquisition('toggleMaximize', function (_, subgadget_scope) { .allowPublicAcquisition('toggleMaximize', function (_, subgadget_scope) {
var gadget = this, subgadget; var gadget = this, subgadget;
return this.getDeclaredGadget(gadget_scope).push(function (g) { return this.getDeclaredGadget(subgadget_scope).push(function (g) {
subgadget = g; subgadget = g;
return g.getElement(); return g.getElement();
}).push(function (element) { }).push(function (element) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment