#289 remove weird characters
This commit is contained in:
parent
bfd043aa5e
commit
a0ab0d1943
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ Mithril = m = new function app(window, undefined) {
|
||||||
function isFn(obj) {return typeof obj == "function"}
|
function isFn(obj) {return typeof obj == "function"}
|
||||||
function isStr(obj){ return type(obj) == sStr}
|
function isStr(obj){ return type(obj) == sStr}
|
||||||
var parser = /(?:(^|#|\.)([^#\.\[\]]+))|(\[.+?\])/g, attrParser = /\[(.+?)(?:=("|'|)(.*?)\2)?\]/
|
var parser = /(?:(^|#|\.)([^#\.\[\]]+))|(\[.+?\])/g, attrParser = /\[(.+?)(?:=("|'|)(.*?)\2)?\]/
|
||||||
var voidElements = /AREA|BASE|BR|COL|COMMAND|EMBED|HR|IMG|INPUT|KEYGEN|LINK|META|PARAM|SOURCE|TRACK|WBR/
|
var voidElements = /AREA|BASE|BR|COL|COMMAND|EMBED|HR|IMG|INPUT|KEYGEN|LINK|META|PARAM|SOURCE|TRACK|WBR/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @typedef {String} Tag
|
* @typedef {String} Tag
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue