mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
add @workInProgress tag and mark all @ngdocs as work in progress
This commit is contained in:
parent
3c7874b07b
commit
fc7f11d03b
24 changed files with 198 additions and 0 deletions
|
|
@ -240,6 +240,9 @@ var TAG = {
|
|||
css: valueTag,
|
||||
see: valueTag,
|
||||
deprecated: valueTag,
|
||||
workInProgress: function(doc, name, value) {
|
||||
doc[name] = {description: markdown(value)};
|
||||
},
|
||||
usageContent: valueTag,
|
||||
'function': valueTag,
|
||||
description: markdownTag,
|
||||
|
|
|
|||
|
|
@ -1,5 +1,13 @@
|
|||
<h1>{{name}}</h1>
|
||||
|
||||
{{#workInProgress}}
|
||||
<fieldset class="workInProgress">
|
||||
<legend>Work In Progress</legend>
|
||||
This page is currently being revised. It might be incomplete or contain inaccuracies.
|
||||
{{{workInProgress.description}}}
|
||||
</fieldset>
|
||||
{{/workInProgress}}
|
||||
|
||||
{{#deprecated}}
|
||||
<fieldset class="deprecated">
|
||||
<legend>Deprecated API</legend>
|
||||
|
|
|
|||
|
|
@ -159,3 +159,12 @@ a {
|
|||
font-weight: bold;
|
||||
color: red;
|
||||
}
|
||||
|
||||
.workInProgress {
|
||||
border: 2px solid orange;
|
||||
}
|
||||
|
||||
.workInProgress legend {
|
||||
font-weight: bold;
|
||||
color: orange;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,13 @@
|
|||
<h1>{{name}}</h1>
|
||||
|
||||
{{#workInProgress}}
|
||||
<fieldset class="workInProgress">
|
||||
<legend>Work In Progress</legend>
|
||||
This page is currently being revised. It might be incomplete or contain inaccuracies.
|
||||
{{{workInProgress.description}}}
|
||||
</fieldset>
|
||||
{{/workInProgress}}
|
||||
|
||||
{{#deprecated}}
|
||||
<fieldset class="deprecated">
|
||||
<legend>Deprecated API</legend>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,13 @@
|
|||
<h1>{{name}}</h1>
|
||||
|
||||
{{#workInProgress}}
|
||||
<fieldset class="workInProgress">
|
||||
<legend>Work In Progress</legend>
|
||||
This page is currently being revised. It might be incomplete or contain inaccuracies.
|
||||
{{{workInProgress.description}}}
|
||||
</fieldset>
|
||||
{{/workInProgress}}
|
||||
|
||||
{{#deprecated}}
|
||||
<fieldset class="deprecated">
|
||||
<legend>Deprecated API</legend>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,13 @@
|
|||
<h1>{{name}}</h1>
|
||||
|
||||
{{#workInProgress}}
|
||||
<fieldset class="workInProgress">
|
||||
<legend>Work In Progress</legend>
|
||||
This page is currently being revised. It might be incomplete or contain inaccuracies.
|
||||
{{{workInProgress.description}}}
|
||||
</fieldset>
|
||||
{{/workInProgress}}
|
||||
|
||||
{{#deprecated}}
|
||||
<fieldset class="deprecated">
|
||||
<legend>Deprecated API</legend>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,13 @@
|
|||
<h1>{{name}}</h1>
|
||||
|
||||
{{#workInProgress}}
|
||||
<fieldset class="workInProgress">
|
||||
<legend>Work In Progress</legend>
|
||||
This page is currently being revised. It might be incomplete or contain inaccuracies.
|
||||
{{{workInProgress.description}}}
|
||||
</fieldset>
|
||||
{{/workInProgress}}
|
||||
|
||||
{{#deprecated}}
|
||||
<fieldset class="deprecated">
|
||||
<legend>Deprecated API</legend>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,13 @@
|
|||
<h1><tt>{{name}}</tt></h1>
|
||||
|
||||
{{#workInProgress}}
|
||||
<fieldset class="workInProgress">
|
||||
<legend>Work In Progress</legend>
|
||||
This page is currently being revised. It might be incomplete or contain inaccuracies.
|
||||
{{{workInProgress.description}}}
|
||||
</fieldset>
|
||||
{{/workInProgress}}
|
||||
|
||||
{{#deprecated}}
|
||||
<fieldset class="deprecated">
|
||||
<legend>Deprecated API</legend>
|
||||
|
|
|
|||
|
|
@ -230,6 +230,18 @@ describe('collect', function(){
|
|||
})
|
||||
});
|
||||
|
||||
describe('@workInProgress', function() {
|
||||
it('should parse @workInProgress without a description and default to true', function() {
|
||||
TAG.workInProgress(doc, 'workInProgress', '');
|
||||
expect(doc.workInProgress).toEqual({description: ''});
|
||||
});
|
||||
|
||||
it('should parse @workInProgress with a description', function() {
|
||||
TAG.workInProgress(doc, 'workInProgress', 'my description');
|
||||
expect(doc.workInProgress).toEqual({description: '<p>my description</p>'});
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
describe('trim', function(){
|
||||
|
|
|
|||
|
|
@ -1,5 +1,13 @@
|
|||
<h1>{{name}}</h1>
|
||||
|
||||
{{#workInProgress}}
|
||||
<fieldset class="workInProgress">
|
||||
<legend>Work In Progress</legend>
|
||||
This page is currently being revised. It might be incomplete or contain inaccuracies.
|
||||
{{{workInProgress.description}}}
|
||||
</fieldset>
|
||||
{{/workInProgress}}
|
||||
|
||||
{{#deprecated}}
|
||||
<fieldset class="deprecated">
|
||||
<legend>Deprecated API</legend>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,13 @@
|
|||
<h1>{{name}}</h1>
|
||||
|
||||
{{#workInProgress}}
|
||||
<fieldset class="workInProgress">
|
||||
<legend>Work In Progress</legend>
|
||||
This page is currently being revised. It might be incomplete or contain inaccuracies.
|
||||
{{{workInProgress.description}}}
|
||||
</fieldset>
|
||||
{{/workInProgress}}
|
||||
|
||||
{{#deprecated}}
|
||||
<fieldset class="deprecated">
|
||||
<legend>Deprecated API</legend>
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ if (typeof document.getAttribute == $undefined)
|
|||
document.getAttribute = function() {};
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc function
|
||||
* @name angular.lowercase
|
||||
* @function
|
||||
|
|
@ -16,6 +17,7 @@ var lowercase = function (string){ return isString(string) ? string.toLowerCase(
|
|||
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc function
|
||||
* @name angular.uppercase
|
||||
* @function
|
||||
|
|
@ -86,6 +88,7 @@ var _undefined = undefined,
|
|||
error = window[$console] ? bind(window[$console], window[$console]['error'] || noop) : noop,
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc overview
|
||||
* @name angular
|
||||
* @namespace The exported angular namespace.
|
||||
|
|
@ -94,6 +97,7 @@ var _undefined = undefined,
|
|||
angularTextMarkup = extensionMap(angular, 'markup'),
|
||||
angularAttrMarkup = extensionMap(angular, 'attrMarkup'),
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc overview
|
||||
* @name angular.directive
|
||||
* @namespace Namespace for all directives.
|
||||
|
|
@ -150,6 +154,7 @@ var _undefined = undefined,
|
|||
angularDirective = extensionMap(angular, 'directive'),
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc overview
|
||||
* @name angular.widget
|
||||
* @namespace Namespace for all widgets.
|
||||
|
|
@ -225,6 +230,7 @@ var _undefined = undefined,
|
|||
angularWidget = extensionMap(angular, 'widget', lowercase),
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc overview
|
||||
* @name angular.validator
|
||||
* @namespace Namespace for all filters.
|
||||
|
|
@ -302,6 +308,7 @@ var _undefined = undefined,
|
|||
angularValidator = extensionMap(angular, 'validator'),
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc overview
|
||||
* @name angular.filter
|
||||
* @namespace Namespace for all filters.
|
||||
|
|
@ -380,6 +387,7 @@ var _undefined = undefined,
|
|||
*/
|
||||
angularFilter = extensionMap(angular, 'filter'),
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc overview
|
||||
* @name angular.formatter
|
||||
* @namespace Namespace for all formats.
|
||||
|
|
@ -461,6 +469,7 @@ var _undefined = undefined,
|
|||
angularFormatter = extensionMap(angular, 'formatter'),
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc overview
|
||||
* @name angular.service
|
||||
*
|
||||
|
|
@ -883,6 +892,7 @@ function toKeyValue(obj) {
|
|||
}
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc directive
|
||||
* @name angular.directive.ng:autobind
|
||||
* @element script
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
var browserSingleton;
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc service
|
||||
* @name angular.service.$browser
|
||||
* @requires $log
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ function Browser(location, document, head, XHR, $log) {
|
|||
var outstandingRequestCallbacks = [];
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc method
|
||||
* @name angular.service.$browser#xhr
|
||||
* @methodOf angular.service.$browser
|
||||
|
|
@ -77,6 +78,7 @@ function Browser(location, document, head, XHR, $log) {
|
|||
};
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc method
|
||||
* @name angular.service.$browser#notifyWhenNoOutstandingRequests
|
||||
* @methodOf angular.service.$browser
|
||||
|
|
@ -97,6 +99,7 @@ function Browser(location, document, head, XHR, $log) {
|
|||
var pollFns = [];
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc method
|
||||
* @name angular.service.$browser#poll
|
||||
* @methodOf angular.service.$browser
|
||||
|
|
@ -106,6 +109,7 @@ function Browser(location, document, head, XHR, $log) {
|
|||
};
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc method
|
||||
* @name angular.service.$browser#addPollFn
|
||||
* @methodOf angular.service.$browser
|
||||
|
|
@ -123,6 +127,7 @@ function Browser(location, document, head, XHR, $log) {
|
|||
};
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc method
|
||||
* @name angular.service.$browser#startPoller
|
||||
* @methodOf angular.service.$browser
|
||||
|
|
@ -146,6 +151,7 @@ function Browser(location, document, head, XHR, $log) {
|
|||
//////////////////////////////////////////////////////////////
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc method
|
||||
* @name angular.service.$browser#setUrl
|
||||
* @methodOf angular.service.$browser
|
||||
|
|
@ -163,6 +169,7 @@ function Browser(location, document, head, XHR, $log) {
|
|||
};
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc method
|
||||
* @name angular.service.$browser#getUrl
|
||||
* @methodOf angular.service.$browser
|
||||
|
|
@ -184,6 +191,7 @@ function Browser(location, document, head, XHR, $log) {
|
|||
var lastCookieString = '';
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc method
|
||||
* @name angular.service.$browser#cookies
|
||||
* @methodOf angular.service.$browser
|
||||
|
|
@ -248,6 +256,7 @@ function Browser(location, document, head, XHR, $log) {
|
|||
var hoverListener = noop;
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc method
|
||||
* @name angular.service.$browser#hover
|
||||
* @methodOf angular.service.$browser
|
||||
|
|
@ -261,6 +270,7 @@ function Browser(location, document, head, XHR, $log) {
|
|||
self.hover = function(listener) { hoverListener = listener; };
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc method
|
||||
* @name angular.service.$browser#bind
|
||||
* @methodOf angular.service.$browser
|
||||
|
|
@ -281,6 +291,7 @@ function Browser(location, document, head, XHR, $log) {
|
|||
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc method
|
||||
* @name angular.service.$browser#addCss
|
||||
* @methodOf angular.service.$browser
|
||||
|
|
@ -299,6 +310,7 @@ function Browser(location, document, head, XHR, $log) {
|
|||
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc method
|
||||
* @name angular.service.$browser#addJs
|
||||
* @methodOf angular.service.$browser
|
||||
|
|
|
|||
|
|
@ -111,6 +111,7 @@ Compiler.prototype = {
|
|||
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc directive
|
||||
* @name angular.directive.ng:eval-order
|
||||
*
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
var array = [].constructor;
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc function
|
||||
* @name angular.toJson
|
||||
* @function
|
||||
|
|
@ -19,6 +20,7 @@ function toJson(obj, pretty) {
|
|||
}
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc function
|
||||
* @name angular.fromJson
|
||||
* @function
|
||||
|
|
|
|||
|
|
@ -105,6 +105,7 @@ function errorHandlerFor(element, error) {
|
|||
}
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc overview
|
||||
* @name angular.scope
|
||||
*
|
||||
|
|
@ -241,6 +242,7 @@ function createScope(parent, providers, instanceCache) {
|
|||
$parent: parent,
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc function
|
||||
* @name angular.scope.$bind
|
||||
* @function
|
||||
|
|
@ -264,6 +266,7 @@ function createScope(parent, providers, instanceCache) {
|
|||
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc function
|
||||
* @name angular.scope.$eval
|
||||
* @function
|
||||
|
|
@ -322,6 +325,7 @@ function createScope(parent, providers, instanceCache) {
|
|||
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc function
|
||||
* @name angular.scope.$tryEval
|
||||
* @function
|
||||
|
|
@ -379,6 +383,7 @@ function createScope(parent, providers, instanceCache) {
|
|||
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc function
|
||||
* @name angular.scope.$watch
|
||||
* @function
|
||||
|
|
@ -440,6 +445,7 @@ function createScope(parent, providers, instanceCache) {
|
|||
},
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc function
|
||||
* @name angular.scope.$onEval
|
||||
* @function
|
||||
|
|
@ -484,6 +490,7 @@ function createScope(parent, providers, instanceCache) {
|
|||
},
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc function
|
||||
* @name angular.scope.$postEval
|
||||
* @function
|
||||
|
|
@ -504,6 +511,7 @@ function createScope(parent, providers, instanceCache) {
|
|||
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc function
|
||||
* @name angular.scope.$become
|
||||
* @function
|
||||
|
|
@ -547,6 +555,7 @@ function createScope(parent, providers, instanceCache) {
|
|||
},
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc function
|
||||
* @name angular.scope.$new
|
||||
* @function
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc directive
|
||||
* @name angular.directive.ng:init
|
||||
*
|
||||
|
|
@ -27,6 +28,7 @@ angularDirective("ng:init", function(expression){
|
|||
});
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc directive
|
||||
* @name angular.directive.ng:controller
|
||||
*
|
||||
|
|
@ -105,6 +107,7 @@ angularDirective("ng:controller", function(expression){
|
|||
});
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc directive
|
||||
* @name angular.directive.ng:eval
|
||||
*
|
||||
|
|
@ -147,6 +150,7 @@ angularDirective("ng:eval", function(expression){
|
|||
});
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc directive
|
||||
* @name angular.directive.ng:bind
|
||||
*
|
||||
|
|
@ -250,6 +254,7 @@ function compileBindTemplate(template){
|
|||
}
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc directive
|
||||
* @name angular.directive.ng:bind-template
|
||||
*
|
||||
|
|
@ -302,6 +307,7 @@ var REMOVE_ATTRIBUTES = {
|
|||
'checked':'checked'
|
||||
};
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc directive
|
||||
* @name angular.directive.ng:bind-attr
|
||||
*
|
||||
|
|
@ -380,6 +386,7 @@ angularDirective("ng:bind-attr", function(expression){
|
|||
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc directive
|
||||
* @name angular.directive.ng:click
|
||||
*
|
||||
|
|
@ -423,6 +430,7 @@ angularDirective("ng:click", function(expression, element){
|
|||
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc directive
|
||||
* @name angular.directive.ng:submit
|
||||
*
|
||||
|
|
@ -470,6 +478,7 @@ angularDirective("ng:submit", function(expression, element) {
|
|||
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc directive
|
||||
* @name angular.directive.ng:watch
|
||||
*
|
||||
|
|
@ -525,6 +534,7 @@ function ngClass(selector) {
|
|||
}
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc directive
|
||||
* @name angular.directive.ng:class
|
||||
*
|
||||
|
|
@ -561,6 +571,7 @@ function ngClass(selector) {
|
|||
angularDirective("ng:class", ngClass(function(){return true;}));
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc directive
|
||||
* @name angular.directive.ng:class-odd
|
||||
*
|
||||
|
|
@ -596,6 +607,7 @@ angularDirective("ng:class", ngClass(function(){return true;}));
|
|||
angularDirective("ng:class-odd", ngClass(function(i){return i % 2 === 0;}));
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc directive
|
||||
* @name angular.directive.ng:class-even
|
||||
*
|
||||
|
|
@ -631,6 +643,7 @@ angularDirective("ng:class-odd", ngClass(function(i){return i % 2 === 0;}));
|
|||
angularDirective("ng:class-even", ngClass(function(i){return i % 2 === 1;}));
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc directive
|
||||
* @name angular.directive.ng:show
|
||||
*
|
||||
|
|
@ -668,6 +681,7 @@ angularDirective("ng:show", function(expression, element){
|
|||
});
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc directive
|
||||
* @name angular.directive.ng:hide
|
||||
*
|
||||
|
|
@ -705,6 +719,7 @@ angularDirective("ng:hide", function(expression, element){
|
|||
});
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc directive
|
||||
* @name angular.directive.ng:style
|
||||
*
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc filter
|
||||
* @name angular.filter.currency
|
||||
* @function
|
||||
|
|
@ -33,6 +34,7 @@ angularFilter.currency = function(amount){
|
|||
};
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc filter
|
||||
* @name angular.filter.number
|
||||
* @function
|
||||
|
|
@ -148,6 +150,7 @@ var NUMBER_STRING = /^\d+$/;
|
|||
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc filter
|
||||
* @name angular.filter.date
|
||||
* @function
|
||||
|
|
@ -229,6 +232,7 @@ angularFilter.date = function(date, format) {
|
|||
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc filter
|
||||
* @name angular.filter.json
|
||||
* @function
|
||||
|
|
@ -267,6 +271,7 @@ angularFilter.json = function(object) {
|
|||
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc filter
|
||||
* @name angular.filter.lowercase
|
||||
* @function
|
||||
|
|
@ -277,6 +282,7 @@ angularFilter.lowercase = lowercase;
|
|||
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc filter
|
||||
* @name angular.filter.uppercase
|
||||
* @function
|
||||
|
|
@ -287,6 +293,7 @@ angularFilter.uppercase = uppercase;
|
|||
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc filter
|
||||
* @name angular.filter.html
|
||||
* @function
|
||||
|
|
@ -375,6 +382,7 @@ angularFilter.html = function(html, option){
|
|||
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc filter
|
||||
* @name angular.filter.linky
|
||||
* @function
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ var NUMBER = /^\s*[-+]?\d*(\.\d*)?\s*$/;
|
|||
angularFormatter.noop = formatter(identity, identity);
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc formatter
|
||||
* @name angular.formatter.json
|
||||
*
|
||||
|
|
@ -32,6 +33,7 @@ angularFormatter.noop = formatter(identity, identity);
|
|||
angularFormatter.json = formatter(toJson, fromJson);
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc formatter
|
||||
* @name angular.formatter.boolean
|
||||
*
|
||||
|
|
@ -56,6 +58,7 @@ angularFormatter.json = formatter(toJson, fromJson);
|
|||
angularFormatter['boolean'] = formatter(toString, toBoolean);
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc formatter
|
||||
* @name angular.formatter.number
|
||||
*
|
||||
|
|
@ -85,6 +88,7 @@ angularFormatter.number = formatter(toString, function(obj){
|
|||
});
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc formatter
|
||||
* @name angular.formatter.list
|
||||
*
|
||||
|
|
@ -122,6 +126,7 @@ angularFormatter.list = formatter(
|
|||
);
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc formatter
|
||||
* @name angular.formatter.trim
|
||||
*
|
||||
|
|
|
|||
|
|
@ -69,6 +69,7 @@ angularTextMarkup('OPTION', function(text, textNode, parentElement){
|
|||
});
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc directive
|
||||
* @name angular.directive.ng:href
|
||||
*
|
||||
|
|
@ -95,6 +96,7 @@ angularTextMarkup('OPTION', function(text, textNode, parentElement){
|
|||
*/
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc directive
|
||||
* @name angular.directive.ng:src
|
||||
*
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ function angularServiceInject(name, fn, inject, eager) {
|
|||
}
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc service
|
||||
* @name angular.service.$window
|
||||
*
|
||||
|
|
@ -28,6 +29,7 @@ function angularServiceInject(name, fn, inject, eager) {
|
|||
angularServiceInject("$window", bind(window, identity, window), [], EAGER_PUBLISHED);
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc service
|
||||
* @name angular.service.$document
|
||||
* @requires $window
|
||||
|
|
@ -40,6 +42,7 @@ angularServiceInject("$document", function(window){
|
|||
}, ['$window'], EAGER_PUBLISHED);
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc service
|
||||
* @name angular.service.$location
|
||||
* @requires $browser
|
||||
|
|
@ -92,6 +95,7 @@ angularServiceInject("$location", function(browser) {
|
|||
// PUBLIC METHODS
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc method
|
||||
* @name angular.service.$location#update
|
||||
* @methodOf angular.service.$location
|
||||
|
|
@ -127,6 +131,7 @@ angularServiceInject("$location", function(browser) {
|
|||
}
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc method
|
||||
* @name angular.service.$location#updateHash
|
||||
* @methodOf angular.service.$location
|
||||
|
|
@ -162,6 +167,7 @@ angularServiceInject("$location", function(browser) {
|
|||
}
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc method
|
||||
* @name angular.service.$location#toString
|
||||
* @methodOf angular.service.$location
|
||||
|
|
@ -291,6 +297,7 @@ angularServiceInject("$location", function(browser) {
|
|||
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc service
|
||||
* @name angular.service.$log
|
||||
* @requires $window
|
||||
|
|
@ -313,6 +320,7 @@ angularServiceInject("$location", function(browser) {
|
|||
angularServiceInject("$log", function($window){
|
||||
return {
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc method
|
||||
* @name angular.service.$log#log
|
||||
* @methodOf angular.service.$log
|
||||
|
|
@ -323,6 +331,7 @@ angularServiceInject("$log", function($window){
|
|||
log: consoleLog('log'),
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc method
|
||||
* @name angular.service.$log#warn
|
||||
* @methodOf angular.service.$log
|
||||
|
|
@ -333,6 +342,7 @@ angularServiceInject("$log", function($window){
|
|||
warn: consoleLog('warn'),
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc method
|
||||
* @name angular.service.$log#info
|
||||
* @methodOf angular.service.$log
|
||||
|
|
@ -343,6 +353,7 @@ angularServiceInject("$log", function($window){
|
|||
info: consoleLog('info'),
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc method
|
||||
* @name angular.service.$log#error
|
||||
* @methodOf angular.service.$log
|
||||
|
|
@ -372,6 +383,7 @@ angularServiceInject("$log", function($window){
|
|||
}, ['$window'], EAGER_PUBLISHED);
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc service
|
||||
* @name angular.service.$exceptionHandler
|
||||
* @requires $log
|
||||
|
|
@ -395,6 +407,7 @@ angularServiceInject('$exceptionHandler', function($log){
|
|||
}, ['$log'], EAGER_PUBLISHED);
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc service
|
||||
* @name angular.service.$hover
|
||||
* @requires $browser
|
||||
|
|
@ -451,6 +464,7 @@ angularServiceInject("$hover", function(browser, document) {
|
|||
}, ['$browser', '$document'], EAGER);
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc service
|
||||
* @name angular.service.$invalidWidgets
|
||||
*
|
||||
|
|
@ -543,6 +557,7 @@ function switchRouteMatcher(on, when, dstName) {
|
|||
}
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc service
|
||||
* @name angular.service.$route
|
||||
* @requires $location
|
||||
|
|
@ -604,6 +619,7 @@ angularServiceInject('$route', function(location) {
|
|||
routes: routes,
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc method
|
||||
* @name angular.service.$route#onChange
|
||||
* @methodOf angular.service.$route
|
||||
|
|
@ -616,6 +632,7 @@ angularServiceInject('$route', function(location) {
|
|||
onChange: bind(onChange, onChange.push),
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc method
|
||||
* @name angular.service.$route#when
|
||||
* @methodOf angular.service.$route
|
||||
|
|
@ -662,6 +679,7 @@ angularServiceInject('$route', function(location) {
|
|||
}, ['$location'], EAGER_PUBLISHED);
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc service
|
||||
* @name angular.service.$xhr
|
||||
* @requires $browser
|
||||
|
|
@ -704,6 +722,7 @@ angularServiceInject('$xhr', function($browser, $error, $log){
|
|||
}, ['$browser', '$xhr.error', '$log']);
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc service
|
||||
* @name angular.service.$xhr.error
|
||||
* @requires $log
|
||||
|
|
@ -719,6 +738,7 @@ angularServiceInject('$xhr.error', function($log){
|
|||
}, ['$log']);
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc service
|
||||
* @name angular.service.$xhr.bulk
|
||||
* @requires $xhr
|
||||
|
|
@ -780,6 +800,7 @@ angularServiceInject('$xhr.bulk', function($xhr, $error, $log){
|
|||
}, ['$xhr', '$xhr.error', '$log']);
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc service
|
||||
* @name angular.service.$xhr.cache
|
||||
* @requires $xhr
|
||||
|
|
@ -833,6 +854,7 @@ angularServiceInject('$xhr.cache', function($xhr){
|
|||
}, ['$xhr.bulk']);
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc service
|
||||
* @name angular.service.$resource
|
||||
* @requires $xhr
|
||||
|
|
@ -889,6 +911,7 @@ angularServiceInject('$resource', function($xhr){
|
|||
}, ['$xhr.cache']);
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc service
|
||||
* @name angular.service.$cookies
|
||||
* @requires $browser
|
||||
|
|
@ -973,6 +996,7 @@ angularServiceInject('$cookies', function($browser) {
|
|||
}, ['$browser'], EAGER_PUBLISHED);
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc service
|
||||
* @name angular.service.$cookieStore
|
||||
* @requires $cookies
|
||||
|
|
@ -987,6 +1011,7 @@ angularServiceInject('$cookieStore', function($store) {
|
|||
|
||||
return {
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc method
|
||||
* @name angular.service.$cookieStore#get
|
||||
* @methodOf angular.service.$cookieStore
|
||||
|
|
@ -1002,6 +1027,7 @@ angularServiceInject('$cookieStore', function($store) {
|
|||
},
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc method
|
||||
* @name angular.service.$cookieStore#put
|
||||
* @methodOf angular.service.$cookieStore
|
||||
|
|
@ -1017,6 +1043,7 @@ angularServiceInject('$cookieStore', function($store) {
|
|||
},
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc method
|
||||
* @name angular.service.$cookieStore#remove
|
||||
* @methodOf angular.service.$cookieStore
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ extend(angularValidator, {
|
|||
'noop': function() { return _null; },
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc validator
|
||||
* @name angular.validator.regexp
|
||||
* @description
|
||||
|
|
@ -36,6 +37,7 @@ extend(angularValidator, {
|
|||
},
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc validator
|
||||
* @name angular.validator.number
|
||||
* @description
|
||||
|
|
@ -88,6 +90,7 @@ extend(angularValidator, {
|
|||
},
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc validator
|
||||
* @name angular.validator.integer
|
||||
* @description
|
||||
|
|
@ -133,6 +136,7 @@ extend(angularValidator, {
|
|||
},
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc validator
|
||||
* @name angular.validator.date
|
||||
* @description
|
||||
|
|
@ -166,6 +170,7 @@ extend(angularValidator, {
|
|||
},
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc validator
|
||||
* @name angular.validator.email
|
||||
* @description
|
||||
|
|
@ -195,6 +200,7 @@ extend(angularValidator, {
|
|||
},
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc validator
|
||||
* @name angular.validator.phone
|
||||
* @description
|
||||
|
|
@ -227,6 +233,7 @@ extend(angularValidator, {
|
|||
},
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc validator
|
||||
* @name angular.validator.url
|
||||
* @description
|
||||
|
|
@ -256,6 +263,7 @@ extend(angularValidator, {
|
|||
},
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc validator
|
||||
* @name angular.validator.json
|
||||
* @description
|
||||
|
|
@ -288,6 +296,7 @@ extend(angularValidator, {
|
|||
},
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc validator
|
||||
* @name angular.validator.asynchronous
|
||||
* @description
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc widget
|
||||
* @name angular.widget.HTML
|
||||
*
|
||||
|
|
@ -166,6 +167,7 @@ function compileValidator(expr) {
|
|||
}
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc widget
|
||||
* @name angular.widget.@ng:validate
|
||||
*
|
||||
|
|
@ -202,6 +204,7 @@ function compileValidator(expr) {
|
|||
});
|
||||
*/
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc widget
|
||||
* @name angular.widget.@ng:required
|
||||
*
|
||||
|
|
@ -227,6 +230,7 @@ function compileValidator(expr) {
|
|||
});
|
||||
*/
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc widget
|
||||
* @name angular.widget.@ng:format
|
||||
*
|
||||
|
|
@ -413,6 +417,7 @@ function radioInit(model, view, element) {
|
|||
}
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc directive
|
||||
* @name angular.directive.ng:change
|
||||
*
|
||||
|
|
@ -499,6 +504,7 @@ angularWidget('option', function(){
|
|||
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc widget
|
||||
* @name angular.widget.ng:include
|
||||
*
|
||||
|
|
@ -584,6 +590,7 @@ angularWidget('ng:include', function(element){
|
|||
});
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc widget
|
||||
* @name angular.widget.ng:switch
|
||||
*
|
||||
|
|
@ -722,6 +729,7 @@ angularWidget('a', function() {
|
|||
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc widget
|
||||
* @name angular.widget.@ng:repeat
|
||||
*
|
||||
|
|
@ -848,6 +856,7 @@ angularWidget("@ng:repeat", function(expression, element){
|
|||
|
||||
|
||||
/**
|
||||
* @workInProgress
|
||||
* @ngdoc widget
|
||||
* @name angular.widget.@ng:non-bindable
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue