summaryrefslogtreecommitdiff
path: root/src/clockView.js
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-09-28 19:26:51 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-09-28 19:26:51 (GMT)
commitea3ef4df505273827bf2c1e4eef5e9716e9746b0 (patch)
treeafd65e511c94d6b1df9602cdc4cf34d69c6f49f5 /src/clockView.js
parent8ca2b1d7e9c6f142c2d89f33b41a164a0eadf702 (diff)
restructering components
Diffstat (limited to 'src/clockView.js')
-rw-r--r--src/clockView.js14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/clockView.js b/src/clockView.js
deleted file mode 100644
index 61a13f4..0000000
--- a/src/clockView.js
+++ /dev/null
@@ -1,14 +0,0 @@
-var ClockView = React.createClass({
- render: function() {
- return (
- <p>
- Hello, <input type="text" placeholder="Your name here" />!
- It is {this.props.date.toTimeString()}
- </p>
- );
- }
-});
-
-setInterval(function() {
- ReactDOM.render(<ClockView date={new Date()} />, document.getElementById('clock'));
-}, 500);