![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Tech
iteye_20527
这个作者很懒,什么都没留下…
展开
-
JavaScript对象模型
原文:JavaScript对象执行模型 在深入细节之前,有几点需要明确一下 1、JavaScript没有类的概念。所有自定义的类都是通过function模拟的,包括其原生的对象,Number、String、Array等。因此创建自定义的类的实例时,也是在执行一个函数,只是执行的方式不同。转载文章里有详细说明。 2、对象内部私有的prototype属性和Function公开的proto...原创 2009-03-05 13:58:45 · 92 阅读 · 0 评论 -
JavaScript Inheritance
先上代码说明KevLinDev.extend = function(subClass, baseClass) { function inheritance() {} inheritance.prototype = baseClass.prototype; subClass.prototype = new inheritance(); subClass.prototyp...原创 2009-03-23 23:52:51 · 117 阅读 · 0 评论 -
Apache中设置自动清除浏览器缓存
打开Apache的httpd.conf文件1 将 LoadModule headers_module modules/mod_headers.so 这一行注释打开2 添加以下内容<FilesMatch "\.(php|js|css|swf|html)$">Header set Cache-Control "private, no-cache, no-store, ...原创 2009-10-26 10:26:02 · 1483 阅读 · 0 评论 -
Eclipse + JSEclipse + PDT
需要用到的几个插件:JSEclipse PDT SVN。可直接find installPHP调试使用xdebug。1.下载php_xdebug-2.0.4-5.2.8.dll,在php.ini中加入如下语句:[xdebug]zend_extension_ts="d:/php_xdebug-2.0.4-5.2.8.dll" //dll的存放路径xdebug.remote_e...2009-07-13 00:43:17 · 85 阅读 · 0 评论 -
Douglas Crockford - JavaScript function 3 of 4
function能像其他类型的值一样被传递、返回、存储。 直接使用function定义一个函数,等同于使用var定义一个变量,并将它赋值为一个function。function foo() {}等同于var foo = function foo() {};(function后的foo可省略) 内部函数(嵌套函数) 一个function能被定义在其他function的内部,并且能访问外部...2008-11-29 21:36:16 · 68 阅读 · 0 评论