Remove the spaces at the beginning and end of the string.
When deferred.notifyWith, any doneCallbacks added progressCallbacks , deferred.then or deferred.fail is called. Callbacks are executed in the order they were added. The args passed by each callback are called in deferred.reject(). The notifyWith() delay is resolved or rejected ( or after any progressCallbacks are added) is ignored . See the file Deferred object for details .
The context passes the progressCallbacks to this object.
args String V1.7
Optional parameters are passed to progressCallbacks.