<%= javascript_include_tag :application %>
<%= render 'shared/yammer_javascript' %>

<% if Rails.env.test? %>
  <%= javascript_tag do %>
    $.ajaxSetup({ async: false });
  <% end %>
<% else %>
  <%= render 'shared/google_analytics_tracking_code' %>
<% end %>

<%= yield(:javascript) %>

<%= javascript_include_tag :application %>
<%= render 'shared/yammer_javascript' %>
<% #FIXME When the Yammer Embed Feed is fixed remove jquery-migrate %>
<script src="http://code.jquery.com/jquery-migrate-1.1.1.min.js"></script>

<% if Rails.env.test? %>
  <%= javascript_tag do %>
    $.ajaxSetup({ async: false });
  <% end %>
<% else %>
  <%= render 'shared/google_analytics_tracking_code' %>
<% end %>

<%= yield(:javascript) %>

Add temporary fix for Yammer Embed
Add temporary fix for Yammer Embed

* Yammer Embed depends on jQuery.browser which was removed in v1.9+
* Scheddo uses jQuery v1.9
* Pending an Embed fix add the jquery-migration plugin for backwards compatability
* For info on the plugin: https://github.com/jquery/jquery-migrate

https://trello.com/c/dfXzOuG7
