Bug Tracker

Ticket #10029 (closed bug: fixed)

Opened 3 years ago

Last modified 3 years ago

$.support.scriptEval removed, but still included in documentation

Reported by: markstory Owned by:
Priority: low Milestone: None
Component: support Version: 1.6.2
Keywords: Cc: dmethvin, rwaldron
Blocking: Blocked by:

Description

It seems that $.support.scriptEval has been removed in 1.6.1. However, it is still part of the documented API. It's removal is wasn't part of the 1.6 changed methods either.

Unless I'm mistaken, either the docs should be updated, or the feature should be re-introduced. It seems to have been removed as part of  https://github.com/jquery/jquery/commit/c1dcad69427b78f3e70628ab1444f42033ee593a

Change History

comment:1 Changed 3 years ago by addyosmani

  • Cc dmethvin, rwaldron added
  • Priority changed from undecided to low
  • Status changed from new to closed
  • Component changed from unfiled to support
  • Resolution set to fixed

Thanks for the heads up. As per Dave Methvin's comments on the commit:

'Given the amount of code involved and the fact that we had changed it from a property to a method in 1.5.1 anyway, I don't think we should keep it if we don't need it ourselves. With that in mind I've updated the jQuery.support docs to note its disappearance.'.

You should find that the current docs are accurate with respect to scriptEval.

comment:2 Changed 3 years ago by markstory

Awesome, thanks for updating the docs. I don't mind that it was removed, but thinking it was there and it wasn't was the problem I was having. Thank you for clearing things up :)

Note: See TracTickets for help on using tickets.