times / axisJS

Open source framework for creating simple interactive graphs
MIT License
74 stars 12 forks source link

main.resetConfig nukes inputType #112

Closed aendra-rininsland closed 9 years ago

aendra-rininsland commented 9 years ago

Even though InputChooserController.setTemplate sets main.config.inputType after calling main.resetConfig(), that value keeps getting lost.

aendra-rininsland commented 9 years ago

Disregard the point in the comments about not knowing what's going on — it's if you use bindToController syntax, everything starts working normally.

Alas, doing that means updating half the files in components/input, and changes main.whatever to inputCtrl.main.whatever, so forget it. The current implementation is fine.