Skip to content

jQuery security fix and make sure everything is jQuery 3.x comptible

Pre-release
Pre-release
Compare
Choose a tag to compare
@illuusio illuusio released this 26 Jun 11:50
· 12 commits to master since this release

There is fix for two jQuery security Issues:

  • Jquery 3.5.0: Security Fix Closing HTML Tags #376
  • Jquery 4.0: Use of number-typed values is deprecated #377

All the scripts that are not part of jquery.jscrollpane.js like jquery.mousewheel.js and mwheelIntent.js are updated to follow jQuery 3.x binding system. There is also work on stickToBottom and stickToRight settings. They work little bit differently if you turn of maintainPosition setting to false. After that they get you to bottom or right everytime reinitialize()-function is run. If you have maintainPosition set to true (which is default) then user have to go bottom and after that it stays at bottom.
Script is also run through Prettier beautifier which also made run everytime Grunt is excecuted and code which doesn't go through prettier is not pretty enough.

Be sure to test before taking this to production