瀏覽代碼

Tests: Improved test coverage in Template class.

Aleksander Nowodziński 9 年之前
父節點
當前提交
c3e02eba19
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 );