incorrect call to get() method
sunilshetye opened this issue · 0 comments
sunilshetye commented
The set() blocks are having incorrect calls to the get() method.
For example, BARXY.prototype.set() calls BARXY.get() on error.
There is no BARXY.get() method, even though there is a BARXY.prototype.get() method.
So, the code throws an exception and there is no further action in the code.
- If intention was to throw an exception, then this call must be replaced with something like:
throw "incorrect";
- Proper coding would involve no throwing of exception. Return a value (like false) and ensure that the properties window is not closed.