From 2d2320e5bdfd032da73755414470088d54eab83a Mon Sep 17 00:00:00 2001 From: Kevin Schaaf Date: Tue, 21 Aug 2018 11:37:51 -0700 Subject: [PATCH] Fix mixin jsdoc. --- lib/legacy/legacy-data-mixin.js | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/lib/legacy/legacy-data-mixin.js b/lib/legacy/legacy-data-mixin.js index 4401f9539c..cc9aa2b55b 100644 --- a/lib/legacy/legacy-data-mixin.js +++ b/lib/legacy/legacy-data-mixin.js @@ -35,15 +35,20 @@ const UndefinedArgumentError = class extends Error { * 2.x+ by allowing legacy code to work while identifying observers and * computing functions that need undefined checks to work without * the mixin in Polymer 2. + * + * @mixinFunction + * @polymer + * @summary Mixin to selectively add back Polymer 1.x's `undefined` rules + * governing when observers & computing functions run. */ export const LegacyDataMixin = dedupingMixin(superClass => { /** - * @polymer - * @mixinClass - * @implements {Polymer_LegacyDataMixin} - */ - class LegacyDataMixinClass extends superClass { + * @constructor + * @extends {superClass} + * @unrestricted + * @private */ + class LegacyDataMixin extends superClass { /** * Overrides `Polyer.PropertyEffects` to add `undefined` argument * checking to match Polymer 1.x style rules @@ -98,7 +103,7 @@ export const LegacyDataMixin = dedupingMixin(superClass => { } - return LegacyDataMixinClass; + return LegacyDataMixin; });