Skip to content

Commit

Permalink
Document set_state using the state object by reference
Browse files Browse the repository at this point in the history
  • Loading branch information
vakata committed May 9, 2015
1 parent 55e43d1 commit a406ce9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jstree.js
Original file line number Diff line number Diff line change
Expand Up @@ -3157,7 +3157,7 @@
* sets the state of the tree. Used internally.
* @name set_state(state [, callback])
* @private
* @param {Object} state the state to restore
* @param {Object} state the state to restore. Keep in mind this object is passed by reference and jstree will modify it.
* @param {Function} callback an optional function to execute once the state is restored.
* @trigger set_state.jstree
*/
Expand Down

0 comments on commit a406ce9

Please sign in to comment.