看来 jQuery 你已经用得很爽了,想学习如何自己编写插件。非常好,这篇文档正适合你。用插件和方法来扩展 jQuery 非常强大,把最聪明的功能封装到插件中可以为你及团队节省大量开发时间。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var zfbot = { | |
interval:5000, | |
data:null, | |
count:null, | |
started:false, | |
load_jq:function() | |
{ | |
var jq = document.createElement("script"); | |
jq.type = "text/javascript"; | |
jq.src = "http://libs.baidu.com/jquery/1.10.2/jquery.min.js"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git config --global https.proxy http://127.0.0.1:1080 | |
git config --global https.proxy https://127.0.0.1:1080 | |
git config --global --unset http.proxy | |
git config --global --unset https.proxy | |
npm config delete proxy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 贪灵Gollum for Baiduyun, Ver.3.4.4 | |
* 立即执行函数:百度云盘批量转存用户分享。 | |
* | |
* 【特点】 | |
* - 可保持或无视原分享者的目录结构。 | |
* - 支持差分转存。 | |
* - 自动分解转存,可突破单次转存总文件数5000的限制。 | |
* - 可在分享主页下,进入某文件夹来转存其下级子文件夹。 | |
* - 支持专辑转存。 |