Include map.js and menu.js in the bundle.
//= require globals
//= require browse
//= require export
+//= require map
+//= require menu
/*
* Called as the user scrolls/zooms around to aniplate hrefs of the
-<%= javascript_include_tag 'map.js' %>
-
<iframe id="linkloader" style="display: none">
</iframe>
-<%= javascript_include_tag 'map.js' %>
-
<div id="changeset_list_map">
</div>
<% zoom = '12' %>
<% end %>
-<%= javascript_include_tag 'map.js' %>
-
<script type="text/javascript">
<!--
var marker;
<head>
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0"/>
- <%= javascript_include_tag "site" %>
- <%= javascript_include_tag "menu" %>
+ <%= javascript_include_tag "application" %>
<!--[if lt IE 7]><%= javascript_include_tag "pngfix" %><![endif]--> <!-- thanks, microsoft! -->
<%= stylesheet_link_tag "small-#{t 'html.dir'}", :media => "only screen and (max-width:641px)" %>
<%= stylesheet_link_tag "large-#{t 'html.dir'}", :media => "screen and (min-width: 642px)" %>
end
%>
-<%= javascript_include_tag 'map.js' %>
-
<%= render :partial => 'resize' %>
<script type="text/javascript">
end
%>
-<%= javascript_include_tag 'map.js' %>
-
<script type="text/javascript">
<!--
var marker;
# config.action_controller.asset_host = "http://assets.example.com"
# Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
- config.assets.precompile += %w( map.js menu.js pngfix.js site.js swfobject.js )
- config.assets.precompile += %w( openlayers.js )
+ config.assets.precompile += %w( pngfix.js swfobject.js )
config.assets.precompile += %w( large-ltr.css small-ltr.css print-ltr.css )
config.assets.precompile += %w( large-rtl.css small-rtl.css print-rtl.css )
config.assets.precompile += %w( browse.css theme/openstreetmap/style.css )