Skip to content

Instantly share code, notes, and snippets.

@theredpea
Last active November 7, 2018 19:56
Show Gist options
  • Save theredpea/2465b538c87ba6bff930d9543b7cacc3 to your computer and use it in GitHub Desktop.
Save theredpea/2465b538c87ba6bff930d9543b7cacc3 to your computer and use it in GitHub Desktop.
function x(a, b) {
function c(c) {
a.model.isCancelled || (a.layout = c,
b.setLayout(c, a.options))
}
/////////////////////////////////
function d(a) {
a && (b.model && g(b.model),
f.setLayout = function(a) {
this.layout = a;
var b = a.visualization || a.qInfo.qType
, c = d.getType(b);
/////////////////////////////////
define("core.models/mixins/generic/layout-observable", [], function() {
"use strict";
function a(a) {
this.getLayout = function(a) {
this.requestPromise = a.getLayout().then(function(b) {
this.requestPromise = null,
a.isCancelled || this.fn(b)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment