aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/sce.js
diff options
context:
space:
mode:
authorLajos Veres2014-02-27 09:26:38 +0000
committerBrian Ford2014-02-27 01:43:26 -0800
commit8ae296823bacb26ab983a16395a4160f1c254276 (patch)
tree0d8224383c621553391e7c0e6f23f825eabc54d4 /src/ng/sce.js
parent2586e3a2acf83f8992f810b34a720cad9972f8d8 (diff)
downloadangular.js-8ae296823bacb26ab983a16395a4160f1c254276.tar.bz2
docs($sce): fix typo
Diffstat (limited to 'src/ng/sce.js')
-rw-r--r--src/ng/sce.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ng/sce.js b/src/ng/sce.js
index 3a5ab58c..612edd12 100644
--- a/src/ng/sce.js
+++ b/src/ng/sce.js
@@ -537,10 +537,10 @@ function $SceDelegateProvider() {
* being tested (substring matches are not good enough.)
* - There are exactly **two wildcard sequences** - `*` and `**`. All other characters
* match themselves.
- * - `*`: matches zero or more occurances of any character other than one of the following 6
+ * - `*`: matches zero or more occurrences of any character other than one of the following 6
* characters: '`:`', '`/`', '`.`', '`?`', '`&`' and ';'. It's a useful wildcard for use
* in a whitelist.
- * - `**`: matches zero or more occurances of *any* character. As such, it's not
+ * - `**`: matches zero or more occurrences of *any* character. As such, it's not
* not appropriate to use in for a scheme, domain, etc. as it would match too much. (e.g.
* http://**.example.com/ would match http://evil.com/?ignore=.example.com/ and that might
* not have been the intention.) It's usage at the very end of the path is ok. (e.g.