Skip to content

Commit

Permalink
- got rid of a strict warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
kamicane committed Jun 11, 2009
1 parent fb30a98 commit 8d49d98
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/Core/Core.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ var Native = function(options){

object.alias = function(a1, a2, a3){
if (typeof a1 == 'string'){
if ((a1 = this.prototype[a1])) return add(this, a2, a1, a3);
var pa1 = this.prototype[a1];
if ((a1 = pa1)) return add(this, a2, a1, a3);
}
for (var a in a1) this.alias(a, a1[a], a2);
return this;
Expand Down

0 comments on commit 8d49d98

Please sign in to comment.