summaryrefslogtreecommitdiff
path: root/src/clockView.js
diff options
context:
space:
mode:
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);