JS记录错误日志/捕捉错误
//onerror提供异常信息,文件路径和发生错误代码的行数的三个参数。window.onerror = function(e,url,index){
var msg = e.message || e|| "未知错误"; alert("错误信息:"+msg+",错误路...
分类:
Web程序 时间:
2014-06-12 21:29:30
阅读次数:
488
ThinkPHP是国内非常火的一个轻量级框架,采用MVC模式,结构写的非常好,今天大象带大家走一下ThinkPHP框架系统运行流程,我将跟随ThinkPHP的执行进行代码讲解,第一课,先讲解URL路由解析一、ThinkPHP框架目录/test/index.php//项目入口文件/ThinkPHP/T...
分类:
Web程序 时间:
2014-06-12 18:48:29
阅读次数:
463
原题地址:https://oj.leetcode.com/problems/jump-game/题意:Given
an array of non-negative integers, you are initially positioned at the first
index of the arr...
分类:
编程语言 时间:
2014-06-12 18:04:54
阅读次数:
540
导语:在开发Android应用的过程中,我们需要时刻注意保障应用的稳定性和界面响应性,因为不稳定或者响应速度慢的应用将会给用户带来非常差的交互体验。在越来越讲究用户体验的大环境下,用户也许会因为应用的一次Force
Close(简称FC)或者延迟严重的动画效果而卸载你的应用。由于现在的应用大多需要异...
分类:
移动开发 时间:
2014-06-12 17:52:48
阅读次数:
432
原题地址:https://oj.leetcode.com/problems/jump-game-ii/题意:Given
an array of non-negative integers, you are initially positioned at the first
index of the ...
分类:
编程语言 时间:
2014-06-12 17:38:49
阅读次数:
323
问题:在逻辑中使用了,
QAbstractItemView::setRootIndex(const QModelIndex & index),第一次设置生效, view
进入了model 中指定的item, view 内只显示该item内部的children items. 这个效果是我要的.bug:...
分类:
其他好文 时间:
2014-06-12 16:42:56
阅读次数:
266