Tags: material-motion/indefinite-observable-js
Tags
[changed] `package.browser` to `package.unpkg` `browser` refers to which APIs a library uses. The `module` build already uses browser-safe APIs, except for `import` statements. Any tool that cares about the `browser` field will be able to resolve `import` statements. CDNs like `unpkg` will serve the JS file directly. This change ensures they still have a bundled version to serve, without potentially duplicating dependencies when we're bundled downstream.
[added] `browser` and `module` bundles Summary: Previously, `indefinite-observable.js` was a script that wrote `IndefiniteObservable` to the global scope. Now, it's a module that exports `IndefiniteObservable` and imports `symbol-observable`. The previous `indefinite-observable.js` has been replaced with `indefinite-observable.bundle.js`. It still inlines `symbol-observable`, but also exports `IndefiniteObservable` rather than writing to the global scope. Reviewers: O2 Material Motion, O3 Material JavaScript platform reviewers, #material_motion Tags: #material_motion Differential Revision: http://codereview.cc/D3496
[added] `browser` and `module` bundles Summary: Previously, `indefinite-observable.js` was a script that wrote `IndefiniteObservable` to the global scope. Now, it's a module that exports `IndefiniteObservable` and imports `symbol-observable`. The previous `indefinite-observable.js` has been replaced with `indefinite-observable.bundle.js`. It still inlines `symbol-observable`, but also exports `IndefiniteObservable` rather than writing to the global scope. Reviewers: O2 Material Motion, O3 Material JavaScript platform reviewers, #material_motion Tags: #material_motion Differential Revision: http://codereview.cc/D3496
[added] `browser` and `module` bundles Summary: Previously, `indefinite-observable.js` was a script that wrote `IndefiniteObservable` to the global scope. Now, it's a module that exports `IndefiniteObservable` and imports `symbol-observable`. The previous `indefinite-observable.js` has been replaced with `indefinite-observable.bundle.js`. It still inlines `symbol-observable`, but also exports `IndefiniteObservable` rather than writing to the global scope. Reviewers: O2 Material Motion, O3 Material JavaScript platform reviewers, #material_motion Tags: #material_motion Differential Revision: http://codereview.cc/D3496
[added] `browser` and `module` bundles Summary: Previously, `indefinite-observable.js` was a script that wrote `IndefiniteObservable` to the global scope. Now, it's a module that exports `IndefiniteObservable` and imports `symbol-observable`. The previous `indefinite-observable.js` has been replaced with `indefinite-observable.bundle.js`. It still inlines `symbol-observable`, but also exports `IndefiniteObservable` rather than writing to the global scope. Reviewers: O2 Material Motion, O3 Material JavaScript platform reviewers, #material_motion Tags: #material_motion Differential Revision: http://codereview.cc/D3496
[added] `browser` and `module` bundles Summary: Previously, `indefinite-observable.js` was a script that wrote `IndefiniteObservable` to the global scope. Now, it's a module that exports `IndefiniteObservable` and imports `symbol-observable`. The previous `indefinite-observable.js` has been replaced with `indefinite-observable.bundle.js`. It still inlines `symbol-observable`, but also exports `IndefiniteObservable` rather than writing to the global scope. Reviewers: O2 Material Motion, O3 Material JavaScript platform reviewers, #material_motion Tags: #material_motion Differential Revision: http://codereview.cc/D3496
[added] `browser` and `module` bundles Summary: Previously, `indefinite-observable.js` was a script that wrote `IndefiniteObservable` to the global scope. Now, it's a module that exports `IndefiniteObservable` and imports `symbol-observable`. The previous `indefinite-observable.js` has been replaced with `indefinite-observable.bundle.js`. It still inlines `symbol-observable`, but also exports `IndefiniteObservable` rather than writing to the global scope. Reviewers: O2 Material Motion, O3 Material JavaScript platform reviewers, #material_motion Tags: #material_motion Differential Revision: http://codereview.cc/D3496
PreviousNext