@@ -101,27 +101,27 @@ describe("Element focus", () => {
101101describe ( "Textbox validation" , ( ) => {
102102 function * RequiredInputValidationResponder ( el : HTMLInputElement ) {
103103 yield listenTo ( el , [ "input" , "blur" , "focus" ] ) ;
104- yield on ( "focus" , compound ( CheckingActive ) ) ;
105- yield on ( "blur" , compound ( CheckingActive ) ) ;
106- yield on ( "input" , compound ( CheckingValid ) ) ;
104+ yield on ( "focus" , compound ( _CheckingActive ) ) ;
105+ yield on ( "blur" , compound ( _CheckingActive ) ) ;
106+ yield on ( "input" , compound ( _CheckingValid ) ) ;
107107
108108 function * Inactive ( ) { }
109109 function * Active ( ) { }
110- function * CheckingActive ( ) {
110+ function * _CheckingActive ( ) {
111111 yield cond ( el . ownerDocument . activeElement === el , Active ) ;
112112 yield always ( Inactive ) ;
113113 }
114114 function * Valid ( ) { }
115115 function * InvalidCannotBeEmpty ( ) { }
116116 function * InvalidMustBeLowercase ( ) { }
117- function * CheckingValid ( ) {
117+ function * _CheckingValid ( ) {
118118 yield cond ( el . value === '' , InvalidCannotBeEmpty ) ;
119119 yield cond ( / ^ [ a - z ] + $ / . test ( el . value ) === false , InvalidMustBeLowercase ) ;
120120 // yield cond(false)(/^[a-z]+$/.test(el.value), InvalidMustBeLowercase);
121121 yield always ( Valid ) ;
122122 }
123123
124- return CheckingActive ;
124+ return _CheckingActive ;
125125 }
126126
127127 it ( "listens when element receives and loses focus" , ( ) => {
0 commit comments