File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 44before_script :
55 - npm install -g grunt-cli
66 - npm install
7- script : grunt test -v -d
7+ script : grunt test
Original file line number Diff line number Diff line change @@ -331,8 +331,14 @@ $(document).ready(function(){
331331 equal ( typeTest ( "1299999999" ) , "(12) 9999-9999" ) ;
332332 testfield . unmask ( )
333333 equal ( testfield . val ( ) , "1299999999" ) ;
334- equal ( testfield . attr ( 'placeholder' ) , undefined ) ;
335- equal ( testfield . attr ( 'maxlength' ) , undefined ) ;
334+
335+ if ( window . Zepto ) {
336+ equal ( testfield . attr ( 'placeholder' ) , '' ) ;
337+ equal ( testfield . attr ( 'maxlength' ) , null ) ;
338+ } else {
339+ equal ( testfield . attr ( 'placeholder' ) , undefined ) ;
340+ equal ( testfield . attr ( 'maxlength' ) , undefined ) ;
341+ }
336342 } ) ;
337343
338344 module ( 'Getting Unmasked Value' ) ;
You can’t perform that action at this time.
0 commit comments