aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBen Holley2013-07-10 17:11:54 -0500
committerBrian Ford2013-08-12 16:23:38 -0700
commit634ac03c5efb7a35bb8107dfc686bf834e77f019 (patch)
tree953c64a95b1f4d5c71ff14036060786f9d108226 /src
parent8cab53c64d8fc80df7b86f64f640c9353ccb5280 (diff)
downloadangular.js-634ac03c5efb7a35bb8107dfc686bf834e77f019.tar.bz2
style(sanitize): fix typo in variable names
Diffstat (limited to 'src')
-rw-r--r--src/ngSanitize/sanitize.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ngSanitize/sanitize.js b/src/ngSanitize/sanitize.js
index bd694818..6f28324e 100644
--- a/src/ngSanitize/sanitize.js
+++ b/src/ngSanitize/sanitize.js
@@ -296,10 +296,10 @@ function htmlParser( html, handler ) {
var attrs = {};
- rest.replace(ATTR_REGEXP, function(match, name, doubleQuotedValue, singleQoutedValue, unqoutedValue) {
+ rest.replace(ATTR_REGEXP, function(match, name, doubleQuotedValue, singleQuotedValue, unquotedValue) {
var value = doubleQuotedValue
- || singleQoutedValue
- || unqoutedValue
+ || singleQuotedValue
+ || unquotedValue
|| '';
attrs[name] = decodeEntities(value);