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
(function(global) { | |
var _emptyArr = []; | |
var _arrSlice = _emptyArr.slice; | |
/** | |
* 一个简单队列 | |
* @param {[type]} id [description] | |
*/ |
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
(function(window, undefined) { | |
'use strict'; | |
var document = window.document; | |
var setTimeout = window.setTimeout; | |
//本js文件不支持defer等属性,否则计算当前路径会错误 | |
//模块加载的东西,基础js肯定不能defer掉…… | |
var curScriptNode = (function() { | |
var scripts = document.getElementsByTagName('script'); | |
return scripts[scripts.length - 1]; //FF下可以使用DOC.currentScript | |
})(); |
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 bdTemplate = require('./baiduTemplate').template; | |
var iweibo = require('iweibo');//npm install iweibo | |
var Weibo = iweibo.Weibo; | |
var access_token = '2.xxxxx'; | |
iweibo.set({ | |
appkey: 'xxxx', | |
appsecret: 'xxxxx' | |
}); | |
var weibo = new Weibo(access_token, ''); |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/> | |
<title>JS Bin</title> | |
<script src="http://zeptojs.com/zepto.min.js"></script> | |
<style> | |
button{ | |
height: 80px; |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/> | |
<title>ios调起实验 @三水清</title> | |
<script src="http://zeptojs.com/zepto.min.js"></script> | |
<style> | |
button{ | |
height: 80px; |
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 Easing = { | |
get: function(a, b, c, e, d, f, g) { | |
return b + Easing[a](Math.min(e, d), d, f, g) * (c - b) | |
}, | |
getRound: function(a, b, c, e, d, f, g) { | |
return Math.round(Easing.get(a, b, c, e, d, f, g)) | |
}, | |
easeInQuad: function(a, b) { | |
return (a /= b) * a | |
}, |
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
.markdown-here-wrapper { | |
font-size: 16px; | |
line-height: 1.8em; | |
letter-spacing: 0.1em; | |
} | |
pre, code { | |
font-size: 14px; | |
font-family: Roboto, 'Courier New', Consolas, Inconsolata, Courier, monospace; |
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
{"lastUpload":"2020-12-23T07:35:09.263Z","extensionVersion":"v3.4.3"} |
This file has been truncated, but you can view the full file.
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 __WAServiceStartTime__ = Date.now(); | |
(function() { | |
var __exportGlobal__ = {}; | |
var WeixinJSBridge = function(e) { | |
"function" == typeof logxx && logxx("jsbridge start"); | |
var t = "undefined" != typeof __devtoolssubcontext && __devtoolssubcontext; | |
if (e.navigator && e.navigator.userAgent) { | |
var n = e.navigator.userAgent; | |
(n.indexOf("appservice") > -1 || n.indexOf("wechatdevtools") > -1) && (t = !0) | |
} |
This file has been truncated, but you can view the full file.
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 __WAServiceStartTime__ = Date.now(); | |
(function() { | |
var __exportGlobal__ = {}; | |
var WeixinJSBridge = function(e) { | |
"function" == typeof logxx && logxx("jsbridge start"); | |
var t = "undefined" != typeof __devtoolssubcontext && __devtoolssubcontext; | |
if (e.navigator && e.navigator.userAgent) { | |
var n = e.navigator.userAgent; | |
(n.indexOf("appservice") > -1 || n.indexOf("wechatdevtools") > -1) && (t = !0) | |
} |
OlderNewer