%script{src: '/shared/js/shared.js'}
-# TODO(JL): conditionally load on client
- if browser.chrome? && browser.version.to_s.to_i == 34
  :javascript
    window.dashboard.isChrome34 = true;

%div{style: 'display: none;'}= render partial: 'levels/reference_area'

#codeApp
  .loading
  .slow_load
    = t(:slow_loading)
    %br
    %a{href: 'javascript: location.reload();'}= t(:try_reloading)

  :javascript
    //<![CDATA[
    var script_path = "#{@script_level && build_script_level_path(@script_level)}";
    var appOptions = #{app_options.to_json};
    appOptions.locale = '#{js_locale}';
    //]]>

  %script{src: '/shared/js/shared.js'}

-# TODO(JL): conditionally load on client
- if browser.chrome? && browser.version.to_s.to_i == 34
  :javascript
    window.dashboard.isChrome34 = true;

%div{style: 'display: none;'}= render partial: 'levels/reference_area'

#codeApp
  .loading
  .slow_load
    = t(:slow_loading)
    %br
    %a{href: 'javascript: location.reload();'}= t(:try_reloading)

  :javascript
    //<![CDATA[
    var script_path = "#{@script_level && build_script_level_path(@script_level)}";
    var appOptions = #{app_options.to_json};
    appOptions.locale = '#{js_locale}';
    //]]>

  %script{src: '/shared/js/shared.js'}

Remove unintentional script double inclusion
Remove unintentional script double inclusion
