CRM-16246, CRM-16145 - When aggregating JS, strip full-line "//" comments.
authorTim Otten <totten@civicrm.org>
Thu, 9 Apr 2015 05:28:53 +0000 (22:28 -0700)
committerTim Otten <totten@civicrm.org>
Thu, 9 Apr 2015 05:32:51 +0000 (22:32 -0700)
commitb047e061445e4eb4f6d142cad79c19745d8b6143
tree2221c39e5d924857d6a7f46e493fbed750db5b2f
parentad295ca9975e90c500d9e642a0d773cc1cd08d05
CRM-16246, CRM-16145 - When aggregating JS, strip full-line "//" comments.

In discussion of CRM-16246, we found that aggregation led to errors in
processing "//# sourceMappingURL=" comments in Chrome.  We can't fix that
for all aggregators, but we can do something about the internal aggregator.
CRM/Utils/JS.php
Civi/Angular/Page/Modules.php
tests/phpunit/CRM/Utils/JSTest.php