@@ -555,7 +555,7 @@ describe('uiStateRef', function() {
555
555
it ( 'should bind single HTML events' , inject ( function ( $compile , $state , $timeout ) {
556
556
expect ( $state . current . name ) . toEqual ( 'top' ) ;
557
557
558
- el = angular . element ( '<input type="text" ui-state="state" ui-state-opts="{ event : [\'change\'] }">' ) ;
558
+ el = angular . element ( '<input type="text" ui-state="state" ui-state-opts="{ events : [\'change\'] }">' ) ;
559
559
560
560
scope . state = 'contacts' ;
561
561
$compile ( el ) ( scope ) ;
@@ -570,7 +570,7 @@ describe('uiStateRef', function() {
570
570
it ( 'should bind multiple HTML events' , inject ( function ( $compile , $state , $timeout ) {
571
571
expect ( $state . current . name ) . toEqual ( 'top' ) ;
572
572
573
- el = angular . element ( '<input type="text" ui-state="state" ui-state-opts="{ event : [\'change\', \'blur\'] }">' ) ;
573
+ el = angular . element ( '<input type="text" ui-state="state" ui-state-opts="{ events : [\'change\', \'blur\'] }">' ) ;
574
574
575
575
scope . state = 'contacts' ;
576
576
$compile ( el ) ( scope ) ;
@@ -593,7 +593,7 @@ describe('uiStateRef', function() {
593
593
it ( 'should bind multiple Mouse events' , inject ( function ( $compile , $state , $timeout ) {
594
594
expect ( $state . current . name ) . toEqual ( 'top' ) ;
595
595
596
- el = angular . element ( '<a ui-state="state" ui-state-opts="{ event : [\'mouseover\', \'mousedown\'] }">' ) ;
596
+ el = angular . element ( '<a ui-state="state" ui-state-opts="{ events : [\'mouseover\', \'mousedown\'] }">' ) ;
597
597
598
598
scope . state = 'contacts' ;
599
599
$compile ( el ) ( scope ) ;
@@ -703,7 +703,7 @@ describe('uiStateRef', function() {
703
703
} ) ) ;
704
704
705
705
it ( 'should bind single HTML events' , inject ( function ( $rootScope , $compile , $state , $timeout ) {
706
- el = angular . element ( '<input type="text" ui-sref="contacts" ui-sref-opts="{ event : [\'change\'] }">' ) ;
706
+ el = angular . element ( '<input type="text" ui-sref="contacts" ui-sref-opts="{ events : [\'change\'] }">' ) ;
707
707
$compile ( el ) ( $rootScope ) ;
708
708
$rootScope . $digest ( ) ;
709
709
@@ -716,7 +716,7 @@ describe('uiStateRef', function() {
716
716
} ) ) ;
717
717
718
718
it ( 'should bind multiple HTML events' , inject ( function ( $rootScope , $compile , $state , $timeout ) {
719
- el = angular . element ( '<input type="text" ui-sref="contacts" ui-sref-opts="{ event : [\'change\', \'blur\'] }">' ) ;
719
+ el = angular . element ( '<input type="text" ui-sref="contacts" ui-sref-opts="{ events : [\'change\', \'blur\'] }">' ) ;
720
720
$compile ( el ) ( $rootScope ) ;
721
721
$rootScope . $digest ( ) ;
722
722
@@ -737,7 +737,7 @@ describe('uiStateRef', function() {
737
737
} ) ) ;
738
738
739
739
it ( 'should bind multiple Mouse events' , inject ( function ( $rootScope , $compile , $state , $timeout ) {
740
- el = angular . element ( '<a ui-sref="contacts" ui-sref-opts="{ event : [\'mouseover\', \'mousedown\'] }">' ) ;
740
+ el = angular . element ( '<a ui-sref="contacts" ui-sref-opts="{ events : [\'mouseover\', \'mousedown\'] }">' ) ;
741
741
$compile ( el ) ( $rootScope ) ;
742
742
$rootScope . $digest ( ) ;
743
743
0 commit comments