Commit e7ef80f4 authored by Romain Casati's avatar Romain Casati
Browse files

Supporting the display function.

parent a95837cd
Pipeline #356442 passed with stages
in 3 minutes and 25 seconds
...@@ -189,6 +189,12 @@ define([], function() { ...@@ -189,6 +189,12 @@ define([], function() {
const id = mplBus.push(data.content); const id = mplBus.push(data.content);
send_data = { "application/javascript": "element.append(window.mplBus.pop(" + id + "));" }; send_data = { "application/javascript": "element.append(window.mplBus.pop(" + id + "));" };
break; break;
case "multiple":
/* typically dispached by display() */
send_data = data.content;
break;
default:
console.error("Not recognized display_type: " + data.display_type);
} }
that._send({ that._send({
......
Supports Markdown
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