fix lint errors
This commit is contained in:
@ -61,8 +61,8 @@
|
||||
|
||||
//first pass
|
||||
$.each(this.map, function(k, v) {
|
||||
var v = v[0],
|
||||
r = new RegExp(v+'+'),
|
||||
v = v[0];
|
||||
var r = new RegExp(v+'+'),
|
||||
token = v.length > 1 ? v.substring(1, 2) : v;
|
||||
|
||||
tpl = tpl.replace(r, '{'+token+'}');
|
||||
@ -73,8 +73,8 @@
|
||||
|
||||
//second pass
|
||||
$.each(this.map, function(k, v) {
|
||||
var v = v[0],
|
||||
token = v.length > 1 ? v.substring(1, 2) : v;
|
||||
v = v[0];
|
||||
var token = v.length > 1 ? v.substring(1, 2) : v;
|
||||
|
||||
tpl = tpl.replace('{'+token+'}', '<select class="'+k+'"></select>');
|
||||
});
|
||||
|
Reference in New Issue
Block a user