Browse Source
Merge pull request #2992 from ashercoren/fix-object-prop-looping Fixes #3006
[BUG]: fix object looping for inherited properties
pull/3024/head
Artur Arseniev
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
src/commands/index.js
|
|
|
@ -100,10 +100,10 @@ export default () => { |
|
|
|
if (ppfx) c.stylePrefix = ppfx + c.stylePrefix; |
|
|
|
|
|
|
|
// Load commands passed via configuration
|
|
|
|
for (let k in c.defaults) { |
|
|
|
Object.keys(c.defaults).forEach(k => { |
|
|
|
const obj = c.defaults[k]; |
|
|
|
if (obj.id) this.add(obj.id, obj); |
|
|
|
} |
|
|
|
}); |
|
|
|
|
|
|
|
defaultCommands['tlb-delete'] = { |
|
|
|
run(ed) { |
|
|
|
|