From 4a6a3ba7fb08ce99007893ef75365a3e8aff938a Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Fri, 21 Feb 2014 19:37:37 +0000 Subject: docs(*): fix anchors for members in api docs --- docs/content/error/$injector/pget.ngdoc | 2 +- docs/content/error/$sce/icontext.ngdoc | 2 +- docs/content/error/$sce/imatcher.ngdoc | 4 ++-- docs/content/error/$sce/insecurl.ngdoc | 8 ++++---- docs/content/error/$sce/itype.ngdoc | 2 +- docs/content/error/$sce/iwcard.ngdoc | 4 ++-- 6 files changed, 11 insertions(+), 11 deletions(-) (limited to 'docs/content/error') diff --git a/docs/content/error/$injector/pget.ngdoc b/docs/content/error/$injector/pget.ngdoc index 1772d348..5dbf05c7 100644 --- a/docs/content/error/$injector/pget.ngdoc +++ b/docs/content/error/$injector/pget.ngdoc @@ -22,5 +22,5 @@ angular.module("myApp", []) .provider('good', GoodProvider); ``` -For more information, refer to the {@link auto.$provide#methods_provider +For more information, refer to the {@link auto.$provide#provider $provide.provider} api doc. \ No newline at end of file diff --git a/docs/content/error/$sce/icontext.ngdoc b/docs/content/error/$sce/icontext.ngdoc index e30b6ad4..3ad0f22d 100644 --- a/docs/content/error/$sce/icontext.ngdoc +++ b/docs/content/error/$sce/icontext.ngdoc @@ -3,6 +3,6 @@ @fullName Invalid / Unknown SCE context @description -The context enum passed to {@link ng.$sce#methods_trustAs $sce.trustAs} was not recognized. +The context enum passed to {@link ng.$sce#trustAs $sce.trustAs} was not recognized. Please consult the list of {@link ng.$sce#contexts supported Strict Contextual Escaping (SCE) contexts}. diff --git a/docs/content/error/$sce/imatcher.ngdoc b/docs/content/error/$sce/imatcher.ngdoc index eabdbc53..5cb816d0 100644 --- a/docs/content/error/$sce/imatcher.ngdoc +++ b/docs/content/error/$sce/imatcher.ngdoc @@ -3,7 +3,7 @@ @fullName Invalid matcher (only string patterns and RegExp instances are supported) @description -Please see {@link ng.$sceDelegateProvider#methods_resourceUrlWhitelist +Please see {@link ng.$sceDelegateProvider#resourceUrlWhitelist $sceDelegateProvider.resourceUrlWhitelist} and {@link -api/ng.$sceDelegateProvider#methods_resourceUrlBlacklist $sceDelegateProvider.resourceUrlBlacklist} for the +api/ng.$sceDelegateProvider#resourceUrlBlacklist $sceDelegateProvider.resourceUrlBlacklist} for the list of acceptable items. diff --git a/docs/content/error/$sce/insecurl.ngdoc b/docs/content/error/$sce/insecurl.ngdoc index 67bbb2b6..9691e2b5 100644 --- a/docs/content/error/$sce/insecurl.ngdoc +++ b/docs/content/error/$sce/insecurl.ngdoc @@ -8,16 +8,16 @@ AngularJS' {@link ng.$sce Strict Contextual Escaping (SCE)} mode (enabled by def Typically, this would occur if you're attempting to load an Angular template from an untrusted source. It's also possible that a custom directive threw this error for a similar reason. -Angular only loads templates from trusted URLs (by calling {@link ng.$sce#methods_getTrustedResourceUrl $sce.getTrustedResourceUrl} on the template URL). +Angular only loads templates from trusted URLs (by calling {@link ng.$sce#getTrustedResourceUrl $sce.getTrustedResourceUrl} on the template URL). By default, only URLs that belong to the same origin are trusted. These are urls with the same domain and protocol as the application document. The {@link ng.directive:ngInclude ngInclude} directive and {@link guide/directive directives} that specify a `templateUrl` require a trusted resource URL. To load templates from other domains and/or protocols, either adjust the {@link -api/ng.$sceDelegateProvider#methods_resourceUrlWhitelist whitelist}/ {@link -api/ng.$sceDelegateProvider#methods_resourceUrlBlacklist blacklist} or wrap the URL with a call to {@link -api/ng.$sce#methods_trustAsResourceUrl $sce.trustAsResourceUrl}. +api/ng.$sceDelegateProvider#resourceUrlWhitelist whitelist}/ {@link +api/ng.$sceDelegateProvider#resourceUrlBlacklist blacklist} or wrap the URL with a call to {@link +api/ng.$sce#trustAsResourceUrl $sce.trustAsResourceUrl}. **Note**: The browser's [Same Origin Policy](https://code.google.com/p/browsersec/wiki/Part2#Same-origin_policy_for_XMLHttpRequest) and diff --git a/docs/content/error/$sce/itype.ngdoc b/docs/content/error/$sce/itype.ngdoc index cc2a6f62..80ed8f59 100644 --- a/docs/content/error/$sce/itype.ngdoc +++ b/docs/content/error/$sce/itype.ngdoc @@ -3,6 +3,6 @@ @fullName String Value is Required for SCE Trust Call @description -{@link ng.$sce#methods_trustAs $sce.trustAs} requires a string value. +{@link ng.$sce#trustAs $sce.trustAs} requires a string value. Read more about {@link ng.$sce Strict Contextual Escaping (SCE)} in AngularJS. diff --git a/docs/content/error/$sce/iwcard.ngdoc b/docs/content/error/$sce/iwcard.ngdoc index 83facf1d..43ba802d 100644 --- a/docs/content/error/$sce/iwcard.ngdoc +++ b/docs/content/error/$sce/iwcard.ngdoc @@ -3,7 +3,7 @@ @fullName The sequence *** is not a valid pattern wildcard @description -The strings in {@link ng.$sceDelegateProvider#methods_resourceUrlWhitelist +The strings in {@link ng.$sceDelegateProvider#resourceUrlWhitelist $sceDelegateProvider.resourceUrlWhitelist} and {@link -api/ng.$sceDelegateProvider#methods_resourceUrlBlacklist $sceDelegateProvider.resourceUrlBlacklist} may not +api/ng.$sceDelegateProvider#resourceUrlBlacklist $sceDelegateProvider.resourceUrlBlacklist} may not contain the undefined sequence `***`. Only `*` and `**` wildcard patterns are defined. -- cgit v1.2.3