We strip debugging messages from production scripts.
tsf.deprecatedFunc() is not stripped, and calling it won't do anything. So, we should remove all its calls.
We SHOULD NOT remove the method itself. That will lead to errors.
When SCRIPT_DEBUG is defined as true, the unmodified scripts, with all notices, get loaded again.
We strip debugging messages from production scripts.
tsf.deprecatedFunc()is not stripped, and calling it won't do anything. So, we should remove all its calls.We SHOULD NOT remove the method itself. That will lead to errors.
When
SCRIPT_DEBUGis defined astrue, the unmodified scripts, with all notices, get loaded again.