Ticket #2809
Depend.equals() in JS throws the following:
Depend.equals()
TypeError: this.toStr(...).equals is not a function (Unknown:Unknown)
It just requires a small change from:
fan.sys.Depend.prototype.equals = function(obj) { if (obj instanceof fan.sys.Depend) return this.toStr().equals(obj.toStr()); else return false; }
to
fan.sys.Depend.prototype.equals = function(obj) { if (obj instanceof fan.sys.Depend) return this.toStr() == obj.toStr(); else return false; }
testSys::DependTest and testSys::SerializationTest.testSimples should then pass.
testSys::DependTest
testSys::SerializationTest.testSimples
Ticket promoted to #2809 and assigned to matthew
Ticket resolved in 1.0.75
Login or Signup to reply.
SlimerDude Thu 23 Jul 2020
Depend.equals()
in JS throws the following:It just requires a small change from:
to
testSys::DependTest
andtestSys::SerializationTest.testSimples
should then pass.matthew Mon 27 Jul 2020
Ticket promoted to #2809 and assigned to matthew
matthew Mon 27 Jul 2020
Ticket resolved in 1.0.75