本月博客排行
-
第1名
龙儿筝 -
第2名
lerf -
第3名
fantaxy025025 - johnsmith9th
- xiangjie88
- zysnba
年度博客排行
-
第1名
青否云后端云 -
第2名
宏天软件 -
第3名
gashero - wy_19921005
- vipbooks
- benladeng5225
- e_e
- wallimn
- javashop
- ranbuijj
- fantaxy025025
- jickcai
- gengyun12
- zw7534313
- qepwqnp
- 解宜然
- ssydxa219
- zysnba
- sam123456gz
- sichunli_030
- arpenker
- tanling8334
- gaojingsong
- kaizi1992
- xpenxpen
- 龙儿筝
- jh108020
- wiseboyloves
- ganxueyun
- xyuma
- xiangjie88
- wangchen.ily
- Jameslyy
- luxurioust
- lemonhandsome
- mengjichen
- jbosscn
- zxq_2017
- lzyfn123
- nychen2000
- forestqqqq
- wjianwei666
- ajinn
- zhanjia
- siemens800
- Xeden
- hanbaohong
- java-007
- 喧嚣求静
- mwhgJava
最新文章列表
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 ...