2016年12月26日

es6 新特性2

摘要: es6其他几个非常有用的新特性。 import export 这两个家伙对应的就是es6自己的module功能。 我们之前写的Javascript一直都没有模块化的体系,无法将一个庞大的js工程拆分成一个个功能相对独立但相互依赖的小工程,再用一种简单的方法把这些小工程连接在一起。 这有可能导致两个问 阅读全文

posted @ 2016-12-26 12:53 飞旋的留恋-ing 阅读(222) 评论(0) 推荐(0)

ES6 新特性

摘要: ECMAScript 6(以下简称ES6)是JavaScript语言的下一代标准。因为当前版本的ES6是在2015年发布的,所以又称ECMAScript 2015。 也就是说,ES6就是ES2015。 虽然目前并不是所有浏览器都能兼容ES6全部特性,但越来越多的程序员在实际项目当中已经开始使用ES6 阅读全文

posted @ 2016-12-26 12:51 飞旋的留恋-ing 阅读(187) 评论(0) 推荐(0)

2016年12月20日

移动端滑屏组件

摘要: https://github.com/lihefen/slide.git https://lihefen.github.io/slide/slide/index.html slide.js /** * * @authors Your Name (you@example.org) * @date 20 阅读全文

posted @ 2016-12-20 18:47 飞旋的留恋-ing 阅读(303) 评论(0) 推荐(0)

2016年12月15日

es6学习笔记

摘要: class Point { constructor(x, y) { this.x = x; this.y = y; } static classMethod() { console.log('fathor jt:hello'); } } class ColorPoint extends Point 阅读全文

posted @ 2016-12-15 13:07 飞旋的留恋-ing 阅读(96) 评论(0) 推荐(0)

2016年12月14日

js ajax php分页组件

摘要: github https://github.com/lihefen/pageList html页面 <!DOCTYPE html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge 阅读全文

posted @ 2016-12-14 21:26 飞旋的留恋-ing 阅读(210) 评论(0) 推荐(0)

2016年12月13日

正则笔记一

摘要: i --执行忽略大小写的匹配 2 g --执行全局匹配(可以查看所有的匹配而不是只找到第一个匹配后就停止) 3 m --执行多行匹配 阅读全文

posted @ 2016-12-13 14:06 飞旋的留恋-ing 阅读(114) 评论(0) 推荐(0)

vue vue-cli安装

摘要: npm 更新 cnpm install -g npm Vue 的基本用法 Vue 相比于 React 和 Angular 容易上手多了,因此我对 Vue 的学习主要以文档为主,视频为辅(只有像我这种菜鸟才看视频教程,真正的牛人文档瞄几眼就会了(-_-#))。 Vue 相比于 React 和 Angu 阅读全文

posted @ 2016-12-13 13:17 飞旋的留恋-ing 阅读(233) 评论(0) 推荐(0)

对话框组件 弹窗组件

摘要: jrDialog.js (function($){ $.extend({ jrDialog:function(options) { this.options = $.extend({ content: "", // 内容 dialogType: 1, // 1:为 confirm 的自传内容 2:为 阅读全文

posted @ 2016-12-13 10:41 飞旋的留恋-ing 阅读(180) 评论(0) 推荐(0)

2016年12月4日

php ajax 交互

摘要: html 页面 <body> <button id="oBtn">点击我</button> <script type="text/javascript" src="jquery-1.7.2.min.js"></script> <script type="text/javascript"> $('#o 阅读全文

posted @ 2016-12-04 00:57 飞旋的留恋-ing 阅读(2502) 评论(0) 推荐(0)

2016年12月1日

左右等高布局

摘要: <!DOCTYPE html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><title>Examples</title><meta name="desc 阅读全文

posted @ 2016-12-01 13:34 飞旋的留恋-ing 阅读(116) 评论(0) 推荐(0)

导航