diff --git a/src/gallery-aui-char-counter/js/gallery-aui-char-counter.js b/src/gallery-aui-char-counter/js/gallery-aui-char-counter.js index 83248db57e..39da7ac061 100644 --- a/src/gallery-aui-char-counter/js/gallery-aui-char-counter.js +++ b/src/gallery-aui-char-counter/js/gallery-aui-char-counter.js @@ -69,9 +69,7 @@ var CharCounter = A.Component.create( * @type {Node | String} */ counter: { - setter: function(v) { - return A.one(v); - } + setter: A.one }, /** @@ -99,9 +97,7 @@ var CharCounter = A.Component.create( * @type {Node | String} */ input: { - setter: function(v) { - return A.one(v); - } + setter: A.one } },