Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

docs: update examples #2319

Merged
merged 19 commits into from
Aug 2, 2019
Merged

docs: update examples #2319

merged 19 commits into from
Aug 2, 2019

Conversation

alanshaw
Copy link
Member

@alanshaw alanshaw commented Aug 1, 2019

Since I was going through these anyway to ensure they work with 0.37 I've updated the examples to use the new IPFS.create constructor and switched to using the promised API so that we onboard new users to using promises and minimise the disruption caused when #1670 bubbles up to here.

License: MIT
Signed-off-by: Alan Shaw <[email protected]>
License: MIT
Signed-off-by: Alan Shaw <[email protected]>
License: MIT
Signed-off-by: Alan Shaw <[email protected]>
License: MIT
Signed-off-by: Alan Shaw <[email protected]>
License: MIT
Signed-off-by: Alan Shaw <[email protected]>
License: MIT
Signed-off-by: Alan Shaw <[email protected]>
License: MIT
Signed-off-by: Alan Shaw <[email protected]>
License: MIT
Signed-off-by: Alan Shaw <[email protected]>
License: MIT
Signed-off-by: Alan Shaw <[email protected]>
License: MIT
Signed-off-by: Alan Shaw <[email protected]>
License: MIT
Signed-off-by: Alan Shaw <[email protected]>
License: MIT
Signed-off-by: Alan Shaw <[email protected]>
License: MIT
Signed-off-by: Alan Shaw <[email protected]>
License: MIT
Signed-off-by: Alan Shaw <[email protected]>
License: MIT
Signed-off-by: Alan Shaw <[email protected]>
@alanshaw alanshaw marked this pull request as ready for review August 2, 2019 12:03
@alanshaw alanshaw mentioned this pull request Aug 2, 2019
54 tasks
Copy link
Member

@vmx vmx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There you go.

examples/browser-script-tag/index.html Show resolved Hide resolved
examples/browser-video-streaming/index.html Outdated Show resolved Hide resolved
examples/exchange-files-in-browser/public/app.js Outdated Show resolved Hide resolved
examples/exchange-files-in-browser/public/app.js Outdated Show resolved Hide resolved
examples/exchange-files-in-browser/public/app.js Outdated Show resolved Hide resolved
examples/traverse-ipld-graphs/create-node.js Outdated Show resolved Hide resolved
examples/traverse-ipld-graphs/eth.js Show resolved Hide resolved
examples/traverse-ipld-graphs/eth.js Outdated Show resolved Hide resolved
examples/traverse-ipld-graphs/git.js Show resolved Hide resolved
License: MIT
Signed-off-by: Alan Shaw <[email protected]>
Copy link
Member

@vasco-santos vasco-santos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@alanshaw alanshaw merged commit 329faaf into master Aug 2, 2019
@alanshaw alanshaw deleted the docs/update-examples branch August 2, 2019 16:24
oliveriosousa pushed a commit to oliveriosousa/js-ipfs that referenced this pull request Jul 26, 2021
Since I was going through these anyway to ensure they work with [0.37](ipfs#2192) I've updated the examples to use the new [`IPFS.create` constructor](https://github.com/ipfs/js-ipfs#ipfs-constructor) and switched to using the promised API so that we onboard new users to using promises and minimise the disruption caused when ipfs#1670 bubbles up to here.

License: MIT
Signed-off-by: Alan Shaw <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants