diff options
Diffstat (limited to 'src/sanitizer.js')
| -rw-r--r-- | src/sanitizer.js | 11 |
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. |
