From 2440e19fab82f8b4bc17e48162bf00290e99117d Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Fri, 23 Aug 2013 14:57:11 -0400 Subject: move examples into test/ --- examples/assets/image1.png | Bin 21991 -> 0 bytes examples/assets/image2.png | Bin 10237 -> 0 bytes examples/barebones.html | 42 -------- examples/embedded-media.html | 49 ---------- examples/math.html | 185 ----------------------------------- examples/slide-backgrounds.html | 101 ------------------- test/examples/assets/image1.png | Bin 0 -> 21991 bytes test/examples/assets/image2.png | Bin 0 -> 10237 bytes test/examples/barebones.html | 42 ++++++++ test/examples/embedded-media.html | 49 ++++++++++ test/examples/math.html | 185 +++++++++++++++++++++++++++++++++++ test/examples/slide-backgrounds.html | 101 +++++++++++++++++++ 12 files changed, 377 insertions(+), 377 deletions(-) delete mode 100644 examples/assets/image1.png delete mode 100644 examples/assets/image2.png delete mode 100644 examples/barebones.html delete mode 100644 examples/embedded-media.html delete mode 100644 examples/math.html delete mode 100644 examples/slide-backgrounds.html create mode 100644 test/examples/assets/image1.png create mode 100644 test/examples/assets/image2.png create mode 100644 test/examples/barebones.html create mode 100644 test/examples/embedded-media.html create mode 100644 test/examples/math.html create mode 100644 test/examples/slide-backgrounds.html diff --git a/examples/assets/image1.png b/examples/assets/image1.png deleted file mode 100644 index 8747594..0000000 Binary files a/examples/assets/image1.png and /dev/null differ diff --git a/examples/assets/image2.png b/examples/assets/image2.png deleted file mode 100644 index 6c403a0..0000000 Binary files a/examples/assets/image2.png and /dev/null differ diff --git a/examples/barebones.html b/examples/barebones.html deleted file mode 100644 index 7a1dcee..0000000 --- a/examples/barebones.html +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - reveal.js - Barebones - - - - - - -
- -
- -
-

Barebones Presentation

-

This example contains the bare minimum includes and markup required to run a reveal.js presentation.

-
- -
-

No Theme

-

There's no theme included, so it will fall back on browser defaults.

-
- -
- -
- - - - - - - - diff --git a/examples/embedded-media.html b/examples/embedded-media.html deleted file mode 100644 index f3bcae4..0000000 --- a/examples/embedded-media.html +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - reveal.js - Embedded Media - - - - - - - - - -
- -
- -
-

Embedded Media Test

-
- -
- -
- -
-

Empty Slide

-
- -
- -
- - - - - - - - diff --git a/examples/math.html b/examples/math.html deleted file mode 100644 index 77b74e9..0000000 --- a/examples/math.html +++ /dev/null @@ -1,185 +0,0 @@ - - - - - - - reveal.js - Math Plugin - - - - - - - - - -
- -
- -
-

reveal.js Math Plugin

-

A thin wrapper for MathJax

-
- -
-

The Lorenz Equations

- - \[\begin{aligned} - \dot{x} & = \sigma(y-x) \\ - \dot{y} & = \rho x - y - xz \\ - \dot{z} & = -\beta z + xy - \end{aligned} \] -
- -
-

The Cauchy-Schwarz Inequality

- - -
- -
-

A Cross Product Formula

- - \[\mathbf{V}_1 \times \mathbf{V}_2 = \begin{vmatrix} - \mathbf{i} & \mathbf{j} & \mathbf{k} \\ - \frac{\partial X}{\partial u} & \frac{\partial Y}{\partial u} & 0 \\ - \frac{\partial X}{\partial v} & \frac{\partial Y}{\partial v} & 0 - \end{vmatrix} \] -
- -
-

The probability of getting \(k\) heads when flipping \(n\) coins is

- - \[P(E) = {n \choose k} p^k (1-p)^{ n-k} \] -
- -
-

An Identity of Ramanujan

