From 7fc5a58a686bc8380b3d4a6f0c79c88e4633856a Mon Sep 17 00:00:00 2001 From: Marco Breiter Date: Sun, 21 Aug 2016 16:55:42 +0200 Subject: [PATCH 1/2] Align example to match renamed code Change getStarredRepos to listStarredRepos --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ec976fe5..9efefaf8 100644 --- a/README.md +++ b/README.md @@ -88,7 +88,7 @@ me.listNotifications(function(err, notifcations) { }); const clayreimann = gh.getUser('clayreimann'); -clayreimann.getStarredRepos() +clayreimann.listStarredRepos() .then(function({data: reposJson}) { // do stuff with reposJson }); From 90b89ff6bde5fa0c91186b071975b8b159de3878 Mon Sep 17 00:00:00 2001 From: Marco Breiter Date: Sun, 21 Aug 2016 17:02:06 +0200 Subject: [PATCH 2/2] Update also other breaking changes from 2.0.0 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9efefaf8..04d7478c 100644 --- a/README.md +++ b/README.md @@ -103,7 +103,7 @@ var gh = new GitHub({ }); var yahoo = gh.getOrganization('yahoo'); -yahoo.getRepos(function(err, repos) { +yahoo.listRepos(function(err, repos) { // look at all the repos! }) ``` pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy