Skip to content

Instantly share code, notes, and snippets.

@greglittlefield-wf
Created February 10, 2017 05:32
Show Gist options
  • Save greglittlefield-wf/1303afdb5f89b6923bf7ea2aca26e1a3 to your computer and use it in GitHub Desktop.
Save greglittlefield-wf/1303afdb5f89b6923bf7ea2aca26e1a3 to your computer and use it in GitHub Desktop.
Excerpt of minified dart2js output with duplicate JS parameters
function MenuNavbarComponent(_menu_navbar$_renderedToolbarModelIds, _$MenuNavbarComponentImplMixin_$defaultConsumedProps, RenderPerformance__endMetric, RenderPerformance_performanceLabel, BatchedRedraws_shouldBatchRedraw, _FluxComponentMixin__subscriptions, _typedPropsCache, _props, _react$_state, _ref, _jsRedraw, _jsThis, _setStateCallbacks, _transactionalSetStateCallbacks, _prevState, _nextState, nextProps, $ti) {
this._menu_navbar$_renderedToolbarModelIds = _menu_navbar$_renderedToolbarModelIds;
this._$MenuNavbarComponentImplMixin_$defaultConsumedProps = _$MenuNavbarComponentImplMixin_$defaultConsumedProps;
this.RenderPerformance__endMetric = RenderPerformance__endMetric;
this.RenderPerformance_performanceLabel = RenderPerformance_performanceLabel;
this.BatchedRedraws_shouldBatchRedraw = BatchedRedraws_shouldBatchRedraw;
this._FluxComponentMixin__subscriptions = _FluxComponentMixin__subscriptions;
this._typedPropsCache = _typedPropsCache;
this._props = _props;
this._react$_state = _react$_state;
this._ref = _ref;
this._jsRedraw = _jsRedraw;
this._jsThis = _jsThis;
this._setStateCallbacks = _setStateCallbacks;
this._transactionalSetStateCallbacks = _transactionalSetStateCallbacks;
this._prevState = _prevState;
this._nextState = _nextState;
this.nextProps = nextProps;
this.$ti = $ti;
this.$deferredAction();
}
MenuNavbarComponent.builtin$cls = "MenuNavbarComponent";
if (!("name" in MenuNavbarComponent))
MenuNavbarComponent.name = "MenuNavbarComponent";
$desc = $collectedClasses$.MenuNavbarComponent[1];
MenuNavbarComponent.prototype = $desc;
MenuNavbarComponent.$__fields__ = ["_menu_navbar$_renderedToolbarModelIds", "_$MenuNavbarComponentImplMixin_$defaultConsumedProps", "RenderPerformance__endMetric", "RenderPerformance_performanceLabel", "BatchedRedraws_shouldBatchRedraw", "_FluxComponentMixin__subscriptions", "_typedPropsCache", "_props", "_react$_state", "_ref", "_jsRedraw", "_jsThis", "_setStateCallbacks", "_transactionalSetStateCallbacks", "_prevState", "_nextState", "nextProps"];
function FluxUiComponent_RenderPerformance2($ti) {
this.$ti = $ti;
this.$deferredAction();
}
FluxUiComponent_RenderPerformance2.builtin$cls = "FluxUiComponent_RenderPerformance2";
if (!("name" in FluxUiComponent_RenderPerformance2))
FluxUiComponent_RenderPerformance2.name = "FluxUiComponent_RenderPerformance2";
$desc = $collectedClasses$.FluxUiComponent_RenderPerformance2[1];
FluxUiComponent_RenderPerformance2.prototype = $desc;
FluxUiComponent_RenderPerformance2.$__fields__ = [];
function FluxUiComponent_RenderPerformance__$MenuNavbarComponentImplMixin(_$MenuNavbarComponentImplMixin_$defaultConsumedProps, $ti) {
this._$MenuNavbarComponentImplMixin_$defaultConsumedProps = _$MenuNavbarComponentImplMixin_$defaultConsumedProps;
this.$ti = $ti;
this.$deferredAction();
}
FluxUiComponent_RenderPerformance__$MenuNavbarComponentImplMixin.builtin$cls = "FluxUiComponent_RenderPerformance__$MenuNavbarComponentImplMixin";
if (!("name" in FluxUiComponent_RenderPerformance__$MenuNavbarComponentImplMixin))
FluxUiComponent_RenderPerformance__$MenuNavbarComponentImplMixin.name = "FluxUiComponent_RenderPerformance__$MenuNavbarComponentImplMixin";
$desc = $collectedClasses$.FluxUiComponent_RenderPerformance__$MenuNavbarComponentImplMixin[1];
FluxUiComponent_RenderPerformance__$MenuNavbarComponentImplMixin.prototype = $desc;
FluxUiComponent_RenderPerformance__$MenuNavbarComponentImplMixin.$__fields__ = ["_$MenuNavbarComponentImplMixin_$defaultConsumedProps"];
_$MenuNavbarComponentImplMixin.prototype.get$$$defaultConsumedProps = function() {
return this._$MenuNavbarComponentImplMixin_$defaultConsumedProps;
};
function MenuNavbarComponent_componentDidUpdate_closure() {
this.$deferredAction();
}
MenuNavbarComponent_componentDidUpdate_closure.builtin$cls = "MenuNavbarComponent_componentDidUpdate_closure";
if (!("name" in MenuNavbarComponent_componentDidUpdate_closure))
MenuNavbarComponent_componentDidUpdate_closure.name = "MenuNavbarComponent_componentDidUpdate_closure";
$desc = $collectedClasses$.MenuNavbarComponent_componentDidUpdate_closure[1];
MenuNavbarComponent_componentDidUpdate_closure.prototype = $desc;
MenuNavbarComponent_componentDidUpdate_closure.$__fields__ = [];
function MenuNavbarComponent_render_closure($this) {
this.$this = $this;
this.$deferredAction();
}
MenuNavbarComponent_render_closure.builtin$cls = "MenuNavbarComponent_render_closure";
if (!("name" in MenuNavbarComponent_render_closure))
MenuNavbarComponent_render_closure.name = "MenuNavbarComponent_render_closure";
$desc = $collectedClasses$.MenuNavbarComponent_render_closure[1];
MenuNavbarComponent_render_closure.prototype = $desc;
MenuNavbarComponent_render_closure.$__fields__ = ["$this"];
function MenuNavbarComponent_render__closure(model) {
this.model = model;
this.$deferredAction();
}
MenuNavbarComponent_render__closure.builtin$cls = "MenuNavbarComponent_render__closure";
if (!("name" in MenuNavbarComponent_render__closure))
MenuNavbarComponent_render__closure.name = "MenuNavbarComponent_render__closure";
$desc = $collectedClasses$.MenuNavbarComponent_render__closure[1];
MenuNavbarComponent_render__closure.prototype = $desc;
MenuNavbarComponent_render__closure.$__fields__ = ["model"];
function closure23() {
this.$deferredAction();
}
closure23.builtin$cls = "closure23";
if (!("name" in closure23))
closure23.name = "closure23";
$desc = $collectedClasses$.closure23[1];
closure23.prototype = $desc;
closure23.$__fields__ = [];
function _$MenuNavbarPropsImpl(props) {
this.props = props;
this.$deferredAction();
}
_$MenuNavbarPropsImpl.builtin$cls = "_$MenuNavbarPropsImpl";
if (!("name" in _$MenuNavbarPropsImpl))
_$MenuNavbarPropsImpl.name = "_$MenuNavbarPropsImpl";
$desc = $collectedClasses$._$MenuNavbarPropsImpl[1];
_$MenuNavbarPropsImpl.prototype = $desc;
_$MenuNavbarPropsImpl.$__fields__ = ["props"];
_$MenuNavbarPropsImpl.prototype.get$props = function(receiver) {
return this.props;
};
function _$MenuNavbarComponentImplMixin(_$MenuNavbarComponentImplMixin_$defaultConsumedProps) {
this._$MenuNavbarComponentImplMixin_$defaultConsumedProps = _$MenuNavbarComponentImplMixin_$defaultConsumedProps;
this.$deferredAction();
}
_$MenuNavbarComponentImplMixin.builtin$cls = "_$MenuNavbarComponentImplMixin";
if (!("name" in _$MenuNavbarComponentImplMixin))
_$MenuNavbarComponentImplMixin.name = "_$MenuNavbarComponentImplMixin";
$desc = $collectedClasses$._$MenuNavbarComponentImplMixin[1];
_$MenuNavbarComponentImplMixin.prototype = $desc;
_$MenuNavbarComponentImplMixin.$__fields__ = ["_$MenuNavbarComponentImplMixin_$defaultConsumedProps"];
_$MenuNavbarComponentImplMixin.prototype.get$$$defaultConsumedProps = function() {
return this._$MenuNavbarComponentImplMixin_$defaultConsumedProps;
};
function closure1029() {
this.$deferredAction();
}
closure1029.builtin$cls = "closure1029";
if (!("name" in closure1029))
closure1029.name = "closure1029";
$desc = $collectedClasses$.closure1029[1];
closure1029.prototype = $desc;
closure1029.$__fields__ = [];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment