From 9ef46e6a108cc323e819d15e70d47727adf1caaa Mon Sep 17 00:00:00 2001 From: Spencer Price Date: Sat, 2 Mar 2019 08:14:36 -0500 Subject: [PATCH] use factorFor result for factory arg in modifierManager --- vendor/ember-modifier-manager-polyfill.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vendor/ember-modifier-manager-polyfill.js b/vendor/ember-modifier-manager-polyfill.js index a694dfb..f6f46c7 100644 --- a/vendor/ember-modifier-manager-polyfill.js +++ b/vendor/ember-modifier-manager-polyfill.js @@ -157,9 +157,9 @@ import { lte, gte } from 'ember-compatibility-helpers'; let manager = managerFactory(owner); if (gte('3.6.0-alpha.1')) { - return new Polyfilled_CustomModifierDefinition(name, modifier.class, manager); + return new Polyfilled_CustomModifierDefinition(name, modifier, manager); } else { - return new Polyfilled_CustomModifierManagerLt36(name, modifier.class, manager); + return new Polyfilled_CustomModifierManagerLt36(name, modifier, manager); } } } @@ -205,7 +205,7 @@ import { lte, gte } from 'ember-compatibility-helpers'; let managerFactory = getModifierManager(modifier.class); let manager = managerFactory(owner); - return new Polyfilled_CustomModifierManagerLt36(name, modifier.class, manager); + return new Polyfilled_CustomModifierManagerLt36(name, modifier, manager); } }