Ticket #5243: dijit.Declaration_20071128.patch

File dijit.Declaration_20071128.patch, 0.5 kB (added by jaredj, 7 months ago)

Problem fix.

  • Declaration.js

     
    4646                        // do the connects for each <script type="dojo/connect" event="foo"> block and make 
    4747                        // all <script type="dojo/method"> tags execute right after construction 
    4848                        this.mixins.push(function(){ 
    49                                 parsedScripts.forEach(function(s){ 
     49                                dojo.forEach(parsedScripts, function(s){ 
    5050                                        dojo.connect(this, s.event, this, s.func); 
    5151                                }, this); 
    5252                        });