added alphanumeric and underscore support for type name

This commit is contained in:
Rhythm 2016-04-07 18:53:00 +05:30
parent a44d3ff1e8
commit 0138cbec17

View File

@ -446,7 +446,7 @@ function tokenizer(input) {
// ^^^ // ^^^
// Name token // Name token
// //
var LETTERS = /[a-z]/i; var LETTERS = /[a-zA-Z_0-9]/;
if (LETTERS.test(char)) { if (LETTERS.test(char)) {
var value = ''; var value = '';