Problem/Motivation
In #2773601-25: Display "You are now in edit mode" prompt when user enters edit mode when we were attempting to use Javascript destructing on the Drupal object we were alerted to the fact that we cannot alias Drupal.t
This is because _locale_parse_js_file() on the php side scan Javascript files searching for Drupal.t() and other functions.
Proposed resolution
Add to the JSDoc for all these functions and explain they can't used with Destructing or other aliasing methods
Remaining tasks
patch
Comments
Comment #2
Wim Leers