1
0
Fork 0
liza/test
Mike Gerwitz 3fa464bc3a Extract bucket init code into ProgramInit
This represents a portion of the refactoring that I had intended to do
until I realized that there was a simpler solution to the problem that
we were having (having proguic add stored calculated values to the
defaults object).

So ideally we'll continue extracting all quote init code out of
`Server' and into `ProgramInit' in the future.

* doc/server.texi (Liza Server): Mention `ProgramInit'.
* src/program/ProgramInit.js: Add class.
* src/server/DocumentServer.js: Use it.
* src/server/Server.js (_progInit): Add private field.
  (__construct): Accept ProgramInit instance and assign to field.
  (initQuote): Use promise returned by `_getDefaultBucket'.
  (_getDefaultBucket): Proxy to `ProgramInit#init', which returns a
    promise.
2017-08-30 11:20:19 -04:00
..
bucket StagingBucket: Better consideration of nulls for change detection 2017-08-11 12:03:34 -04:00
conf Add ConfLoader 2017-08-28 09:07:28 -04:00
dapi [BC BREAK] DataApi config lookup 2017-08-29 15:11:28 -04:00
event LoVullo Associates => R-T Specialty 2017-06-08 14:48:43 -04:00
program Extract bucket init code into ProgramInit 2017-08-30 11:20:19 -04:00
server Clear metadata for pending dapi calls 2017-08-15 15:13:22 -04:00
store Add DelimitedKey Store trait 2017-08-29 14:34:40 -04:00
system LoVullo Associates => R-T Specialty 2017-06-08 14:48:43 -04:00
ui LoVullo Associates => R-T Specialty 2017-06-08 14:48:43 -04:00
validate LoVullo Associates => R-T Specialty 2017-06-08 14:48:43 -04:00
pre.js LoVullo Associates => R-T Specialty 2017-06-08 14:48:43 -04:00