0x-r4bbit / angular-github-adapter Goto Github PK
View Code? Open in Web Editor NEWAngular adapter module for github.js
License: Do What The F*ck You Want To Public License
Angular adapter module for github.js
License: Do What The F*ck You Want To Public License
Hi! I'm testing this adapter and it's amazing. Now I'm trying to build a simple login app using it, and once the user is logged in, list all the repositories that the user (in this case, me) has, including the privated ones.
But I don't know how to be sure if I'm successfully authenticated or when my username or password are wrong, to return a message to html. There is a way to know it?
I'm currently using the "setCreds('myUsername', 'myPassword', 'basic')" method and a service for auth purposes. The code for that method, creates a Github() instance but never returns it neither a boolean value to confirm that everything is ok or not.
Thanks in advance :)
Could you include main field in bower.json?
Could you please make a new release to include the fix for listPulls. Thanks!
Please create new release as there's new code available :)
Hi, and thanks for the adapter. I've incorporated into one of my projects and thought I would give a little feedback.
Let me know which approach you'd like to take here and I'll be happy to open a pull request.
$githubProvider
and then later says you can now access $github
within your controller and services. Using angular.module('myApp').config(function ($githubProvider) {
doesn't actually work. You get an Error: Unknown provider: $githubProviderProvider <- $githubProvider
if you try. So I would suggest a change to the README for that. I'll open a pull request for you on that and try to follow your guidelines. (see #3)A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.