Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversions #1

Open
NathanSudell opened this issue Jul 6, 2009 · 1 comment
Open

Conversions #1

NathanSudell opened this issue Jul 6, 2009 · 1 comment

Comments

@NathanSudell
Copy link

An easier way to add conversions would be nice. A few suggestions:

  1. return "this" from initialize, so this.conversions can be extended
  2. create an "addConversions" method (would require 1.)
  3. accept an array of conversions in the options and automatically addConversions

.... and of course added conversions would have to precede the defaults or they'll never be checked.

@mixonic
Copy link
Owner

mixonic commented Oct 16, 2009

Hi Nathan,

I would expect the first option already works. Option three sounds good for extending a given instance, I'll look into it.

Leaving this open until something is added to make adding conversions simpler (or at least documented).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants