Skip to content

Commit

Permalink
@polymerMixin/@polymerMixinClass -> @mixinFunction/@mixinClass
Browse files Browse the repository at this point in the history
  • Loading branch information
justinfagnani authored and aomarks committed Apr 28, 2017
1 parent 231b21c commit f7e8021
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 18 deletions.
5 changes: 3 additions & 2 deletions lib/elements/array-selector.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,14 @@
* representing the last selected item. When `multi` is true, `selected`
* is an array of multiply selected items.
*
* @polymerMixin
* @mixinFunction
* @polymer
* @memberof Polymer
*/
let ArraySelectorMixin = Polymer.dedupingMixin(superClass => {

/**
* @polymerMixinClass
* @mixinClass
* @implements {Polymer_ArraySelectorMixin}
*/
class ArraySelectorMixin extends superClass {
Expand Down
5 changes: 3 additions & 2 deletions lib/legacy/legacy-element-mixin.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
* found on the Polymer 1.x `Polymer.Base` prototype applied to all elements
* defined using the `Polymer({...})` function.
*
* @polymerMixin
* @mixinFunction
* @polymer
* @mixes Polymer.ElementMixin
* @mixes Polymer.GestureEventListeners
* @property isAttached {boolean} Set to `true` in this element's
Expand Down Expand Up @@ -60,7 +61,7 @@
};

/**
* @polymerMixinClass
* @mixinClass
* @implements {Polymer_LegacyElement}
*/
class LegacyElement extends legacyElementBase {
Expand Down
5 changes: 3 additions & 2 deletions lib/mixins/element-mixin.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@
* `observedAttributes` implementation will automatically return an array
* of dash-cased attributes based on `properties`)
*
* @polymerMixin
* @mixinFunction
* @polymer
* @mixes Polymer.PropertyEffects
* @memberof Polymer
* @property rootPath {string} Set to the value of `Polymer.rootPath`,
Expand Down Expand Up @@ -452,7 +453,7 @@
}

/**
* @polymerMixinClass
* @mixinClass
* @unrestricted
* @implements {Polymer_ElementMixin}
*/
Expand Down
5 changes: 3 additions & 2 deletions lib/mixins/gesture-event-listeners.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,16 @@
* templates will support gesture events when this mixin is applied along with
* `Polymer.TemplateStamp`.
*
* @polymerMixin
* @mixinFunction
* @polymer
* @memberof Polymer
* @summary Element class mixin that provides API for adding Polymer's cross-platform
* gesture events to nodes
*/
Polymer.GestureEventListeners = Polymer.dedupingMixin(superClass => {

/**
* @polymerMixinClass
* @mixinClass
* @implements {Polymer_GestureEventListeners}
*/
class GestureEventListeners extends superClass {
Expand Down
10 changes: 6 additions & 4 deletions lib/mixins/mutable-data.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,16 @@
* will be worse as opposed to using strict dirty checking with immutable
* patterns or Polymer's path notification API.
*
* @polymerMixin
* @mixinFunction
* @polymer
* @memberof Polymer
* @summary Element class mixin to skip strict dirty-checking for objects
* and arrays
*/
Polymer.MutableData = Polymer.dedupingMixin(superClass => {

/**
* @polymerMixinClass
* @mixinClass
* @implements {Polymer_MutableData}
*/
class MutableData extends superClass {
Expand Down Expand Up @@ -136,15 +137,16 @@
* strict dirty checking with immutable patterns or Polymer's path notification
* API.
*
* @polymerMixin
* @mixinFunction
* @polymer
* @memberof Polymer
* @summary Element class mixin to optionally skip strict dirty-checking
* for objects and arrays
*/
Polymer.OptionalMutableData = Polymer.dedupingMixin(superClass => {

/**
* @polymerMixinClass
* @mixinClass
* @implements {Polymer_OptionalMutableData}
*/
class OptionalMutableData extends superClass {
Expand Down
5 changes: 3 additions & 2 deletions lib/mixins/property-accessors.html
Original file line number Diff line number Diff line change
Expand Up @@ -86,15 +86,16 @@
* deserialized via `attributeChangedCallback` and set to the associated
* property using `dash-case`-to-`camelCase` convention.
*
* @polymerMixin
* @mixinFunction
* @polymer
* @memberof Polymer
* @summary Element class mixin for reacting to property changes from
* generated property accessors.
*/
Polymer.PropertyAccessors = Polymer.dedupingMixin(superClass => {

/**
* @polymerMixinClass
* @mixinClass
* @implements {Polymer_PropertyAccessors}
* @unrestricted
*/
Expand Down
5 changes: 3 additions & 2 deletions lib/mixins/property-effects.html
Original file line number Diff line number Diff line change
Expand Up @@ -1045,7 +1045,8 @@
* whereas the default when using `PropertyAccessors` standalone is to be
* async by default.
*
* @polymerMixin
* @mixinFunction
* @polymer
* @mixes Polymer.TemplateStamp
* @mixes Polymer.PropertyAccessors
* @memberof Polymer
Expand All @@ -1063,7 +1064,7 @@
const propertyEffectsBase = Polymer.TemplateStamp(Polymer.PropertyAccessors(superClass));

/**
* @polymerMixinClass
* @mixinClass
* @unrestricted
* @implements {Polymer_PropertyEffects}
*/
Expand Down
5 changes: 3 additions & 2 deletions lib/mixins/template-stamp.html
Original file line number Diff line number Diff line change
Expand Up @@ -106,14 +106,15 @@
* - Nested template content caching/removal and re-installation (performance
* optimization)
*
* @polymerMixin
* @mixinFunction
* @polymer
* @memberof Polymer
* @summary Element class mixin that provides basic template parsing and stamping
*/
Polymer.TemplateStamp = Polymer.dedupingMixin(superClass => {

/**
* @polymerMixinClass
* @mixinClass
* @implements {Polymer_TemplateStamp}
*/
class TemplateStamp extends superClass {
Expand Down

0 comments on commit f7e8021

Please sign in to comment.