18F / pages

DEPRECATED: Publishing platform for 18F sites a la GitHub pages
https://pages.18f.gov
Other
63 stars 17 forks source link

Update SiteBuilder to use Promises #21

Closed mbland closed 9 years ago

mbland commented 9 years ago

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.

cc: @arowla @msecret