You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create.
The debugger points to CollectionHooks.reassignPrototype. I takes two arguments, i.e. instance and constr, but when I search the code I only find one reference to the function in user-compat.js. It's called with only one parameter, i.e. CollectionHooks.reassignPrototype(Meteor.users);
I'm assuming it gets called or Firefox would not be complaining.
I guess the questions are:
Does the function act as expected, considering the missing prototype?
Could Firefox be outputing the message even thought it's not called, i.e. a parsing check?
Is there an different approach that would not have a warning and performance penalty?
The text was updated successfully, but these errors were encountered:
Question: On Firefox, have the following warning.
The debugger points to CollectionHooks.reassignPrototype. I takes two arguments, i.e. instance and constr, but when I search the code I only find one reference to the function in user-compat.js. It's called with only one parameter, i.e.
CollectionHooks.reassignPrototype(Meteor.users);
I'm assuming it gets called or Firefox would not be complaining.
I guess the questions are:
The text was updated successfully, but these errors were encountered: