Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#15423 closed defect (invalid)

dojo aspect around

Reported by: [email protected] Owned by:
Priority: undecided Milestone: tbd
Component: Core Version: 1.7.2
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

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);


Change History (2)

comment:1 Changed 10 years ago by bill

Description: modified (diff)
Resolution: invalid
Status: newclosed

Please read the documentation. Your callMe method is invalid. Also, the "Summary" field should list a summary of the problem.

Note: See TracTickets for help on using tickets.