Sfoglia il codice sorgente

Tests: Improved test coverage in Template class.

Aleksander Nowodziński 9 anni fa
parent
commit
c3e02eba19
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      packages/ckeditor5-ui/src/template.js

+ 1 - 1
packages/ckeditor5-ui/src/template.js

@@ -814,7 +814,7 @@ function getTextUpdater( node ) {
 // @param {String} attrName Name of the attribute to be modified.
 // @param {String} [ns=null] Namespace to use.
 // @returns {Object}
-function getAttributeUpdater( el, attrName, ns = null ) {
+function getAttributeUpdater( el, attrName, ns ) {
 	return {
 		set( value ) {
 			el.setAttributeNS( ns, attrName, value );