Now SiteBuilder.build() contains the entire algorithm! No more scanning from state to state! And check it out: the only changes necessary in the test were to switch some null expectations to undefined!
This will certainly make it easier to inject additional steps for future features.
Hat tip to @vzvenyach for putting the Promises bug in my ear when I first showed him the Pages server.
Now SiteBuilder.build() contains the entire algorithm! No more scanning from state to state! And check it out: the only changes necessary in the test were to switch some
null
expectations toundefined
!This will certainly make it easier to inject additional steps for future features.
Hat tip to @vzvenyach for putting the Promises bug in my ear when I first showed him the Pages server.
cc: @arowla @msecret