Skip to content

Instantly share code, notes, and snippets.

View defims's full-sized avatar

Long, Wei defims

View GitHub Profile
function onFastClick(element ,handler) {
var delay = 300,
offset = 10,
still = true,
startX = 0,
startY = 0,
touch;
function longClick() {//排除长按
still = false;
}
<!doctype html>
<head>
.a.b{
background : gray;
}
.a.b.c.d.e.f{
background : yellow;
}
</head>
<body>
@defims
defims / curry-callback.html
Created August 1, 2014 14:03
curry callback
<html>
<body>
<style>
script {
display : block;
margin : 1em;
border-radius : .5em;
white-space : pre;
font-family : monospace;
line-height : 1.5em;

PS动画扩展

优势

  • 快速
  • psd集成
  • 成本低

逐帧动画

视频图层

技术峰会总结

活动梳理

  • 派门票
  • 渲染氛围
  • 吸引关注

交互

<!-- modified from http://alex.dojotoolkit.org/08/jscript/lettable.html -->
<html>
<head>
<title>A Crazy Getter/Setter Hack</title>
</head>
<body>
<script language="VBScript" type="text/VBScript">
Function exec_vb_global(code)
ExecuteGlobal(code)
End Function
@defims
defims / PACKAGE.json
Last active June 14, 2016 02:53
classList
{
"name": "classList",
"version": "0.1.0"
}
@defims
defims / PACKAGE.json
Last active June 13, 2016 07:18 — forked from jed/LICENSE.txt
communicate with jsonp
{
"name": "jsonp",
"keywords": ["jsonp", "AJAX", "communication", "get"],
"version": "0.1.0"
}
@defims
defims / PACKAGE.json
Last active June 13, 2016 07:16 — forked from jed/LICENSE.txt
write contextual templates
{
"name": "template",
"keywords": ["template", "HTML", "render"],
"version": "0.1.0"
}