码迷,mamicode.com
首页 >  
搜索关键字:cti    ( 37597个结果
jQuery技术内幕预览版.pdf3
jQuery.fn.init(selector,context,rootjQuery):构造函数 jQuery.fn.init() 负责解析参数 selector 和 context 的类型,并执行相应的逻辑,最后返回 jQuery.fn.init() 的实例,共有12个有效分支源码分析定义jQue...
分类:Web程序   时间:2014-08-05 05:17:58    阅读次数:342
Metric Space
Metric spaces is a large class of spaces on which the closeness of two points is depicted by a distance function, or called a metric. Metric spaces ar...
分类:其他好文   时间:2014-08-05 03:04:28    阅读次数:220
rails局部模板 render
file是以_开头命名的文件,比如_cart.html.erb这样就可以用render来调用了还可以传参数比如rails 2.0p87传一个集合render(:partial => "cart_item", :collection => @cart.items)这样局部模板就得到了一个变量如cart...
分类:其他好文   时间:2014-08-05 03:03:38    阅读次数:235
Javascript面向对象拖拽
function Drag(id){ var _this=this; this.disX=0; this.disY=0; this.oDiv=document.getElementById(id); this.oDiv.onmousedown=funct...
分类:编程语言   时间:2014-08-05 03:01:58    阅读次数:187
聚美第四天总结
今天我主要做了两个方面的工作:1.写了一个测试用例,新建了相应的替换文件,使测试用例完整可用。2.将完成的测试用例提交到了远程版本库,并下载,运行了测试文件。在完成以上工作的过程中,我遇到了不少的问题,有许多问题在尹哥的耐心讲解下化解了,还有一些问题还没有得到解决:1.测试用例编写的流程:用js编写...
分类:其他好文   时间:2014-08-05 03:00:38    阅读次数:178
Python 计算程序运行时间
import timedef start_sleep(): time.sleep(3) if __name__ == '__main__': #The start time start = time.clock() #A program which will run for 3 ...
分类:编程语言   时间:2014-08-05 02:59:08    阅读次数:256
学习日记之备忘录模式和继承、面向对象设计
备忘录模式(Memento):在不破坏封装性的前提下,捕获一个对象的内部状态,并在该对象之外保存这个状态。这样以后就可将该对象恢复到原先保存的状态。 (1),把要保存的细节给封装在 Memento 中,那一天要更改保存的细节也不用影响客户端了。 (2),Memento 模式比较适用于功能比较复杂的,但需要维护或记录属性历史的类,需要保存的属性只是众多属性中的一小部分时,Originator 可...
分类:其他好文   时间:2014-08-05 00:49:28    阅读次数:303
WebGIS开发技术杂谈
开发技术杂谈,学习总结...
分类:Web程序   时间:2014-08-05 00:42:28    阅读次数:363
优先队列
1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 8 // Empty the priority queue and print its contents. 9 templat...
分类:其他好文   时间:2014-08-05 00:38:18    阅读次数:203
.NET MVC强类型参数排除和包含属性
MVC接收强类型对象时排除或只接收某几个属性时可使用Bind特性:Bind(Include="属性");如果相包含多个属性可以用逗号分割符分开:Bind(Include="属性1,属性2,属性n")同理,如果想排除一个或多个属性可以使用Bind(Exclude="属性") / Bind(Exclud...
分类:Web程序   时间:2014-08-05 00:37:08    阅读次数:246
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!