[ 16 posts ] Go to page Previous1, 2

thomasabyz

  • Joined: Tue May 17, 2011 1:48 pm
  • Posts: 11
  • Offline
  • Profile
Tags:

Re: Dispatcher in Firefox 4.0

Post Posted: Tue May 17, 2011 1:49 pm
+0-
The example on top still does not seem to be working.

Can you confirm that it is fixed?

Caridy Patino

YUI Contributor

  • Username: caridy
  • Joined: Mon Dec 08, 2008 5:40 pm
  • Posts: 493
  • Location: Miami, FL
  • Twitter: caridy
  • GitHub: caridy
  • Gists: caridy
  • IRC: caridy
  • YUI Developer
  • Offline
  • Profile

Re: Dispatcher in Firefox 4.0

Post Posted: Tue May 17, 2011 1:55 pm
+0-
Do you have a link that I can look at?

Best Regards,
caridy

Andrew Kharchenko

  • Joined: Tue May 10, 2011 8:53 am
  • Posts: 2
  • Offline
  • Profile
Tags:

Re: Dispatcher in Firefox 4.0

Post Posted: Wed May 18, 2011 4:45 am
+0-
Quote:
Hey Andrew,

I did that few days ago:
In the CDN Push Queue since: 05/7/11

Dav just communicated that the push is today. Should be ready tonight.

Best regards,
Caridy


Thanks man. I'll check once I am ready.

---
Sincerely,
Andrew Kharchenko

thomasabyz

  • Joined: Tue May 17, 2011 1:48 pm
  • Posts: 11
  • Offline
  • Profile

Re: Dispatcher in Firefox 4.0

Post Posted: Wed May 18, 2011 8:22 am
+0-
You can try the following link.

http://www.tsits.com/test.php

It has the simple code that was posted by Jacob Davenport earlier in this thread.

Thanks for your help Caridy,

Aby

Caridy Patino

YUI Contributor

  • Username: caridy
  • Joined: Mon Dec 08, 2008 5:40 pm
  • Posts: 493
  • Location: Miami, FL
  • Twitter: caridy
  • GitHub: caridy
  • Gists: caridy
  • IRC: caridy
  • YUI Developer
  • Offline
  • Profile

Re: Dispatcher in Firefox 4.0

Post Posted: Wed May 18, 2011 3:54 pm
+0-
Hey Aby, that will not work because it is using and old version of the dispatcher.

Change the code to:

Code:
YUI({
    / /Last Gallery Build of this module
    gallery: 'gallery-2011.05.12-13-26'
}).use('gallery-dispatcher', function (Y) {
   var dispatchNode = new Y.Dispatcher({
      node: '#stuff',
      content: 'Loaded, run script.<' + 'script>alert("Hello")<' + '/script>'
   });
});


If you don't specify the exact revision you're targeting, YUI will populate the latest revision pushed right before the release of the current yui version included in the page.

Make sure you add this:
gallery: 'gallery-2011.05.12-13-26'

Best Regards,
Caridy

thomasabyz

  • Joined: Tue May 17, 2011 1:48 pm
  • Posts: 11
  • Offline
  • Profile

Re: Dispatcher in Firefox 4.0

Post Posted: Thu May 19, 2011 7:31 am
+0-
Cool. That works!

Thanks Caridy

Aby
  [ 16 posts ] Go to page Previous1, 2
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum