danvk/dygraphs — pull request #278 by danvk (2013-10-14 01:40:52+00:00)
Title: Typed options

This adds private typed variants to getOption() and updates a few call sites.

This will be useful in Closurizing, since it allows options to be used without typecasts.

In the future, these variants could do runtime checks that users supplied values of the correct type and that the type matches what's listed in dygraph-options-reference.js.