Skip to content
This repository has been archived by the owner on May 3, 2022. It is now read-only.

Commit

Permalink
ezp-26872: reveiw fix
Browse files Browse the repository at this point in the history
  • Loading branch information
stephaneDiot committed Feb 9, 2017
1 parent e0698c7 commit 5c6915c
Showing 1 changed file with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ YUI.add('ez-universaldiscoveryviewservice', function (Y) {
*/
Y.eZ.UniversalDiscoveryViewService = Y.Base.create('universalDiscoveryViewService', Y.eZ.ViewService, [Y.eZ.SideViewService], {
/**
* Loads the starting location of the UDW if there is a provided starting location id.
* Else starting location is set to false.
*
* @method _load
* @protected
Expand Down Expand Up @@ -50,12 +52,13 @@ YUI.add('ez-universaldiscoveryviewservice', function (Y) {
},

/**
* `Get the path of the UDW starting Location.
* Loads the path of the UDW starting Location.
*
* @method _loadStartingLocationPath
* @protected
* @param {eZ.Location} startingLocation
* @param {Function} callback
* @param {Function} callback Executed after loading the path. Takes the location containing the path in parameter or false if loading error.
*
*/
_loadStartingLocationPath: function (startingLocation, callback) {
var options = {api: this.get('capi')};
Expand Down Expand Up @@ -95,12 +98,12 @@ YUI.add('ez-universaldiscoveryviewservice', function (Y) {
ATTRS: {

/**
* Holds the starting location where the UDW will .
* Holds the starting location where the UDW will start.
* False if no starting location defined
*
* @attribute startingLocation
* @default false
* @type {eZ.Location}
* @type {eZ.Location|False}
*/
startingLocation: {
value: false,
Expand Down

0 comments on commit 5c6915c

Please # to comment.