自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(17)
  • 收藏
  • 关注

转载 给select增加placeholder技巧

http://stackoverflow.com/questions/5805059/how-do-i-make-a-placeholder-for-a-select-box/84428311.使用默认option再隐藏此选项 Please Choose Open when powered (most valves do this) Clos

2015-09-06 14:22:21 58692 3

转载 git忽略文件失效解决方案

转载:http://segmentfault.com/q/1010000000430426产生原因:文件已进入git提交,gitignore添加在后总结如下:1. git rm --cached logs/xx.log  (2. git update-index --assume-unchanged logs/*.log  (

2015-08-31 12:37:30 472

原创 NODE ACL - NODE权限管理 - 功能探索

Node ACL 功能探索NODE ACL github项目地址 :https://github.com/OptimalBits/node_acl功能列表

2015-08-04 13:54:40 6574

原创 ionic 滚动bug 解决方案

bug描述:当通过点击等方式加载更多,滑动会卡住。解决方案:***1.前端页面(jade): ion-content(delegate-handle="mainScroll") //- mainScroll是自定义的名称2.当加载后,$ionicScrollDelegate.$getByHandle("mainScroll").resize();此时便不会出现

2015-04-13 16:52:21 4294 1

转载 Angularjs ng-options用法

转载自:http://my.oschina.net/gejiawen0913/blog/188539实例一:基本下拉效果实例二:自定义下拉显示名称实例三: 让选项分组实例四:自定义ngModel的值参考select 是 AngularJS 预设的一组directive。下面是其官网api doc给出的用法:AngularJS:select

2015-03-09 13:52:01 663 1

原创 angularjs 点击div外事件

1.在需要的controller中增加$window2.增加监听$window.onclick = function(event) {}例: xxx.controller('xxCtrl', ['$window', '$scope', function($window, $scope){ $window.onclick = function(event) {

2015-01-30 16:49:04 1486

转载 restangular: Differences with $resource 接上篇Something about http request in angularjs

转自:Differences with $resourceRestangular has several features that distinguish it from $resource:It uses promises. Instead of doing the "magic" filling of objects like $resource, it uses

2014-11-24 13:59:21 558

原创 Something about http request in angularjs

摘录自《angularJS权威教程》以及

2014-11-24 12:52:42 502

转载 修改输入框placeholder文字颜色

http://stackoverflow.com/questions/2610497/change-an-inputs-html5-placeholder-color-with-css

2014-11-14 14:13:58 453

转载 How to use a keypress event in angularjs

转自:http://stackoverflow.com/questions/17470790/how-to-use-a-keypress-event-in-angularjs

2014-11-10 10:43:49 460

原创 有关mongoose增加新属性的send 与render

mongoose取出数据后若是想要加新的属性if(想要

2014-10-24 17:45:51 603

原创 stylus compiling bug "Cannot read property 'nodes' of undefined"

> 67|               background url(/img/loading.gif) center center no-repeatCannot read property 'nodes' of undefined>>     at ".list_img" (public/stylus/components.styl:61)

2014-10-21 14:59:35 970

转载 How to conditionally apply CSS styles in AngularJS?

... HTML to display the item ...

2014-09-22 12:50:03 423

原创 Some Android logs

09-19 16:45:04.890: W/PluginManager(712): THREAD WARNING: exec() call to PluginManager.startup blocked the main thread for 41ms. Plugin should use CordovaInterface.getThreadPool().Do

2014-09-19 16:43:23 981

转载 Async 详解

转自:一:流程控制为了适应异步编程,减少回调的嵌套,我尝试了很多库。最终觉得还是async最靠谱。地址:https://github.com/caolan/asyncAsync的内容分为三部分:流程控制:简化十种常见流程的处理集合处理:如何使用异步操作处理集合中的数据工具类:几个常用的工具类本文介绍其中最简单最常用的流程控制部分。由于node

2014-09-01 14:17:27 432

原创 cordova js 文件读写 @android

项目需要js调取baidu推送中java的一些数据,偷个懒,把java取道

2014-08-28 11:52:41 2432

原创 AngularJs clear input in ng-repeat

解决方案:前台:

2014-08-12 23:06:19 500

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除