梦见世界

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
上一页 1 2 3 4 5 6 7 8 ··· 14 下一页

2015年11月8日

摘要: 1.ng-app使用ng-app声明Angular的边界你可以用ng-app 指令告诉Angular 应该管理页面中的哪一块。如果你正在构建一款纯Angular 应用,那么你应该把ng-app 指令写在 标签中,示例如下:… 这样就会告诉Angular 去管理页面上的所有DOM 元素。如果你有一款现... 阅读全文
posted @ 2015-11-08 20:07 梦见世界 阅读(267) 评论(0) 推荐(0)

2015年11月6日

摘要: 项目 project产品 product状态 status常见 css class关键词:布局类:header, footer, container, main, content, aside, page, section包裹类:wrap, inner区块类:region, block, box结构... 阅读全文
posted @ 2015-11-06 19:57 梦见世界 阅读(139) 评论(0) 推荐(0)

摘要: 原文地址:http://www.ibm.com/developerworks/cn/web/1307_chengfu_serversentevent/服务器推送事件(Server-sent Events)是 HTML 5 规范中的一个组成部分,可以用来从服务端实时推送数据到浏览器端。相对于与之类似的... 阅读全文
posted @ 2015-11-06 17:10 梦见世界 阅读(207) 评论(0) 推荐(0)

2015年10月31日

摘要: 问题:在node.js(v0.10.31)中使用webpack打包less文件时出现以下问题 当前环境是关键:Module build failed: ReferenceError: Promise is not defined问题详述:ERROR in ./~/css-loader!./~/les... 阅读全文
posted @ 2015-10-31 10:30 梦见世界 阅读(2217) 评论(0) 推荐(0)

2015年10月28日

摘要: 原网址:https://facebook.github.io/react/blog/2015/10/07/react-v0.14.html1. 增加了React DOM 包,安装方式npm install --save react react-dom, 它包含了ReactDOM.render, .u... 阅读全文
posted @ 2015-10-28 14:27 梦见世界 阅读(294) 评论(0) 推荐(0)

摘要: 利用 Express 托管静态文件 http://www.expressjs.com.cn/starter/static-files.html 阅读全文
posted @ 2015-10-28 10:44 梦见世界 阅读(159) 评论(0) 推荐(0)

2015年10月24日

摘要: 删除远程分支 git branch -r -d origin/branch-namegit push origin :branch-name拉取远程分支(本地没有该分支)git pull origin 远程分支名:本地分支名 将会新建一个本地分支并拉取 阅读全文
posted @ 2015-10-24 19:27 梦见世界 阅读(163) 评论(0) 推荐(0)

2015年10月23日

摘要: CommonJs 定义的是同步模块加载方案,AMD/CMD定义的是异步模块加载方案CommonJs: 包含两大工具 require() 以及 module.exports module.exports 用于产生一个模块,方法是将在文件末尾加入 module.exports = 该文件内的一... 阅读全文
posted @ 2015-10-23 20:37 梦见世界 阅读(228) 评论(0) 推荐(0)

2015年10月21日

摘要: webpack基础学习:https://github.com/petehunt/webpack-howto 阅读全文
posted @ 2015-10-21 15:38 梦见世界 阅读(133) 评论(0) 推荐(0)

2015年10月20日

摘要: 原网址:http://ariatemplates.com/blog/2014/05/ghost-clicks-in-mobile-browsers/Ghost clicks in mobile browsersMay 22, 2014 by marc.laval | Javascript, Mob... 阅读全文
posted @ 2015-10-20 18:27 梦见世界 阅读(231) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 8 ··· 14 下一页