lib/bundle.js
/**
 * Initialize a menu item from an options object.
 */
Initialize a menu item from an options object.
Initialize a menu item from an options object .
function initFromOptions(item, options) {
    initFromCommon(item, options);
    if (options.submenu !== void 0) {
        item.submenu = options.submenu;
    }
}
function initFromOptions ( item , options ) { initFromCommon ( item , options ) ; if ( options . submenu !== void 0 ) { item . submenu = options . submenu ; } }
Initialize a menu item from an options object.
Initialize a menu item from an options object .