jducoeur / jsext

Commonly-useful extensions for Scala.js, particularly for facade development
28 stars 12 forks source link

Added implicit conversion to companion object of JSOptionBuilder #1

Closed Jasper-M closed 9 years ago

Jasper-M commented 9 years ago

This way users don't have to write the same implicit conversion for every builder => less boilerplate

jducoeur commented 9 years ago

Ah -- right, that makes sense. I tend to forget about the power of implicits in companion objects. Let me sanity-check this with my own projects, but this seems like a good improvement...

jducoeur commented 9 years ago

Yep, works nicely. Merged, and I'll see about releasing that update today. Thanks!