Skip to content

Commit

Permalink
Delete and redirect a demo using CGI
Browse files Browse the repository at this point in the history
This is similar to whatwg/whatwg.org#113, and
stands in the way of new hosting for HTML:
whatwg/misc-server#7
  • Loading branch information
foolip authored and Alice Boxhall committed Jan 7, 2019
1 parent 5091805 commit 0e6573d
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 166 deletions.
3 changes: 3 additions & 0 deletions .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,6 @@ Redirect 301 /images/parsing-model-overview.png /images/parsing-model-overview.s
Redirect 301 /images/sample-email-1.png /images/sample-email-1.svg
Redirect 301 /images/sample-email-2.png /images/sample-email-2.svg
Redirect 301 /images/sample-url.png /images/sample-url.svg

# Deleted demo using CGI:
RedirectMatch 301 ^/(demos/workers/stocks/.*)$ https://github.com/whatwg/html/tree/1332efd5e4c27ae859bf2316c6b477d77cf93716/$1
10 changes: 0 additions & 10 deletions demos/workers/stocks/io.js

This file was deleted.

58 changes: 0 additions & 58 deletions demos/workers/stocks/page.html

This file was deleted.

33 changes: 0 additions & 33 deletions demos/workers/stocks/search.cgi

This file was deleted.

4 changes: 0 additions & 4 deletions demos/workers/stocks/searcher.js

This file was deleted.

21 changes: 0 additions & 21 deletions demos/workers/stocks/stock.cgi

This file was deleted.

13 changes: 0 additions & 13 deletions demos/workers/stocks/ticker.js

This file was deleted.

27 changes: 0 additions & 27 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -96241,33 +96241,6 @@ function showLogout() {
<p><a href="/demos/workers/primes/page.html">View this example online</a>.</p>


<h5>Worker used for background I/O</h5>

<!-- NON-NORMATIVE SECTION -->

<p>In this example, the main document uses two workers, one for fetching stock updates at regular
intervals, and one for performing search queries that the user requests.</p>

<p>The main page is as follows:</p>

<pre>EXAMPLE workers/stocks/page.html</pre>

<p>The two workers use a common library for performing the actual network calls. This library is
as follows:</p>

<pre>EXAMPLE workers/stocks/io.js</pre>

<p>The stock updater worker is as follows:</p>

<pre>EXAMPLE workers/stocks/ticker.js</pre>

<p>The search query worker is as follows:</p>

<pre>EXAMPLE workers/stocks/searcher.js</pre>

<p><a href="/demos/workers/stocks/page.html">View this example online</a>.</p>


<h5 id="module-worker-example">Using a JavaScript module as a worker</h5>

<!-- NON-NORMATIVE SECTION -->
Expand Down

0 comments on commit 0e6573d

Please sign in to comment.