Answer the question
In order to leave comments, you need to log in
Why is gulp-jade-inheritance throwing an unexpected text error?
Good afternoon. Tell me what could be the problem with the gulp-jade-inheritance plugin. The collector gives an error and its roots cannot be found.
Mistake
Plumber found unhandled error:
Error in plugin 'gulp-jade-inheritance'
Message:
unexpected text -
app/jade/blocks/hall.jade
mixin hall(data)
+b.ARTICLE.hall(class=(data.mod || ''))
+e.main
+e.HEADER.header
+e.H2.title= data.title
+e.title_section= data.section
+e.subtitle варианты рассадки:
+e.TABLE.table_seating
-
var rows = {
'Банкет:': '550',
'Класс:': '420',
'Театр:': '1 000',
'Фуршет:': '1 000'
}
each value, key in rows
+e.TR.row
+e.TD.cell= key
+e.TD.cell= value
+e.TABLE.table_options
-
var rows = {
'Площадь, м2': '1152',
'Высота мин': '6,9',
'Высота макс': '6,9',
'Длина': '55,25',
'Щирина': '27,12'
}
each value, key in rows
+e.TR.row
+e.TD.cell= key
+e.TD.cell= value
+e.slider
+b.slider
each i in [1, 2, 3]
+e.item
+e.IMG.img(src='i/hall-#{i}.jpg' srcset='' alt='')
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question