+4
-4
lines changedFilter options
+4
-4
lines changed Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@
27
27
}
28
28
29
29
function shouldRenderSlot (data, componentOptions) {
30
-
rreturn (data && componentTypes.includes(data.slot)) || isValidChild(componentOptions)
30
+
return (data && componentTypes.includes(data.slot)) || isValidChild(componentOptions)
31
31
}
32
32
33
33
function buildSlots (children, context, functionalContext, options, createElement) {
@@ -44,21 +44,21 @@
44
44
child.data.slot = data.slot || componentOptions.tag
45
45
46
46
if (componentOptions.tag === 'md-app-drawer') {
47
-
const isRightDrawer = isRightDrawer(componentOptions.propsData)
47
+
const isRight = isRightDrawer(componentOptions.propsData)
48
48
49
49
if (hasDrawer) {
50
50
Vue.util.warn(`There shouldn't be more than one drawer in a MdApp at one time.`)
51
51
return
52
52
}
53
53
54
54
hasDrawer = true
55
-
child.data.slot += `-${isRightDrawer ? 'right' : 'left'}`
55
+
child.data.slot += `-${isRight ? 'right' : 'left'}`
56
56
child.key = JSON.stringify({
57
57
'persistent': child.data.attrs['md-persistent'],
58
58
'permanent': child.data.attrs['md-permanent']
59
59
})
60
60
61
-
createRightDrawer(isRightDrawer)
61
+
createRightDrawer(isRight)
62
62
}
63
63
64
64
child.data.provide = options.Ctor.options.provide
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4