2016年4月17日

摘要: 用gitbash进入类似命令行的窗口 用命令 cd e:/learngit 进入该目录,然后在此目录下初始化$ git init, 于是该文件夹就成为了一个工作区,里面的.git文件就是版本库(repository) 在工作区中新建一个文件,比如XXX.txt文件 在txt中添加‘1111’文本,用 阅读全文
posted @ 2016-04-17 01:44 开膛手杰克 阅读(329) 评论(0) 推荐(0) 编辑

2016年1月26日

摘要: .directive('mydir',function(){ return{ multiElement: true/false, priority: number, //default: 0 terminal: true/false, ... 阅读全文
posted @ 2016-01-26 17:39 开膛手杰克 阅读(310) 评论(0) 推荐(0) 编辑

2016年1月22日

摘要: $scope:var myapp = angular.module('myapp', []); myapp .controller('parent', function ($scope,$timeout) { $scope.$broadcast('you');//已经发出广播 ... 阅读全文
posted @ 2016-01-22 19:22 开膛手杰克 阅读(158) 评论(0) 推荐(0) 编辑

2016年1月15日

摘要: $injector: (When you request a service, the$injectoris responsible for finding the correctservice provider, instantiating it and then calling its$get... 阅读全文
posted @ 2016-01-15 00:55 开膛手杰克 阅读(286) 评论(0) 推荐(0) 编辑

2016年1月13日

摘要: 浏览器 解析过程 博客园 //位置 1 try.css中的代码如下:div{ color:#f00; //红色 float:right; } 浏览器的渲染引擎(如 chrome 的webkit)会先构建DOM树(从标签开始),在遇到外部css文件时会停... 阅读全文
posted @ 2016-01-13 18:08 开膛手杰克 阅读(642) 评论(0) 推荐(0) 编辑