Browse files

Updated tests to use distributable js/css.

  • Loading branch information...
1 parent 4c09b72 commit 06944004b90884ffa12ba2525c21f0822b0110a9 @joseph committed Feb 8, 2012
View
28 test/bookdata/index.html
@@ -2,35 +2,10 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <meta
- name="viewport"
- content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
- />
<title>BookData test</title>
-
- <!-- MONOCLE CORE -->
- <script type="text/javascript" src="../../src/core/monocle.js"></script>
- <script type="text/javascript" src="../../src/compat/env.js"></script>
- <script type="text/javascript" src="../../src/compat/css.js"></script>
- <script type="text/javascript" src="../../src/compat/stubs.js"></script>
- <script type="text/javascript" src="../../src/compat/browser.js"></script>
- <script type="text/javascript" src="../../src/core/factory.js"></script>
- <script type="text/javascript" src="../../src/core/events.js"></script>
- <script type="text/javascript" src="../../src/core/styles.js"></script>
- <script type="text/javascript" src="../../src/core/reader.js"></script>
- <script type="text/javascript" src="../../src/core/book.js"></script>
- <script type="text/javascript" src="../../src/core/component.js"></script>
- <script type="text/javascript" src="../../src/core/place.js"></script>
-
- <!-- MONOCLE FLIPPERS -->
- <script type="text/javascript" src="../../src/controls/panel.js"></script>
- <script type="text/javascript" src="../../src/panels/twopane.js"></script>
- <script type="text/javascript" src="../../src/dimensions/columns.js"></script>
- <script type="text/javascript" src="../../src/flippers/slider.js"></script>
-
- <link rel="stylesheet" type="text/css" href="../../styles/monocore.css" />
<link rel="stylesheet" type="text/css" href="../tests.css" />
+ <link rel="stylesheet" type="text/css" href="../../dist/styles/monocore.css" />
<style type="text/css">
.readerInfo {
width: 300px;
@@ -53,6 +28,7 @@
}
</style>
+ <script src="../../dist/scripts/monocore.js"></script>
<script type="text/javascript">
Monocle.DEBUG = true;
View
1 test/compat/index.html
@@ -8,6 +8,7 @@
<title>Compatibility diagnostics</title>
<link rel="stylesheet" type="text/css" href="../tests.css" />
+
<style type="text/css">
th {
text-align: left;
View
30 test/componentry/index.html
@@ -1,36 +1,11 @@
<!DOCTYPE html>
<html>
<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
- <meta
- name="viewport"
- content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
- />
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Component loading methods test</title>
-
- <!-- MONOCLE CORE -->
- <script type="text/javascript" src="../../src/core/monocle.js"></script>
- <script type="text/javascript" src="../../src/compat/env.js"></script>
- <script type="text/javascript" src="../../src/compat/css.js"></script>
- <script type="text/javascript" src="../../src/compat/stubs.js"></script>
- <script type="text/javascript" src="../../src/compat/browser.js"></script>
- <script type="text/javascript" src="../../src/core/events.js"></script>
- <script type="text/javascript" src="../../src/core/factory.js"></script>
- <script type="text/javascript" src="../../src/core/styles.js"></script>
- <script type="text/javascript" src="../../src/core/reader.js"></script>
- <script type="text/javascript" src="../../src/core/book.js"></script>
- <script type="text/javascript" src="../../src/core/component.js"></script>
- <script type="text/javascript" src="../../src/core/place.js"></script>
-
- <!-- MONOCLE FLIPPERS -->
- <script type="text/javascript" src="../../src/controls/panel.js"></script>
- <script type="text/javascript" src="../../src/panels/twopane.js"></script>
- <script type="text/javascript" src="../../src/dimensions/columns.js"></script>
- <script type="text/javascript" src="../../src/flippers/slider.js"></script>
-
- <link rel="stylesheet" type="text/css" href="../../styles/monocore.css" />
<link rel="stylesheet" type="text/css" href="../tests.css" />
+ <link rel="stylesheet" type="text/css" href="../../dist/styles/monocore.css" />
<style type="text/css">
.readerInfo {
width: 300px;
@@ -53,6 +28,7 @@
}
</style>
+ <script type="text/javascript" src="../../dist/scripts/monocore.js"></script>
<script type="text/javascript">
Monocle.DEBUG = true;
View
38 test/controls/index.html
@@ -2,43 +2,11 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <meta
- name="viewport"
- content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
- />
<title>Controls test</title>
-
- <!-- MONOCLE CORE -->
- <script type="text/javascript" src="../../src/core/monocle.js"></script>
- <script type="text/javascript" src="../../src/compat/env.js"></script>
- <script type="text/javascript" src="../../src/compat/css.js"></script>
- <script type="text/javascript" src="../../src/compat/stubs.js"></script>
- <script type="text/javascript" src="../../src/compat/browser.js"></script>
- <script type="text/javascript" src="../../src/core/events.js"></script>
- <script type="text/javascript" src="../../src/core/factory.js"></script>
- <script type="text/javascript" src="../../src/core/styles.js"></script>
- <script type="text/javascript" src="../../src/core/reader.js"></script>
- <script type="text/javascript" src="../../src/core/book.js"></script>
- <script type="text/javascript" src="../../src/core/component.js"></script>
- <script type="text/javascript" src="../../src/core/place.js"></script>
-
- <!-- MONOCLE FLIPPERS -->
- <script type="text/javascript" src="../../src/controls/panel.js"></script>
- <script type="text/javascript" src="../../src/panels/marginal.js"></script>
- <script type="text/javascript" src="../../src/dimensions/columns.js"></script>
- <script type="text/javascript" src="../../src/flippers/slider.js"></script>
-
- <!-- MONOCLE STANDARD CONTROLS -->
- <script type="text/javascript" src="../../src/controls/placesaver.js"></script>
- <script type="text/javascript" src="../../src/controls/magnifier.js"></script>
- <script type="text/javascript" src="../../src/controls/scrubber.js"></script>
- <script type="text/javascript" src="../../src/controls/spinner.js"></script>
- <script type="text/javascript" src="../../src/controls/contents.js"></script>
-
- <link rel="stylesheet" type="text/css" href="../../styles/monocore.css" />
- <link rel="stylesheet" type="text/css" href="../../styles/monoctrl.css" />
<link rel="stylesheet" type="text/css" href="../tests.css" />
+ <link rel="stylesheet" type="text/css" href="../../dist/styles/monocore.css" />
+ <link rel="stylesheet" type="text/css" href="../../dist/styles/monoctrl.css" />
<style type="text/css">
.readerInfo {
width: 300px;
@@ -70,6 +38,8 @@
}
</style>
+ <script src="../../dist/scripts/monocore.js"></script>
+ <script src="../../dist/scripts/monoctrl.js"></script>
<script type="text/javascript">
Monocle.DEBUG = true;
View
13 test/dogfood/index.html
@@ -1,18 +1,11 @@
<!DOCTYPE html>
<html>
<head>
- <meta
- name="viewport"
- content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
- />
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<title>Dogfood test</title>
<link href="../tests.css" rel="stylesheet" type="text/css" />
- <!-- We'll also take the opportunity to test the minified script -->
- <script type="text/javascript" src="../../dist/scripts/monocore.js"></script>
<link rel="stylesheet" type="text/css" href="../../dist/styles/monocore.css" />
-
<style type="text/css">
#reader {
position: relative;
@@ -35,7 +28,7 @@
}
</style>
-
+ <script type="text/javascript" src="../../dist/scripts/monocore.js"></script>
<script type="text/javascript" id="code">
var initFn = function () {
var bookData = {
@@ -97,10 +90,6 @@
Demonstrates the example code found on the Monocle Wiki page about the
<a href="https://github.com/joseph/Monocle/wiki/Book-data-object">book
data object</a>.
- <em>
- This test uses the unified script generated by rake.
- You should run rake before this test.
- </em>
</p>
<div id="reader"></div>
View
40 test/dogfood/simplest.html
@@ -9,12 +9,21 @@
<title>The simplest test that could possibly work</title>
<link href="../tests.css" rel="stylesheet" type="text/css" />
- <!-- Include the Monocle library -->
- <script type="text/javascript" src="../../dist/scripts/monocore.js"></script>
+ <!-- Include the Monocle stylesheet -->
<link rel="stylesheet" type="text/css" href="../../dist/styles/monocore.css" />
+
+ <!-- A little style for the reader element -->
<style>
- #reader { width: 300px; height: 400px; border: 1px solid #000; }
+ #reader {
+ width: 300px;
+ height: 400px;
+ border: 1px solid #000;
+ overflow: hidden;
+ }
</style>
+
+ <!-- Include the Monocle library -->
+ <script type="text/javascript" src="../../dist/scripts/monocore.js"></script>
</head>
<body class="narrow">
@@ -23,15 +32,32 @@
<p>
Demonstrates the simplest thing in that could possibly work,
as described in the Monocle README file.
- <em>
- This test uses the unified script generated by rake.
- You should run rake before this test.
- </em>
</p>
<!-- The reader element, with all content inside it-->
<div id="reader">
<h1>Hello world.</h1>
+ <br />
+ <br />
+ <br />
+ <br />
+ <br />
+ <br />
+ <br />
+ <br />
+ <br />
+ <br />
+ <br />
+ <br />
+ <br />
+ <br />
+ <br />
+ <br />
+ <br />
+ <br />
+ <p>
+ Lorem ipsum dollar sit amet.
+ </p>
</div>
<!-- Instantiate the reader when the containing element has loaded -->
View
32 test/embedded/embed.html
@@ -2,37 +2,10 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
- <meta
- name="viewport"
- content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
- />
<title>Embedding in an iframe</title>
+ <link rel="stylesheet" type="text/css" href="../tests.css" />
- <!-- MONOCLE CORE -->
- <script type="text/javascript" src="../../src/core/monocle.js"></script>
- <script type="text/javascript" src="../../src/compat/env.js"></script>
- <script type="text/javascript" src="../../src/compat/css.js"></script>
- <script type="text/javascript" src="../../src/compat/stubs.js"></script>
- <script type="text/javascript" src="../../src/compat/browser.js"></script>
- <script type="text/javascript" src="../../src/core/events.js"></script>
- <script type="text/javascript" src="../../src/core/factory.js"></script>
- <script type="text/javascript" src="../../src/core/styles.js"></script>
- <script type="text/javascript" src="../../src/core/reader.js"></script>
- <script type="text/javascript" src="../../src/core/book.js"></script>
- <script type="text/javascript" src="../../src/core/component.js"></script>
- <script type="text/javascript" src="../../src/core/place.js"></script>
-
- <!-- MONOCLE FLIPPERS -->
- <script type="text/javascript" src="../../src/controls/panel.js"></script>
- <script type="text/javascript" src="../../src/panels/imode.js"></script>
- <script type="text/javascript" src="../../src/dimensions/columns.js"></script>
- <script type="text/javascript" src="../../src/flippers/slider.js"></script>
-
- <script type="text/javascript" src="../../src/controls/contents.js"></script>
-
- <link rel="stylesheet" type="text/css" href="../../styles/monocore.css" />
- <link rel="stylesheet" type="text/css" href="../../styles/monoctrl.css" />
-
+ <link rel="stylesheet" type="text/css" href="../../dist/styles/monocore.css" />
<style type="text/css">
body {
margin: 0;
@@ -46,6 +19,7 @@
}
</style>
+ <script type="text/javascript" src="../../dist/scripts/monocore.js"></script>
<script type="text/javascript">
Monocle.DEBUG = true;
View
29 test/events/index.html
@@ -3,9 +3,9 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Events - Initialisation and page turning</title>
-
- <link rel="stylesheet" type="text/css" href="../../styles/monocore.css" />
<link rel="stylesheet" type="text/css" href="../tests.css" />
+
+ <link rel="stylesheet" type="text/css" href="../../dist/styles/monocore.css" />
<style type="text/css">
#reader {
position: relative;
@@ -24,30 +24,7 @@
}
</style>
- <!-- MONOCLE CORE -->
- <script type="text/javascript" src="../../src/core/monocle.js"></script>
- <script type="text/javascript" src="../../src/compat/env.js"></script>
- <script type="text/javascript" src="../../src/compat/css.js"></script>
- <script type="text/javascript" src="../../src/compat/stubs.js"></script>
- <script type="text/javascript" src="../../src/compat/browser.js"></script>
- <script type="text/javascript" src="../../src/core/factory.js"></script>
- <script type="text/javascript" src="../../src/core/events.js"></script>
- <script type="text/javascript" src="../../src/core/styles.js"></script>
- <script type="text/javascript" src="../../src/core/reader.js"></script>
- <script type="text/javascript" src="../../src/core/book.js"></script>
- <script type="text/javascript" src="../../src/core/component.js"></script>
- <script type="text/javascript" src="../../src/core/place.js"></script>
-
- <!-- MONOCLE FLIPPERS -->
- <script type="text/javascript" src="../../src/controls/panel.js"></script>
- <script type="text/javascript" src="../../src/panels/twopane.js"></script>
- <script type="text/javascript" src="../../src/panels/imode.js"></script>
- <script type="text/javascript" src="../../src/panels/eink.js"></script>
- <script type="text/javascript" src="../../src/dimensions/columns.js"></script>
- <script type="text/javascript" src="../../src/flippers/slider.js"></script>
- <script type="text/javascript" src="../../src/flippers/instant.js"></script>
-
-
+ <script type="text/javascript" src="../../dist/scripts/monocore.js"></script>
<script>
(function () {
Monocle.DEBUG = true;
View
31 test/flippers/index.html
@@ -2,38 +2,10 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <meta
- name="viewport"
- content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
- />
<title>Flippers test</title>
-
- <!-- MONOCLE CORE -->
- <script type="text/javascript" src="../../src/core/monocle.js"></script>
- <script type="text/javascript" src="../../src/compat/env.js"></script>
- <script type="text/javascript" src="../../src/compat/css.js"></script>
- <script type="text/javascript" src="../../src/compat/stubs.js"></script>
- <script type="text/javascript" src="../../src/compat/browser.js"></script>
- <script type="text/javascript" src="../../src/core/events.js"></script>
- <script type="text/javascript" src="../../src/core/factory.js"></script>
- <script type="text/javascript" src="../../src/core/styles.js"></script>
- <script type="text/javascript" src="../../src/core/reader.js"></script>
- <script type="text/javascript" src="../../src/core/book.js"></script>
- <script type="text/javascript" src="../../src/core/component.js"></script>
- <script type="text/javascript" src="../../src/core/place.js"></script>
- <script type="text/javascript" src="../../src/controls/panel.js"></script>
- <script type="text/javascript" src="../../src/panels/twopane.js"></script>
- <script type="text/javascript" src="../../src/panels/eink.js"></script>
-
- <!-- MONOCLE FLIPPERS -->
- <script type="text/javascript" src="../../src/dimensions/columns.js"></script>
- <script type="text/javascript" src="../../src/flippers/slider.js"></script>
- <script type="text/javascript" src="../../src/flippers/scroller.js"></script>
- <script type="text/javascript" src="../../src/flippers/instant.js"></script>
-
- <link rel="stylesheet" type="text/css" href="../../styles/monocore.css" />
<link rel="stylesheet" type="text/css" href="../tests.css" />
+ <link rel="stylesheet" type="text/css" href="../../dist/styles/monocore.css" />
<style type="text/css">
.readerInfo {
width: 300px;
@@ -53,6 +25,7 @@
}
</style>
+ <script type="text/javascript" src="../../dist/scripts/monocore.js"></script>
<script type="text/javascript">
Monocle.DEBUG = true;
View
28 test/locus-search/index.html
@@ -3,9 +3,9 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Locus search test</title>
-
- <link rel="stylesheet" type="text/css" href="../../styles/monocore.css" />
<link rel="stylesheet" type="text/css" href="../tests.css" />
+
+ <link rel="stylesheet" type="text/css" href="../../dist/styles/monocore.css" />
<style type="text/css">
#reader {
position: relative;
@@ -17,29 +17,7 @@
}
</style>
- <!-- MONOCLE CORE -->
- <script type="text/javascript" src="../../src/core/monocle.js"></script>
- <script type="text/javascript" src="../../src/compat/env.js"></script>
- <script type="text/javascript" src="../../src/compat/css.js"></script>
- <script type="text/javascript" src="../../src/compat/stubs.js"></script>
- <script type="text/javascript" src="../../src/compat/browser.js"></script>
- <script type="text/javascript" src="../../src/core/factory.js"></script>
- <script type="text/javascript" src="../../src/core/events.js"></script>
- <script type="text/javascript" src="../../src/core/styles.js"></script>
- <script type="text/javascript" src="../../src/core/reader.js"></script>
- <script type="text/javascript" src="../../src/core/book.js"></script>
- <script type="text/javascript" src="../../src/core/component.js"></script>
- <script type="text/javascript" src="../../src/core/place.js"></script>
-
- <!-- MONOCLE FLIPPERS -->
- <script type="text/javascript" src="../../src/controls/panel.js"></script>
- <script type="text/javascript" src="../../src/panels/twopane.js"></script>
- <script type="text/javascript" src="../../src/panels/eink.js"></script>
- <script type="text/javascript" src="../../src/dimensions/columns.js"></script>
- <script type="text/javascript" src="../../src/flippers/slider.js"></script>
- <script type="text/javascript" src="../../src/flippers/instant.js"></script>
-
-
+ <script type="text/javascript" src="../../dist/scripts/monocore.js"></script>
<script>
function nodeForXPath(doc, xpath) {
return doc.evaluate(xpath, doc, null, 9, null).singleNodeValue;
View
32 test/panels/index.html
@@ -2,39 +2,10 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <meta
- name="viewport"
- content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
- />
<title>Panels test</title>
-
- <!-- MONOCLE CORE -->
- <script type="text/javascript" src="../../src/core/monocle.js"></script>
- <script type="text/javascript" src="../../src/compat/env.js"></script>
- <script type="text/javascript" src="../../src/compat/css.js"></script>
- <script type="text/javascript" src="../../src/compat/stubs.js"></script>
- <script type="text/javascript" src="../../src/compat/browser.js"></script>
- <script type="text/javascript" src="../../src/core/events.js"></script>
- <script type="text/javascript" src="../../src/core/factory.js"></script>
- <script type="text/javascript" src="../../src/core/styles.js"></script>
- <script type="text/javascript" src="../../src/core/reader.js"></script>
- <script type="text/javascript" src="../../src/core/book.js"></script>
- <script type="text/javascript" src="../../src/core/component.js"></script>
- <script type="text/javascript" src="../../src/core/place.js"></script>
-
- <!-- MONOCLE FLIPPERS -->
- <script type="text/javascript" src="../../src/controls/panel.js"></script>
- <script type="text/javascript" src="../../src/panels/twopane.js"></script>
- <script type="text/javascript" src="../../src/panels/marginal.js"></script>
- <script type="text/javascript" src="../../src/panels/imode.js"></script>
- <script type="text/javascript" src="../../src/panels/eink.js"></script>
- <script type="text/javascript" src="../../src/dimensions/columns.js"></script>
- <script type="text/javascript" src="../../src/flippers/slider.js"></script>
- <script type="text/javascript" src="../../src/flippers/instant.js"></script>
-
- <link rel="stylesheet" type="text/css" href="../../styles/monocore.css" />
<link rel="stylesheet" type="text/css" href="../tests.css" />
+ <link rel="stylesheet" type="text/css" href="../../dist/styles/monocore.css" />
<style type="text/css">
.readerInfo {
width: 300px;
@@ -54,6 +25,7 @@
}
</style>
+ <script type="text/javascript" src="../../dist/scripts/monocore.js"></script>
<script type="text/javascript">
Monocle.DEBUG = true;
View
26 test/rich_content/index.html
@@ -8,32 +8,9 @@
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
/>
<title>Rich Content test - Monocle</title>
-
- <!-- MONOCLE CORE -->
- <script type="text/javascript" src="../../src/core/monocle.js"></script>
- <script type="text/javascript" src="../../src/compat/env.js"></script>
- <script type="text/javascript" src="../../src/compat/css.js"></script>
- <script type="text/javascript" src="../../src/compat/stubs.js"></script>
- <script type="text/javascript" src="../../src/compat/browser.js"></script>
- <script type="text/javascript" src="../../src/core/events.js"></script>
- <script type="text/javascript" src="../../src/core/factory.js"></script>
- <script type="text/javascript" src="../../src/core/styles.js"></script>
- <script type="text/javascript" src="../../src/core/reader.js"></script>
- <script type="text/javascript" src="../../src/core/book.js"></script>
- <script type="text/javascript" src="../../src/core/component.js"></script>
- <script type="text/javascript" src="../../src/core/place.js"></script>
-
- <!-- MONOCLE FLIPPERS -->
- <script type="text/javascript" src="../../src/controls/panel.js"></script>
- <script type="text/javascript" src="../../src/panels/twopane.js"></script>
- <script type="text/javascript" src="../../src/panels/eink.js"></script>
- <script type="text/javascript" src="../../src/dimensions/columns.js"></script>
- <script type="text/javascript" src="../../src/flippers/slider.js"></script>
- <script type="text/javascript" src="../../src/flippers/instant.js"></script>
-
- <link rel="stylesheet" type="text/css" href="../../styles/monocore.css" />
<link rel="stylesheet" type="text/css" href="../tests.css" />
+ <link rel="stylesheet" type="text/css" href="../../dist/styles/monocore.css" />
<style type="text/css">
#reader {
width: 300px;
@@ -44,6 +21,7 @@
}
</style>
+ <script type="text/javascript" src="../../dist/scripts/monocore.js"></script>
<script type="text/javascript">
Monocle.DEBUG = true;
View
26 test/showcase/01-velveteen/full.html
@@ -8,32 +8,9 @@
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
/>
<title>The Velveteen Rabbit - Monocle</title>
-
- <!-- MONOCLE CORE -->
- <script type="text/javascript" src="../../../src/core/monocle.js"></script>
- <script type="text/javascript" src="../../../src/compat/env.js"></script>
- <script type="text/javascript" src="../../../src/compat/css.js"></script>
- <script type="text/javascript" src="../../../src/compat/stubs.js"></script>
- <script type="text/javascript" src="../../../src/compat/browser.js"></script>
- <script type="text/javascript" src="../../../src/core/events.js"></script>
- <script type="text/javascript" src="../../../src/core/factory.js"></script>
- <script type="text/javascript" src="../../../src/core/styles.js"></script>
- <script type="text/javascript" src="../../../src/core/reader.js"></script>
- <script type="text/javascript" src="../../../src/core/book.js"></script>
- <script type="text/javascript" src="../../../src/core/component.js"></script>
- <script type="text/javascript" src="../../../src/core/place.js"></script>
-
- <!-- MONOCLE FLIPPERS -->
- <script type="text/javascript" src="../../../src/controls/panel.js"></script>
- <script type="text/javascript" src="../../../src/panels/twopane.js"></script>
- <script type="text/javascript" src="../../../src/panels/eink.js"></script>
- <script type="text/javascript" src="../../../src/dimensions/columns.js"></script>
- <script type="text/javascript" src="../../../src/flippers/slider.js"></script>
- <script type="text/javascript" src="../../../src/flippers/instant.js"></script>
-
- <link rel="stylesheet" type="text/css" href="../../../styles/monocore.css" />
<link rel="stylesheet" type="text/css" href="../../tests.css" />
+ <link rel="stylesheet" type="text/css" href="../../../dist/styles/monocore.css" />
<style type="text/css">
#rabbit {
position: absolute;
@@ -44,6 +21,7 @@
}
</style>
+ <script type="text/javascript" src="../../../dist/scripts/monocore.js"></script>
<script type="text/javascript">
Monocle.DEBUG = true;
View
26 test/showcase/01-velveteen/index.html
@@ -8,32 +8,9 @@
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
/>
<title>The Velveteen Rabbit - Monocle</title>
-
- <!-- MONOCLE CORE -->
- <script type="text/javascript" src="../../../src/core/monocle.js"></script>
- <script type="text/javascript" src="../../../src/compat/env.js"></script>
- <script type="text/javascript" src="../../../src/compat/css.js"></script>
- <script type="text/javascript" src="../../../src/compat/stubs.js"></script>
- <script type="text/javascript" src="../../../src/compat/browser.js"></script>
- <script type="text/javascript" src="../../../src/core/events.js"></script>
- <script type="text/javascript" src="../../../src/core/factory.js"></script>
- <script type="text/javascript" src="../../../src/core/styles.js"></script>
- <script type="text/javascript" src="../../../src/core/reader.js"></script>
- <script type="text/javascript" src="../../../src/core/book.js"></script>
- <script type="text/javascript" src="../../../src/core/component.js"></script>
- <script type="text/javascript" src="../../../src/core/place.js"></script>
-
- <!-- MONOCLE FLIPPERS -->
- <script type="text/javascript" src="../../../src/controls/panel.js"></script>
- <script type="text/javascript" src="../../../src/panels/twopane.js"></script>
- <script type="text/javascript" src="../../../src/panels/eink.js"></script>
- <script type="text/javascript" src="../../../src/dimensions/columns.js"></script>
- <script type="text/javascript" src="../../../src/flippers/slider.js"></script>
- <script type="text/javascript" src="../../../src/flippers/instant.js"></script>
-
- <link rel="stylesheet" type="text/css" href="../../../styles/monocore.css" />
<link rel="stylesheet" type="text/css" href="../../tests.css" />
+ <link rel="stylesheet" type="text/css" href="../../../dist/styles/monocore.css" />
<style type="text/css">
#rabbit {
width: 300px;
@@ -44,6 +21,7 @@
}
</style>
+ <script type="text/javascript" src="../../../dist/scripts/monocore.js"></script>
<script type="text/javascript">
Monocle.DEBUG = true;
View
36 test/showcase/02-dickens/index.html
@@ -7,38 +7,14 @@
name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
/>
- <title>Monocle Simple test</title>
+ <title>Monocle Dickens test</title>
- <!-- MONOCLE CORE -->
- <script type="text/javascript" src="../../../src/core/monocle.js"></script>
- <script type="text/javascript" src="../../../src/compat/env.js"></script>
- <script type="text/javascript" src="../../../src/compat/css.js"></script>
- <script type="text/javascript" src="../../../src/compat/stubs.js"></script>
- <script type="text/javascript" src="../../../src/compat/browser.js"></script>
- <script type="text/javascript" src="../../../src/core/events.js"></script>
- <script type="text/javascript" src="../../../src/core/factory.js"></script>
- <script type="text/javascript" src="../../../src/core/styles.js"></script>
- <script type="text/javascript" src="../../../src/core/reader.js"></script>
- <script type="text/javascript" src="../../../src/core/book.js"></script>
- <script type="text/javascript" src="../../../src/core/component.js"></script>
- <script type="text/javascript" src="../../../src/core/place.js"></script>
-
- <!-- MONOCLE FLIPPERS -->
- <script type="text/javascript" src="../../../src/controls/panel.js"></script>
- <script type="text/javascript" src="../../../src/panels/marginal.js"></script>
- <script type="text/javascript" src="../../../src/dimensions/columns.js"></script>
- <script type="text/javascript" src="../../../src/flippers/slider.js"></script>
-
- <!-- MONOCLE STANDARD CONTROLS -->
- <script type="text/javascript" src="../../../src/controls/spinner.js"></script>
- <script type="text/javascript" src="../../../src/controls/magnifier.js"></script>
- <script type="text/javascript" src="../../../src/controls/scrubber.js"></script>
- <script type="text/javascript" src="../../../src/controls/placesaver.js"></script>
- <script type="text/javascript" src="../../../src/controls/contents.js"></script>
-
- <link rel="stylesheet" type="text/css" href="../../../styles/monocore.css" />
- <link rel="stylesheet" type="text/css" href="../../../styles/monoctrl.css" />
+ <link rel="stylesheet" type="text/css" href="../../../dist/styles/monocore.css" />
+ <link rel="stylesheet" type="text/css" href="../../../dist/styles/monoctrl.css" />
<link rel="stylesheet" type="text/css" href="test.css" />
+
+ <script type="text/javascript" src="../../../dist/scripts/monocore.js"></script>
+ <script type="text/javascript" src="../../../dist/scripts/monoctrl.js"></script>
<script type="text/javascript" src="test.js"></script>
</head>
View
28 test/stencil/index.html
@@ -7,32 +7,10 @@
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
/>
<title>Linking to other parts of the book with the Stencil control</title>
-
- <!-- MONOCLE CORE -->
- <script type="text/javascript" src="../../src/core/monocle.js"></script>
- <script type="text/javascript" src="../../src/compat/env.js"></script>
- <script type="text/javascript" src="../../src/compat/css.js"></script>
- <script type="text/javascript" src="../../src/compat/stubs.js"></script>
- <script type="text/javascript" src="../../src/compat/browser.js"></script>
- <script type="text/javascript" src="../../src/core/events.js"></script>
- <script type="text/javascript" src="../../src/core/factory.js"></script>
- <script type="text/javascript" src="../../src/core/styles.js"></script>
- <script type="text/javascript" src="../../src/core/reader.js"></script>
- <script type="text/javascript" src="../../src/core/book.js"></script>
- <script type="text/javascript" src="../../src/core/component.js"></script>
- <script type="text/javascript" src="../../src/core/place.js"></script>
-
- <!-- MONOCLE FLIPPERS -->
- <script type="text/javascript" src="../../src/controls/panel.js"></script>
- <script type="text/javascript" src="../../src/panels/imode.js"></script>
- <script type="text/javascript" src="../../src/dimensions/columns.js"></script>
- <script type="text/javascript" src="../../src/flippers/slider.js"></script>
- <script type="text/javascript" src="../../src/controls/stencil.js"></script>
-
- <link rel="stylesheet" type="text/css" href="../../styles/monocore.css" />
- <link rel="stylesheet" type="text/css" href="../../styles/monoctrl.css" />
<link rel="stylesheet" type="text/css" href="../tests.css" />
+ <link rel="stylesheet" type="text/css" href="../../dist/styles/monocore.css" />
+ <link rel="stylesheet" type="text/css" href="../../dist/styles/monoctrl.css" />
<style type="text/css">
.readerInfo {
width: 300px;
@@ -49,6 +27,8 @@
}
</style>
+ <script type="text/javascript" src="../../dist/scripts/monocore.js"></script>
+ <script type="text/javascript" src="../../dist/scripts/monoctrl.js"></script>
<script type="text/javascript" src="test.js"></script>
</head>
View
26 test/stylesheet/index.html
@@ -8,32 +8,9 @@
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
/>
<title>Default stylesheet test</title>
-
- <!-- MONOCLE CORE -->
- <script type="text/javascript" src="../../src/core/monocle.js"></script>
- <script type="text/javascript" src="../../src/compat/env.js"></script>
- <script type="text/javascript" src="../../src/compat/css.js"></script>
- <script type="text/javascript" src="../../src/compat/stubs.js"></script>
- <script type="text/javascript" src="../../src/compat/browser.js"></script>
- <script type="text/javascript" src="../../src/core/events.js"></script>
- <script type="text/javascript" src="../../src/core/factory.js"></script>
- <script type="text/javascript" src="../../src/core/styles.js"></script>
- <script type="text/javascript" src="../../src/core/reader.js"></script>
- <script type="text/javascript" src="../../src/core/book.js"></script>
- <script type="text/javascript" src="../../src/core/component.js"></script>
- <script type="text/javascript" src="../../src/core/place.js"></script>
-
- <!-- MONOCLE FLIPPERS -->
- <script type="text/javascript" src="../../src/controls/panel.js"></script>
- <script type="text/javascript" src="../../src/panels/twopane.js"></script>
- <script type="text/javascript" src="../../src/panels/eink.js"></script>
- <script type="text/javascript" src="../../src/dimensions/columns.js"></script>
- <script type="text/javascript" src="../../src/flippers/slider.js"></script>
- <script type="text/javascript" src="../../src/flippers/instant.js"></script>
-
- <link rel="stylesheet" type="text/css" href="../../styles/monocore.css" />
<link rel="stylesheet" type="text/css" href="../tests.css" />
+ <link rel="stylesheet" type="text/css" href="../../dist/styles/monocore.css" />
<style type="text/css">
#reader {
width: 300px;
@@ -44,6 +21,7 @@
}
</style>
+ <script type="text/javascript" src="../../dist/scripts/monocore.js"></script>
<script type="text/javascript">
Monocle.DEBUG = true;

0 comments on commit 0694400

Please sign in to comment.