Skip to content

Conversation

smcatala
Copy link
Member

objective: facilitate import from client-code with dom types

smcatala added 30 commits July 20, 2016 00:05
…liance

* extract class 'Index' into a dedicated 'index-generator' module dependency
to allow mocking.
* 100% coverage of IndexedQueue code
* modify argument invariants of valid service method call accordingly
* add unit test for undefined args property
* simplify message handling in ServiceProxy
* modify WorkerService to comply with ServiceProxy message format
* update WorkerService unit tests accordingly
* refactor message-related interfaces
* refactor proxy method
* prune unused functions
…ingly

* extract utility functions into common src/lib/utils.ts
* improve managent of argument invariants
* add ServiceProxy configuration options for dependency injection
* add duck-type based type validation functions for Worker, IndexedQueue
  and IndexGenerator
* remove generic type from IndexedQueue, not required for ServiceProxy
  implementation
* modify handling of index conflict in IndexedQueue#push,
  allowing multiple attempts to push an entry into the queue
  with successive calls to push
* remove IndexGenerator#undo, not required any longer
* add IndexGenerator#value instead, only required for IndexGenerator testing
* modify unit tests accordingly
* remove `worker` property from `opts` argument
* rename `path` argument to `worker`, which can now be a {string} or
  {Worker}
* modify dependents accordingly, including README example
* add support for require() in worker script through `webworkify`
* add unit tests to validate new use-case with webworkify
* add webworkify section in README
* rebase example code on `src` rather than `dist`, update build scripts
  accordingly
* fix incorrect method binding in WorkerServiceClass#callTargetMethod
* add support for 'methods' option in ServiceBinderSpec
* include details on new 'methods' option in README
* bump package version and update corresponding CDN links in README
* add support for injecting revokeObjectURL mock in place of
  URL#revokeObjectURL
* remove unreachable code
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling fb6c0fc on smcatala:master into 400fbe3 on ZenyWay:master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling d4f93cb on smcatala:master into 400fbe3 on ZenyWay:master.

@smcatala
Copy link
Member Author

b00cfe3

@smcatala smcatala closed this Jun 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants