Skip to content

Commit

Permalink
fix(api): disable debug console output in mixin()
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Nov 14, 2021
1 parent 6ff88b0 commit 50354c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/api/src/mixin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
* Class behavior mixin based on:
* {@link http://raganwald.com/2015/06/26/decorators-in-es7.html}
*
* Additionally only injects/overwrites properties in target, which are
* NOT marked with `@nomixin` (i.e. haven't set their `configurable`
* Additionally only injects/overwrites properties in target, which are NOT
* marked with `@nomixin` (i.e. those which haven't set their `configurable`
* property descriptor flag to `false`)
*
* @param behaviour - to mixin
Expand All @@ -27,7 +27,7 @@ export const mixin = (behaviour: any, sharedBehaviour: any = {}) => {
writable: true,
});
} else {
console.log(`not patching: ${clazz.name}.${key.toString()}`);
// console.log(`not patching: ${clazz.name}.${key.toString()}`);
}
}
Object.defineProperty(clazz.prototype, typeTag, { value: true });
Expand Down

0 comments on commit 50354c8

Please sign in to comment.