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

Content script broken #77

Closed
neocotic opened this issue Mar 6, 2012 · 1 comment
Closed

Content script broken #77

neocotic opened this issue Mar 6, 2012 · 1 comment
Assignees
Labels
Milestone

Comments

@neocotic
Copy link
Member

neocotic commented Mar 6, 2012

While investigating #76 I noticed that CoffeeScript is incorrectly compiling the content script.

      description:   getMeta 'description'
      keywords:      getMeta 'keywords', yes
      lastModified:  document.lastModified

Is being compiled as...

      keywords: getMeta('keywords')
    }, true, {
      lastModified: document.lastModified,

This is resulting in most of the derived values from being discarded. Fortunately, the fix is simply to wrap the arguments in parenthesis.

@neocotic
Copy link
Member Author

neocotic commented Mar 6, 2012

I'm happy with this fix, closing off.

@neocotic neocotic closed this as completed Mar 6, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant