Raynos / mercury

A truly modular frontend framework
http://raynos.github.io/mercury/
MIT License
2.82k stars 142 forks source link

Introduction code bug and minor change #123

Closed jonnyscholes closed 9 years ago

jonnyscholes commented 9 years ago

There was a typo in the initialization and I also called the main function so people new to the project (as I was) can just copy paste the entire thing and expect to get something working without editing/adding any code. It looks like the equivalent Cycle script this was mimicking runs without any additional code to so I guess it makes sense to do it here to.

Raynos commented 9 years ago

Lgtm. Thanks :)

neonstalwart commented 9 years ago

are you sure this is right? initialState.bars is already an array.

Raynos commented 9 years ago

@neonstalwart keen eye :)