madebymany/sir-trevor-js — pull request #157 by jackjennings (2014-01-07 19:59:04+00:00)
Title: moved pushing the editor to ST.instances before building blocks

I ran into a situation where it would have been helpful to have access to the ST instance when building the initial set of blocks. This was in a single page application / CMS where certain options for a block depended on what resource was currently being operated on (passed as an option to the editor instance).

Moving the place where pushing the editor instance onto the global stack would solve this for me.

All tests still passing.