#7074 closed defect (fixed)
Loading dojox.analytics.Urchin before dojox.analytics doesn't work
Reported by: | guest | Owned by: | Dustin Machi |
---|---|---|---|
Priority: | high | Milestone: | 1.2 |
Component: | Dojox | Version: | 1.1.1 |
Keywords: | analytics | Cc: | dante |
Blocked By: | Blocking: |
Description
If you load in dojox.analytics.Urchin
and then dojox.analytics
then Urchin
is no longer available because in dojox.analytics._base
it has the following:
dojox.analytics = { ... };
Suggested fix is to use mixin
instead:
dojo.mixin(dojox.analytics, { ... });
Change History (4)
comment:1 Changed 13 years ago by
Owner: | changed from Adam Peller to Dustin Machi |
---|
comment:2 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 Changed 13 years ago by
(In [14281]) refs #7074 - Urchin doesn't use/need anything from dojox.analytics except the namespace, which _base destroys. Requiring _base before Urchin fixes the problem. No need to always include _base code in Urchin -- it is simply unnecessary code. Documenting the extremly unlikly usecase where a user would want Urchin AND local tracking, and keeping Urchin small + dependency free
comment:4 Changed 13 years ago by
Milestone: | → 1.2 |
---|
marking tickets closed in the last three months w/blank milestone to milestone 1.2.
(In [14273]) make sure base is loaded before urchin for analyitics. fixes #7074