Skip to content

Commit

Permalink
Better distinguish param name from namespaced name
Browse files Browse the repository at this point in the history
  • Loading branch information
rictic committed Aug 1, 2017
1 parent d435b13 commit a3d6e56
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions lib/utils/settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,18 +64,18 @@

/**
* A global callback used to sanitize any value before inserting it into the DOM. The callback signature is:
*
*
* Polymer = {
* sanitizeDOMValue: function(value, name, type, node) { ... }
* }
*
*
* Where:
*
*
* `value` is the value to sanitize.
* `name` is the name of an attribute or property (for example, href).
* `type` indicates where the value is being inserted: one of property, attribute, or text.
* `node` is the node where the value is being inserted.
*
*
* @type {(function(*,string,string,Node):*)|undefined}
* @memberof Polymer
*/
Expand All @@ -88,10 +88,10 @@
* Sets the global sanitizeDOMValue available via `Polymer.sanitizeDOMValue`.
*
* @memberof Polymer
* @param {(function(*,string,string,Node):*)|undefined} sanitizeDOMValue the global sanitizeDOMValue callback
* @param {(function(*,string,string,Node):*)|undefined} newSanitizeDOMValue the global sanitizeDOMValue callback
*/
Polymer.setSanitizeDOMValue = function(sanitizeDOMValue) {
Polymer.sanitizeDOMValue = sanitizeDOMValue;
Polymer.setSanitizeDOMValue = function(newSanitizeDOMValue) {
Polymer.sanitizeDOMValue = newSanitizeDOMValue;
}
})();
</script>

0 comments on commit a3d6e56

Please sign in to comment.