本月博客排行
-
第1名
龙儿筝 -
第2名
zysnba -
第3名
johnsmith9th - wy_19921005
- sgqt
年度博客排行
-
第1名
宏天软件 -
第2名
青否云后端云 -
第3名
龙儿筝 - gashero
- wallimn
- vipbooks
- wy_19921005
- benladeng5225
- fantaxy025025
- javashop
- qepwqnp
- e_e
- 解宜然
- zysnba
- ssydxa219
- sam123456gz
- ranbuijj
- arpenker
- tanling8334
- kaizi1992
- sichunli_030
- xpenxpen
- gaojingsong
- wiseboyloves
- xiangjie88
- ganxueyun
- xyuma
- wangchen.ily
- jh108020
- zxq_2017
- jbosscn
- lemonhandsome
- luxurioust
- Xeden
- lzyfn123
- forestqqqq
- zhanjia
- nychen2000
- ajinn
- wjianwei666
- johnsmith9th
- hanbaohong
- daizj
- 喧嚣求静
- silverend
- mwhgJava
- kingwell.leng
- lchb139128
- lich0079
- kristy_yy
最新文章列表
sass之triangle
@mixin triangle($direction,$size,$borderColor) {
content: "";
height: 0;
width: 0;
@if $direction == left {
border-right: $size solid $border ...
jade入门系列之mixin
jade如何处理mixin:
mixin people(name,job)
li 年龄:#{name} 工作: #{job}
ul
+people("zhangyaochun","fe")
+people("zhangsan","designer" ...
Item 18: Prefer interfaces to abstract classes
1. Existing classes can be easily retrofitted to implement a new interface.
2. Interfaces are ideal for defining mixins.
3. A mixin is a type that a class can implement in addition to its ...
「译」你的 mixin 兼容 ECMAScript 5 吗?
原文:Are your mixins ECMAScript 5 compatible?
作者:Nicholas C. Zakas
译文:你的 mixin 兼容 ECMAScript 5 吗?
译者:justjavac
好久没更新博客了,今天在 nczonline 看 ...
extjs mixin example
//1. Define our simple mixin class called HasCamera with a single //method called takePhoto:
Ext.define('HasCamera', {
takePhoto: function(){
alert('Say Cheese! .... Click!');
}
});
//2. Define ...
Class Extension Mixin
module MyModule
def b_method
end
end
class MyClass
include MyModule
end
puts MyClass.b_method
# undefined method `b_method' for MyClass:Class (NoMethodError)
当一个class引 ...
Chapter 15. Generics -- Thinking in Java
1) Generics are one of the more significant changes in Java SE5. Generics implement the concept of parameterized types, which allow multiple types. The term "generic" means "pertaining ...