Remove references to js worker

This commit is contained in:
Marcin Kulik 2014-08-09 12:55:57 +02:00
parent 94bb242c64
commit a06d1b716a
3 changed files with 1 additions and 4 deletions

View File

@ -15,7 +15,6 @@ html[lang="en"]
= favicon_link_tag 'favicon.png' = favicon_link_tag 'favicon.png'
= render 'layouts/ga' = render 'layouts/ga'
script script
| window.mainWorkerPath = '#{javascript_path "main_worker"}';
| window.browserIdUser = #{browser_id_user}; | window.browserIdUser = #{browser_id_user};
body body
= render 'layouts/header' = render 'layouts/header'

View File

@ -5,7 +5,5 @@ html[lang="en"]
title = page_title title = page_title
= stylesheet_link_tag 'embed', :media => 'all' = stylesheet_link_tag 'embed', :media => 'all'
= javascript_include_tag 'embed' = javascript_include_tag 'embed'
script
| window.mainWorkerPath = '#{javascript_path "main_worker"}';
body.iframe body.iframe
= yield = yield

View File

@ -59,7 +59,7 @@ Asciinema::Application.configure do
# Precompile additional assets. # Precompile additional assets.
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added. # application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
config.assets.precompile += %w( player.css player.js main_worker.js embed.css embed.js ) config.assets.precompile += %w( player.css player.js embed.css embed.js )
# Ignore bad email addresses and do not raise email delivery errors. # Ignore bad email addresses and do not raise email delivery errors.
# Set this to true and configure the email server for immediate delivery to raise delivery errors. # Set this to true and configure the email server for immediate delivery to raise delivery errors.