Skip to content

Commit 5a4bd15

Browse files
committed
Update dev dependencies.
1 parent 01cd382 commit 5a4bd15

File tree

8 files changed

+33643
-19333
lines changed

8 files changed

+33643
-19333
lines changed

js/compile.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
// Retrieve the content of the minimal runtime:
2222
var runtime = fs.readFileSync(path.join(__dirname, 'runtime.js'), 'utf8')
2323
// A regular expression to parse templates from script tags in a HTML page:
24-
var regexp = /<script( id="([\w-]+)")? type="text\/x-tmpl"( id="([\w-]+)")?>([\s\S]+?)<\/script>/gi
24+
var regexp =
25+
/<script( id="([\w-]+)")? type="text\/x-tmpl"( id="([\w-]+)")?>([\s\S]+?)<\/script>/gi
2526
// A regular expression to match the helper function names:
2627
var helperRegexp = new RegExp(
2728
tmpl.helper.match(/\w+(?=\s*=\s*function\s*\()/g).join('\\s*\\(|') +

js/tmpl.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@
3939
tmpl.load = function (id) {
4040
return document.getElementById(id).innerHTML
4141
}
42-
tmpl.regexp = /([\s'\\])(?!(?:[^{]|\{(?!%))*%\})|(?:\{%(=|#)([\s\S]+?)%\})|(\{%)|(%\})/g
42+
tmpl.regexp =
43+
/([\s'\\])(?!(?:[^{]|\{(?!%))*%\})|(?:\{%(=|#)([\s\S]+?)%\})|(\{%)|(%\})/g
4344
tmpl.func = function (s, p1, p2, p3, p4, p5) {
4445
if (p1) {
4546
// whitespace, quote and backspace in HTML context

js/tmpl.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/tmpl.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)