Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Whitespace.

  • Loading branch information...
commit eba3ccd060b56d83e0ced20fade187b375c01d8e 1 parent 6f8b308
Tres Seaver authored November 02, 2011
40  pyramid_jqm/scaffolds/jqm_starter/+package+/static/index.html
@@ -23,13 +23,13 @@
23 23
   <body>
24 24
 
25 25
     <div data-role="page" id="home">
26  
-      
  26
+
27 27
       <div data-role="header">
28 28
         <h1>pyramid_jqm</h1>
29 29
       </div>
30  
-      
  30
+
31 31
       <div data-role="content">
32  
-        
  32
+
33 33
         <ul data-role="listview" data-inset="true">
34 34
           <li data-role="list-divider">Demos</li>
35 35
           <li>
@@ -44,13 +44,13 @@
44 44
         </ul>
45 45
       </div>
46 46
     </div>
47  
-    
  47
+
48 48
     <div data-role="page" id="about">
49 49
       <div data-role="header" >
50 50
         <a href="#home">Home</a>
51 51
         <h1>About</h1>
52 52
       </div>
53  
-      
  53
+
54 54
       <div data-role="content">
55 55
         <img src="images/pyramid-small.png"/>
56 56
 
@@ -67,16 +67,16 @@
67 67
           <span id="about-pyramid-jqm-version"></span> and Pyramid version
68 68
           <span id="about-pyramid-version"></span>.</p>
69 69
       </div>
70  
-      
  70
+
71 71
     </div>
72 72
 
73 73
     <div data-role="page" id="map">
74  
-      
  74
+
75 75
       <div data-role="header" data-position="fixed">
76 76
         <a href="#home">Home</a>
77 77
         <h1>Map Demo</h1>
78 78
       </div>
79  
-      
  79
+
80 80
       <div data-role="content" id="map-content">
81 81
         <div id="map-canvas"></div>
82 82
       </div>
@@ -90,21 +90,21 @@
90 90
         <a href="#home">Home</a>
91 91
         <h1>Form Demo</h1>
92 92
       </div>
93  
-  
  93
+
94 94
       <div data-role="content">
95  
-    
96  
-        <form id="personalinfo-form" method="post" 
  95
+
  96
+        <form id="personalinfo-form" method="post"
97 97
               action="/change_personalinfo">
98  
-      
  98
+
99 99
           <fieldset data-role="fieldcontain">
100 100
             <label for="personalinfo-email">Email:</label>
101  
-            <input type="email" name= "email" id="personalinfo-email" 
  101
+            <input type="email" name= "email" id="personalinfo-email"
102 102
                    class="required"/>
103 103
             <label for="personalinfo-firstname">First Name:</label>
104 104
             <input type="text" name="firstname" id="personalinfo-firstname"
105 105
                    class="required"/>
106 106
             <label for="personalinfo-lastname">Last Name:</label>
107  
-            <input type="text" name="lastname" id="personalinfo-lastname" 
  107
+            <input type="text" name="lastname" id="personalinfo-lastname"
108 108
                    class="required"/>
109 109
             <label for="personalinfo-country">Country:</label>
110 110
             <select name="country" id="personalinfo-country">
@@ -119,16 +119,16 @@
119 119
               <option value="choose" data-placeholder="true">Choose...</option>
120 120
             </select>
121 121
             <label for="personalinfo-newsletter">Receive newsletter</label>
122  
-            <input type="checkbox" name="newsletter" 
  122
+            <input type="checkbox" name="newsletter"
123 123
                    id="personalinfo-newsletter"/>
124 124
             <a href="#" id="personalinfo-submit" rel="external"
125 125
                data-role="button">Submit</a>
126 126
           </fieldset>
127  
-          
  127
+
128 128
         </form>
129  
-        
  129
+
130 130
       </div>
131  
-      
  131
+
132 132
     </div>
133 133
 
134 134
     <script type="text/javascript">
@@ -143,7 +143,7 @@
143 143
         $('#about').bind('pageshow', function () {
144 144
            pyramid.about_pageshow($(this));
145 145
         });
146  
-      
  146
+
147 147
         $('#map').bind('pagecreate', function () {
148 148
            pyramid.map_pagecreate($(this));
149 149
         });
@@ -159,7 +159,7 @@
159 159
         $('#form').bind('pageshow', function (event, ui) {
160 160
            pyramid.form_pageshow($(this), ui);
161 161
         });
162  
-      
  162
+
163 163
       });
164 164
 
165 165
     </script>
14  pyramid_jqm/scaffolds/jqm_starter/+package+/static/pyramid.js
@@ -17,7 +17,7 @@
17 17
 
18 18
 var pyramid = function () {
19 19
 
20  
-    var 
  20
+    var
21 21
         //--------------------------------------------------------------------
22 22
         // Deferred: resolved when google maps initialize callback invoked
23 23
         //--------------------------------------------------------------------
@@ -85,7 +85,7 @@ var pyramid = function () {
85 85
                 callback();
86 86
             }
87 87
 
88  
-        } 
  88
+        }
89 89
 
90 90
         return handler;
91 91
     }
@@ -196,7 +196,7 @@ var pyramid = function () {
196 196
     function set_device_location(loc) {
197 197
         device_location_ready.resolve(loc);
198 198
     }
199  
-        
  199
+
200 200
     if (navigator.geolocation) {
201 201
         navigator.geolocation.getCurrentPosition(set_device_location,
202 202
                                                  fail_device_location,
@@ -213,7 +213,7 @@ var pyramid = function () {
213 213
                 $('#about-pyramid-jqm-version').text(data.pjqm_version);
214 214
                 $('#about-pyramid-version').text(data.pyramid_version);
215 215
             }).error(jqxhr_error);
216  
-                
  216
+
217 217
     }
218 218
 
219 219
     //------------------------------------------------------------------------
@@ -232,8 +232,8 @@ var pyramid = function () {
232 232
     function map_pagecreate(div) {
233 233
         $.when(google_maps_ready, device_location_ready).done(
234 234
             function (map_options, loc) {
235  
-                var 
236  
-                    point = new google.maps.LatLng(loc.coords.latitude, 
  235
+                var
  236
+                    point = new google.maps.LatLng(loc.coords.latitude,
237 237
                                                    loc.coords.longitude),
238 238
                     local_map_options = {'center': point},
239 239
                     canvas = $('#map-canvas')[0],
@@ -305,7 +305,7 @@ var pyramid = function () {
305 305
 
306 306
         var url = api_prefix + '/get_personalinfo.json',
307 307
             jqXHR = $.get(url);
308  
-        
  308
+
309 309
         jqXHR.success(function (data, st, xhr) {
310 310
                 var country = data['country'],
311 311
                     email = data['email'],
1  pyramid_jqm/scaffolds/jqm_starter/+package+/views.py_tmpl
@@ -341,4 +341,3 @@ webframework_list = [
341 341
          ],
342 342
     },
343 343
 ]
344  
-     

0 notes on commit eba3ccd

Please sign in to comment.
Something went wrong with that request. Please try again.