@@ -88,10 +88,6 @@ return /******/ (function(modules) { // webpackBootstrap
88
88
89
89
var _directivesValidator2 = _interopRequireDefault ( _directivesValidator ) ;
90
90
91
- var _validation = __webpack_require__ ( 6 ) ;
92
-
93
- var _validation2 = _interopRequireDefault ( _validation ) ;
94
-
95
91
/**
96
92
* Install
97
93
*
@@ -405,17 +401,15 @@ return /******/ (function(modules) { // webpackBootstrap
405
401
406
402
/***/ } ,
407
403
/* 4 */
408
- /***/ function ( module , exports , __webpack_require__ ) {
404
+ /***/ function ( module , exports ) {
409
405
410
- ' use strict' ;
406
+ " use strict" ;
411
407
412
- Object . defineProperty ( exports , ' __esModule' , {
408
+ Object . defineProperty ( exports , " __esModule" , {
413
409
value : true
414
410
} ) ;
415
411
416
- var _util = __webpack_require__ ( 1 ) ;
417
-
418
- exports [ 'default' ] = function ( Vue ) {
412
+ exports [ "default" ] = function ( Vue ) {
419
413
420
414
// override _init
421
415
var init = Vue . prototype . _init ;
@@ -429,12 +423,12 @@ return /******/ (function(modules) { // webpackBootstrap
429
423
// override _destroy
430
424
var destroy = Vue . prototype . _destroy ;
431
425
Vue . prototype . _destroy = function ( ) {
426
+ destroy . apply ( this , arguments ) ;
432
427
this . _validatorMaps = null ;
433
- destroy . call ( this ) ;
434
428
} ;
435
429
} ;
436
430
437
- module . exports = exports [ ' default' ] ;
431
+ module . exports = exports [ " default" ] ;
438
432
439
433
/***/ } ,
440
434
/* 5 */
@@ -462,12 +456,11 @@ return /******/ (function(modules) { // webpackBootstrap
462
456
params : [ 'group' ] ,
463
457
464
458
bind : function bind ( ) {
465
- //console.log('validate:bind', this, this.arg)
466
459
var vm = this . vm ;
467
460
var validatorName = vm . $options . _validator ;
468
461
if ( ! validatorName ) {
469
462
// TODO: should be implemented error message
470
- _ . warn ( 'TODO: should be implemented error message' ) ;
463
+ ( 0 , _util . warn ) ( 'TODO: should be implemented error message' ) ;
471
464
return ;
472
465
}
473
466
@@ -484,7 +477,6 @@ return /******/ (function(modules) { // webpackBootstrap
484
477
} ,
485
478
486
479
update : function update ( value , old ) {
487
- //console.log('validate:update', this.arg, value, old, typeof value, JSON.stringify(value))
488
480
if ( ! value ) {
489
481
return ;
490
482
}
@@ -518,7 +510,6 @@ return /******/ (function(modules) { // webpackBootstrap
518
510
} ,
519
511
520
512
unbind : function unbind ( ) {
521
- //console.log('validate:unbind', this)
522
513
if ( this . validator && this . validation ) {
523
514
if ( this . params . group ) {
524
515
this . validator . removeGroupValidation ( this . params . group , this . validation ) ;
@@ -604,7 +595,6 @@ return /******/ (function(modules) { // webpackBootstrap
604
595
} , {
605
596
key : 'listener' ,
606
597
value : function listener ( e ) {
607
- //console.log('input event', e.type)
608
598
if ( e . relatedTarget && ( e . relatedTarget . tagName === 'A' || e . relatedTarget . tagName === 'BUTTON' ) ) {
609
599
return ;
610
600
}
@@ -689,14 +679,14 @@ return /******/ (function(modules) { // webpackBootstrap
689
679
bind : function bind ( ) {
690
680
if ( ! this . params . name ) {
691
681
// TODO: should be implemented validator:bind name params nothing error'
692
- _ . warn ( 'TODO: should be implemented validator:bind name params nothing error' ) ;
682
+ ( 0 , _util . warn ) ( 'TODO: should be implemented validator:bind name params nothing error' ) ;
693
683
return ;
694
684
}
695
685
696
686
var validatorName = this . validatorName = '$' + this . params . name ;
697
687
if ( ! this . vm . _validatorMaps ) {
698
688
// TODO: should be implemented error message'
699
- _ . warn ( 'TODO: should be implemented error message' ) ;
689
+ ( 0 , _util . warn ) ( 'TODO: should be implemented error message' ) ;
700
690
return ;
701
691
}
702
692
@@ -775,8 +765,10 @@ return /******/ (function(modules) { // webpackBootstrap
775
765
776
766
this . name = name ;
777
767
this . scope = { } ; // TODO: change to Object.create(null)
778
- //this.scope = Object.create(null)
779
- //this.scope.a = 1
768
+ /*
769
+ this.scope = Object.create(null)
770
+ this.scope.a = 1
771
+ */
780
772
781
773
this . _dir = dir ;
782
774
this . _validations = [ ] ;
0 commit comments