摘要: 一、安装环境1、先安装Ruby,下载地址:http://download.csdn.net/detail/hzf2257/3334439。安装注意事项如下图,装在C盘会比较好,装其它盘也可以。2、打开Ruby的命令符面板(不是window自带的命令符面板),输入: gem install haml ... 阅读全文
posted @ 2012-11-23 17:15 月月光 阅读(359) 评论(0) 推荐(0) 编辑
摘要: var base = function () {}; base.prototype = { base_a: function(msg) { console.log(msg); }, base_b: function(m, n) {... 阅读全文
posted @ 2012-11-22 09:59 月月光 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://blog.nemikor.com/2010/05/15/building-stateful-jquery-plugins/一空白,jQuery UI 实现一套更加先进的插件系统。 它可以管理状态,允许通过一个插件暴露多个函数,并提供多个扩展点。 这套系统被称为 widget ... 阅读全文
posted @ 2012-10-22 16:45 月月光 阅读(214) 评论(0) 推荐(0) 编辑