上一页 1 ··· 7 8 9 10 11 12 下一页
2016年1月8日
摘要: ioinc setup sassnpm installionic serve cordova plugin add cordova-plugin-crosswalk-webview 十、开发流程 1.创建项目 --创建 $ ionic start todo blank --添加平台 $ ionic 阅读全文
posted @ 2016-01-08 07:52 jayruan 阅读(281) 评论(0) 推荐(0) 编辑
2016年1月6日
摘要: sudo apt-get remove --purge gsutilsudo easy_install -U pipsudo pip2 install gsutil gsutil ls gs://uspto-pair/applications/0800401* gsutil -config =... 阅读全文
posted @ 2016-01-06 12:34 jayruan 阅读(360) 评论(0) 推荐(0) 编辑
摘要: -fluidLayout:containerrow rowspan8 offset4 well pricehoverbtn-toolbar->btn-groupbtn btn-large btn-primary btn-success btn-warning btn-inverse btn-dang... 阅读全文
posted @ 2016-01-06 00:22 jayruan 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 1,angular.js 自动加载 ng-app[不带属性]。如果np-app="starter"带属性,我们的声明,angular.module('starter.controllers', []).controller("delAdminCtrl", function($scope,baseHr... 阅读全文
posted @ 2016-01-06 00:22 jayruan 阅读(203) 评论(0) 推荐(0) 编辑
2016年1月4日
摘要: word-break: break-all;换行 word-wrap: break-word 换行[换行后,如果不是一个word 还要换行]white-space: nowrap;不换行,横向撑大[ white-space:nowrap;overflow:hidden;] word-spacing: 阅读全文
posted @ 2016-01-04 00:02 jayruan 阅读(420) 评论(0) 推荐(0) 编辑
2016年1月3日
摘要: 1,http://520nyc.com/test/Zerolog.js 输出console.log2,codepen.io https://jsfiddle.net3,google postman 阅读全文
posted @ 2016-01-03 11:52 jayruan 阅读(114) 评论(0) 推荐(0) 编辑
摘要: docker-machine ssh default docker logs test sudo systemctl start docker docker tag IMAGEID new_repository newTAG docker commit -a 'message aaaa' CONTA 阅读全文
posted @ 2016-01-03 11:28 jayruan 阅读(3171) 评论(0) 推荐(0) 编辑
2016年1月2日
摘要: var Circle={ "PI":3.14159, "area":function(r){ return this.PI * r * r; } }; alert( Circle.area(1.0) ); 匿名自执行函数var data= { ... 阅读全文
posted @ 2016-01-02 23:25 jayruan 阅读(212) 评论(0) 推荐(0) 编辑
摘要: 使用 Flexbox 的牛逼布局.container { display: -webkit-flex; display: flex;}.initial { -webkit-flex: initial; flex: initial; width: 200px; min-wi... 阅读全文
posted @ 2016-01-02 12:13 jayruan 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 此文记录了微信公众号开发的整个流程,想要调用微信 JS API 并非直接引入一个jweixin-1.0.0.js到页面里那么简单。需要获取 access_token, jsapi_ticken和签名 sign等。其中的任何一个步骤错误都会调用不到其 API。这些参数一般是后台生成,可以用阿里云或新浪... 阅读全文
posted @ 2016-01-02 11:54 jayruan 阅读(701) 评论(0) 推荐(0) 编辑
摘要: var head= document.getElementById("head");head.style.cssText="width:200px;height:70px;display:bolck";但cssText也有个缺点,会覆盖之前的样式。如TEST想给该div在添加个css属性widthd... 阅读全文
posted @ 2016-01-02 11:37 jayruan 阅读(259) 评论(0) 推荐(0) 编辑
摘要: try{ var date=new Date(); date.test();//调用date的未定义的test方法; document.wrire("try块执行结束"); }catch(error){ with(document){ write("出... 阅读全文
posted @ 2016-01-02 11:28 jayruan 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 自定义右键菜单 自定义右键菜单,请在页面点击右键查看效果。 剪切 复制 粘贴 来源:http://www.bug315.com/article/283.htm 阅读全文
posted @ 2016-01-02 11:20 jayruan 阅读(234) 评论(0) 推荐(0) 编辑
摘要: /**不能超过 9007199254740992 * floatObj 包含加减乘除四个方法,能确保浮点数运算不丢失精度 * * 我们知道计算机编程语言里浮点数计算会存在精度丢失问题(或称舍入误差),其根本原因是二进制和实现位数限制有些数无法有限表示 * 以下是十进制小数对应的二进制表示 * ... 阅读全文
posted @ 2016-01-02 10:51 jayruan 阅读(760) 评论(0) 推荐(0) 编辑
摘要: 一,javascript数据类型:undefined,null,boolean,number,string,object 五种加一种复杂类型. 注意大小写,区分大不写函数:functiontypeof 返回数据类型没有null,但有function.如typeof(null)返回object1.1特... 阅读全文
posted @ 2016-01-02 01:41 jayruan 阅读(129) 评论(0) 推荐(0) 编辑
2016年1月1日
摘要: var obj=document.getElementById("btn");var currentStyle=null;if(obj.currentStyle){ currentStyle=obj.currentStyle;}else{ currentStyle=window.getCompute... 阅读全文
posted @ 2016-01-01 12:44 jayruan 阅读(487) 评论(0) 推荐(0) 编辑
摘要: http://www.a.com/app.js?v=1.0 即可 阅读全文
posted @ 2016-01-01 12:38 jayruan 阅读(91) 评论(0) 推荐(0) 编辑
摘要: 数组现有的方法:.concat():连接两个或更多的数组,并返回结果。.join():把数组的所有元素放入一个字符串。元素通过指定的分隔符进行分隔。.pop():删除并返回数组的最后一个元素.push():向数组的末尾添加一个或更多元素,并返回新的长度。.reverse():颠倒数组中元素的顺序。.... 阅读全文
posted @ 2016-01-01 12:29 jayruan 阅读(494) 评论(0) 推荐(0) 编辑
摘要: HTML精确定位:scrollLeft,scrollWidth,clientWidth,offsetWidthscrollHeight: 获取对象的滚动高度。scrollLeft:设置或获取位于对象左边界和窗口中目前可见内容的最左端之间的距离scrollTop:设置或获取位于对象最顶端和窗口中可见内... 阅读全文
posted @ 2016-01-01 12:09 jayruan 阅读(190) 评论(0) 推荐(0) 编辑
摘要: Math 对象是一个固有的对象,无需创建它,直接把 Math 作为对象使用就可以调用其所有属性和方法。这是它与Date,String对象的区别Math 对象属性Math 对象方法 阅读全文
posted @ 2016-01-01 12:05 jayruan 阅读(189) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 下一页