diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2013-05-14 17:36:28 +0200 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2013-05-17 12:32:06 +0200 |
commit | 6e90920233cc9a7c9feb040dea22cda837715c39 (patch) | |
tree | 2537b852644502a58c6afa83bf12cf1c0a267825 /install/ui/test/details_tests.js | |
parent | 8d07054e1b2ff8680c225e7cd847eb885e7246a4 (diff) | |
download | freeipa-6e90920233cc9a7c9feb040dea22cda837715c39.tar.gz freeipa-6e90920233cc9a7c9feb040dea22cda837715c39.tar.xz freeipa-6e90920233cc9a7c9feb040dea22cda837715c39.zip |
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
Diffstat (limited to 'install/ui/test/details_tests.js')
-rw-r--r-- | install/ui/test/details_tests.js | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/install/ui/test/details_tests.js b/install/ui/test/details_tests.js index cc087a6b4..26bc4fb66 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(); |