rename 'that' to 'component'

pull/5639/head
Ivan Hofer 5 years ago
parent bf87612acf
commit b80990daaf

@ -98,11 +98,11 @@ function make_dirty(component, i) {
} }
export function addCssToComponent(that, add_css, options) { export function addCssToComponent(component, add_css, options) {
that.$$ = { component.$$ = {
customStyleTag: options.customStyleTag || current_component && current_component.$$.customStyleTag customStyleTag: options.customStyleTag || current_component && current_component.$$.customStyleTag
}; };
add_css(that.$$.customStyleTag); add_css(component.$$.customStyleTag);
} }
export function init(component, options, instance, create_fragment, not_equal, props, dirty = [-1]) { export function init(component, options, instance, create_fragment, not_equal, props, dirty = [-1]) {

Loading…
Cancel
Save