From 93ce5923e92f6d2db831d8715ec62734821c70ce Mon Sep 17 00:00:00 2001 From: Chirayu Krishnappa Date: Tue, 24 Sep 2013 18:47:45 -0700 Subject: feat($sce): simpler patterns for $sceDelegateProviders white/blacklists Closes #4006 --- docs/content/error/sce/imatcher.ngdoc | 9 +++++++++ docs/content/error/sce/iwcard.ngdoc | 9 +++++++++ 2 files changed, 18 insertions(+) create mode 100644 docs/content/error/sce/imatcher.ngdoc create mode 100644 docs/content/error/sce/iwcard.ngdoc (limited to 'docs/content') diff --git a/docs/content/error/sce/imatcher.ngdoc b/docs/content/error/sce/imatcher.ngdoc new file mode 100644 index 00000000..8c4f0a4c --- /dev/null +++ b/docs/content/error/sce/imatcher.ngdoc @@ -0,0 +1,9 @@ +@ngdoc error +@name $sce:imatcher +@fullName Invalid matcher (only string patterns and RegExp instances are supported) +@description + +Please see {@link api/ng.$sceDelegateProvider#resourceUrlWhitelist +$sceDelegateProvider.resourceUrlWhitelist} and {@link +api/ng.$sceDelegateProvider#resourceUrlBlacklist $sceDelegateProvider.resourceUrlBlacklist} for the +list of acceptable items. diff --git a/docs/content/error/sce/iwcard.ngdoc b/docs/content/error/sce/iwcard.ngdoc new file mode 100644 index 00000000..459b78d5 --- /dev/null +++ b/docs/content/error/sce/iwcard.ngdoc @@ -0,0 +1,9 @@ +@ngdoc error +@name $sce:iwcard +@fullName The sequence *** is not a valid pattern wildcard +@description + +The strings in {@link api/ng.$sceDelegateProvider#resourceUrlWhitelist +$sceDelegateProvider.resourceUrlWhitelist} and {@link +api/ng.$sceDelegateProvider#resourceUrlBlacklist $sceDelegateProvider.resourceUrlBlacklist} may not +contain the undefined sequence `***`. Only `*` and `**` wildcard patterns are defined. -- cgit v1.2.3