Nasal/globals.nas: Added a missing var-keyword.
This commit is contained in:
parent
e3e0defac9
commit
3bcfe8296c
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ var __ = {};
|
|||
#
|
||||
var isa = func(obj, class) {
|
||||
if(typeof(obj) == "hash" and obj["parents"] != nil)
|
||||
foreach(c; obj.parents)
|
||||
foreach(var c; obj.parents)
|
||||
if(c == class or isa(c, class))
|
||||
return 1;
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue