Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Trim out the module wrappers during the build process. Follow-up to #…
…7011.
- Loading branch information
1ed4051
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was the build process supposed to be updated to change:
var jQuery = (function() { ... to ... (function() {
and
return window.jQuery = window.$ = jQuery; ... to ... window.jQuery = window.$ = jQuery;
?
1ed4051
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sed 's/var jQuery = (f/(f/' |
sed 's/return window/window/' | \
1ed4051
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, it was fine leaving it as-is (works both standalone and part of the build process).