Bug Tracker

Changes between Version 1 and Version 2 of Ticket #10257, comment 7


Ignore:
Timestamp:
Feb 26, 2013, 9:30:27 AM (10 years ago)
Author:
jasonm23
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10257, comment 7

    v1 v2  
    1 I'm not sure where the logic of these wrappers not "belonging in the core" is coming from, by the same rationale, neither do $.get or $.post.
    2 
    3 Since they are both the same method, it's not very DRY to suggest they be shipped as a plugin, when the method is already there.
    4 
    5 The type parameter is coming from the name function owner var.
    6 
    7 see this JSFiddle. http://jsfiddle.net/5m4Z8/2/
     1I'm not sure where the logic of these wrappers not "belonging in the core" is coming from, by the same rationale, neither do $.get or $.post - both attach to the same method, and the object name is used as the ajax type: parameter.