Skip to content

Commit 24b01c7

Browse files
committed
Added an index page for the tools directory so we can use the tools directly off the jquerymobile.com site without having to remember the name of the file for a given tool.
Note that all links in the index are rel="external" because some of the tool pages need to run JS to set paths, properly.
1 parent d04054b commit 24b01c7

File tree

2 files changed

+35
-2
lines changed

2 files changed

+35
-2
lines changed

tools/index.html

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<!DOCTYPE HTML>
2+
<html>
3+
<head>
4+
<meta charset="UTF-8">
5+
<title>jQuery Mobile Tools</title>
6+
<link rel="stylesheet" href="../css/themes/default/jquery.mobile.css">
7+
<script src="../js/jquery.js"></script>
8+
<script src="../js/"></script>
9+
</head>
10+
11+
<body>
12+
<div data-role="page">
13+
<div data-role="header"><h1>Tools</h1></div>
14+
<div data-role="content">
15+
<p>Tools written by the team to aid in debugging jQuery Mobile apps.</p>
16+
<ul data-role="listview" data-inset="true">
17+
<li><a href="config-props.html" rel="external">
18+
<h3>Configuration Properties</h3>
19+
<p>A simple page for dumping the framework configuration property values and the calculated $.support values for a given browser/device.</p>
20+
</a></li>
21+
<li><a href="log-page-events.html" rel="external">
22+
<h3>Page Event Logger Bookmarklet</h3>
23+
<p>A simple bookmarklet that dumps page event information to the browser console. Good for debugging page loading and lifecycle problems.</p>
24+
</a></li>
25+
<li><a href="page-change-time.html" rel="external">
26+
<h3>Page Change Timing Bookmarklet</h3>
27+
<p>A simple bookmarklet that dumps timing information at specific points within the loading, processing, and activation of a page.</p>
28+
</a></li>
29+
</ul>
30+
</div>
31+
</div>
32+
</body>
33+
</html>

tools/page-change-time.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
<head>
44
<meta charset="utf-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1">
6-
<title>Page Change Timer Bookmarklet</title>
6+
<title>Page Change Timing Bookmarklet</title>
77
</head>
88

99
<body>
10-
<h1>Page Event Logger Bookmarklet</h1>
10+
<h1>Page Change Timing Bookmarklet</h1>
1111
<p>A simple bookmarklet for timing the load, enhanement, and transition of a jQuery Mobile changePage() request. To use, bookmark the following link:</p>
1212
<script>
1313
document.write('<p><a id="bookmarklet-link" href="javascript:function loadScript(u){var s=document.createElement(\'script\');s.setAttribute(\'language\',\'javascript\');s.setAttribute(\'src\',u);document.body.appendChild(s);} loadScript(\'' + ( location.href.replace( /\.html/, ".js" ) ) + '\');">Page Change Timing Bookmark</a></p>');

0 commit comments

Comments
 (0)