Skip to content

Commit

Permalink
Merge pull request #3 from petzku/conditional-karaok
Browse files Browse the repository at this point in the history
KaraTemplater: Load karaOK conditionally
  • Loading branch information
The0x539 committed Mar 19, 2021
2 parents 20b5ddf + 64aede0 commit 589e1b0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/0x.KaraTemplater.moon
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
require 'karaskel'

USE_KARAOK = true
local karaOK
if USE_KARAOK
karaOK = require 'ln.kara'
USE_KARAOK, karaOK = pcall require, 'ln.kara'

-- A magic table that is interested in every style.
all_styles = {}
Expand Down

0 comments on commit 589e1b0

Please sign in to comment.