Closed adwydman closed 8 years ago
Here's a part of the checker function for not.js:
not.js
checker_function: function(context, params, item){ var strategies; if (strategies instanceof Array){ strategies = params.map((declaration) => new Sealious.AccessStrategy(declaration)); } else { strategies = [new Sealious.AccessStrategy(params)]; }
This conditionals don't make much sense, because strategies will never be an instance of Array object. Please see into it.
strategies
Oh, you're right, it's pointless - must've kept it there by an accident.
If you find time please fix this and close the issue. :) (I closed it by accident...)
Here's a part of the checker function for
not.js
:This conditionals don't make much sense, because
strategies
will never be an instance of Array object. Please see into it.