bootstrap
bootstrap copied to clipboard
Erro rodando o comando make
Rodando ´make´ resulta nos erros seguintes:
\n##################################################
Building Bootstrap...
##################################################\n
js/bootstrap-affix.js: line 23, col 17, Bad option: ';_;'.
js/bootstrap-alert.js: line 23, col 17, Bad option: ';_;'.
js/bootstrap-balloon.js: line 23, col 17, Bad option: ';_;'.
js/bootstrap-button.js: line 23, col 17, Bad option: ';_;'.
js/bootstrap-carousel.js: line 23, col 17, Bad option: ';_;'.
js/bootstrap-collapse.js: line 23, col 17, Bad option: ';_;'.
js/bootstrap-collapse.js: line 87, col 9, Misleading line break before '['; readers may interpret this as an expression boundary.
js/bootstrap-collapse.js: line 88, col 9, Misleading line break before '['; readers may interpret this as an expression boundary.
js/bootstrap-dropdown.js: line 23, col 17, Bad option: ';_;'.
js/bootstrap-modal.js: line 23, col 17, Bad option: ';_;'.
js/bootstrap-popover.js: line 23, col 17, Bad option: ';_;'.
js/bootstrap-scrollspy.js: line 23, col 17, Bad option: ';_;'.
js/bootstrap-tab.js: line 23, col 17, Bad option: ';_;'.
js/bootstrap-tooltip.js: line 24, col 17, Bad option: ';_;'.
js/bootstrap-transition.js: line 23, col 17, Bad option: ';_;'.
js/bootstrap-typeahead.js: line 23, col 17, Bad option: ';_;'.
16 errors
make: *** [Makefile:18: build] Error 2
A linha mencionada parece ser
"use strict"; // jshint ;_;
em todos os arquivos jota-esses.
Esse string deve ser comentado com barrra dupla.
Em vez disso tentei com /* */
em um dos arquivos e deu certo.
Mas ainda tem erro que se refere à linha no bootstrap-collapse.js
assim
this.$element
.removeClass('collapse')
[dimension](size || 'auto')
[0].offsetWidth
```