1 $( window ).load( function () {
2 ( function writeLog() {
4 viewport = $('head').find('meta[name="viewport"]'),
5 htmlFontSize = $('html').css('font-size');
8 return $("<li></li>").text(text);
10 log.append( item( "viewport content: " + viewport.attr("content") ) );
11 log.append( item( "html fontsize: " + htmlFontSize) );
14 ( function addLink() {
15 var link = $("#link"),
17 device_width: "index.device_width.html",
18 fixed_width: "index.fixed_width.html",
19 screen_width: "index.screen_width.html"
21 for ( idx in links ) {
22 link.append('<li><a href="' + links[idx] + '" rel="external">' + idx + '</a>' );
24 link.listview('refresh');