Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit c29e5b6

Browse files
committed
Merge pull request #8126 from adobe/jbalsas/jsdoc_typos
Fix some jsdoc tags typos
2 parents b671a32 + cc2c65c commit c29e5b6

5 files changed

Lines changed: 16 additions & 16 deletions

File tree

src/extensibility/Package.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ define(function (require, exports, module) {
6868

6969
/**
7070
* @private
71-
* @type{jQuery.Deferred.<NodeConnection>}
71+
* @type {jQuery.Deferred.<NodeConnection>}
7272
* A deferred which is resolved with a NodeConnection or rejected if
7373
* we are unable to connect to Node.
7474
*/

src/filesystem/FileSystem.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,16 +221,16 @@ define(function (require, exports, module) {
221221
* objects which contain a file entry, filter function, and an indication of
222222
* whether the watched root is inactive, starting up or fully active.
223223
*
224-
* @type{Object.<string, WatchedRoot>}
224+
* @type {Object.<string, WatchedRoot>}
225225
*/
226226
FileSystem.prototype._watchedRoots = null;
227227

228228
/**
229229
* Finds a parent watched root for a given path, or returns null if a parent
230230
* watched root does not exist.
231231
*
232-
* @param{string} fullPath The child path for which a parent watched root is to be found
233-
* @return{?{entry: FileSystemEntry, filter: function(string) boolean}} The parent
232+
* @param {string} fullPath The child path for which a parent watched root is to be found
233+
* @return {?{entry: FileSystemEntry, filter: function(string) boolean}} The parent
234234
* watched root, if it exists, or null.
235235
*/
236236
FileSystem.prototype._findWatchedRootForPath = function (fullPath) {

src/project/ProjectManager.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ define(function (require, exports, module) {
162162
/**
163163
* @private
164164
* Encoded URL
165-
* @ see getBaseUrl(), setBaseUrl()
165+
* @see getBaseUrl(), setBaseUrl()
166166
*/
167167
var _projectBaseUrl = "";
168168

@@ -1756,7 +1756,7 @@ define(function (require, exports, module) {
17561756
* Rename a file/folder. This will update the project tree data structures
17571757
* and send notifications about the rename.
17581758
*
1759-
* @prarm {string} oldName Old item name
1759+
* @param {string} oldName Old item name
17601760
* @param {string} newName New item name
17611761
* @param {boolean} isFolder True if item is a folder; False if it is a file.
17621762
* @return {$.Promise} A promise object that will be resolved or rejected when

src/project/WorkingSetView.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ define(function (require, exports, module) {
221221
* Starts the drag and drop working set view reorder.
222222
* @private
223223
* @param {!Event} event - jQuery event
224-
* @paran {!HTMLLIElement} $listItem - jQuery element
224+
* @param {!HTMLLIElement} $listItem - jQuery element
225225
* @param {?bool} fromClose - true if reorder was called from the close icon
226226
*/
227227
function _reorderListItem(event, $listItem, fromClose) {

src/utils/NodeConnection.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ define(function (require, exports, module) {
123123
}
124124

125125
/**
126-
* @type{Object}
126+
* @type {Object}
127127
* Exposes the domains registered with the server. This object will
128128
* have a property for each registered domain. Each of those properties
129129
* will be an object containing properties for all the commands in that
@@ -138,51 +138,51 @@ define(function (require, exports, module) {
138138

139139
/**
140140
* @private
141-
* @type{Array.<string>}
141+
* @type {Array.<string>}
142142
* List of module pathnames that should be re-registered if there is
143143
* a disconnection/connection (i.e. if the server died).
144144
*/
145145
NodeConnection.prototype._registeredModules = null;
146146

147147
/**
148148
* @private
149-
* @type{WebSocket}
149+
* @type {WebSocket}
150150
* The connection to the server
151151
*/
152152
NodeConnection.prototype._ws = null;
153153

154154
/**
155155
* @private
156-
* @type{?number}
156+
* @type {?number}
157157
* The port the WebSocket is currently connected to
158158
*/
159159
NodeConnection.prototype._port = null;
160160

161161
/**
162162
* @private
163-
* @type{number}
163+
* @type {number}
164164
* Unique ID for commands
165165
*/
166166
NodeConnection.prototype._commandCount = 1;
167167

168168
/**
169169
* @private
170-
* @type{boolean}
170+
* @type {boolean}
171171
* Whether to attempt reconnection if connection fails
172172
*/
173173
NodeConnection.prototype._autoReconnect = false;
174174

175175
/**
176176
* @private
177-
* @type{Array.<jQuery.Deferred>}
177+
* @type {Array.<jQuery.Deferred>}
178178
* List of deferred objects that should be resolved pending
179179
* a successful refresh of the API
180180
*/
181181
NodeConnection.prototype._pendingInterfaceRefreshDeferreds = null;
182182

183183
/**
184184
* @private
185-
* @type{Array.<jQuery.Deferred>}
185+
* @type {Array.<jQuery.Deferred>}
186186
* Array (indexed on command ID) of deferred objects that should be
187187
* resolved/rejected with the response of commands.
188188
*/
@@ -328,7 +328,7 @@ define(function (require, exports, module) {
328328

329329
/**
330330
* Determines whether the NodeConnection is currently connected
331-
* @return{boolean} Whether the NodeConnection is connected.
331+
* @return {boolean} Whether the NodeConnection is connected.
332332
*/
333333
NodeConnection.prototype.connected = function () {
334334
return !!(this._ws && this._ws.readyState === WebSocket.OPEN);

0 commit comments

Comments
 (0)