01 2011 档案
datejs获取日期是星期几
摘要:Date.parse('2011-1-24').getDayName();//Monday 阅读全文
posted @ 2011-01-24 13:44 刘卿 阅读(850) 评论(0) 推荐(0)
JS 游戏引擎开发库
摘要:这里有一个网址收集了关于JS游戏引擎开发库的一个列表,转过来。关于使用JS和HTML5做的一些小游戏,可参见《HTML5 小游戏展示》 游戏引擎 NameLatest ReleaseLicenseTypeNotes The Render Engine1.5.3MIT跨浏览器; 大规模 API; 开源. 2 gameQuery0.5.1CC BY-SA 2.5和 jQuery 一起使用 gTile0... 阅读全文
posted @ 2011-01-20 11:52 刘卿 阅读(887) 评论(0) 推荐(0)
冒泡算法
摘要:var objCxMsg=[{'startDay':startDay,'endDay':endDay,'dantian':dantian,'zhekou':zhekou},{'startDay':startDay,'endDay':endDay,'dantian':dantian,'zhekou':zhekou}];objCxMsg.bubbleSort(function(x,y){return ... 阅读全文
posted @ 2011-01-07 16:46 刘卿 阅读(149) 评论(0) 推荐(0)