@samitouri / QOS-React-2 / commits / 848a8e1180

Remove animation "example"

It was never a real example and shouldn't have been checked in.

Paul O’Shannessy committed Sep 25, 2013 at 11:08 UTC 848a8e1180826df457077f8745836cd8e3e737c3
1 file changed -64
examples/animation/index.html deleted
-64
@@ -1,64 +0,0 @@
1 -<!DOCTYPE html>
2 -<html>
3 - <head>
4 - <meta http-equiv='Content-type' content='text/html; charset=utf-8'>
5 - <title>Basic Example with JSX</title>
6 - <link rel="stylesheet" href="../shared/css/base.css" />
7 - </head>
8 - <body>
9 - <h1>Basic Example with JSX</h1>
10 - <div id="container">
11 - <p>
12 - To install React, follow the instructions on
13 - <a href="http://www.github.com/facebook/react/">GitHub</a>.
14 - </p>
15 - <p>
16 - If you can see this, React is not working right.
17 - If you checked out the source from GitHub make sure to run <code>grunt</code>.
18 - </p>
19 - </div>
20 - <h4>Example Details</h4>
21 - <ul>
22 - <li>
23 - This is built with
24 - <a href="https://github.com/substack/node-browserify">browserify</a>.
25 - </li>
26 - <li>
27 - This is written with JSX and transformed in the browser.
28 - </li>
29 - </ul>
30 - <p>
31 - </p>
32 - <p>
33 - Learn more at
34 - <a href="http://facebook.github.io/react" target="_blank">facebook.github.io/react</a>.
35 - </p>
36 - <script src="../../build/react.js"></script>
37 - <script src="../../build/react-transitiongroup.js"></script>
38 - <script src="../../build/JSXTransformer.js"></script>
39 - <script type="text/jsx">
40 - /**
41 - * @jsx React.DOM
42 - */
43 - console.log(ReactTransitionGroup);
44 - var ExampleApplication = React.createClass({
45 - render: function() {
46 - var elapsed = Math.round(this.props.elapsed / 100);
47 - var seconds = elapsed / 10 + (elapsed % 10 ? '' : '.0' );
48 - var message =
49 - 'React has been successfully running for ' + seconds + ' seconds.';
50 -
51 - return <p>{message}</p>;
52 - }
53 - });
54 - var start = new Date().getTime();
55 - setInterval(function() {
56 - React.renderComponent(
57 - <ExampleApplication elapsed={new Date().getTime() - start} />,
58 - document.getElementById('container')
59 - );
60 - }, 50);
61 -
62 - </script>
63 - </body>
64 -</html>