Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CRM_Utils_JS - also dedupe 'use strict' directive when deduping closures #17711

Merged
merged 1 commit into from
Jun 29, 2020

Conversation

colemanw
Copy link
Member

Overview

Improves JS closure deduping to remove redundant "use strict" directives.

Before

Useless redundant "use strict" directives littered around.

After

Remove all but the first one, as the js compiler will ignore the rest of them anyway.

@civibot
Copy link

civibot bot commented Jun 29, 2020

(Standard links)

@civibot civibot bot added the master label Jun 29, 2020
@seamuslee001 seamuslee001 merged commit 151b3ad into civicrm:master Jun 29, 2020
@seamuslee001 seamuslee001 deleted the useStrict branch June 29, 2020 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants