Skip to content

Conversation

Tug
Copy link

@Tug Tug commented Aug 21, 2020

This PR adds a prefix and suffix to all js scripts concatenated together, so that we don't end up with errors due to scripts starting with "use strict";.

Prefix:

(function(window, document, undefined) {

Suffix:

}).call(this, window, document);

@Tug Tug self-assigned this Aug 21, 2020
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.

1 participant