Docker compose almost working
This commit is contained in:
@@ -37,9 +37,6 @@ function setContext(key, context) {
|
||||
function getContext(key) {
|
||||
return get_current_component().$$.context.get(key);
|
||||
}
|
||||
function ensure_array_like(array_like_or_iterator) {
|
||||
return array_like_or_iterator?.length !== void 0 ? array_like_or_iterator : Array.from(array_like_or_iterator);
|
||||
}
|
||||
const ATTR_REGEX = /[&"<]/g;
|
||||
const CONTENT_REGEX = /[&<]/g;
|
||||
function escape(value, is_attr = false) {
|
||||
@@ -56,14 +53,6 @@ function escape(value, is_attr = false) {
|
||||
}
|
||||
return escaped + str.substring(last);
|
||||
}
|
||||
function each(items, fn) {
|
||||
items = ensure_array_like(items);
|
||||
let str = "";
|
||||
for (let i = 0; i < items.length; i += 1) {
|
||||
str += fn(items[i], i);
|
||||
}
|
||||
return str;
|
||||
}
|
||||
const missing_component = {
|
||||
$$render: () => ""
|
||||
};
|
||||
@@ -122,9 +111,8 @@ export {
|
||||
add_attribute as a,
|
||||
subscribe as b,
|
||||
create_ssr_component as c,
|
||||
each as d,
|
||||
safe_not_equal as d,
|
||||
escape as e,
|
||||
safe_not_equal as f,
|
||||
getContext as g,
|
||||
missing_component as m,
|
||||
noop as n,
|
||||
|
||||
Reference in New Issue
Block a user