重构代码:增加分号结束符

This commit is contained in:
Argo-MacBookPro 2018-09-02 01:10:06 +08:00
parent e31dfe5055
commit 1b415e46a1
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
var Validate = function (element, options) {
var that = this;
this.$element = $(element)
this.$element = $(element);
this.options = $.extend({
pendingRequest: 0,
pending: {},
@ -85,7 +85,7 @@
that.tooltip.call(that, element, true);
},
settings: $.validator.defaults
}, this.defaults(), options)
}, this.defaults(), options);
this.$element.on('input.lgb.validate', this.options.childClass, function () {
if (!that.validElement(this)) $(this).tooltip('show');
}).on('inserted.bs.tooltip', this.options.childClass, function () {