Y.inputEx is undefined

38 views
Skip to first unread message

din

unread,
Oct 18, 2011, 2:20:03 AM10/18/11
to inputex
always shows Y.inputEx is undefined. Can u give the reason?

Joe Developer

unread,
Oct 18, 2011, 5:20:26 AM10/18/11
to inp...@googlegroups.com
Did you follow the instructions at: http://neyric.github.com/inputex/guide.html#GettingStarted ?

On Tue, Oct 18, 2011 at 1:20 PM, din <ep.ni...@gmail.com> wrote:
always shows Y.inputEx is undefined. Can u give the reason?

--
You received this message because you are subscribed to the Google Groups "inputex" group.
To post to this group, send email to inp...@googlegroups.com.
To unsubscribe from this group, send email to inputex+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/inputex?hl=en.


din

unread,
Oct 18, 2011, 9:29:47 AM10/18/11
to inputex
Thanks for the reply.

Suresh Mahawar

unread,
Dec 22, 2014, 5:46:31 AM12/22/14
to inp...@googlegroups.com


I am getting same error. please tell me what am i missing

Thanks in advance
Suresh

Maxime RETY

unread,
Dec 22, 2014, 11:41:55 AM12/22/14
to inp...@googlegroups.com
Hello Suresh,

Sorry about the instructions in the guide section, they are a bit outdated...

You need to replace path/to/inputex in the script tag, and also in the YUI_config.groups.inputex.base attribute, for your browser to find the inputEx library you've downloaded.

You can download the latest inputEx here : https://github.com/neyric/inputex/archive/shifter.zip

Then, unzip the folder, and add it somewhere into your project directory (if the folder is named "inputex-shifter", just rename it to "inputex").

For example, if your local webserver is serving the assets in the project/ folder and you have inputex inside your project folder, like this :

project/
  inputex/
    build/
      inputex/
      inputex-autocomplete/
      inputex-base/
      [...]
 
Then you should replace the two lines like this:

<script src="path/to/inputex/src/loader.js"  type='text/javascript'></script>

becomes:

<script src="/inputex/build/inputex-loader/inputex-loader.js"  type='text/javascript'></script>

And:

YUI_config.groups.inputex.base = 'path/to/inputex/';

becomes:

YUI_config.groups.inputex.base = '/inputex/build/';


Then everything should work properly (Y.inputEx will be defined).

You should adapt the path to match the place where you've put inputex in your project directory.

Hope this helps!

Best regards,

-- 
Maxime
Reply all
Reply to author
Forward
0 new messages