From: Drew Fisher Date: Sun, 18 May 2014 00:42:51 +0000 (-0700) Subject: Remove old React testing classes. X-Git-Url: http://git.zarvox.org/shortlog/feed?a=commitdiff_plain;h=30268a4141ae40da51b8b9ae480ec3604a4ec0e4;p=imoo.git Remove old React testing classes. I think I have a more comprehensive React reference here by now. --- diff --git a/reactornado/widgets.js b/reactornado/widgets.js index 4ced81c..a1dafc4 100644 --- a/reactornado/widgets.js +++ b/reactornado/widgets.js @@ -1,24 +1,5 @@ /** @jsx React.DOM */ -// Testing stuff -var List = React.createClass({ - render: function () { - var items = this.props.items; - var listitems = []; - for (var i = 0 ; i < items.length ; i++) { - listitems.push({items[i]}); - } - return ; - } -}); - -var ListItem = React.createClass({ - render: function () { - return
  • {this.props.children}
  • ; - } -}); - - // Login form var LoginForm = React.createClass({ @@ -193,8 +174,6 @@ var ReactContainer = React.createClass({ // integration for now: window.widgets = { - "List": List, - "ListItem": ListItem, "BuddyListItem": BuddyListItem, "LoginForm": LoginForm, "BuddyList": BuddyList,