码迷,mamicode.com
首页 >  
搜索关键字:angularjs $routeprovider template function    ( 67881个结果
django模板报错Requested setting TEMPLATE_DEBUG, but settings are not configured. You must either define
django模板报错Requested setting TEMPLATE_DEBUG, but settings are not configured. You must either define 分类: Django2013-03-16 22:42 2417人阅读 评论(1) 收藏 举报 dja...
分类:其他好文   时间:2014-05-08 19:05:03    阅读次数:339
事件触发
啥也不说直接上代码function triggerFn(obj,onevent){ var events; // 事件触发 if(ie){ //调用document对象的createEventObject方法得到一个event的对象实例 events =...
分类:其他好文   时间:2014-05-08 18:56:47    阅读次数:299
strtok函数的使用与实现
一个用来分割字符串的函数: strtok char * strtok ( char * str, const char * delimiters ); Split string into tokens A sequence of calls to this function split str into tokens, which are sequences of co...
分类:其他好文   时间:2014-05-07 16:18:12    阅读次数:273
[Nagios] Error: Template 'timman' specified in contact definition could not be not found (c
Check nagios配置文件报错如下:[nagios@2 etc]$ /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Nagios Core 4.0.6Copyright (c) 2009-present Nagios Core Development Team and Community Contributor...
分类:移动开发   时间:2014-05-07 15:47:14    阅读次数:449
jQuery.extend()、jQuery.fn.extend()扩展方法详解
jQuery自定义了jQuery.extend()和jQuery.fn.extend()方法.其中jQuery.extend()方法能够创建全局函数或者选择器,而jQuery.fn.extend()方法能够创建jQuery对象方法. 例如: jQuery.extend({ showName : function(name){ alert(name) }...
分类:Web程序   时间:2014-05-07 15:16:06    阅读次数:282
JavaScript 覆盖document.createElement 方法
最近项目遇到了问题,有个asp.net web程序只能在IE7 运行,现在xp都淘汰了,大家都用IE8-IE11,因此这个web app也需要升级 适应所有IE版本。照成IE版本不兼容的问题主要来致document.createElement方法的调用,如: function addStyleNo(value, cannotDel) {     if (!value) {         v...
分类:编程语言   时间:2014-05-07 15:14:45    阅读次数:497
JavaScript 覆盖document.createElement 方法
最近项目遇到了问题,有个asp.net web程序只能在IE7 运行,现在xp都淘汰了,大家都用IE8-IE11,因此这个web app也需要升级 适应所有IE版本。照成IE版本不兼容的问题主要来致document.createElement方法的调用,如:function addStyleNo(v...
分类:编程语言   时间:2014-05-07 14:34:37    阅读次数:375
profiling
http://kczx.whu.edu.cn/G2S/Template/View.aspx?courseId=27617&topMenuId=92187&action=view&type=&name=&menuType=1&curfolid=223168
分类:其他好文   时间:2014-05-07 14:20:24    阅读次数:273
获取文件sha1 值
单元IdHashSHA申明function GetFile_SHA1(const iFileName: String): String; //Checksum hash value for firefox var SHA1 : TIdHashSHA1; fileStre...
分类:其他好文   时间:2014-05-07 10:50:20    阅读次数:245
Javacript中(function(){})() 与 (function(){}()) 区别 {转}
首先,如果从AST(抽象语法树)的角度来看,两者的AST是一模一样的,最终结果都是一次函数调用。因此,就解析器产生的结果论而言,两者是没有区别的。其次 ,从作用上看,前文已经说了,两者的作用都是创建一个函数并调用之。那么为什么要创建一个函数并立即调用呢,我想大多数是因为javascript的代码默认...
分类:编程语言   时间:2014-05-07 10:44:18    阅读次数:396
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!