joelsutherland / github-jquery-repo-widget Goto Github PK
View Code? Open in Web Editor NEWA good looking repo widget to add to your website.
Home Page: http://www.newmediacampaigns.com/blog/a-beautiful-jquery-github-widget
License: MIT License
A good looking repo widget to add to your website.
Home Page: http://www.newmediacampaigns.com/blog/a-beautiful-jquery-github-widget
License: MIT License
A "}" is missed in css at the end of the style tag
File: jquery.githubRepoWidget.js
Line: 7
When the repository used with the widget doesn't have an address, the widget displays and links to null
.
https://a248.e.akamai.net/assets.github.com/images/icons/public.png is not available anymore, probably it's been gone since they moved to using an icon font.
Does not appear properly in README under
Returns a "not found" after navigating to the URL linked to by the image.
For repositories that haven't defined a homepage URL, the GitHub API returns null for the "homepage" key in the JSON response, which causes the widget to display "null" where the homepage link should be.
I've patched this issue and will be submitting a pull request.
开启插件,typecho所有文章内容不再显示,初步排除了主题的问题,文章标题仍可正常显示
Because the JavaScript getMonth() method uses an array to store the months (starting at a 0 indece), you need to add one to the month to get an accurate month.
I'm very pleased with the way this integrates into my site, but have a request:
Would it be possible to get the extend commit description for the latest commit, so that as well as saying 'Last Commit to the master branch was on', it also gives some information about what that commit was.
Thanks.
There is no way to add a Client ID/Secret.
I get many page views, and 60 calls per hour is the limit.
If you add the ID/Secret, you get 5,000 calls per hour!
Initially it worked fine. I noticed that it shows null in Repo Website Link. So i added website link at github like "http://www.example.com". And now the widget doesn't load, I noticed this "Uncaught TypeError: Cannot read property 'url' of undefined " via Inspect Element in Chrome. Please let me know, if i am doing something wrong.
This repo is very nice. Very thx.
But my website has no jQuery, so I rewrite to https://github.com/hustcc/GitHub-Repo-Widget.js
I hava done:
GitHub-jQuery-Repo-Widget
, and remove jQuery, then get GitHub-Repo-Widget.js
. Do not depends on jQuery or Other
.7.62kb
to 5.41kb
.thanks for you recommendation.
First of all, thanks for the neat widget.
I've modified it a bit to allow reinitialization on AJAX pages, use API caching to prevent rate limits and to include the Travis-CI build status optionally by defining data-travis="true".
See: https://github.com/dcodeIO/dcodeio.github.com/blob/master/assets/js/jquery.githubRepoWidget.min.js
In the wild: http://dcode.io/
Cheers
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.