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

Re: [ydn-javascript] Help writing a YUI 3 widget

Expand Messages
  • Adam Moore
    ... YUI.use( autocomplete , function(Y){ -- YUI().use( autocomplete , function(Y){ -Adam
    Message 1 of 2 , Oct 21, 2009
      On Wed, Oct 21, 2009 at 06:05:05PM +0000, mikemurz@... wrote:
      > I'm trying to make my first YUI3 widget inside of a module but every time I try to use the widget I get an error: 'K.Lang is undefined'.
      >
      > Here is the widget code: http://javascript.pastebin.com/m3fb7361f
      > And here is how i use it: http://html.pastebin.com/m2ef824c3
      >
      > Can anyone help me figure out what I'm doing wrong?

      YUI.use('autocomplete', function(Y){

      -->

      YUI().use('autocomplete', function(Y){

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