- - \[ \frac{1}{\Bigl(\sqrt{\phi \sqrt{5}}-\phi\Bigr) e^{\frac25 \pi}} = - 1+\frac{e^{-2\pi}} {1+\frac{e^{-4\pi}} {1+\frac{e^{-6\pi}} - {1+\frac{e^{-8\pi}} {1+\ldots} } } } \] -
- -
-

A Rogers-Ramanujan Identity

- - \[ 1 + \frac{q^2}{(1-q)}+\frac{q^6}{(1-q)(1-q^2)}+\cdots = - \prod_{j=0}^{\infty}\frac{1}{(1-q^{5j+2})(1-q^{5j+3})}\] -
- -
-

Maxwell’s Equations

- - \[ \begin{aligned} - \nabla \times \vec{\mathbf{B}} -\, \frac1c\, \frac{\partial\vec{\mathbf{E}}}{\partial t} & = \frac{4\pi}{c}\vec{\mathbf{j}} \\ \nabla \cdot \vec{\mathbf{E}} & = 4 \pi \rho \\ - \nabla \times \vec{\mathbf{E}}\, +\, \frac1c\, \frac{\partial\vec{\mathbf{B}}}{\partial t} & = \vec{\mathbf{0}} \\ - \nabla \cdot \vec{\mathbf{B}} & = 0 \end{aligned} - \] -
- -
-
-

The Lorenz Equations

- -
- \[\begin{aligned} - \dot{x} & = \sigma(y-x) \\ - \dot{y} & = \rho x - y - xz \\ - \dot{z} & = -\beta z + xy - \end{aligned} \] -
-
- -
-

The Cauchy-Schwarz Inequality

- -
- \[ \left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right) \] -
-
- -
-

A Cross Product Formula

- -
- \[\mathbf{V}_1 \times \mathbf{V}_2 = \begin{vmatrix} - \mathbf{i} & \mathbf{j} & \mathbf{k} \\ - \frac{\partial X}{\partial u} & \frac{\partial Y}{\partial u} & 0 \\ - \frac{\partial X}{\partial v} & \frac{\partial Y}{\partial v} & 0 - \end{vmatrix} \] -
-
- -
-

The probability of getting \(k\) heads when flipping \(n\) coins is

- -
- \[P(E) = {n \choose k} p^k (1-p)^{ n-k} \] -
-
- -
-

An Identity of Ramanujan

- -
- \[ \frac{1}{\Bigl(\sqrt{\phi \sqrt{5}}-\phi\Bigr) e^{\frac25 \pi}} = - 1+\frac{e^{-2\pi}} {1+\frac{e^{-4\pi}} {1+\frac{e^{-6\pi}} - {1+\frac{e^{-8\pi}} {1+\ldots} } } } \] -
-
- -
-

A Rogers-Ramanujan Identity

- -
- \[ 1 + \frac{q^2}{(1-q)}+\frac{q^6}{(1-q)(1-q^2)}+\cdots = - \prod_{j=0}^{\infty}\frac{1}{(1-q^{5j+2})(1-q^{5j+3})}\] -
-
- -
-

Maxwell’s Equations

- -
- \[ \begin{aligned} - \nabla \times \vec{\mathbf{B}} -\, \frac1c\, \frac{\partial\vec{\mathbf{E}}}{\partial t} & = \frac{4\pi}{c}\vec{\mathbf{j}} \\ \nabla \cdot \vec{\mathbf{E}} & = 4 \pi \rho \\ - \nabla \times \vec{\mathbf{E}}\, +\, \frac1c\, \frac{\partial\vec{\mathbf{B}}}{\partial t} & = \vec{\mathbf{0}} \\ - \nabla \cdot \vec{\mathbf{B}} & = 0 \end{aligned} - \] -
-
-
- -
- -
- - - - - - - - diff --git a/examples/slide-backgrounds.html b/examples/slide-backgrounds.html deleted file mode 100644 index fbbdd3a..0000000 --- a/examples/slide-backgrounds.html +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - reveal.js - Slide Backgrounds - - - - - - - - - -
- -
- -
-

data-background: #00ffff

-
- -
-

data-background: #bb00bb

-
- -
-
-

data-background: #ff0000

-
-
-

data-background: rgba(0, 0, 0, 0.2)

