Skip to content
This repository has been archived by the owner on Oct 1, 2018. It is now read-only.

docs(operators): add documentation for operator map #153

Merged
merged 4 commits into from
Nov 27, 2017

Conversation

natmegs
Copy link
Contributor

@natmegs natmegs commented Nov 18, 2017

Add initial version of documentation for creation operator 'empty'. WIP since JSbin is down and cannot test embedded link.
closes #117

@codecov-io
Copy link

codecov-io commented Nov 18, 2017

Codecov Report

Merging #153 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #153   +/-   ##
=======================================
  Coverage   91.02%   91.02%           
=======================================
  Files           7        7           
  Lines          78       78           
  Branches        5        5           
=======================================
  Hits           71       71           
  Misses          6        6           
  Partials        1        1

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8e84e13...0ecd889. Read the comment docs.

@ladyleet
Copy link
Member

ladyleet commented Nov 19, 2017

@natmegs 👍

`,
externalLink: {
platform: 'JSBin',
url: 'http://jsbin.com/geyokey/embed?js,console'
Copy link
Collaborator

Choose a reason for hiding this comment

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

@natmegs I am seeing this error in JS Bin. Please import library in the bin and update link.

"ReferenceError: Rx is not defined
    at geyokey.js:1:19
    at https://static.jsbin.com/js/prod/runner-4.1.1.min.js:1:13850
    at https://static.jsbin.com/js/prod/runner-4.1.1.min.js:1:10792"

Copy link
Member

@ladyleet ladyleet Nov 20, 2017

Choose a reason for hiding this comment

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

thx for helping review this @sumitarora (@natmegs super looking forward to your first PR in this repo!)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for the feedback! I will fix the bin this evening :)

@ladyleet
Copy link
Member

thx for helping review @sumitarora! @natmegs let us know how we can help you get to the finish line!

@natmegs
Copy link
Contributor Author

natmegs commented Nov 21, 2017

@ladyleet I pushed a change for the JSbin last night! Is there anything left that I've forgotten? Thanks!

@ladyleet
Copy link
Member

@natmegs can you go ahead and rebase? @sumitarora anything else?

@natmegs
Copy link
Contributor Author

natmegs commented Nov 22, 2017

@ladyleet @sumitarora Alright, I believe the branch is now up to date. If any other changes are needed I'll get them fixed up asap. Thanks for all the help with this one. The next one will be much smoother now!

'operatorType': 'transformation'
name: 'map',
operatorType: 'transformation',
signature: 'public map(project: Function, thisArg: any): Observable',
Copy link
Contributor

Choose a reason for hiding this comment

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

You could mark optional parameters with question mark:

public map(project: Function, thisArg?: any)

Copy link
Collaborator

Choose a reason for hiding this comment

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

There is an issue to discuss this #168 so this PR should be good to go.

@ashwin-sureshkumar ashwin-sureshkumar merged commit 989fd3a into ReactiveX:master Nov 27, 2017
@ladyleet
Copy link
Member

Woot thanks so much @natmegs for your contribution! :)

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.

Add docs for operator : transformation - map
6 participants