astra_storage["/mod.js"] = astra_storage["/mod.js"] .. [[ (function() { "use strict"; window.ExampleModule = { label: "Example", link: "#/example", order: 999, }; ExampleModule.run = function() { // }; ExampleModule.render = function(object) { object .setStyle("padding", "60px 20px 20px 20px") .addClass("text-center") .addChild($.element("iframe") .addAttr("src", "http://" + location.host) .setStyle("width", "100%") .setStyle("height", "400px")); self.on("destroy", function() { // }); }; ExampleModule.init = function() { window.renderContent = ExampleModule.render; $.body .bindScope({}) .on("destroy", function() { delete(window.renderContent); }); }; app.modules.push(ExampleModule); app.menu.push(ExampleModule); })(); ]]