Forums

Posting in these forums is disabled. These forums will be available for archive purposes. Please join the new forums at the links below:

  • yui-support - replaces the `YUI 3.x` and `YUI 3 Gallery` forums.
    We have created the following discussion categories within this group to aid discoverability for these most-used topics:
    • Charts for YUI Charts support.
    • DataTable for YUI DataTable support.
    • Gallery for YUI Gallery support, including support for published Gallery components as well as the Gallery process in general.
    • Tools for support of YUI’s suite of developer tools such as selleck, shifter, grover, yogi, etc.
    • Everything Else for questions that don’t fit one of the categories above, we’ve got you covered here.
  • yui-deprecated - replaces the `YUI 2.x` forum and the forums of other deprecated products (`YUI Doc`, `Builder`, `YUI PHP Loader`, etc.).
  [ 2 posts ]
New Topic | Post Reply | Print view
Previous topic | Next topic

Khael

  • Joined: Tue Apr 19, 2011 2:18 am
  • Posts: 7
  • Offline
  • Profile
Tags:
  • examples
  • github
  • site
  • yui3

configureYUI is not defined

Post Posted: Tue Apr 19, 2011 3:12 am
+0-
Hey Dave,

I've been following your work integrating yui3 with node.js and decided to give it a try yesterday when I had some time.

I must admit I am totally new to node.js so first I had to work my way through getting github account set up, installing (on my macbook) first git, then npm, then express, and the other required modules.

And last the nodejs-yui3 stuff.

I've been trying out the examples on the express site, and seems to be working fine.

But I am having problems with the nodejs-yui3 stuff, I keep getting this error:

ReferenceError: configureYUI is not defined

Since I am totally new to this, I dont know if its some problem with paths or something on my end..

I've been looking abit at your code, and it seems like a work in progress, with the getYUI function:

Code:
var getYUI = function(c) {
    //var yui3 = require('./yui3-yui3');
    //var YUI = yui3.configure(c);
    var YUI = configureYUI(c);
    return YUI;
}


Anyone who can give me any pointers on this issue?

Dav Glass

  • Username: davglass
  • Joined: Thu Aug 28, 2008 9:28 am
  • Posts: 2088
  • Location: Marion, IL, US
  • Twitter: davglass
  • GitHub: davglass
  • Gists: davglass
  • IRC: davglass
  • Offline
  • Profile

Re: configureYUI is not defined

Post Posted: Tue Apr 19, 2011 4:37 am
+0-
How did you install the package?
  [ 2 posts ]
New Topic | Post Reply | Print view
Previous topic | Next topic
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