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/entity_tests.js | |
parent | 8d07054e1b2ff8680c225e7cd847eb885e7246a4 (diff) | |
download | freeipa.git-6e90920233cc9a7c9feb040dea22cda837715c39.tar.gz freeipa.git-6e90920233cc9a7c9feb040dea22cda837715c39.tar.xz freeipa.git-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/entity_tests.js')
-rw-r--r-- | install/ui/test/entity_tests.js | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/install/ui/test/entity_tests.js b/install/ui/test/entity_tests.js index 8dbeab2f..b4ac91b6 100644 --- a/install/ui/test/entity_tests.js +++ b/install/ui/test/entity_tests.js @@ -39,14 +39,6 @@ module('entity',{ mod_search.register(); - reg.facet.register({ - type: 'search', - factory: IPA.search_facet, - pre_ops: [ - mod_facet.facet_preops.search - ] - }); - IPA.init({ url: 'data', on_success: function(data, text_status, xhr) { |