use cartodb.js development version in all the environments except production

pull/240/head
javi 11 years ago
parent 35ed96f7ee
commit 367498eb72

@ -20,7 +20,7 @@
#map {position:absolute; width:100%; top:0; right:0; bottom:0; left:0;}
</style>
<% if Rails.env.development? %>
<% if !Rails.env.production? %>
<%= stylesheet_link_tag 'cdb/themes/css/cartodb' %>
<!--[if lte IE 8]>
<%= stylesheet_link_tag 'cdb/themes/css/cartodb.ie' %>
@ -45,7 +45,7 @@
<!-- <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script> -->
<% end %>
<% if Rails.env.development? %>
<% if !Rails.env.production? %>
<%= javascript_include_tag :jquery ,:cdb %>
<% else %>
<script src="http://libs.cartocdn.com/cartodb.js/v3/cartodb.js"></script>

Loading…
Cancel
Save