From dce7898af35aee4a9e626e84d622785ab0b29fb4 Mon Sep 17 00:00:00 2001 From: Luka Vandervelden Date: Sun, 5 Jan 2020 06:14:27 +0100 Subject: [PATCH] Adds columns() and column() aliases. --- bulma.js | 2 ++ bulma.ls | 3 +++ 2 files changed, 5 insertions(+) diff --git a/bulma.js b/bulma.js index 45d0f0f..acf3fd5 100644 --- a/bulma.js +++ b/bulma.js @@ -15,6 +15,8 @@ module.exports = { container: alias('div.container'), footer: alias('footer.footer'), + columns: alias('div.columns'), + column: alias('div.column'), box: function(args, children){ return h('div.box', args, children); }, diff --git a/bulma.ls b/bulma.ls index 1e32aeb..27b5cb6 100644 --- a/bulma.ls +++ b/bulma.ls @@ -14,6 +14,9 @@ module.exports = { container: alias \div.container footer: alias \footer.footer + columns: alias \div.columns + column: alias \div.column + box: (args, children) -> h \div.box args, children title: (level, args, label) ->