fix lint errors
This commit is contained in:
@@ -32,6 +32,9 @@ $(function(){
|
||||
});
|
||||
</script>
|
||||
**/
|
||||
|
||||
/*global moment*/
|
||||
|
||||
(function ($) {
|
||||
|
||||
var Constructor = function (options) {
|
||||
@@ -165,7 +168,7 @@ $(function(){
|
||||
}
|
||||
**/
|
||||
combodate: {
|
||||
},
|
||||
}
|
||||
|
||||
/*
|
||||
(not implemented yet)
|
||||
|
@@ -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