[ 2 posts ]

Satyam

YUI Contributor

  • Username: Satyam
  • Joined: Tue Dec 09, 2008 12:34 am
  • Posts: 2016
  • Location: Sitges, Spain
  • GitHub: Satyam
  • Gists: Satyam
  • IRC: DevaSatyam
  • YUI Developer
  • Offline
  • Profile
Tags:

adding anew widget to the 3.0 build process

Post Posted: Mon Mar 30, 2009 10:40 am
+0-
I am incorporating my ProgressBar widget into the build of my copy of 3.0. I got a copy of the 3.0 version from GIT and added the progressbar following the model of other directories. I adapted a build.properties file from another component and was able to successfully produce the build files. However, when I try the example, the integrated loader doesn't know about progressbar. I can load the built progressbar explicitly and it will all work, but I cannot simply YUI.use it

It would seem the dependency tree still lies within the loader.js file, which has to be manually edited. I would have expected this information to be assembled from declarations within each component files. Since the build process for the whole library has not yet been released, I would expect this to be part of it, otherwise, may I suggest it does?

Thanks

Satyam

Satyen Desai

YUI Developer

  • Username: sdesai
  • Joined: Tue Dec 09, 2008 4:17 pm
  • Posts: 302
  • GitHub: sdesai
  • Gists: sdesai
  • YUI Developer
  • Offline
  • Profile
Tags:

Re: adding anew widget to the 3.0 build process

Post Posted: Tue Mar 31, 2009 10:27 am
+0-
Hi Satyam,

Currently the meta-data update for loader is a manual process. The ultimate goal was, as you suggest, to have the component build meta-data be the source of truth used to update loader's meta data, however building this missing piece is not currently on the roadmap for the next 3.0.0 release.

Regards,
Satyen
  [ 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