Part of the JavaScript selectors clean-up effort.
#1574470: Selectors clean-up
#1415788: Javascript winter clean-up
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | 1751394-local-js.patch | 1.09 KB | droplet |
Part of the JavaScript selectors clean-up effort.
#1574470: Selectors clean-up
#1415788: Javascript winter clean-up
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | 1751394-local-js.patch | 1.09 KB | droplet |
Comments
Comment #1
nod_try to see if Drupal.t() can be replaced by t() or drupalt() or something that is not an object in the regex pickingup strings from JS files. This is terrible to minify.
rest should be fine.
Comment #2
nod_tag
Comment #3
droplet commentedabout Drupal.t,
Yeah, it's a bit terrible. however after gzip, it's not much different.
Comment #4
droplet commented3: locale.patch queued for re-testing.
Comment #6
droplet commentedThis issue could "close as won't fix" now. the attached patch only make it looks more consistent to other JS in Drupal
Comment #7
nod_Trivial but works and does increase consistency so it's fine :)
Comment #8
webchickCommitted and pushed to 8.x. Thanks!