-
-
Notifications
You must be signed in to change notification settings - Fork 421
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(isolate): allow a scopes-per-channel object as second arg
isolate(component, scopes) now allows scopes to be an object as a map from key to scope, allowing giving a different scope for each isolation channel. For instance, you can give the scope 'foo' to the DOM source/sink and the scope 'bar' to the HTTP source/sink. This scopes-per-channel also accepts the wildcard scope under the key '*', which will work as the default isolation scope for channels not specified in the scopes-per-channel object. If the wildcard is not present, an arbitrary scope string will be generated. ISSUES CLOSED: 526
- Loading branch information
Showing
2 changed files
with
274 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"Isolateable" is not a word 😄
http://www.dictionary.com/browse/isolatable