Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
module.exports = require('marko/widgets/legacy').defineComponent({
template: require('./template.marko'),
getInitialState: function(input) {
return {
version: input.version,
id: input.id
};
},
getTemplateData: function(state, input) {
return {
version: state.version,
id: state.id
};
},
init: function() {
// console.log(module.id, 'init()', this.state);
window.rerenderInitOrder.push(this.state.id);
// Export a render(input, callback) method that can be used
// to render this UI component on the client or server
require('marko/legacy-components').renderable(exports, require('./renderer'));
// Export a render(input, callback) method that can be used
// to render this UI component on the client or server
require('marko/legacy-components').renderable(exports, require('./renderer'));
// Export a render(input, callback) method that can be used
// to render this UI component on the client or server
require("marko/legacy-components").renderable(exports, require("./renderer"));
// Export a render(input, callback) method that can be used
// to render this UI component on the client or server
require("marko/legacy-components").renderable(exports, require("./renderer"));
// Export a render(input, callback) method that can be used
// to render this UI component on the client or server
require('marko/legacy-components').renderable(exports, require('./renderer'));
// Export a render(input, callback) method that can be used
// to render this UI component on the client or server
require('marko/legacy-components').renderable(exports, require('./renderer'));
// Export a render(input, callback) method that can be used
// to render this UI component on the client or server
require('marko/legacy-components').renderable(exports, require('./renderer'));
// Export a render(input, callback) method that can be used
// to render this UI component on the client or server
require("marko/legacy-components").renderable(exports, require("./renderer"));
// Export a render(input, callback) method that can be used
// to render this UI component on the client or server
require("marko/legacy-components").renderable(exports, require("./renderer"));