From 8800fb2ec717b3f4090997bb93fd5b4214477316 Mon Sep 17 00:00:00 2001 From: Luka Vandervelden Date: Sun, 5 Jan 2020 06:13:57 +0100 Subject: [PATCH] Fixes a possible stacktrace in navbar(). --- bulma.js | 2 +- bulma.ls | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bulma.js b/bulma.js index 9812c52..45d0f0f 100644 --- a/bulma.js +++ b/bulma.js @@ -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]; diff --git a/bulma.ls b/bulma.ls index a1c5c24..1e32aeb 100644 --- a/bulma.ls +++ b/bulma.ls @@ -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