-
-
-

data-background: salmon

-
-
- -
-
-

Background applied to stack

-
-
-

Background applied to stack

-
-
-

Background applied to slide inside of stack

-
-
- -
-

Background image

-
- -
-
-

Background image

-
-
-

Background image

-
-
- -
-

Background image

-
data-background-size="100px" data-background-repeat="repeat" data-background-color="#111"
-
- -
-

Same background twice (1/2)

-
-
-

Same background twice (2/2)

-
- -
- -
- - - - - - - - diff --git a/test/examples/assets/image1.png b/test/examples/assets/image1.png new file mode 100644 index 0000000..8747594 Binary files /dev/null and b/test/examples/assets/image1.png differ diff --git a/test/examples/assets/image2.png b/test/examples/assets/image2.png new file mode 100644 index 0000000..6c403a0 Binary files /dev/null and b/test/examples/assets/image2.png differ diff --git a/test/examples/barebones.html b/test/examples/barebones.html new file mode 100644 index 0000000..5c03ff3 --- /dev/null +++ b/test/examples/barebones.html @@ -0,0 +1,42 @@ + + + + + + + reveal.js - Barebones + + + + + + +
+ +
+ +
+

Barebones Presentation

+

This example contains the bare minimum includes and markup required to run a reveal.js presentation.

+
+ +
+

No Theme

+

There's no theme included, so it will fall back on browser defaults.

+
+ +
+ +
+ + + + + + + + diff --git a/test/examples/embedded-media.html b/test/examples/embedded-media.html new file mode 100644 index 0000000..c654278 --- /dev/null +++ b/test/examples/embedded-media.html @@ -0,0 +1,49 @@ + + + + + + + reveal.js - Embedded Media + + + + + + + + + +
+ +
+ +
+

Embedded Media Test

+
+ +
+ +
+ +
+

Empty Slide

+
+ +
+ +
+ + + + + + + + diff --git a/test/examples/math.html b/test/examples/math.html new file mode 100644 index 0000000..93eff22 --- /dev/null +++ b/test/examples/math.html @@ -0,0 +1,185 @@ + + + + + + + reveal.js - Math Plugin + + + + + + + + + +
+ +
+ +
+

reveal.js Math Plugin

+

A thin wrapper for MathJax

+
+ +
+

The Lorenz Equations

+ + \[\begin{aligned} + \dot{x} & = \sigma(y-x) \\ + \dot{y} & = \rho x - y - xz \\ + \dot{z} & = -\beta z + xy + \end{aligned} \] +
+ +
+

The Cauchy-Schwarz Inequality

+ + +
+ +
+

A Cross Product Formula

+ + \[\mathbf{V}_1 \times \mathbf{V}_2 = \begin{vmatrix} + \mathbf{i} & \mathbf{j} & \mathbf{k} \\ + \frac{\partial X}{\partial u} & \frac{\partial Y}{\partial u} & 0 \\ + \frac{\partial X}{\partial v} & \frac{\partial Y}{\partial v} & 0 + \end{vmatrix} \] +
+ +
+

The probability of getting \(k\) heads when flipping \(n\) coins is

+ + \[P(E) = {n \choose k} p^k (1-p)^{ n-k} \] +
+ +
+

An Identity of Ramanujan

+ + \[ \frac{1}{\Bigl(\sqrt{\phi \sqrt{5}}-\phi\Bigr) e^{\frac25 \pi}} = + 1+\frac{e^{-2\pi}} {1+\frac{e^{-4\pi}} {1+\frac{e^{-6\pi}} + {1+\frac{e^{-8\pi}} {1+\ldots} } } } \] +
+ +
+

A Rogers-Ramanujan Identity

+ + \[ 1 + \frac{q^2}{(1-q)}+\frac{q^6}{(1-q)(1-q^2)}+\cdots = + \prod_{j=0}^{\infty}\frac{1}{(1-q^{5j+2})(1-q^{5j+3})}\] +
+ +
+

Maxwell’s Equations

