You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
"use strict";
|
|
|
|
|
|
|
|
var SvelteComponent = {};;
|
|
|
|
|
|
|
|
SvelteComponent.data = function() {
|
|
|
|
return {};
|
|
|
|
};
|
|
|
|
|
|
|
|
SvelteComponent.render = function(state, options) {
|
|
|
|
state = Object.assign({}, state);
|
|
|
|
|
|
|
|
return ``.trim();
|
|
|
|
};
|
|
|
|
|
|
|
|
SvelteComponent.renderCss = function() {
|
|
|
|
var components = [];
|
|
|
|
|
|
|
|
return {
|
|
|
|
css: components.map(x => x.css).join('\n'),
|
|
|
|
map: null,
|
|
|
|
components
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
var escaped = {
|
|
|
|
'"': '"',
|
|
|
|
"'": ''',
|
|
|
|
'&': '&',
|
|
|
|
'<': '<',
|
|
|
|
'>': '>'
|
|
|
|
};
|
|
|
|
|
|
|
|
function __escape(html) {
|
|
|
|
return String(html).replace(/["'&<>]/g, match => escaped[match]);
|
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = SvelteComponent;
|