Skip to content

Commit

Permalink
Fix mixin jsdoc.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpschaaf committed Aug 21, 2018
1 parent e385e49 commit 2d2320e
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions lib/legacy/legacy-data-mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -98,7 +103,7 @@ export const LegacyDataMixin = dedupingMixin(superClass => {

}

return LegacyDataMixinClass;
return LegacyDataMixin;

});

Expand Down

0 comments on commit 2d2320e

Please sign in to comment.