zurb / orbit

454 stars 96 forks source link

Test on presence (returns undefined) #80

Open joshuasiegal opened 12 years ago

joshuasiegal commented 12 years ago

Hey,

Great plugin, but seems not to respect the jQuery plugin architecture that kicks a return value back up the chain.

In other words if I do:

$('#item').orbit

I get back undefined, even when I can see it working. Would be nice to be able to test if the orbit object is attached or not, esp for use in mobile frameworks where pages can be duplicated in the dom.

Thanks!