By:Kirito

12 2015 档案

摘要:今天在使用trigger事件碰到问题:例如我有两个按钮,button1和button2,在button2绑定了ng-click事件,现在想点击button1从而触发button2的ng-click事件。代码中我直接用angular.element(button2).triggerHandler('c... 阅读全文
posted @ 2015-12-31 11:21 丶Kirito 阅读(1853) 评论(0) 推荐(0) 编辑
摘要:1 2 3 4 5 {{ page }}在Control中,angular.element()返回一个jquery对象,如angular.element(document).ready(function(){});返回指定元素的scope 阅读全文
posted @ 2015-12-30 09:53 丶Kirito 阅读(6104) 评论(0) 推荐(0) 编辑
摘要:转自stackoverflow:http://stackoverflow.com/questions/115983/how-do-i-add-an-empty-directory-to-a-git-repositoryAnother way to make a directory stay empt... 阅读全文
posted @ 2015-12-11 16:36 丶Kirito 阅读(1531) 评论(0) 推荐(0) 编辑
摘要:大纲:1.前言2.创建分支3.切换分支4.合并分支(快速合并)5.删除分支6.分支合并冲突7.合并分支(普通合并)8.分支管理策略9.团队多人开发协作10.总结注,测试机 CentOS 5.5 x86_64,Git 服务器版本:git version 1.8.2.1,客户端版本:git versio... 阅读全文
posted @ 2015-12-11 16:16 丶Kirito 阅读(620) 评论(0) 推荐(0) 编辑
摘要:我每天使用 Git ,但是很多命令记不住。一般来说,日常使用只要记住下图 6 个命令,就可以了。但是熟练使用,恐怕要记住 60~100 个命令。下面是我整理的常用 Git 命令清单。几个专用名词的译名如下。Workspace:工作区Index / Stage:暂存区Repository:仓库区(或本... 阅读全文
posted @ 2015-12-10 17:40 丶Kirito 阅读(264) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示