diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2018-12-03 16:19:21 +0100 |
---|---|---|
committer | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2018-12-03 16:19:21 +0100 |
commit | 6d164340d99434b9c11099a2e74d7cf4a4a7e322 (patch) | |
tree | c98d3b295f53c58f6affdb62d5df0ee546c29bdf /src/utils/methods.js | |
parent | 135f9d03c11a295ff5a9e4bdc4683e8ea35e2f38 (diff) | |
download | svg.js-6d164340d99434b9c11099a2e74d7cf4a4a7e322.tar.gz svg.js-6d164340d99434b9c11099a2e74d7cf4a4a7e322.zip |
fixed methods not returning this and missing methods on List
Diffstat (limited to 'src/utils/methods.js')
-rw-r--r-- | src/utils/methods.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/methods.js b/src/utils/methods.js index bc05a70..e957213 100644 --- a/src/utils/methods.js +++ b/src/utils/methods.js @@ -16,7 +16,7 @@ export function registerMethods (name, m) { return } - addMethodNames(Object.keys(m)) + addMethodNames(Object.getOwnPropertyNames(m)) methods[name] = Object.assign(methods[name] || {}, m) } |