Skip to content

Commit

Permalink
deprecate Utils.sign, see phetsims/tasks#1037
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonLi8 committed Jul 10, 2020
1 parent 1039f4f commit cef4ace
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/Utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -769,6 +769,8 @@ var Utils = {
},

/**
* @deprecated - use Math.sign, see https://github.com/phetsims/tasks/issues/1037.
*
* Polyfill for Math.sign from MDN, see
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/sign
* @public
Expand Down

0 comments on commit cef4ace

Please sign in to comment.