This documentation is not maintained. Please refer to doc.castsoftware.com/technologies to find the latest updates.

On this page:

2.1.2-funcrel

Other Updates

Details
CAST jQuery selectors are now better discovered: some were wrongly discovered (in node.js files for example) and some other were not discovered.

Rules

Rule IdNew RuleDetails
1020304FALSEUpdate the rule "Implement success and error or complete callbacks when using jquery web service call before jQuery 3.0"
1020308FALSEAlways cache the returned objects in variables to be reused
1020304FALSEDescription, sample and remediation updated
1020324FALSEDescription, sample and remediation updated
1020322FALSEDescription, sample and remediation updated

2.1.1-funcrel

Other Updates

Details
Stop creating resource services corresponding to empty URL.s

2.1.0-funcrel

Resolved Issues

Customer Ticket IdDetails
16850HTML5/JavaScript extension is inserting meaningless information into the object fullname.

2.1.0-beta1

Other Updates

Details
The rule description has been updated for multiple rules.

Rules

Rule IdNew RuleDetails
1020330TRUEAvoid using $(location.hash) with jQuery version older than 1.6.3
1020328TRUEAvoid using html() with jQuery 1.9.0 (or older)
1020332TRUEAvoid using .append() after() with jQuery 1.4.2 (or older)
1020334TRUEAvoid using attr() with jQuery 3.0.0-rc1
1020336TRUEAvoid using Dialog Widget with jQuery UI version older than 1.10.0
1020338TRUEAvoid using Tooltip widget with jQuery UI version older than 1.10.0