jmikola/JmikolaJsAssetsHelperBundle — comment on commit d95dbf21255270a87ac564b76df0369dd6a2fb2b
File: Resources/js/assets_helper.js line 109
By jmikola:

@stof: I'm not entirely happy with creating new `PHP_JS` instances each time we need to call `sprintf()` and `md5()`. While `sprintf()` is common to everything (it's called from `Package.applyVersion()`), `md5()` is only called from `UrlPackage.getBaseUrl_()`. Is there a good place we can stash a single instance of `PHP_JS` so that everything can utilize it? Perhaps the equivalent of a static property on `Package`?