Skip to content

Commit

Permalink
Merge branch 'master' into readme-forms
Browse files Browse the repository at this point in the history
  • Loading branch information
Guria committed Nov 11, 2016
2 parents 43059dd + b477404 commit cb43540
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -16,7 +16,7 @@ A state controller with its own debugger
[https://www.cerebraljs.com/](http://www.cerebraljs.com/).

## Cerebral v2 is still a work in progress. Please head over to our cerebral v2 WIP website for more information:
[https://cerebral.github.io/cerebral-website/](http://cerebral.github.io/cerebral-website).
[https://cerebral.github.io/](https://cerebral.github.io/).

## Contribute
The entire Cerebral codebase has been rewritten to encourage contributions. The code is cleaned up, commented and all code is in a "monorepo". That means you can run tests across projects and general management of the code is simplified a lot.
Expand Down
2 changes: 1 addition & 1 deletion packages/cerebral/src/Controller.js
Expand Up @@ -59,7 +59,7 @@ class Controller extends EventEmitter {

if (this.devtools) {
this.devtools.init(this)
} else if (process.env.NODE_ENV !== 'production') {
} else if (process.env.NODE_ENV !== 'production' && typeof window !== 'undefined') {
console.warn('You are not using the Cerebral devtools. It is highly recommended to use it in combination with the debugger: https://cerebral.github.io/cerebral-website/getting-real/03_devtools.html')
}

Expand Down

0 comments on commit cb43540

Please sign in to comment.