setlistener(): don't drop calls with invalid property -- the c++ side
outputs a nice error message in this case
This commit is contained in:
parent
944e6a8548
commit
1e446a26ae
1 changed files with 0 additions and 1 deletions
|
@ -71,7 +71,6 @@ interpolate = func {
|
||||||
#
|
#
|
||||||
setlistener = func {
|
setlistener = func {
|
||||||
if(isa(arg[0], props.Node)) { arg[0] = arg[0]._g; }
|
if(isa(arg[0], props.Node)) { arg[0] = arg[0]._g; }
|
||||||
elsif(typeof(arg[0]) != "scalar") { return; }
|
|
||||||
var id = _setlistener(arg[0], arg[1], size(arg) > 2 ? arg[2] : 0);
|
var id = _setlistener(arg[0], arg[1], size(arg) > 2 ? arg[2] : 0);
|
||||||
if(__.log_level <= 2) {
|
if(__.log_level <= 2) {
|
||||||
var c = caller(1);
|
var c = caller(1);
|
||||||
|
|
Loading…
Reference in a new issue