-
Notifications
You must be signed in to change notification settings - Fork 0
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
[CLOSED] Update jQuery to v1.9.1 (stable) & include jQuery Migrate #2941
Comments
Hi |
|
One question--is there any need for the shim other than for third-party code like Bootstrap? Ideally we would fix up all the code in Brackets itself so it doesn't rely on the shim. |
Just the bootstrap plugins. It's helpful in that it will console.log when you use a deprecated function though. Edit: and the brackets-concat.js file |
I've added a card to the backlog for this. Your work here is undoubtedly going to be useful when we do make the transition. I'm going to close this pull request for now, but we'd certainly like to pull in your work once 2.0 stabilizes. |
Hey Also, there was already a card on trello (https://trello.com/card/upgrade-jquery/4f90a6d98f77505d7940ce88/813). As far as including jQuery Migrate, it's only required because of the Bootstrap plugins (which are very out of date as well - the updated plugins in Bootstrap 2 don't need $.browser), so I'm not sure if it would be better at looking into upgrading these plugins or if they are going to be replaced with something else? |
Thanks for noting the Bootstrap plugins in the Trello card. You make a good point, and I think when the time comes to upgrade jQuery we'd probably opt to fix the problem with the plugins one way or another rather than use jQuery Migrate. |
Are we ready to look at jQuery 2.0? |
Another item that needs to be pursued is updating the Bootstrap plugins (which at their current version, still rely on |
We already merged your pull request (adobe/brackets#3665) to remove deprecated functions. Next, we're going to upgrade Bootstrap (adobe/brackets#3672) to avoid the need for jQuery Migrate. Then we'll merge your other deprecated functions fixes (adobe/brackets#3814). Please let us know if you want to update this branch to merge after that. That would be awesome. We want to get all of this in early to give it lots of bake time. Thanks again for all of your help. |
(Also, if you think it would be better to just start fresh rather than basing off this branch, that would be good to know too.) |
|
Wednesday Mar 13, 2013 at 13:52 GMT
Originally opened as adobe/brackets#3123
As per issue #3072, I have upgraded jQuery from 1.7 to 1.9.1 for both Brackets and the SpecRunner.
See inline comments for specific code decisions.
TuckerWhitehouse included the following code: https://github.com/adobe/brackets/pull/3123/commits
The text was updated successfully, but these errors were encountered: