diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2013-04-11 13:07:53 +0200 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2013-05-06 16:22:24 +0200 |
commit | 6a034abf953ab756c69de5ec7a838d259d229bea (patch) | |
tree | f9ba1dad9065c312ab1a2062c038076d5f1643e4 /install/ui/src/freeipa/facet.js | |
parent | 44c103bab75a26e787d0a2d7908bed5bf398dd02 (diff) | |
download | freeipa-6a034abf953ab756c69de5ec7a838d259d229bea.tar.gz freeipa-6a034abf953ab756c69de5ec7a838d259d229bea.tar.xz freeipa-6a034abf953ab756c69de5ec7a838d259d229bea.zip |
Rename factory to $factory in spec objects
https://fedorahosted.org/freeipa/ticket/3235
Diffstat (limited to 'install/ui/src/freeipa/facet.js')
-rw-r--r-- | install/ui/src/freeipa/facet.js | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/install/ui/src/freeipa/facet.js b/install/ui/src/freeipa/facet.js index 17033f96c..6edae5d05 100644 --- a/install/ui/src/freeipa/facet.js +++ b/install/ui/src/freeipa/facet.js @@ -118,7 +118,7 @@ exp.facet = IPA.facet = function(spec, no_init) { that.disable_breadcrumb = spec.disable_breadcrumb; that.disable_facet_tabs = spec.disable_facet_tabs; - that.action_state = IPA.build(spec.state, {}, { factory: exp.state }); + that.action_state = IPA.build(spec.state, {}, { $factory: exp.state }); that.actions = exp.action_holder_builder.build({ actions: spec.actions }); that.header_actions = spec.header_actions; @@ -645,7 +645,7 @@ exp.facet = IPA.facet = function(spec, no_init) { on(that.state, 'set', that.on_state_set); var buttons_spec = { - factory: IPA.control_buttons_widget, + $factory: IPA.control_buttons_widget, name: 'control-buttons', 'class': 'control-buttons', buttons: spec.control_buttons @@ -689,7 +689,7 @@ exp.facet_header = IPA.facet_header = function(spec) { }); var widget = { - factory: IPA.action_list_widget, + $factory: IPA.action_list_widget, actions: that.facet.header_actions }; @@ -1553,7 +1553,7 @@ exp.facet_builder = IPA.facet_builder = function(entity) { spec.factory = spec.factory || IPA.attribute_facet; entity.policies.add_policy(IPA.build({ - factory: IPA.facet_update_policy, + $factory: IPA.facet_update_policy, source_facet: 'search', dest_facet: spec.name })); @@ -1595,7 +1595,7 @@ exp.facet_builder = IPA.facet_builder = function(entity) { } entity.policies.add_policy(IPA.build({ - factory: IPA.facet_update_policy, + $factory: IPA.facet_update_policy, source_facet: 'search', dest_facet: spec.name })); @@ -2423,23 +2423,23 @@ var FacetState = exp.FacetState = declare([Stateful, Evented], { }); exp.action_builder = IPA.action_builder = new Builder({ - factory: exp.action + $factory: exp.action }); exp.action_holder_builder = new Builder({ - factory: exp.action_holder + $factory: exp.action_holder }); exp.state_builder = IPA.state_builder = new Builder({ - factory: exp.state + $factory: exp.state }); exp.state_evaluator_builder = IPA.state_evaluator_builder = new Builder({ - factory: exp.state + $factory: exp.state }); exp.action_button_widget_builder = IPA.action_button_widget_builder = new Builder({ - factory: exp.action_button_widget + $factory: exp.action_button_widget }); return exp; |