fix lint errors

This commit is contained in:
vitalets
2013-01-10 23:26:40 +04:00
parent 473a9d9126
commit 825f610988
3 changed files with 9 additions and 7 deletions
grunt.js
src/inputs/combodate

@ -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>');
});