#12972 closed defect (fixed)
doc parser error using [] as first argument for define
Reported by: | nic | Owned by: | nic |
---|---|---|---|
Priority: | high | Milestone: | 1.7 |
Component: | Doc parser | Version: | 1.6.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
the error message says "failed to find dependency name in what looks like an AMD module ([moduleId])".
Change History (4)
comment:1 Changed 10 years ago by
Status: | new → assigned |
---|
comment:2 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:3 Changed 10 years ago by
Milestone: | tbd → 1.7 |
---|
Nic, isn't your workaround pulling in dependencies we don't want?
comment:4 Changed 10 years ago by
Note: See
TracTickets for help on using
tickets.
(In [24984]) fixes #12972 - Using .? instead of [] fixes the issue. define(function(){...}) works too. !strict