Skip to content

Commit

Permalink
Merge pull request react-bootstrap#726 from epeli/patch-1
Browse files Browse the repository at this point in the history
Fix deprecationWarning for node
  • Loading branch information
AlexKVal committed May 24, 2015
2 parents ed3f641 + d9a2783 commit ed469cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/deprecationWarning.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default function deprecationWarning(oldname, newname, link) {
if (process.env.NODE_ENV !== 'production') {
if (!window.console && (typeof console.warn !== 'function')) {
if ((typeof console === 'undefined') || (typeof console.warn !== 'function')) {
return;
}

Expand Down

0 comments on commit ed469cf

Please sign in to comment.