Skip to content

Commit 7592dd2

Browse files
committed
Include colon and dot as valid characters in script section ids.
1 parent e5a06e4 commit 7592dd2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tmpl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
(function ($) {
1919
"use strict";
2020
var tmpl = function (str, data) {
21-
var f = !/[^\-\w]/.test(str) ? tmpl.cache[str] = tmpl.cache[str] ||
21+
var f = !/[^\w\-\.:]/.test(str) ? tmpl.cache[str] = tmpl.cache[str] ||
2222
tmpl(tmpl.load(str)) :
2323
new Function(
2424
tmpl.arg + ',tmpl',

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.

0 commit comments

Comments
 (0)