Fixes a possible stacktrace in navbar().

This commit is contained in:
Luka Vandervelden 2020-01-05 06:13:57 +01:00
parent 68539c2a5a
commit 8800fb2ec7
2 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@
var useContainer, classes, innerNavbar;
args || (args = {});
useContainer = args.useContainer || false;
classes = args.classes || void 8;
classes = args.classes || {};
innerNavbar = function(){
var start, end;
return [args.brand ? h('div.navbar-brand', args.brand) : void 8, args.start || args.end ? h('div.navbar-menu', [(start = args.start) ? h('div.navbar-start', start) : void 8, (end = args.end) ? h('div.navbar-end', end) : void 8]) : void 8];

View File

@ -85,7 +85,7 @@ module.exports = {
args or= {}
use-container = args.use-container || false
classes = args.classes || void
classes = args.classes || {}
inner-navbar = -> [
if args.brand