From b506923bb7f4d99d9da33515f83a3a07e6ba4130 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Wed, 10 Aug 2016 16:18:09 +0000 Subject: Remove trailing whitespace --- Makefile | 2 +- jqmobile.css | 74 +++++++++++++++++++++--------------------- jqmobile.js | 14 ++++---- template-html.lsp | 10 +++--- template-welcome-read-html.lsp | 12 +++---- themes/jqmobile-skin.css | 2 +- themes/jqmobile-skin.min.css | 2 +- 7 files changed, 58 insertions(+), 58 deletions(-) diff --git a/Makefile b/Makefile index 636e346..2c390f4 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ WWW_DIST=\ EXTRA_DIST=README Makefile config.mk -DISTFILES=$(WWW_DIST) $(EXTRA_DIST) +DISTFILES=$(WWW_DIST) $(EXTRA_DIST) TAR=tar diff --git a/jqmobile.css b/jqmobile.css index 82223d2..fd60504 100644 --- a/jqmobile.css +++ b/jqmobile.css @@ -1,5 +1,5 @@ -/* - * needs cleaning +/* + * needs cleaning */ body { background: #dddddd; } @@ -30,7 +30,7 @@ color: #a21412; } h2 { margin:1.2em 0 .4em 0; } -p code { font-size:1.2em; font-weight:bold; } +p code { font-size:1.2em; font-weight:bold; } h4 code {font-size:1.2em; font-weight:bold; } dt { font-weight: bold; margin: 2em 0 .5em; } @@ -101,36 +101,36 @@ p.intro strong { } /* new API additions */ -dt { - margin: 35px 0 15px 0; - background-color:#ddd; +dt { + margin: 35px 0 15px 0; + background-color:#ddd; font-weight:normal; } -dt code { - display:inline-block; +dt code { + display:inline-block; font-weight:bold; - color:#56A00E; - padding:3px 7px; - margin-right:10px; - background-color:#fff; + color:#56A00E; + padding:3px 7px; + margin-right:10px; + background-color:#fff; } -dd { - margin-bottom:10px; +dd { + margin-bottom:10px; } dd .default { font-weight:bold; } -dd pre { - margin:0 0 0 0; +dd pre { + margin:0 0 0 0; } dd code { font-weight: normal; } -dd pre code { - margin:0; - border:none; - font-weight:normal; - font-size:100%; - background-color:transparent; +dd pre code { + margin:0; + border:none; + font-weight:normal; + font-size:100%; + background-color:transparent; } dd h4 { margin:15px 0 0 0; } - + .localnav { margin:0 0 20px 0; overflow:hidden; @@ -138,9 +138,9 @@ dd h4 { margin:15px 0 0 0; } .localnav li { float:left; } -.localnav .ui-btn-inner { - padding: .6em 10px; - font-size:80%; +.localnav .ui-btn-inner { + padding: .6em 10px; + font-size:80%; } /* custom dialog for the photos sharing */ @@ -156,18 +156,18 @@ dd h4 { margin:15px 0 0 0; } background: #74b042; color: #fff; font-weight: bold; - text-shadow: 0 1px 1px #335413; + text-shadow: 0 1px 1px #335413; background-image: -webkit-gradient(linear, left top, left bottom, from(#74b042), to(#56A00E)); /* Saf4+, Chrome */ background-image: -webkit-linear-gradient(#74b042, #56A00E); /* Chrome 10+, Saf5.1+ */ background-image: -moz-linear-gradient(#74b042, #56A00E); /* FF3.6 */ background-image: -ms-linear-gradient(#74b042, #56A00E); /* IE10 */ background-image: -o-linear-gradient(#74b042, #56A00E); /* Opera 11.10+ */ - background-image: linear-gradient(#74b042, #56A00E); + background-image: linear-gradient(#74b042, #56A00E); } -.ui-bar-f, -.ui-bar-f input, -.ui-bar-f select, -.ui-bar-f textarea, +.ui-bar-f, +.ui-bar-f input, +.ui-bar-f select, +.ui-bar-f textarea, .ui-bar-f button { font-family: Helvetica, Arial, sans-serif /*{global-font-family}*/; } @@ -276,13 +276,13 @@ dd h4 { margin:15px 0 0 0; } word-spacing: normal; text-rendering: auto; } - + .flexcols dt { background-color:transparent; font-weight:bold; margin: 3px 0px 0px 0px; } - + .flexcols-1-2 dt, .flexcols-1-2 dd { width: 50%; } .flexcols-1-3 dt { width: 33.333%; } .flexcols-1-3 dd { width: 66.667%; } .flexcols-1-4 dt { width: 25%; } .flexcols-1-4 dd { width: 75%; } @@ -342,7 +342,7 @@ dd h4 { margin:15px 0 0 0; } /* docs site layout */ @media all and (min-width: 650px) { - + .type-home .ui-content { margin-top: 5px; @@ -435,7 +435,7 @@ dd h4 { margin:15px 0 0 0; } margin: 0; padding: 0; } - + } @media all and (min-width: 750px) { .type-home .ui-content, @@ -448,7 +448,7 @@ dd h4 { margin:15px 0 0 0; } .content-primary { width: 56%; padding-right: 1%; - } + } .type-interior .ui-content { background-position: 34%; } diff --git a/jqmobile.js b/jqmobile.js index 2cbd096..85ca4fb 100644 --- a/jqmobile.js +++ b/jqmobile.js @@ -1,5 +1,5 @@ -/* - * needs cleaning +/* + * needs cleaning */ //collapse page navs after use @@ -26,7 +26,7 @@ $(document).bind( "pagebeforechange", function( e, data ) { commandresult.remove(); var showinfopage = true; } - + if(descr.length > 0) { descr.hide(); commandpage.html( descr.html() ); @@ -40,7 +40,7 @@ $(document).bind( "pagebeforechange", function( e, data ) { error.remove(); var showinfopage = true; } - + if(showinfopage) { e.preventDefault(); $.mobile.changePage( "#infopage", { @@ -80,7 +80,7 @@ $(document).bind( "pagebeforechange", function( e, data ) { 'data-inline': 'true' }); - + }); @@ -107,7 +107,7 @@ $(document).bind( 'pagecreate', function() { $( "p.acf-version" ).html( html ); $.mobile.ajaxEnabled = false; - + }); @@ -151,7 +151,7 @@ if ( location.protocol.substr(0,4) === 'file' || $( document ).bind( "pagecreate", function( event ) { $( event.target ).append( message ); }); - + }); }); } diff --git a/template-html.lsp b/template-html.lsp index c3f9e27..79686bb 100644 --- a/template-html.lsp +++ b/template-html.lsp @@ -1,11 +1,11 @@ -<% local viewtable, viewlibrary, pageinfo, session = ... +<% local viewtable, viewlibrary, pageinfo, session = ... html=require("acf.html") posix = require("posix") %> Status: 200 OK Content-Type: text/html -<% if (session.id) then - io.write( html.cookie.set("sessionid", session.id) ) +<% if (session.id) then + io.write( html.cookie.set("sessionid", session.id) ) else io.write (html.cookie.unset("sessionid")) end @@ -107,13 +107,13 @@ end -<% +<% if pageinfo.viewfile then fs=require("acf.fs") local sf = posix.dirname(pageinfo.viewfile) .. '/' .. pageinfo.controller .. '-' .. pageinfo.action ..'-popups-html.lsp' if fs.is_file(sf) then %> -<% +<% local func = haserl.loadfile(sf) func (viewtable, viewlibrary, pageinfo, session) %> diff --git a/template-welcome-read-html.lsp b/template-welcome-read-html.lsp index a7fc4f8..e23b0c9 100644 --- a/template-welcome-read-html.lsp +++ b/template-welcome-read-html.lsp @@ -1,9 +1,9 @@ -<% local viewtable, viewlibrary, pageinfo, session = ... +<% local viewtable, viewlibrary, pageinfo, session = ... html=require("acf.html") %> Status: 200 OK Content-Type: text/html -<% if (session.id) then - io.write( html.cookie.set("sessionid", session.id) ) +<% if (session.id) then + io.write( html.cookie.set("sessionid", session.id) ) else io.write (html.cookie.unset("sessionid")) end @@ -53,7 +53,7 @@ end <%= html.html_escape(hostname or "unknown hostname") %>
  • <% local ctlr = pageinfo.script .. "/acf-util/logon/" - + if session.userinfo and session.userinfo.userid then io.write ( string.format("\t\t\t\t\t\tLog off as '" .. html.html_escape(session.userinfo.userid) .. "'\n", html.html_escape(ctlr) .. "logoff" ) ) else @@ -70,7 +70,7 @@ end
    <% if session.userinfo and session.userinfo.userid then %>