This repository was archived by the owner on Oct 8, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < html lang ="en ">
3
+ < head >
4
+ < meta charset ="utf-8 ">
5
+ < meta name ="viewport " content ="width=device-width, initial-scale=1 ">
6
+ < title > jQuery Mobile Textinput Test Suite</ title >
7
+
8
+ < script src ="../../../js/jquery.js "> </ script >
9
+ < script src ="../jquery.setNameSpace.js "> </ script >
10
+ < script src ="../../../external/qunit.js "> </ script >
11
+ < script src ="../../../js/ "> </ script >
12
+ < link rel ="stylesheet " href ="../../../themes/default " />
13
+ < link rel ="stylesheet " href ="../../../external/qunit.css "/>
14
+
15
+ < script src ="textinput_core.js "> </ script >
16
+ </ head >
17
+ < body >
18
+
19
+ < h1 id ="qunit-header "> jQuery Mobile Textinput Test Suite</ h1 >
20
+ < h2 id ="qunit-banner "> </ h2 >
21
+ < h2 id ="qunit-userAgent "> </ h2 >
22
+ < ol id ="qunit-tests ">
23
+ </ ol >
24
+
25
+ < div data-nstest-role ="page ">
26
+ < input name ="" id ="typeless-input " />
27
+ </ div >
28
+ </ body >
29
+ </ html >
Original file line number Diff line number Diff line change
1
+ /*
2
+ * mobile textinput unit tests
3
+ */
4
+ ( function ( $ ) {
5
+ module ( "jquery.mobile.forms.textinput.js" ) ;
6
+
7
+ test ( "inputs without type specified are enhanced" , function ( ) {
8
+ ok ( $ ( "#typeless-input" ) . hasClass ( "ui-input-text" ) ) ;
9
+ } ) ;
10
+ } ) ( jQuery ) ;
You can’t perform that action at this time.
0 commit comments