Skip to content
This repository has been archived by the owner on Mar 7, 2018. It is now read-only.

Infer from url when no team name is provided #75

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

lloeki
Copy link
Owner

@lloeki lloeki commented Jan 4, 2016

implements just enough of what was suggested in #73 so as to not crash

@lloeki lloeki changed the title infer from url when no team name is provided Infer from url when no team name is provided Jan 4, 2016
@@ -4,7 +4,7 @@ var React = require("react");
var TeamButton = React.createClass({
render: function(){
var team = this.props.team;
var iconText = team.name.substr(0,1);
var iconText = team.name.substr(0,1).toUpperCase();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good thought

@LongLiveCHIEF
Copy link
Contributor

After much deliberation, I'm ok with this. I'd be more ok with it though, if we included some test cases. I created this jsbin to help test this if you want to add that. Either way.... 👍

edit: I embeded the wrong bin link:
JS Bin on jsbin.com<script src="http://static.jsbin.com/js/embed.min.js?3.35.5"></script>

@lloeki
Copy link
Owner Author

lloeki commented Feb 22, 2016

OK I'll do the tests.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants