jyoungblood / smoke.js

framework-agnostic styled alert system for javascript
http://smoke.js.org/
930 stars 107 forks source link

Custom classname property for signal type #36

Closed Krzemo closed 11 years ago

Krzemo commented 11 years ago

I don't see a reason signal shouldn't have custom classname property working, so here it is. It was a quick one and I hope I didn't miss anything.

jyoungblood commented 11 years ago

oh you're totally right. i changed a couple of things with the implementation so both the classname and duration can be specified with the preference object like the rest of the methods. thanks for this!