#15423 closed defect (invalid)
dojo aspect around
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | tbd |
Component: | Core | Version: | 1.7.2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description (last modified by )
When I use dojo/aspect around function the result is: Uncaught TypeError?: Cannot call method 'apply' of undefined
require(["dojo/ready", "dojo/aspect"], function(ready, aspect) { ready(function() { var Aspect_obj = { method : function() { console.log("Aspect_obj method"); } } function callMe() { console.log("callMe function"); } aspect.around(Aspect_obj, "method", callMe); Aspect_obj.method(); }); });
Change History (2)
comment:1 Changed 9 years ago by
Description: | modified (diff) |
---|---|
Resolution: | → invalid |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Please read the documentation. Your callMe method is invalid. Also, the "Summary" field should list a summary of the problem.