If you update than you will run into so many problems that its better to simply solve the used version. Just get rid and delete this version check-up.
Remove this part from the blockui. Nizar B. Deleting a warning message may not be the best idea. What if there comes a jquery 3, your source breaks down and you don't know why. Not a solution for me. Warning messages have sence.
Dwza What are you talking about??? This is just a if condition witch trigger a regex against the version number of the jQuery plugin. Removing it will never affect anything or breaks your application. Of course not the condition breaks down the source but may some part in the blockUI. And when this happens you propably never Finde out why. Just like I sayed If you like to decomment error messages Go ahead.
I mean you propably don't use all ui elements so may you don't use the one where the return result is needed. So this may is a solution for you : anyways, it's never recommended to decomment any checks. Surly they have a reason. By the way, it's not a simply if condition since it has a return in it. Dwza it only return false to stop the script in case there's a problem with the version.
Conclusion it still a valuable solution to remove the check-up of the jQuery and yes it works perfectly fine for me. Show 4 more comments. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name.
Email Required, but never shown. The Overflow Blog. Podcast Making Agile work for data science. Stack Gives Back Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually. Related Hot Network Questions. Tags turbogears. Update notice form 1. Feb 8, Jan 17, Sep 22, Jun 13, Mar 25, Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Warning Some features may not work without JavaScript. Please try enabling it if you encounter problems. Search PyPI Search. Latest version Released: Feb 8, Jquery javascript library for TurboGears. Navigation Project description Release history Download files.
0コメント