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 4
4
before_script :
5
5
- npm install -g grunt-cli
6
6
- 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(){
331
331
equal ( typeTest ( "1299999999" ) , "(12) 9999-9999" ) ;
332
332
testfield . unmask ( )
333
333
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
+ }
336
342
} ) ;
337
343
338
344
module ( 'Getting Unmasked Value' ) ;
You can’t perform that action at this time.
0 commit comments