f / delorean

An Agnostic, Complete Flux Architecture Framework
749 stars 40 forks source link

Update tutorial.md and code from tutorial/ for new delorian.js #94

Closed andreip closed 8 years ago

andreip commented 8 years ago

Description

Related to issue https://github.com/deloreanjs/delorean/issues/90.

tutorial.md wasn't updated to the delorian.js version present in the cdn (it was updated from 0.8.3 where it was working accordingly). Also updated the code in examples/tutorial/ to match the new tutorial.md.

Another unsolved issue

Note that step 5 from the tutorial.md wasn't working correctly even with delorean-0.8.3 which is released around the same time the file was written (end of September 2014). You can try it out and see it's producing results like:

ITEM: ITEM: ITEM: ITEM: ITEM: 0.5519198384135962
ITEM: ITEM: ITEM: ITEM: 0.014080600813031197
ITEM: ITEM: ITEM: 0.8087677867151797
ITEM: ITEM: 0.9754587386269122
ITEM: 0.560909275431186

I just started looking over flux, so best I can do it point it out, don't know a good fix for it.