本文转自:http://blog.csdn.net/qhkabuqiluo/article/details/52237710 最近一段时间在使用angularjs 然后就找到ui-grid 这个比较不错的表格插件,感觉还不错,所以分享给大家(ps:新手第一次发) html: [html] view ...
分类:
Web程序 时间:
2017-05-17 18:23:01
阅读次数:
1828
原文:《Managing Responsive Breakpoints with Sass》 链接:https://www.sitepoint.com/managing-responsive-breakpoints-sass/ 作者:Hugo Giraudel,来自法国,著名SASS大牛,在Sass ...
分类:
其他好文 时间:
2017-05-17 13:59:48
阅读次数:
563
Task 1 : 首字母大写 赏析: re.sub,实现正则的替换。 Pattern : r"w+"表示匹配数字和字母下划线的多个字符。 repl : lambda match:match.group(0).capitalize()表示首字母大写。 ...
分类:
编程语言 时间:
2017-05-16 14:47:09
阅读次数:
193
主要改动 RootViewController.mm 的 supportedInterfaceOrientations 方法 1.四个方向 UIInterfaceOrientationMaskAll 2.三个方向(除了屏幕倒着全部都能够旋转) UIInterfaceOrientationMaskAl ...
分类:
其他好文 时间:
2017-05-15 18:31:42
阅读次数:
136
function getUrlParam(name) { var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); //构造一个含有目标参数的正则表达式对象 var r = window.location.search.substr(1).mat ...
分类:
其他好文 时间:
2017-05-10 18:47:25
阅读次数:
182
let render = function (str, data) { let tpl = str.replace(/<%=([\s\S]+?)%>/g,function (match, code) { return "' +obj."+code+"+ '"; }) ; tpl = "var tpl ...
分类:
其他好文 时间:
2017-05-10 00:23:13
阅读次数:
152
视频地址:http://t.cn/RacnKeB 安装cordova 1. 下载安装node.js(js的运行环境),安装时勾选npm(js包的管理工具)。2、下载安装git(配置好环境变量)。3、在cmd控制台,使用npm安装cordova。 npm install -g cordova 创建co ...
分类:
移动开发 时间:
2017-05-09 13:46:28
阅读次数:
245
主要浏览器内核 Trident(MSHTML)内核:IE,MaxThon,TT,The World,360,搜狗浏览器等 Gecko内核:Netscape6及以上版本,FF,MozillaSuite/SeaMonkey等 Presto内核:Opera7及以上 Webkit内核:Safari,Chro ...
分类:
其他好文 时间:
2017-05-06 11:44:15
阅读次数:
163
说明:此教程是针对cocos2dx 2.0系列的,3.0的版本号,如今还没有公布出来。 1)首先从github.com把这个项目下载到本地。然后装到d盘的根文件夹,并设置文件夹路径为d:\quick-cocos2d-x 站点地址:https://github.com/chukong/quick-co ...
KeyCode values for keyboard keys Type of key KeyCode values and descriptions Mouse buttons KeyLeftButton! Left mouse button KeyMiddleButton! Middle mo ...
分类:
其他好文 时间:
2017-05-03 11:32:46
阅读次数:
163