Provide a detach shim for jQuery prior to 1.4.
Provide a detach shim for jQuery prior to 1.4.

Flot 0.8 still officially supports jQuery 1.2.6 and higher, so we can’t
assume the existence of detach.  This will go away in 0.9, where the
minimum jQuery version is 1.4.4.

Fixes #1240.

mlitwiniuk/flot,saike/flot,andig/flot,cipix2000/flot,cipix2000/engineering-flot,saike/flot,chaveiro/flot,mcanthony/flot,chiu/flot,resnick1223/flot,chaveiro/flot,flot/flot,resnick1223/flot,andig/flot,sedran/flot,k-joseph/flot,gdseller/flot,chaveiro/flot,petrvacha/flot,cipix2000/flot,saike/flot,k-joseph/flot,stanislavdavid/flot,fashionsun/flot,octavianCraciun/engineering-flot,ni-kismet/engineering-flot,chiu/flot,colinhunt/flot,Sensirion/flot,magora-suchkov/flot,mlitwiniuk/flot,mlitwiniuk/flot,lolifans/flot,MAMISHO/flot,stanislavdavid/flot,chiu/flot,pepperdata/flot,k-joseph/flot,stanislavdavid/flot,klarkc/flot,matong/flot,resnick1223/flot,kongx73/flot,andig/flot