Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B4C6817BE3 for ; Thu, 8 Jan 2015 12:58:33 +0000 (UTC) Received: (qmail 68591 invoked by uid 500); 8 Jan 2015 12:58:29 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 68525 invoked by uid 500); 8 Jan 2015 12:58:29 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 68514 invoked by uid 99); 8 Jan 2015 12:58:28 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jan 2015 12:58:28 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 1127831982F; Thu, 8 Jan 2015 12:58:28 +0000 (UTC) From: robertkowalski To: dev@couchdb.apache.org Reply-To: dev@couchdb.apache.org References: In-Reply-To: Subject: [GitHub] couchdb-fauxton pull request: Adding React into Fauxton Content-Type: text/plain Message-Id: <20150108125828.1127831982F@tyr.zones.apache.org> Date: Thu, 8 Jan 2015 12:58:28 +0000 (UTC) Github user robertkowalski commented on a diff in the pull request: https://github.com/apache/couchdb-fauxton/pull/216#discussion_r22650102 --- Diff: app/addons/documents/components.react.js --- @@ -0,0 +1,465 @@ +define([ + "api", + "react", + "addons/documents/stores", + "addons/documents/actions", + "addons/fauxton/components", +], + +function(FauxtonAPI, React, Stores, Actions, Components) { + var indexEditorStore = Stores.indexEditorStore; + + var ToggleButton = React.createClass({displayName: "ToggleButton", + getInitialState: function () { + return { + title: indexEditorStore.getTitle() + }; + }, + + render: function() { + return ( + React.createElement("div", {className: "dashboard-upper-menu"}, --- End diff -- is this a generated file? --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---