Skip to content

Commit

Permalink
Minification notice
Browse files Browse the repository at this point in the history
Adding note regarding the minification of the onEnter/onExit attribute arguments.
  • Loading branch information
quentint committed May 19, 2014
1 parent ae7e0cb commit eb23a5c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/state.js
Original file line number Diff line number Diff line change
Expand Up @@ -459,11 +459,13 @@ function $StateProvider( $urlRouterProvider, $urlMatcherFactory) {
*
* - **`onEnter`** - {object=} - Callback function for when a state is entered. Good way
* to trigger an action or dispatch an event, such as opening a dialog.
* If minifying your scripts, make sure to use the `['injection1', 'injection2', function(injection1, injection2){}]` syntax.
*
* <a id='onExit'></a>
*
* - **`onExit`** - {object=} - Callback function for when a state is exited. Good way to
* trigger an action or dispatch an event, such as opening a dialog.
* If minifying your scripts, make sure to use the `['injection1', 'injection2', function(injection1, injection2){}]` syntax.
*
* <a id='reloadOnSearch'></a>
*
Expand Down

0 comments on commit eb23a5c

Please sign in to comment.