上一页 1 ··· 9 10 11 12 13 14 下一页
摘要: // localStorage util var db ={ set : function(key, obj){ localStorage.setItem(key, JSON.stringify(obj)); }, get : function(key){ return JSON.parse(localStorage.getItem(key)); }, each : fun... 阅读全文
posted @ 2018-06-26 15:52 zhanghui_ming 阅读(448) 评论(0) 推荐(0) 编辑
摘要: * Rectangle继承Shape * 给定一个构造函数 constructor,请完成 alterObjects 方法,将 constructor 的所有实例的 greeting 属性指向给定的 greeting 变量。 input: var C = function(name) {this.n 阅读全文
posted @ 2018-06-21 19:43 zhanghui_ming 阅读(181) 评论(0) 推荐(0) 编辑
摘要: * jQuery ajax FormData 上传文件 template 关键的3个选项: cache: false, processData: false, contentType: false, * demo: alert.js config.js 阅读全文
posted @ 2018-06-21 16:48 zhanghui_ming 阅读(1425) 评论(0) 推荐(0) 编辑
摘要: * Function.prototype.bind // test * Array.prototype.map 阅读全文
posted @ 2018-06-21 11:26 zhanghui_ming 阅读(144) 评论(0) 推荐(0) 编辑
摘要: // https://open.alipay.com/developmentAccess/developmentAccess.htm var $ = window.jQuery; (function() { if (!NodeList.prototype.forEach) { NodeList.prototype.forEach = functio... 阅读全文
posted @ 2018-06-19 15:47 zhanghui_ming 阅读(130) 评论(0) 推荐(0) 编辑
摘要: build.gradle 阅读全文
posted @ 2018-06-17 20:40 zhanghui_ming 阅读(1875) 评论(1) 推荐(0) 编辑
摘要: 在安装好Maven之后,默认的~/.m2目录下是没有maven仓库配置文件settings.xml的,默认使用的是官方的仓库,访问速度会非常慢,我们需要配置下国内的仓库。 创建~/.m2/settings.xml文件,文件内容如下: 其中使用的是阿里云的mirror,国内的下载速度非常快。 阅读全文
posted @ 2018-06-12 10:12 zhanghui_ming 阅读(600) 评论(0) 推荐(0) 编辑
摘要: 页面公共部分以javascript document.write()方式加载 生成的js放到需要的位置 footer.js 放到body底部引入 ... <script src="js/footer.js"></script> </body> php.exe所在文件夹添加到path环境变量, 在命令 阅读全文
posted @ 2018-06-11 18:01 zhanghui_ming 阅读(724) 评论(0) 推荐(0) 编辑
摘要: test: Thinkphp Model 阅读全文
posted @ 2018-06-11 17:57 zhanghui_ming 阅读(459) 评论(0) 推荐(0) 编辑
摘要: 字符串反转 * 如果第二个参数 bUnicode255For1 true,则所有字符长度为 1否则如果字符 Unicode 编码 > 255 则长度为 2 input: 'hello world, 牛客', false output: 17 阅读全文
posted @ 2018-06-11 17:52 zhanghui_ming 阅读(276) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 下一页