diff options
author | wei <> | 2006-01-21 23:16:33 +0000 |
---|---|---|
committer | wei <> | 2006-01-21 23:16:33 +0000 |
commit | e8e20e87941ae992afd49f2d70198b0e7437d58e (patch) | |
tree | beb52f266c42a9e570e926a5cb095879b8ccd2c1 /framework/Web | |
parent | f57725d738e0503c2238c9874761c70d2dd5b18d (diff) |
Add quickstart PDF format.
Diffstat (limited to 'framework/Web')
-rw-r--r-- | framework/Web/Javascripts/extended/base.js | 8 | ||||
-rw-r--r-- | framework/Web/Javascripts/js/prado.js | 9 |
2 files changed, 3 insertions, 14 deletions
diff --git a/framework/Web/Javascripts/extended/base.js b/framework/Web/Javascripts/extended/base.js index 48927b75..06a916d6 100644 --- a/framework/Web/Javascripts/extended/base.js +++ b/framework/Web/Javascripts/extended/base.js @@ -1,13 +1,5 @@ /**
- * true if o is an Element Node or document or window. The last two because it's used for onload events
- if you specify strict as true, return false for document or window
- */
-function isElement(o, strict) {
- return o && isObject(o) && ((!strict && (o==window || o==document)) || o.nodeType == 1)
-}
-
-/**
* get element
@ @param element or element id string
@ returns element
diff --git a/framework/Web/Javascripts/js/prado.js b/framework/Web/Javascripts/js/prado.js index ef28bcd6..1683b3fe 100644 --- a/framework/Web/Javascripts/js/prado.js +++ b/framework/Web/Javascripts/js/prado.js @@ -158,9 +158,6 @@ function isList(o){ return o&&isObject(o)&&isArray(o); } -function isElement(o,_2){ -return o&&isObject(o)&&((!_2&&(o==window||o==document))||o.nodeType==1); -} function $(n,d){ if(isElement(n)){ return n; @@ -191,9 +188,9 @@ x=d.getElementById(n); return x; } Function.prototype.bindEvent=function(){ -var _6=this,args=$A(arguments),object=args.shift(); -return function(_7){ -return _6.apply(object,[_7||window.event].concat(args)); +var _4=this,args=$A(arguments),object=args.shift(); +return function(_5){ +return _4.apply(object,[_5||window.event].concat(args)); }; }; |