-
Notifications
You must be signed in to change notification settings - Fork 3k
refactor(symbol): replace symbol polyfill to separate package #1637
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@kwonoj FYI: the issue is resolved and a new version of |
src/Observable.ts
Outdated
| import {IfObservable} from './observable/IfObservable'; | ||
| import {ErrorObservable} from './observable/ErrorObservable'; | ||
|
|
||
| import * as observableSymbol from 'symbol-observable'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nitpick: I prefer $$name for symbols. Can we use $$observable? It's consistent with the rest of the library.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Absolutely, updated per suggestion.
|
So just one nitpick, other than that, it LGTM. |
|
I'll wait travis to be happy before check this in. |
|
Well, right now it looks like CJS will compile, but ES6 will not, for whatever reason. When compiling the ES6 it can't find the module. |
|
Specifically: |
|
Yes, noticed that, thanks for pointing out. Looking into it now.. |
|
Just fyi, |
| "typings": "./dist/cjs/Rx.d.ts" | ||
| "typings": "./dist/cjs/Rx.d.ts", | ||
| "dependencies": { | ||
| "symbol-observable": "^0.2.2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've changed this to dependencies instead of devDependencies since it's required dependency not only dev perspective.
|
@Blesh - I've updated 2 parts more,
and I believe both need to be approved. Will leave this to get suggestions & corrections if there's wrong I did. |
|
the use case for the system bundles is to provide tool-free usage, so it seems to be it would be simpler just to include it, as its unlikely to be provided elsewhere, no? |
: Yes, I wasn't sure if current change's legit so would like to ask to confirm it. I'll try to include it as well, my initial attempt wasn't successful while resolving external modules. |
|
Updated PR as suggested. |
|
Merged with b626d97 . |
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Description:
This PR replaces existing symbol declaration into
symbol-observablepackage.Related issue (if exists):
closes #1636
Notes
Blocked by benlesh/symbol-observable#4 .