From 6e90920233cc9a7c9feb040dea22cda837715c39 Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Tue, 14 May 2013 17:36:28 +0200 Subject: Move spec modifications from facet factories to pre_ops Spec modifications in factories makes inheritance and extensibility more difficult. Moving them to pre_ops allows modification of their output by other pre_ops. https://fedorahosted.org/freeipa/ticket/3605 --- install/ui/test/details_tests.js | 8 -------- 1 file changed, 8 deletions(-) (limited to 'install/ui/test/details_tests.js') diff --git a/install/ui/test/details_tests.js b/install/ui/test/details_tests.js index cc087a6b..26bc4fb6 100644 --- a/install/ui/test/details_tests.js +++ b/install/ui/test/details_tests.js @@ -38,14 +38,6 @@ module('details', { setup: function() { IPA.ajax_options.async = false; - reg.facet.register({ - type: 'details', - factory: IPA.details_facet, - pre_ops: [ - mod_facet.facet_preops.details - ] - }); - mod_facet.register(); mod_details.register(); -- cgit