mathquill / mathquill

Easily type math in your webapp
http://mathquill.com
Mozilla Public License 2.0
2.61k stars 687 forks source link

`pray() docstring says they will be stripped from minified production build but are not. #1005

Open dannyshaw opened 1 year ago

dannyshaw commented 1 year ago

This is the pray() docstring:

/**
 * a development-only debug method.  This definition and all
 * calls to `pray` will be stripped from the minified
 * build of mathquill.
 *
 * This function must be called by name to be removed
 * at compile time.  Do not define another function
 * with the same name, and only call this function by
 * name.
 */

The function and all it's calls are included in the minified build. Is the docstring incorrect or is there something I'm not understanding?