[ 2 posts ]

hame25

  • Joined: Thu Apr 26, 2012 5:34 am
  • Posts: 35
  • Offline
  • Profile

Inline YUI.use issue

Post Posted: Thu Jul 05, 2012 3:18 am
+0-
Hi all

I've come across an issue while inline scripts with the YUI().use(…

In the situation where we load modules via an inline .use() and then the script within it has an error (e.g. an undefined variable) all remaining inline scripts in the page never execute.

This only happens when you load a module be it a custom one or a YUI one e.g. node

For clearer explanation I‘ve set up some examples of the issue here: http://www.alex-hamer.com/yui/index.html

This seems like a major limitation, but please correct me if I am doing something wrong??


All opinions welcomed.

John Lindal

YUI Contributor

  • Username: jafl
  • Joined: Mon Nov 02, 2009 2:33 pm
  • Posts: 358
  • Location: Los Angeles, CA
  • Twitter: jafl5272
  • GitHub: jafl
  • Gists: jafl
  • Offline
  • Profile

Re: Inline YUI.use issue

Post Posted: Mon Jul 09, 2012 7:23 am
+0-
That page doesn't have any errors, so I can't reproduce your issue. Also, the page only has one script. (The other two script tags are templates.) Can you provide more details?

BTW, I tested in Chrome. Is this issue specific to one browser?
  [ 2 posts ]
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