Closed yepzy closed 4 years ago
Do we really need arguments.length > 1
?
I've removed the length check and minified the code.
return 'window["'.$this->getJsHelperName().'"]=function(e){var n=void 0!==arguments[1]?arguments[1]:null;return[window.sharedDataNamespace].concat("string"==typeof e?e.split("."):[]).reduce(function(e,t){return e===n||"object"!=typeof e||void 0===e[t]?n:e[t]},window)}';
Is that okay?
@hivokas
Yes it ok for me
Hi @hivokas
any update about this PR ?
Sorry for the delay. I was very busy.
cf issue #23