hn-button

所属分类:系统/网络安全
开发工具:JavaScript
文件大小:0KB
下载次数:0
上传日期:2014-03-25 20:58:44
上 传 者sh-1993
说明:  黑客新闻按钮背后的代码。
(The code behind the Hacker News button.)

文件列表:
Makefile (524, 2014-03-25)
Procfile (18, 2014-03-25)
component.json (168, 2014-03-25)
index.js (521, 2014-03-25)
lib/ (0, 2014-03-25)
lib/iframe/ (0, 2014-03-25)
lib/iframe/Makefile (133, 2014-03-25)
lib/iframe/hn.js (1152, 2014-03-25)
lib/iframe/icon.ai (268288, 2014-03-25)
lib/iframe/icon.png (1322, 2014-03-25)
lib/iframe/icon.svg (763, 2014-03-25)
lib/iframe/index.js (1418, 2014-03-25)
lib/iframe/script.js (1130, 2014-03-25)
lib/iframe/style.css (9158, 2014-03-25)
lib/iframe/style.sass (8744, 2014-03-25)
lib/iframe/template.html (477, 2014-03-25)
lib/iframe/template.min.html (9016, 2014-03-25)
lib/site/ (0, 2014-03-25)
lib/site/component.json (684, 2014-03-25)
lib/site/favicon-16.png (1053, 2014-03-25)
lib/site/favicon-32.png (1067, 2014-03-25)
lib/site/favicon.ico (6518, 2014-03-25)
lib/site/favicon.iconsproj (6887, 2014-03-25)
lib/site/favicon.psd (2028309, 2014-03-25)
lib/site/index.html (6393, 2014-03-25)
lib/site/index.js (547, 2014-03-25)
lib/site/site.css (5615, 2014-03-25)
lib/site/site.js (2226, 2014-03-25)
package.json (269, 2014-03-25)
public/ (0, 2014-03-25)
public/build.css (50312, 2014-03-25)
public/build.js (323659, 2014-03-25)
public/hn-button.js (17140, 2014-03-25)
public/hn-button.min.js (9525, 2014-03-25)
public/ianstormtaylor-clipboard-dom/ (0, 2014-03-25)
public/ianstormtaylor-clipboard-dom/ZeroClipboard.swf (1352, 2014-03-25)
public/logo-component/ (0, 2014-03-25)
public/logo-component/images/ (0, 2014-03-25)
... ...

# [hn-button.com](http://www.hn-button.com) This is the site behind the Hacker News button. It's split up into two parts: - The `iframe` that loads on all the pages where you add the button. - And the the `site` itself where you make your own button. It also relies on a few key components: - [`hn-button.js`](https://github.com/segmentio/hn-button.js) is the library that gets asynchronously loaded to initialize all of the Hacker News buttons on your page. - [`hn-button-snippet`](https://github.com/segmentio/hn-button-snippet) is a simple component for rendering the HTML snippet for the Hacker News button. It's all open-source, so feel free to poke around and see what's going on. Even submit a pull request if you see anything funky :) ## License (MIT) Copyright (c) 2013 Segment.io friends@segment.io Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

近期下载者

相关文件


收藏者