+ + \[ \begin{aligned} + \nabla \times \vec{\mathbf{B}} -\, \frac1c\, \frac{\partial\vec{\mathbf{E}}}{\partial t} & = \frac{4\pi}{c}\vec{\mathbf{j}} \\ \nabla \cdot \vec{\mathbf{E}} & = 4 \pi \rho \\ + \nabla \times \vec{\mathbf{E}}\, +\, \frac1c\, \frac{\partial\vec{\mathbf{B}}}{\partial t} & = \vec{\mathbf{0}} \\ + \nabla \cdot \vec{\mathbf{B}} & = 0 \end{aligned} + \] +
+ +
+
+

The Lorenz Equations

+ +
+ \[\begin{aligned} + \dot{x} & = \sigma(y-x) \\ + \dot{y} & = \rho x - y - xz \\ + \dot{z} & = -\beta z + xy + \end{aligned} \] +
+
+ +
+

The Cauchy-Schwarz Inequality

+ +
+ \[ \left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right) \] +
+
+ +
+

A Cross Product Formula

+ +
+ \[\mathbf{V}_1 \times \mathbf{V}_2 = \begin{vmatrix} + \mathbf{i} & \mathbf{j} & \mathbf{k} \\ + \frac{\partial X}{\partial u} & \frac{\partial Y}{\partial u} & 0 \\ + \frac{\partial X}{\partial v} & \frac{\partial Y}{\partial v} & 0 + \end{vmatrix} \] +
+
+ +
+

The probability of getting \(k\) heads when flipping \(n\) coins is

+ +
+ \[P(E) = {n \choose k} p^k (1-p)^{ n-k} \] +
+
+ +
+

An Identity of Ramanujan

+ +
+ \[ \frac{1}{\Bigl(\sqrt{\phi \sqrt{5}}-\phi\Bigr) e^{\frac25 \pi}} = + 1+\frac{e^{-2\pi}} {1+\frac{e^{-4\pi}} {1+\frac{e^{-6\pi}} + {1+\frac{e^{-8\pi}} {1+\ldots} } } } \] +
+
+ +
+

A Rogers-Ramanujan Identity

+ +
+ \[ 1 + \frac{q^2}{(1-q)}+\frac{q^6}{(1-q)(1-q^2)}+\cdots = + \prod_{j=0}^{\infty}\frac{1}{(1-q^{5j+2})(1-q^{5j+3})}\] +
+
+ +
+

Maxwell’s Equations

+ +
+ \[ \begin{aligned} + \nabla \times \vec{\mathbf{B}} -\, \frac1c\, \frac{\partial\vec{\mathbf{E}}}{\partial t} & = \frac{4\pi}{c}\vec{\mathbf{j}} \\ \nabla \cdot \vec{\mathbf{E}} & = 4 \pi \rho \\ + \nabla \times \vec{\mathbf{E}}\, +\, \frac1c\, \frac{\partial\vec{\mathbf{B}}}{\partial t} & = \vec{\mathbf{0}} \\ + \nabla \cdot \vec{\mathbf{B}} & = 0 \end{aligned} + \] +
+
+
+ +
+ +
+ + + + + + + + diff --git a/test/examples/slide-backgrounds.html b/test/examples/slide-backgrounds.html new file mode 100644 index 0000000..1e2da16 --- /dev/null +++ b/test/examples/slide-backgrounds.html @@ -0,0 +1,101 @@ + + + + + + + reveal.js - Slide Backgrounds + + + + + + + + + +
+ +
+ +
+

data-background: #00ffff

+
+ +
+

data-background: #bb00bb

+
+ +
+
+

data-background: #ff0000

+
+
+

data-background: rgba(0, 0, 0, 0.2)

+
+
+

data-background: salmon

+
+
+ +
+
+

Background applied to stack

+
+
+

Background applied to stack

+
+
+

Background applied to slide inside of stack

+
+
+ +
+

Background image

+
+ +
+
+

Background image

+
+
+

Background image

+
+
+ +
+

Background image

+
data-background-size="100px" data-background-repeat="repeat" data-background-color="#111"
+
+ +
+

Same background twice (1/2)

+
+
+

Same background twice (2/2)

+
+ +
+ +
+ + + + + + + + -- cgit v1.2.3