prop_up 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,6 @@
1
+ $ ->
2
+ input = document.getElementById 'places'
3
+ options =
4
+ types: ['(cities)']
5
+
6
+ autocomplete = new google.maps.places.Autocomplete input, options
@@ -1,15 +1,29 @@
1
1
  <!DOCTYPE html>
2
+ <!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
3
+ <!--[if lt IE 7 ]> <html class="ie6" lang="en"> <![endif]-->
4
+ <!--[if IE 7 ]> <html class="ie7" lang="en"> <![endif]-->
5
+ <!--[if IE 8 ]> <html class="ie8" lang="en"> <![endif]-->
6
+ <!--[if IE 9 ]> <html class="ie9" lang="en"> <![endif]-->
7
+ <!--[if (gt IE 9)|!(IE)]><!--> <html lang="en"> <!--<![endif]-->
2
8
  <html>
3
9
  <head>
4
10
  <meta charset="utf-8" />
5
11
  <meta name="ROBOTS" content="NOODP" />
6
- <title><%%= page_title %></title>
7
- <%%= stylesheet_link_tag :application, :media => 'all' %>
8
- <%%= csrf_meta_tags %>
12
+ <title><%%= app_name %></title>
13
+ <!-- Uncomment to make IE8 render like IE7 -->
14
+ <!-- <meta http-equiv="X-UA-Compatible" content="IE=7" /> -->
15
+
16
+ <!-- Set the viewport width to device width for mobile -->
17
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
18
+ <%= stylesheet_link_tag :application, :media => 'all' %>
19
+ <%= javascript_include_tag "vendor/custom.modernizr" %>
20
+ <%= csrf_meta_tags %>
9
21
  </head>
10
22
  <body class="<%%= body_class %>">
11
- <%%= render 'flashes' -%>
12
- <%%= yield %>
13
- <%%= render 'javascript' %>
23
+ <%= render 'flashes' -%>
24
+ <%= yield %>
25
+ <%= render 'javascript' %>
26
+ <%= javascript_include_tag 'http://maps.googleapis.com/maps/api/js?libraries=places&sensor=false' %>
27
+ <%= javascript_include_tag "application" %>
14
28
  </body>
15
29
  </html>