Skip to content

Commit

Permalink
menu-item: Check jsdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
DimaChervan authored and sipayRT committed Aug 5, 2014
1 parent 3c65b70 commit 7c807ea
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions common.blocks/menu-item/_type/menu-item_type_link.js
@@ -1,6 +1,15 @@
/**
* @module menu-item
*/

modules.define('menu-item', ['link'], function(provide, _, MenuItem) {

provide(MenuItem.decl({ modName : 'type', modVal : 'link' }, {
/**
* @exports
* @class menu-item
* @bem
*/
provide(MenuItem.decl({ modName : 'type', modVal : 'link' }, /** @lends menu-item.prototype */{
onSetMod : {
'hovered' : {
'true' : function() {
Expand Down Expand Up @@ -31,7 +40,7 @@ provide(MenuItem.decl({ modName : 'type', modVal : 'link' }, {
_onFocus : function() {
this.setMod('hovered');
}
}, {
}, /** @lends menu-item */{
live : function() {
this.liveBindTo('focusin', this.prototype._onFocus);
return this.__base.apply(this, arguments);
Expand Down

0 comments on commit 7c807ea

Please sign in to comment.