Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test page on new widget has syntax error #1

Open
andrewrjones opened this issue May 9, 2011 · 1 comment
Open

Test page on new widget has syntax error #1

andrewrjones opened this issue May 9, 2011 · 1 comment

Comments

@andrewrjones
Copy link

Reproduce steps:

  • create a new project (yproject create twitter-list-editor)
  • create new widget (yproject widget select-list)
  • open src/select-list/tests/select-list.html

Firebug shows the following error:

invalid assignment left-hand side
[Break On This Error] YUI_config.groups.twitter-list-editor....nted/'; // serve instrumented modules

line 13.

Changing to this fixes the error:

YUI_config = {
  groups: {
    'twitter-list-editor': {
      base: '../../../tests/instrumented/'
    }
  }
};// serve instrumented modules
@andrewrjones
Copy link
Author

The test file also does not load the source it is testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant