[ 4 posts ]

AliRamezani

  • Joined: Fri Jan 20, 2012 5:06 am
  • Posts: 8
  • Offline
  • Profile

how to check if the module name is configured

Post Posted: Wed Jul 04, 2012 12:36 am
+0-
Hello,

how can i check if a specific module name is registered in the global config before calling the YUI().use ( ... )

thank you. :-)

Juan Ignacio Dopazo

YUI Contributor

  • Username: jdopazo
  • Joined: Fri Oct 02, 2009 5:39 am
  • Posts: 638
  • Location: Buenos Aires, Argentina
  • Twitter: juandopazo
  • GitHub: juandopazo
  • Gists: juandopazo
  • Offline
  • Profile

Re: how to check if the module name is configured

Post Posted: Wed Jul 04, 2012 5:14 am
+0-
There is no oficial API for checking that, but you can look at YUI.Env.mods.

AliRamezani

  • Joined: Fri Jan 20, 2012 5:06 am
  • Posts: 8
  • Offline
  • Profile

Re: how to check if the module name is configured

Post Posted: Wed Jul 04, 2012 7:03 am
+0-
that's it. thank you!

Edit: all the modules listed here are only charged and loaded.. I need all the modules defined in global-config, not even loaded.?

Ashtechsmith

Re: how to check if the module name is configured

Post Posted: Fri Jul 06, 2012 1:56 pm
+0-
There is no oficial API for checking that, but you can look at YUI.Env.mods.
  [ 4 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