aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/sce.js
diff options
context:
space:
mode:
authorSekib Omazic2014-03-07 23:56:07 +0100
committerCaitlin Potter2014-03-07 18:12:40 -0500
commit4bab3d8227653eaf18c8556dd25287f57f19a861 (patch)
tree811905e60e3ba90e3c6cae6e0de8107b526f7cc1 /src/ng/sce.js
parentb12c6b485da4cd84e58ed74c3c7cd8d62e2133e2 (diff)
downloadangular.js-4bab3d8227653eaf18c8556dd25287f57f19a861.tar.bz2
docs($sce): correct typo
`consititute` -> `constitute` Typo fixed Closes #6607
Diffstat (limited to 'src/ng/sce.js')
-rw-r--r--src/ng/sce.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ng/sce.js b/src/ng/sce.js
index 612edd12..0f60521b 100644
--- a/src/ng/sce.js
+++ b/src/ng/sce.js
@@ -521,7 +521,7 @@ function $SceDelegateProvider() {
* |---------------------|----------------|
* | `$sce.HTML` | For HTML that's safe to source into the application. The {@link ng.directive:ngBindHtml ngBindHtml} directive uses this context for bindings. |
* | `$sce.CSS` | For CSS that's safe to source into the application. Currently unused. Feel free to use it in your own directives. |
- * | `$sce.URL` | For URLs that are safe to follow as links. Currently unused (`<a href=` and `<img src=` sanitize their urls and don't consititute an SCE context. |
+ * | `$sce.URL` | For URLs that are safe to follow as links. Currently unused (`<a href=` and `<img src=` sanitize their urls and don't constitute an SCE context. |
* | `$sce.RESOURCE_URL` | For URLs that are not only safe to follow as links, but whose contens are also safe to include in your application. Examples include `ng-include`, `src` / `ngSrc` bindings for tags other than `IMG` (e.g. `IFRAME`, `OBJECT`, etc.) <br><br>Note that `$sce.RESOURCE_URL` makes a stronger statement about the URL than `$sce.URL` does and therefore contexts requiring values trusted for `$sce.RESOURCE_URL` can be used anywhere that values trusted for `$sce.URL` are required. |
* | `$sce.JS` | For JavaScript that is safe to execute in your application's context. Currently unused. Feel free to use it in your own directives. |
*