Skip to content

added optional githubHostname parameter - #7

Merged
creationix merged 3 commits into
creationix:masterfrom
rravuri:master
Mar 5, 2015
Merged

creationix merged 3 commits into
creationix:masterfrom
rravuri:master

Conversation

@rravuri

@rravuri rravuri commented Feb 26, 2015

Copy link
Copy Markdown
Contributor

This allows api.github.com to be changed to point to enterprise github implementations.
for example
require('js-github/mixins/github-db')(repo, githubName, githubToken, 'https://github.example.com/api/v3')

This allows api.github.com to be changed to point to enterprise github implementations
Comment thread lib/xhr-node.js Outdated

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

can we move the require outside as:

var urlParse = require('url').parse;

a the top of the file?

@creationix

Copy link
Copy Markdown
Owner

Just a few nits about style, but good otherwise.

@rravuri

rravuri commented Mar 4, 2015

Copy link
Copy Markdown
Contributor Author

Tim, can you please accept this pull request so that I use the package from npm

creationix added a commit that referenced this pull request Mar 5, 2015
added optional githubHostname parameter
@creationix
creationix merged commit d9381cc into creationix:master Mar 5, 2015
@rravuri

rravuri commented Mar 5, 2015

Copy link
Copy Markdown
Contributor Author

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants