1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 03:57:21 +00:00

Fix Travis CI syntax error

We were getting "SyntaxError: Use of const in strict mode."
This commit is contained in:
Jeremy Ruston 2020-02-04 14:35:21 +00:00
parent 9dd719ba32
commit 8eb2ec9357

View File

@ -12,7 +12,11 @@ Wraps up the remarkable parser for use as a Parser in TiddlyWiki
/*global $tw: false */
"use strict";
const { Remarkable, linkify, utils } = require("$:/plugins/tiddlywiki/markdown/remarkable.js");
var r = require("$:/plugins/tiddlywiki/markdown/remarkable.js");
var Remarkable = r.Remarkable,
linkify = r.linkify,
utils = r.utils;
///// Set up configuration options /////
function parseAsBoolean(tiddlerName) {