DRY out $.get and $.post. Fixes #7847. Thanks to cowboy for the patch.
DRY out $.get and $.post. Fixes #7847. Thanks to cowboy for the patch.

chitranshi/jquery,ilyakharlamov/jquery-xul,jcutrell/jquery,fat/jquery,dtjm/jquery,hoorayimhelping/jquery,praveen9102/Shazam,Karyotyper/jquery,praveen9102/Shazam,diracdeltas/jquery,roytoo/jquery,sancao2/jquery,eburgos/jquery,diracdeltas/jquery,quiaro/request-agent,kpozin/jquery-nodom,chitranshi/jquery,npmcomponent/component-jquery,demetr84/Jquery,sancao2/jquery,gnarf/jquery,fat/jquery,eburgos/jquery,isaacs/jquery,isaacs/jquery,hoorayimhelping/jquery,eburgos/jquery,roytoo/jquery,RubyLouvre/jquery,gnarf/jquery,jquery/jquery,ilyakharlamov/jquery-xul,scottjehl/jquery,jcutrell/jquery,scottjehl/jquery,sancao2/jquery,jquery/jquery,dtjm/jquery,roytoo/jquery,npmcomponent/component-jquery,Karyotyper/jquery,jquery/jquery,rwaldron/jquery,kpozin/jquery-nodom,demetr84/Jquery,rwaldron/jquery,diracdeltas/jquery,RubyLouvre/jquery,Karyotyper/jquery