I am getting a conflict between SmartClient and a third party javascript library.
Uncaught TypeError: Set is not a constructor
at eval (debounce.js:141)
at Module.../../../node_modules/@polymer/polymer/lib/utils/debounce.js
I presume it is due to ISC_Core.js
// A container that stores unique values. // Note: This Set type does not have the same semantics as the proposed Set type of Harmony // (ECMAScript 6). In particular, two Date objects are treated as the same if they represent // the same time. isc.defineClass("Set").addClassProperties({ _nextUniqueSetNumber: 1, _dateCompareFn : function (t1, d2) { return (t1 - d2.getTime()); } }); isc.Set.addProperties({ ...
});
Is there any way to workaround this?
Uncaught TypeError: Set is not a constructor
at eval (debounce.js:141)
at Module.../../../node_modules/@polymer/polymer/lib/utils/debounce.js
I presume it is due to ISC_Core.js
// A container that stores unique values. // Note: This Set type does not have the same semantics as the proposed Set type of Harmony // (ECMAScript 6). In particular, two Date objects are treated as the same if they represent // the same time. isc.defineClass("Set").addClassProperties({ _nextUniqueSetNumber: 1, _dateCompareFn : function (t1, d2) { return (t1 - d2.getTime()); } }); isc.Set.addProperties({ ...
});
Is there any way to workaround this?
Comment