Skip to content

Tags: material-motion/indefinite-observable-js

Tags

phabricator/diff/11936

Toggle phabricator/diff/11936's commit message
[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.

phabricator/diff/11917

Toggle phabricator/diff/11917's commit message
[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

phabricator/diff/11916

Toggle phabricator/diff/11916's commit message
[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

phabricator/base/11936

Toggle phabricator/base/11936's commit message
v2.0.0

phabricator/diff/11914

Toggle phabricator/diff/11914's commit message
[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

phabricator/diff/11895

Toggle phabricator/diff/11895's commit message
[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

phabricator/diff/11894

Toggle phabricator/diff/11894's commit message
[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

phabricator/diff/11893

Toggle phabricator/diff/11893's commit message
[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