aboutsummaryrefslogtreecommitdiffstats
path: root/src/sanitizer.js
diff options
context:
space:
mode:
authorMisko Hevery2011-04-21 16:32:05 -0700
committerMisko Hevery2011-06-08 13:49:11 -0700
commitcc9f1fdf38bb179166212382b33e78255e669e73 (patch)
treecb9881186ce11f18c985e93e75a20b4601851f60 /src/sanitizer.js
parentf243c6aeda4c7dc87dac495dfb8942f4c8ba675e (diff)
downloadangular.js-cc9f1fdf38bb179166212382b33e78255e669e73.tar.bz2
Proper handling of special attributes in jqlite
Diffstat (limited to 'src/sanitizer.js')
-rw-r--r--src/sanitizer.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/sanitizer.js b/src/sanitizer.js
index 7bd26455..2cf126dc 100644
--- a/src/sanitizer.js
+++ b/src/sanitizer.js
@@ -187,17 +187,6 @@ function htmlParser( html, handler ) {
}
/**
- * @param str 'key1,key2,...'
- * @returns {object} in the form of {key1:true, key2:true, ...}
- */
-function makeMap(str){
- var obj = {}, items = str.split(","), i;
- for ( i = 0; i < items.length; i++ )
- obj[ items[i] ] = true;
- return obj;
-}
-
-/**
* decodes all entities into regular string
* @param value
* @returns {string} A string with decoded entities.