From 09b11fa4fa1c36b4bd399eed12fdb764135446cc Mon Sep 17 00:00:00 2001 From: Elliott Marquez Date: Tue, 17 Apr 2018 16:25:00 -0700 Subject: [PATCH] move behavior definition to before usage --- test/unit/property-effects-elements.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/test/unit/property-effects-elements.js b/test/unit/property-effects-elements.js index c8660a2085..90d9c34286 100644 --- a/test/unit/property-effects-elements.js +++ b/test/unit/property-effects-elements.js @@ -681,6 +681,14 @@ Polymer({ invocations.push('propagate'); } }); +var TranslateBehavior = { + properties: { + translateMessage: { + type: Function, + computed: '_computeTranslateFn(translator)' + } + } +}; Polymer({ _template: html`
[[translateMessage('Hello World.')]]
@@ -706,14 +714,6 @@ Polymer({ }; } }); -var TranslateBehavior = { - properties: { - translateMessage: { - type: Function, - computed: '_computeTranslateFn(translator)' - } - } -}; Polymer({ _template: html`
[[translateMessage(message)]]