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

Commit 6483dea

Browse files
docs(bike-shed-migration): Add missing module tag
The generator is able to imply the module from the containing folder for most files but these are in the ng module but are stored at the root folder.
1 parent cceb455 commit 6483dea

File tree

4 files changed

+39
-0
lines changed

4 files changed

+39
-0
lines changed

src/Angular.js

+22
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@
9090
/**
9191
* @ngdoc function
9292
* @name angular.lowercase
93+
* @module ng
9394
* @function
9495
*
9596
* @description Converts the specified string to lowercase.
@@ -102,6 +103,7 @@ var hasOwnProperty = Object.prototype.hasOwnProperty;
102103
/**
103104
* @ngdoc function
104105
* @name angular.uppercase
106+
* @module ng
105107
* @function
106108
*
107109
* @description Converts the specified string to uppercase.
@@ -185,6 +187,7 @@ function isArrayLike(obj) {
185187
/**
186188
* @ngdoc function
187189
* @name angular.forEach
190+
* @module ng
188191
* @function
189192
*
190193
* @description
@@ -313,6 +316,7 @@ function setHashKey(obj, h) {
313316
/**
314317
* @ngdoc function
315318
* @name angular.extend
319+
* @module ng
316320
* @function
317321
*
318322
* @description
@@ -349,6 +353,7 @@ function inherit(parent, extra) {
349353
/**
350354
* @ngdoc function
351355
* @name angular.noop
356+
* @module ng
352357
* @function
353358
*
354359
* @description
@@ -368,6 +373,7 @@ noop.$inject = [];
368373
/**
369374
* @ngdoc function
370375
* @name angular.identity
376+
* @module ng
371377
* @function
372378
*
373379
* @description
@@ -389,6 +395,7 @@ function valueFn(value) {return function() {return value;};}
389395
/**
390396
* @ngdoc function
391397
* @name angular.isUndefined
398+
* @module ng
392399
* @function
393400
*
394401
* @description
@@ -403,6 +410,7 @@ function isUndefined(value){return typeof value === 'undefined';}
403410
/**
404411
* @ngdoc function
405412
* @name angular.isDefined
413+
* @module ng
406414
* @function
407415
*
408416
* @description
@@ -417,6 +425,7 @@ function isDefined(value){return typeof value !== 'undefined';}
417425
/**
418426
* @ngdoc function
419427
* @name angular.isObject
428+
* @module ng
420429
* @function
421430
*
422431
* @description
@@ -432,6 +441,7 @@ function isObject(value){return value != null && typeof value === 'object';}
432441
/**
433442
* @ngdoc function
434443
* @name angular.isString
444+
* @module ng
435445
* @function
436446
*
437447
* @description
@@ -446,6 +456,7 @@ function isString(value){return typeof value === 'string';}
446456
/**
447457
* @ngdoc function
448458
* @name angular.isNumber
459+
* @module ng
449460
* @function
450461
*
451462
* @description
@@ -460,6 +471,7 @@ function isNumber(value){return typeof value === 'number';}
460471
/**
461472
* @ngdoc function
462473
* @name angular.isDate
474+
* @module ng
463475
* @function
464476
*
465477
* @description
@@ -476,6 +488,7 @@ function isDate(value){
476488
/**
477489
* @ngdoc function
478490
* @name angular.isArray
491+
* @module ng
479492
* @function
480493
*
481494
* @description
@@ -492,6 +505,7 @@ function isArray(value) {
492505
/**
493506
* @ngdoc function
494507
* @name angular.isFunction
508+
* @module ng
495509
* @function
496510
*
497511
* @description
@@ -560,6 +574,7 @@ var trim = (function() {
560574
/**
561575
* @ngdoc function
562576
* @name angular.isElement
577+
* @module ng
563578
* @function
564579
*
565580
* @description
@@ -670,6 +685,7 @@ function isLeafNode (node) {
670685
/**
671686
* @ngdoc function
672687
* @name angular.copy
688+
* @module ng
673689
* @function
674690
*
675691
* @description
@@ -785,6 +801,7 @@ function shallowCopy(src, dst) {
785801
/**
786802
* @ngdoc function
787803
* @name angular.equals
804+
* @module ng
788805
* @function
789806
*
790807
* @description
@@ -871,6 +888,7 @@ function sliceArgs(args, startIndex) {
871888
/**
872889
* @ngdoc function
873890
* @name angular.bind
891+
* @module ng
874892
* @function
875893
*
876894
* @description
@@ -926,6 +944,7 @@ function toJsonReplacer(key, value) {
926944
/**
927945
* @ngdoc function
928946
* @name angular.toJson
947+
* @module ng
929948
* @function
930949
*
931950
* @description
@@ -945,6 +964,7 @@ function toJson(obj, pretty) {
945964
/**
946965
* @ngdoc function
947966
* @name angular.fromJson
967+
* @module ng
948968
* @function
949969
*
950970
* @description
@@ -1101,6 +1121,7 @@ function encodeUriQuery(val, pctEncodeSpaces) {
11011121
/**
11021122
* @ngdoc directive
11031123
* @name ng.directive:ngApp
1124+
* @module ng
11041125
*
11051126
* @element ANY
11061127
* @param {angular.Module} ngApp an optional application
@@ -1190,6 +1211,7 @@ function angularInit(element, bootstrap) {
11901211
/**
11911212
* @ngdoc function
11921213
* @name angular.bootstrap
1214+
* @module ng
11931215
* @description
11941216
* Use this function to manually start up angular application.
11951217
*

src/AngularPublic.js

+1
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@
7979
/**
8080
* @ngdoc property
8181
* @name angular.version
82+
* @module ng
8283
* @description
8384
* An object that contains information about the current AngularJS version. This object has the
8485
* following properties:

src/jqLite.js

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
/**
1616
* @ngdoc function
1717
* @name angular.element
18+
* @module ng
1819
* @function
1920
*
2021
* @description

src/loader.js

+15
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
/**
44
* @ngdoc interface
55
* @name angular.Module
6+
* @module ng
67
* @description
78
*
89
* Interface for configuring angular {@link angular.module modules}.
@@ -29,6 +30,7 @@ function setupModuleLoader(window) {
2930
/**
3031
* @ngdoc function
3132
* @name angular.module
33+
* @module ng
3234
* @description
3335
*
3436
* The `angular.module` is a global place for creating, registering and retrieving Angular
@@ -111,6 +113,7 @@ function setupModuleLoader(window) {
111113
/**
112114
* @ngdoc property
113115
* @name angular.Module#requires
116+
* @module ng
114117
* @propertyOf angular.Module
115118
* @returns {Array.<string>} List of module names which must be loaded before this module.
116119
* @description
@@ -122,6 +125,7 @@ function setupModuleLoader(window) {
122125
/**
123126
* @ngdoc property
124127
* @name angular.Module#name
128+
* @module ng
125129
* @propertyOf angular.Module
126130
* @returns {string} Name of the module.
127131
* @description
@@ -132,6 +136,7 @@ function setupModuleLoader(window) {
132136
/**
133137
* @ngdoc method
134138
* @name angular.Module#provider
139+
* @module ng
135140
* @methodOf angular.Module
136141
* @param {string} name service name
137142
* @param {Function} providerType Construction function for creating new instance of the
@@ -144,6 +149,7 @@ function setupModuleLoader(window) {
144149
/**
145150
* @ngdoc method
146151
* @name angular.Module#factory
152+
* @module ng
147153
* @methodOf angular.Module
148154
* @param {string} name service name
149155
* @param {Function} providerFunction Function for creating new instance of the service.
@@ -155,6 +161,7 @@ function setupModuleLoader(window) {
155161
/**
156162
* @ngdoc method
157163
* @name angular.Module#service
164+
* @module ng
158165
* @methodOf angular.Module
159166
* @param {string} name service name
160167
* @param {Function} constructor A constructor function that will be instantiated.
@@ -166,6 +173,7 @@ function setupModuleLoader(window) {
166173
/**
167174
* @ngdoc method
168175
* @name angular.Module#value
176+
* @module ng
169177
* @methodOf angular.Module
170178
* @param {string} name service name
171179
* @param {*} object Service instance object.
@@ -177,6 +185,7 @@ function setupModuleLoader(window) {
177185
/**
178186
* @ngdoc method
179187
* @name angular.Module#constant
188+
* @module ng
180189
* @methodOf angular.Module
181190
* @param {string} name constant name
182191
* @param {*} object Constant value.
@@ -189,6 +198,7 @@ function setupModuleLoader(window) {
189198
/**
190199
* @ngdoc method
191200
* @name angular.Module#animation
201+
* @module ng
192202
* @methodOf angular.Module
193203
* @param {string} name animation name
194204
* @param {Function} animationFactory Factory function for creating new instance of an
@@ -223,6 +233,7 @@ function setupModuleLoader(window) {
223233
/**
224234
* @ngdoc method
225235
* @name angular.Module#filter
236+
* @module ng
226237
* @methodOf angular.Module
227238
* @param {string} name Filter name.
228239
* @param {Function} filterFactory Factory function for creating new instance of filter.
@@ -234,6 +245,7 @@ function setupModuleLoader(window) {
234245
/**
235246
* @ngdoc method
236247
* @name angular.Module#controller
248+
* @module ng
237249
* @methodOf angular.Module
238250
* @param {string|Object} name Controller name, or an object map of controllers where the
239251
* keys are the names and the values are the constructors.
@@ -246,6 +258,7 @@ function setupModuleLoader(window) {
246258
/**
247259
* @ngdoc method
248260
* @name angular.Module#directive
261+
* @module ng
249262
* @methodOf angular.Module
250263
* @param {string|Object} name Directive name, or an object map of directives where the
251264
* keys are the names and the values are the factories.
@@ -259,6 +272,7 @@ function setupModuleLoader(window) {
259272
/**
260273
* @ngdoc method
261274
* @name angular.Module#config
275+
* @module ng
262276
* @methodOf angular.Module
263277
* @param {Function} configFn Execute this function on module load. Useful for service
264278
* configuration.
@@ -270,6 +284,7 @@ function setupModuleLoader(window) {
270284
/**
271285
* @ngdoc method
272286
* @name angular.Module#run
287+
* @module ng
273288
* @methodOf angular.Module
274289
* @param {Function} initializationFn Execute this function after injector creation.
275290
* Useful for application initialization.

0 commit comments

Comments
 (0)