Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit e9e8d49

Browse files
style(jsdoc tags): remove/ammend invalid tags
As highlighted by the new sterner dgeni.
1 parent 550fc21 commit e9e8d49

File tree

7 files changed

+3
-11
lines changed

7 files changed

+3
-11
lines changed

src/loader.js

-2
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ function setupModuleLoader(window) {
114114
* @ngdoc property
115115
* @name angular.Module#requires
116116
* @module ng
117-
* @propertyOf angular.Module
118117
* @returns {Array.<string>} List of module names which must be loaded before this module.
119118
* @description
120119
* Holds the list of modules which the injector will load before the current module is
@@ -126,7 +125,6 @@ function setupModuleLoader(window) {
126125
* @ngdoc property
127126
* @name angular.Module#name
128127
* @module ng
129-
* @propertyOf angular.Module
130128
* @returns {string} Name of the module.
131129
* @description
132130
*/

src/ng/browser.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,6 @@ function Browser(window, document, $log, $sniffer) {
194194

195195
/**
196196
* @name $browser#onUrlChange
197-
* @TODO(vojta): refactor to use node's syntax for events
198197
*
199198
* @description
200199
* Register callback function that will be called, when url changes.
@@ -215,6 +214,7 @@ function Browser(window, document, $log, $sniffer) {
215214
* @return {function(string)} Returns the registered listener fn - handy if the fn is anonymous.
216215
*/
217216
self.onUrlChange = function(callback) {
217+
// TODO(vojta): refactor to use node's syntax for events
218218
if (!urlChangeInit) {
219219
// We listen on both (hashchange/popstate) when available, as some browsers (e.g. Opera)
220220
// don't fire popstate when user change the address bar and don't fire hashchange when url

src/ng/directive/ngInclude.js

-2
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,6 @@
146146
/**
147147
* @ngdoc event
148148
* @name ngInclude#$includeContentRequested
149-
* @eventOf ng.directive:ngInclude
150149
* @eventType emit on the scope ngInclude was declared in
151150
* @description
152151
* Emitted every time the ngInclude content is requested.
@@ -156,7 +155,6 @@
156155
/**
157156
* @ngdoc event
158157
* @name ngInclude#$includeContentLoaded
159-
* @eventOf ng.directive:ngInclude
160158
* @eventType emit on the current ngInclude scope
161159
* @description
162160
* Emitted every time the ngInclude content is reloaded.

src/ng/directive/ngSwitch.js

-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
* @scope
4242
* @priority 800
4343
* @param {*} ngSwitch|on expression to match against <tt>ng-switch-when</tt>.
44-
* @paramDescription
4544
* On child elements add:
4645
*
4746
* * `ngSwitchWhen`: the case statement to match against. If match then this

src/ng/filter/filters.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ function dateFilter($locale) {
441441
* @returns {string} JSON string.
442442
*
443443
*
444-
* @example:
444+
* @example
445445
<example>
446446
<file name="index.html">
447447
<pre>{{ {'name':'value'} | json }}</pre>

src/ng/rootScope.js

-2
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ function $RootScopeProvider(){
139139
/**
140140
* @ngdoc property
141141
* @name $rootScope.Scope#$id
142-
* @propertyOf ng.$rootScope.Scope
143142
* @returns {number} Unique scope ID (monotonically increasing alphanumeric sequence) useful for
144143
* debugging.
145144
*/
@@ -652,7 +651,6 @@ function $RootScopeProvider(){
652651
/**
653652
* @ngdoc event
654653
* @name $rootScope.Scope#$destroy
655-
* @eventOf ng.$rootScope.Scope
656654
* @eventType broadcast on scope being destroyed
657655
*
658656
* @description

src/ngAnimate/animate.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -701,8 +701,7 @@ angular.module('ngAnimate', ['ng'])
701701
/**
702702
*
703703
* @ngdoc function
704-
* @name ng.$animate#setClass
705-
* @methodOf ng.$animate
704+
* @name $animate#setClass
706705
* @function
707706
* @description Adds and/or removes the given CSS classes to and from the element.
708707
* Once complete, the done() callback will be fired (if provided).

0 commit comments

Comments
 (0)