Skip to content

Trouble shooting: Pull broke your build?

epologee edited this page May 25, 2011 · 4 revisions

Although I try to keep the library as stable and steady as possible, there are times at which some stuff just needs refactoring. If they do and it breaks projects that rely on the Navigator, I'll document the changes here:

May 25th 2011 - getCurrentState() and requestNewState() were refactored
The long in progress 'robotlegs-optimization' branch got merged into the master branch. The issues that you will face are most certainly that "requestNewState" and "getCurrentState" no longer exist. The first has been renamed to "request" and the second has been replaced by a native getter, "get currentState". Please mind that if you search-and-replace the latter, you also need to get rid of the parentheses after s = navigator.getCurrentState(); for the native getter is just s = navigator.currentState;