Skip to content

Instantly share code, notes, and snippets.

View elrrrrrrr's full-sized avatar
🐼
Hope it was happy

elrrrrrrr elrrrrrrr

🐼
Hope it was happy
  • alipay.com
  • Shanghai
View GitHub Profile
@elrrrrrrr
elrrrrrrr / 处理条件判断
Created August 10, 2014 05:04
Jade gist in huiyin
//jade 通过缩进行条件判断,所以需要使用三元表达式进行简单的class添加
ul.ul-con(class=isAdd?'add':'disadd')
@elrrrrrrr
elrrrrrrr / Hoisting
Last active August 29, 2015 14:05
javascript
var v='Hello World';
(function(){
alert(v);
var v='I love you';
})()
var v='Hello World';
(function(){
var v;
alert(v);