mikestreety/slideSpeed — pull request #1 by jackfranklin (2012-06-20 00:38:11+00:00)
Title: Bit of a Rewrite

So I tidied up the code a little, the main bit of which being:

```javascript
if(options.slide in {up:1, down: 1, toggle: 1}) {
obj["slide" + options.slide.charAt(0).toUpperCase() + options.slide.slice(1)](time, options.callback);	}
```

Which seems to work fine & is a much more concise way of doing it, in my opinion. I also added in a demo, as personally I find it useful if all JS plugins have a small demo, but then again you might not.

I think I said I'd do this pull req about 3 months ago, but better late than never?

Let me know what you think!

Jack.