We will be updating jQuery from version 1.11.3 to version 3.1.1 for the release on Thursday, August 16th 2018. All of the JavaScript files that came with your custom skin along with any JavaScript files that were added during your development could be affected. In order to prevent possible issues with the functionality of your site please read the following for update procedures and details.
Custom Skins Managed By Aleyant
If you have one or more active skins managed by Aleyant that you wish us to review please
create a support ticket with the following information.
- Admin URL
- Admin username or email
- Account Name (the name of the account chosen during login for super users)
- List of active skins to be reviewed
Do not send your admin password with the support ticket! We in support can access your account with username alone.
DIY Custom Skins
For those custom skin owners who manage their own skins please carefully follow these steps for updating your skin and preparing for jQuery 3.1.1.
1: Download Latest Skin Files
Every custom skin starts with the base files of a standard skin. For example, your skin may be named similar to your company name but the files for that skin started out exactly like the Bootstrap Basic skin, or the Responsive #6 skin or any one of our skins that can be chosen from the skins page in Pressero admin.
To update these standard skin files use the lists below to choose the standard skin your current custom skin started out as to download the latest version of the skin files.
Standard Skins
Responsive Skins
Post V6 Responsive Skins
2: Create a Backup
In step 3 you will be utilizing a tool to change/update most of your skinning files. To prepare for any problems create a backup of your current custom skin.
3: Use Tools to Merge File Changes
Possibly the best way to update your skin it to compare the latest standard skin files with your current custom skin, then identify the changes and merge parts of the files. The recommended tool for this is
Beyond Compare. With this tool you can quickly compare whole folders of files.
Example of comparing two folders in Beyond Compare
4: Upload Changes and Test
Upload any changes to your custom skin and test your site for any issues. If you have any issue or need help please create a support ticket.
jQuery Removed Methods
jQuery 3.1.1 has removed several methods from the library. If any of your custom JavaScripts uses these methods they will need to be updated. Here is the list of removed methods with solutions on how to fix them.
.andSelf() version deprecated: 1.8, removed: 3.0
Solution: Replace any use of .andSelf() with .addBack()
.context version deprecated: 1.10, removed: 3.0
.error( handler ) version deprecated: 1.8, removed: 3.0
Solution: The .error method of the jQXHR object returned from jQuery.ajax have been removed in 3.0. Replace .error() to .fail()
.size() version deprecated: 1.8, removed: 3.0
Solution: Replace any use of .size() with .length
.unload( handler ) version deprecated: 1.8, removed: 3.0
Solution: Change any use of $().unload(fn) to $().on("unload", fn)
.load( handler ) version deprecated: 1.8, removed: 3.0
Solution: Change any use of $().load(fn) to $().on("load", fn)