This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** @jsx: React.DOM */ | |
var React = require('react'); | |
var IfThingy = React.createClass({ | |
render: function() { | |
var ifThingy; | |
if (this.props.someVar) { | |
ifThingy = <h1>Some Var Is {this.props.someVar}</h1>; | |
} | |
else { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{-# LANGUAGE DeriveGeneric #} | |
data User = User { | |
id :: String, | |
email :: String, | |
hash :: String, | |
institutionId :: String | |
} deriving (Show, Generic) | |
data UserPrintable = UserPrintable { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var React = require('react/addons') | |
var Router = require('react-router') | |
var TestUtils = React.addons.TestUtils | |
var state = require('../../state') | |
var routes = require('../../routes') | |
var getIntlData = require('../../../../client/app/i18n/data') | |
var GroupsUsers = require('../../authed') | |
var root = state.cursor() |
OlderNewer