aboutsummaryrefslogtreecommitdiffstats
path: root/src/sanitizer.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/sanitizer.js')
-rw-r--r--src/sanitizer.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sanitizer.js b/src/sanitizer.js
index 0a0b2907..94c36706 100644
--- a/src/sanitizer.js
+++ b/src/sanitizer.js
@@ -197,7 +197,7 @@ var htmlParser = function( html, handler ) {
/**
* @param str 'key1,key2,...'
- * @returns {key1:true, key2:true, ...}
+ * @returns {object} in the form of {key1:true, key2:true, ...}
*/
function makeMap(str){
var obj = {}, items = str.split(","), i;
@@ -233,7 +233,7 @@ function isJavaScriptUrl(url) {
/**
* create an HTML/XML writer which writes to buffer
* @param {Array} buf use buf.jain('') to get out sanitized html string
- * @returns {
+ * @returns {object} in the form of {
* start: function(tag, attrs, unary) {},
* end: function(tag) {},
* chars: function(text) {},