ember-cli / ember-cli/babel-plugin-debug-macros

support runInDebug(() => /* only run in debug mode*/)?

未关闭
#33 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
13
派生
13
PR 合并指标
30 天内没有已合并 PR

描述

Maybe this already exists, but didn't see the functionality while skimming the source:

usage:
* https://github.com/emberjs/ember.js/blob/ee8ab348484421f254fe995c6f04f0d4a0859cfa/packages/ember-debug/lib/index.js#L134-L157
* https://github.com/emberjs/data/blob/master/addon/-private/debug.js#L19-L21

贡献指南

这个仓库没有索引到贡献指南

调研方向

首先阅读 ember.js packages/ember-debug/lib/index.js(第 134-157 行)和 ember-data addon/-private/debug.js(第 19-21 行)中被引用的部分,然后检查此插件现有的宏支持。确定提议的 runInDebug(() => ...) 用法应如何运行,以及哪些测试覆盖了它;当该用法受到支持且其仅在 debug 下的行为得到验证时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
babel, typescript
领域
build-system, tooling
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。