From a9935738595c7fcbf78696a67d9e31b45830297f Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sun, 30 Jun 2013 22:38:05 +0200 Subject: Initial commit --- static/js/main.js | 215 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 215 insertions(+) create mode 100644 static/js/main.js (limited to 'static/js/main.js') diff --git a/static/js/main.js b/static/js/main.js new file mode 100644 index 0000000..0bc589a --- /dev/null +++ b/static/js/main.js @@ -0,0 +1,215 @@ +/** @jsx React.DOM */ +var StateIcon = React.createClass({ + render: function() { + var icon_names = {"TODO": "icon-check-empty", + "DOING": "icon-sign-blank", + "DONE": "icon-check"}; + return ; + } +}); + +var StoryData = React.createClass({ + render: function() { + if (this.props.data) { + return (
{this.props.data.content}+