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
If a version of can-set other than what's internally loaded within can-fixture is used, then can-fixture will revert to using the legacy store. There should be a strategy to avoid this, as it makes otherwise valid code behave unexpectedly.
Store.make = function (count, make, algebra) {
/*jshint eqeqeq:false */
// check if algebra was passed
var isNew = false;
if( count instanceof canSet.Algebra || make instanceof canSet.Algebra || algebra instanceof canSet.Algebra ) {
isNew = true;
}
if(!isNew) {
return legacyStore.apply(this, arguments);
}
The text was updated successfully, but these errors were encountered:
justinbmeyer
changed the title
can-fixture falls back to legacyStore if passed a mismatched version of can-set
can-fixture falls back to legacyStore if passed a mismatched version of can-set ~3
Sep 1, 2016
If a version of can-set other than what's internally loaded within can-fixture is used, then can-fixture will revert to using the legacy store. There should be a strategy to avoid this, as it makes otherwise valid code behave unexpectedly.
The text was updated successfully, but these errors were encountered: