Skip to content

Commit

Permalink
instantiate hook only takes the translated source; if you want to sav…
Browse files Browse the repository at this point in the history
…e previous hook results, stash them in metadata (see issue #24)
  • Loading branch information
Dave Herman committed Mar 10, 2015
1 parent 0a90264 commit fe60901
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ A <dfn>registry entry</dfn> is a record with the following fields:
1. Let _p_ be the result of transforming RequestFetch(_loader_, _key_) with a fulfillment handler that, when called with argument _payload_, runs the following steps:
1. Return the result of transforming RequestTranslate(_loader_, _key_) with a fulfillment handler that, when called with argument _source_, runs the following steps:
1. // TODO: metadata
1. Let _p1_ be the result of promise-calling _hook_(_key_, _payload_, _source_).
1. Let _p1_ be the result of promise-calling _hook_(_key_, _source_).
1. Return the result of transforming _p1_ with a fulfillment handler that, when called with argument _optionalInstance_, runs the following steps:
1. Let _status_ be CommitInstantiated(_loader_, _entry_, _optionalInstance_, _source_).
1. ReturnIfAbrupt(_status_).
Expand Down

0 comments on commit fe60901

Please sign in to comment.