IanLunn/Sequence — Issue #25: Turn modifyElements into a chainable function
Author: IanLunn
Created: 2012-02-03 16:59:37+00:00
State: open

Often, when using modifyElements on particular elements, those elements also have their classes changed at the same time, like so:

```
frameChildren.removeClass("animate-out");
self.modifyElements(frameChildren, "");
frameChildren.addClass("animate-in");
```

In some cases, classes are changed and sometimes not, meaning they can't be written into the modifyElements function. It'd be a good idea to make modifyElements a chainable function, so the above code would look like this:

```
frameChildren.removeClass("animate-out").modifyElements("").addClass("animate-in");
```