上一页 1 ··· 68 69 70 71 72 73 74 75 76 ··· 198 下一页
摘要: 一、对象方式:减少对全局变量的污染 简单而常用的方法 二、私有空间划分:减少对全局变量的污染 三、自执行函数方式:减少对全局变量的污染 方便维护和在外部进行扩展 相对较为流行的做法。 原则:高内聚,低耦合! // 开闭原则,对新增开放,对修改关闭; 四、 依赖第三方的方式:减少对全局变量的污染 方便 阅读全文
posted @ 2017-06-15 17:07 Shimily 阅读(1161) 评论(0) 推荐(0)
摘要: 源码下载 http://files.cnblogs.com/files/shimily/jquery-pretty-radio-checkbox.rar 阅读全文
posted @ 2017-06-09 11:39 Shimily 阅读(1295) 评论(1) 推荐(0)
摘要: 游戏引擎白鹭 https://www.egret.com/ http://developer.egret.com/cn/ http://developer.egret.com/cn/example/page/index#010-disp-basic 阅读全文
posted @ 2017-05-27 15:27 Shimily 阅读(127) 评论(0) 推荐(0)
摘要: 通过给最外层添加绝对定位和translate(-50%,-50%) scale(ratio)来实现居中且适度缩放。 阅读全文
posted @ 2017-05-25 09:39 Shimily 阅读(1442) 评论(0) 推荐(0)
上一页 1 ··· 68 69 70 71 72 73 74 75 76 ··· 198 下一页