Closed jimmed closed 8 years ago
I think I prefer get
and set
, rather than attr
. I don't like that attr
can both get and set, depending on what arguments you pass it.
I don't like that attr can both get and set, depending on what arguments you pass it.
I mostly did this in the name of filesize, but seeing as it is a little unpredictable, I'll see what I can do about implementing it in a small way.
The new methods have sadly pushed us up to a 1.1kb gzipped bundle, but it's well worth it for a clear API!
awesome! 👍
@alanclarke @roberttod @oliverwoodings