Switch "html" Mojo modules to the Sky module system

These never really worked with HTML imports. This CL updates them to use a more
modern version of the Sky module system so we can delete the old this.exports
pattern.

R=esprehn@chromium.org

Review URL: https://codereview.chromium.org/697723003
This commit is contained in:
Adam Barth 2014-10-31 14:46:40 -07:00
parent d11c879659
commit 80c734eefc
4 changed files with 7 additions and 7 deletions

View File

@ -1,6 +1,6 @@
<html>
<link rel="import" href="../resources/dump-as-text.sky" />
<link rel="import" href="/mojo/public/html/buffer.html" as="buffer" />
<link rel="import" href="/mojo/public/sky/buffer.sky" as="buffer" />
<div id="result">FAIL</div>
<script>
document.getElementById("result").textContent =

View File

@ -1,6 +1,6 @@
<html>
<link rel="import" href="../resources/dump-as-text.sky" />
<link rel="import" href="/mojo/public/html/codec.html" as="codec" />
<link rel="import" href="/mojo/public/sky/codec.sky" as="codec" />
<div id="result">FAIL</div>
<script>
document.getElementById("result").textContent =

View File

@ -1,6 +1,6 @@
<html>
<link rel="import" href="../resources/dump-as-text.sky" />
<link rel="import" href="/mojo/public/html/core.html" as="core" />
<link rel="import" href="/mojo/public/sky/core.sky" as="core" />
<div id="result">FAIL</div>
<script>
document.getElementById("result").textContent =

View File

@ -1,10 +1,10 @@
<html>
<link rel="import" href="../resources/chai.sky" />
<link rel="import" href="../resources/mocha.sky" />
<link rel="import" href="/mojo/public/html/core.html" as="core" />
<link rel="import" href="/mojo/public/html/connection.html" as="connection" />
<link rel="import" href="/mojo/services/public/interfaces/network/network_service.mojom.html" as="net" />
<link rel="import" href="/mojo/services/public/interfaces/network/url_loader.mojom.html" as="loader" />
<link rel="import" href="/mojo/public/sky/core.sky" as="core" />
<link rel="import" href="/mojo/public/sky/connection.sky" as="connection" />
<link rel="import" href="/mojo/services/public/interfaces/network/network_service.mojom.sky" as="net" />
<link rel="import" href="/mojo/services/public/interfaces/network/url_loader.mojom.sky" as="loader" />
<script>
describe('Mojo network_service', function() {
this.enableTimeouts(false);