Loading ...
Sorry, an error occurred while loading the content.
 

Re: [ydn-javascript] It looks that i am duplicating JS because dependency configurator

Expand Messages
  • Adam Moore
    The subject line is misleading: you have inserted duplicate JS includes into your page, and the dependency configurator should not have been the cause -- but
    Message 1 of 4 , Apr 2, 2009
      The subject line is misleading: you have inserted duplicate JS
      includes into your page, and the dependency configurator should
      not have been the cause -- but it could be the solution.

      Mixing versions like this isn't advised, but starting with the
      list of includes provided by the configurator, then modifying
      the version numbers where needed would probably work.

      You can find the list of components included in utilities.js here:

      http://github.com/yui/yui2/blob/81508c02bdcb996865172a7dc28d0d96d781a78f/src/common/README.utilities

      -Adam


      On Thu, Apr 02, 2009 at 01:26:10PM -0000, malutanpetronel wrote:
      > What components are included in utilities.js ?
      >
      > "...you are also loading
      > many components more than once and with different versions.
      > utilities.js, which you load first, contains many of the individual
      > components you later load individually
      > "
      >
      > <script type="text/javascript" src="http://yui.yahooapis.com/combo?2.6.0/build/utilities/utilities.js
      > &2.7.0/build/autocomplete/autocomplete-min.js
      > &2.5.1/build/container/container-min.js
      > &2.7.0/build/menu/menu-min.js
      > &2.7.0/build/datasource/datasource-min.js
      > &2.7.0/build/connection/connection-min.js
      > &2.7.0/build/history/history-min.js
      > &2.7.0/build/get/get-min.js
      > &2.7.0/build/datatable/datatable-min.js
      > &2.7.0/build/resize/resize-min.js
      > &2.7.0/build/layout/layout-min.js
      > &2.5.1/build/tabview/tabview-min.js
      > &2.7.0/build/yahoo-dom-event/yahoo-dom-event.js
      > &2.7.0/build/container/container_core-min.js
      > &2.7.0/build/animation/animation-min.js
      > &2.7.0/build/calendar/calendar-min.js
      > &2.6.0/build/treeview/treeview-min.js
      > &2.7.0/build/dragdrop/dragdrop-min.js
      > &2.7.0/build/element/element-min.js
      > &2.7.0/build/paginator/paginator-min.js"></script>
      >
      > With kind regards
      >
      > Petronel
      >
      >
      >
      > ------------------------------------
      >
      > Yahoo! Groups Links
      >
      >
      >

      --
    Your message has been successfully submitted and would be delivered to recipients shortly.