Skip to content

Commit

Permalink
* Fix for #899 Elements should give Array precedence over Element
Browse files Browse the repository at this point in the history
  • Loading branch information
cpojer committed Aug 28, 2010
1 parent 91ce36e commit 3042947
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/Element/Element.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ var Element = function(tag, props){
if (Browser.Element) Element.prototype = Browser.Element.prototype;

new Type('Element', Element).mirror(function(name){
if (Array[name]) return;

var obj = {};
obj[name] = function(){
var results = [], args = arguments, elements = true;
Expand Down

0 comments on commit 3042947

Please sign in to comment.