Ah, thanks Matthew - getting a fiddle ready revealed I had forgotten a line in the class definition:

        this.setOptions(options);

Cheers
Lee



On 14/05/2012 15:45, Matthew Hazlett wrote:
This is not enough information, please post a fiddle with all the necessary code.

On 5/14/2012 9:12 AM, Lee Goddard wrote:
Hi all

I'm stuck, please help.

This line:
    console.info( self.options.rules );

Renders:
    Object { F="F[-FF]F[+FF]F"}

The very next line:
    console.info( Object.keys( self.options.rules ) );

Renders:
    []

Have I over-looked something?

TIA!
Lee


Reply via email to