8
0
Quellcode durchsuchen

Tests: Improved test coverage in Template class.

Aleksander Nowodziński vor 9 Jahren
Ursprung
Commit
c3e02eba19
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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 );