Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Build: Include events.js from jquery.mobile.js #7926

Conversation

gabrielschulhof
Copy link

events.js was making it into the build only by virtue of the fact that it was
being pulled by navigation.js. In the process of fixing gh-7805 it became clear
that navigation.js doesn't really need events.js. Thus, the reference to
events.js was removed from navigation.js, thereby orphaning events.js from the
build. This rectifies the problem by explicitly adding events.js to the build.

Fixes gh-7925

events.js was making it into the build only by virtue of the fact that it was
being pulled by navigation.js. In the process of fixing jquery-archivegh-7805 it became clear
that navigation.js doesn't really need events.js. Thus, the reference to
events.js was removed from navigation.js, thereby orphaning events.js from the
build. This rectifies the problem by explicitly adding events.js to the build.

Fixes jquery-archivegh-7925
@arschmitz
Copy link
Contributor

I don't think we need to test this and if we are going to we need to verify not just this but that the build has al the proper modules and in the proper order.

@gabrielschulhof
Copy link
Author

@arschmitz I definitely think we should have a test for making sure the library gets built properly. Do you want me to add the rest of the library? I'm not sure if I can test the order of things, but I can certainly test whether all the things are present.

@gabrielschulhof
Copy link
Author

OK. After discussing, we'll wait for UI's solution to testing that the build is correct. I'll remove the test.

@arschmitz
Copy link
Contributor

👍

kakul pushed a commit to kakul/jquery-mobile that referenced this pull request Apr 14, 2015
events.js was making it into the build only by virtue of the fact that it was
being pulled by navigation.js. In the process of fixing jquery-archivegh-7805 it became clear
that navigation.js doesn't really need events.js. Thus, the reference to
events.js was removed from navigation.js, thereby orphaning events.js from the
build. This rectifies the problem by explicitly adding events.js to the build.

Fixes jquery-archivegh-7925
Closes jquery-archivegh-7926
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Events: throttledresize no longer works
3 participants