摘要: HTML css paginator.js 调用 阅读全文
posted @ 2017-08-23 15:29 famCc 阅读(272) 评论(0) 推荐(0) 编辑
摘要: css js 阅读全文
posted @ 2017-08-23 11:41 famCc 阅读(202) 评论(0) 推荐(0) 编辑
摘要: css js 阅读全文
posted @ 2017-08-23 11:39 famCc 阅读(175) 评论(0) 推荐(0) 编辑
摘要: css js 阅读全文
posted @ 2017-08-23 11:35 famCc 阅读(128) 评论(0) 推荐(0) 编辑
摘要: window.operateEvents = { 'click .use': function (e, value, row, index) { console.log('useClick') }, 'click .remove': function (e, value, row, index) { 阅读全文
posted @ 2017-08-22 15:24 famCc 阅读(332) 评论(0) 推荐(0) 编辑
摘要: var Promise = function(){ this.doneList = []; this.failList = []; this.state = 'pending'; }; 阅读全文
posted @ 2017-08-22 15:14 famCc 阅读(83) 评论(0) 推荐(0) 编辑
摘要: 注:配置webpack在第34篇 如何将将jsx文件转换为js文件,33篇有介绍如何babel转换 其实只要一个npm script 就可以了,webpack.config.js并不需要改动 阅读全文
posted @ 2017-08-21 15:53 famCc 阅读(378) 评论(0) 推荐(0) 编辑
摘要: 1.创建项目并生成package.json 生成的package.json webpack.config.js index.html 在index.js里面随便写点什么 调整一下,项目结构大概是这个样子 编译运行 打开index.html 这就完成了一个很简单的webpack配置,基本上到这里没什么 阅读全文
posted @ 2017-08-21 11:39 famCc 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 就是一个简单的web项目 react.js 文件下载地址https://github.com/facebook/react/releases 我下载的是最新的15.6 另外还需要安装jsx语法的tranformer,sx文件转换为js文件 具体步骤如下 build.bat(转译命令,双击运行) in 阅读全文
posted @ 2017-08-17 11:07 famCc 阅读(176) 评论(0) 推荐(0) 编辑
摘要: js /* loader.js version:1.0 author:lgw */(function($) { "use strict"; $.fn.loader = function(options) { return this.each(function(e) { var that = $(th 阅读全文
posted @ 2017-08-16 13:32 famCc 阅读(157) 评论(0) 推荐(0) 编辑