Skip to content

Commit 6fe3fc2

Browse files
spendanez
authored andcommitted
Replace url references to rackt/react-tabs with reactjs/react-tabs (#150)
1 parent 822880d commit 6fe3fc2

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "react-tabs",
33
"version": "0.5.3",
4-
"homepage": "https://github.com/rackt/react-tabs",
4+
"homepage": "https://github.com/reactjs/react-tabs",
55
"authors": [
66
"Matt Zabriskie"
77
],

src/components/Tabs.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ module.exports = React.createClass({
183183
// Map children to dynamically setup refs
184184
return React.Children.map(children, (child) => {
185185
// null happens when conditionally rendering TabPanel/Tab
186-
// see https://github.com/rackt/react-tabs/issues/37
186+
// see https://github.com/reactjs/react-tabs/issues/37
187187
if (child === null) {
188188
return null;
189189
}
@@ -197,7 +197,7 @@ module.exports = React.createClass({
197197
ref: 'tablist',
198198
children: React.Children.map(child.props.children, (tab) => {
199199
// null happens when conditionally rendering TabPanel/Tab
200-
// see https://github.com/rackt/react-tabs/issues/37
200+
// see https://github.com/reactjs/react-tabs/issues/37
201201
if (tab === null) {
202202
return null;
203203
}
@@ -352,7 +352,7 @@ module.exports = React.createClass({
352352
//
353353
// Don't use setState, because we don't want to re-render.
354354
//
355-
// See https://github.com/rackt/react-tabs/pull/7
355+
// See https://github.com/reactjs/react-tabs/pull/7
356356
if (this.state.focus) {
357357
setTimeout(() => {
358358
this.state.focus = false;

src/components/__tests__/Tabs-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ describe('react-tabs', () => {
128128
});
129129

130130
// TODO: Can't seem to make this fail when removing fix :`(
131-
// See https://github.com/rackt/react-tabs/pull/7
131+
// See https://github.com/reactjs/react-tabs/pull/7
132132
// it('should preserve selectedIndex when typing', function () {
133133
// let App = React.createClass({
134134
// handleKeyDown: function () { this.forceUpdate(); },

src/helpers/childrenPropType.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ module.exports = function childrenPropTypes(props, propName) {
1010

1111
React.Children.forEach(children, (child) => {
1212
// null happens when conditionally rendering TabPanel/Tab
13-
// see https://github.com/rackt/react-tabs/issues/37
13+
// see https://github.com/reactjs/react-tabs/issues/37
1414
if (child === null) {
1515
return;
1616
}
1717

1818
if (child.type === TabList) {
1919
React.Children.forEach(child.props.children, (c) => {
2020
// null happens when conditionally rendering TabPanel/Tab
21-
// see https://github.com/rackt/react-tabs/issues/37
21+
// see https://github.com/reactjs/react-tabs/issues/37
2222
if (c === null) {
2323
return;
2424
}

0 commit comments

Comments
 (0)