Skip to content

Commit

Permalink
Fix wrong usage of @constructor with @constructs
Browse files Browse the repository at this point in the history
  • Loading branch information
skad0 authored and veged committed Jun 16, 2017
1 parent 4bf5ed0 commit a7c0052
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion common.blocks/events/__observable/events__observable.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ modules.define(
*/
var Observable = inherit(/** @lends Observable.prototype */{
/**
* @constructor
* @constructs
* @param {Object} emitter
*/
__constructor : function(emitter) {
Expand Down
2 changes: 1 addition & 1 deletion common.blocks/events/events.vanilla.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ var undef,
*/
Event = inherit(/** @lends Event.prototype */{
/**
* @constructor
* @constructs
* @param {String} type
* @param {Object} target
*/
Expand Down
4 changes: 2 additions & 2 deletions common.blocks/i-bem-dom/__events/i-bem-dom__events.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ var undef,
*/
EventManager = inherit(/** @lends EventManager.prototype */{
/**
* @constructor
* @constructs
* @param {Object} params EventManager parameters
* @param {Function} fnWrapper Wrapper function to build event handler
* @param {Function} eventBuilder Function to build event
Expand Down Expand Up @@ -171,7 +171,7 @@ var undef,
*/
CollectionEventManager = inherit(/** @lends CollectionEventManager.prototype */{
/**
* @constructor
* @constructs
* @param {Array} eventManagers Array of event managers
*/
__constructor : function(eventManagers) {
Expand Down
2 changes: 1 addition & 1 deletion common.blocks/i-bem-dom/i-bem-dom.js
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ function validateBlockParam(Block) {
*/
var BemDomEntity = inherit(/** @lends BemDomEntity.prototype */{
/**
* @constructor
* @constructs
* @private
* @param {jQuery} domElem DOM element that the entity is created on
* @param {Object} params parameters
Expand Down
2 changes: 1 addition & 1 deletion common.blocks/i-bem/__collection/i-bem__collection.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ modules.define('i-bem__collection', ['inherit'], function(provide, inherit) {
*/
var BemCollection = inherit(/** @lends BemCollection.prototype */{
/**
* @constructor
* @constructs
* @param {Array} entities BEM entities
*/
__constructor : function(entities) {
Expand Down
2 changes: 1 addition & 1 deletion common.blocks/i-bem/i-bem.vanilla.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ function declEntity(baseCls, entityName, base, props, staticProps) {
*/
var BemEntity = inherit(/** @lends BemEntity.prototype */ {
/**
* @constructor
* @constructs
* @private
* @param {Object} mods BemEntity modifiers
* @param {Object} params BemEntity parameters
Expand Down
2 changes: 1 addition & 1 deletion common.blocks/idle/idle.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ var IDLE_TIMEOUT = 3000,
*/
Idle = inherit(events.Emitter, /** @lends Idle.prototype */{
/**
* @constructor
* @constructs
*/
__constructor : function() {
this._timer = null;
Expand Down
2 changes: 1 addition & 1 deletion common.blocks/tick/tick.vanilla.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ var TICK_INTERVAL = 50,
*/
Tick = inherit(events.Emitter, /** @lends Tick.prototype */{
/**
* @constructor
* @constructs
*/
__constructor : function() {
this._timer = null;
Expand Down
4 changes: 2 additions & 2 deletions common.blocks/vow/vow.vanilla.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ var undef,
*/

/**
* @constructor
* @constructs vow:Deferred
* @description
* You can use `vow.defer()` instead of using this constructor.
*
Expand Down Expand Up @@ -269,7 +269,7 @@ var PROMISE_STATUS = {
*/

/**
* @constructor
* @constructs vow:Promise
* @param {Function} resolver See https://github.com/domenic/promises-unwrapping/blob/master/README.md#the-promise-constructor for details.
* @description
* You should use this constructor directly only if you are going to use `vow` as DOM Promises implementation.
Expand Down

0 comments on commit a7c0052

Please sign in to comment.