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

Observer syntax won't work, require comma separated arguments #138

Closed
sjmiles opened this issue Jun 7, 2015 · 0 comments
Closed

Observer syntax won't work, require comma separated arguments #138

sjmiles opened this issue Jun 7, 2015 · 0 comments
Assignees
Labels

Comments

@sjmiles
Copy link
Contributor

sjmiles commented Jun 7, 2015

Observer arguments must now be separated by commas, not simple whitespace.

Should be:

    observers: [
      '_updateCenter(latitude, longitude)'
    ],

insteadof

    observers: [
      '_updateCenter(latitude longitude)'
    ],

https://github.com/GoogleWebComponents/google-map/blob/master/google-map.html#L328

@sjmiles sjmiles added the bug label Jun 7, 2015
@sjmiles sjmiles self-assigned this Jun 7, 2015
@sjmiles sjmiles closed this as completed in 162f153 Jun 7, 2015
addyosmani added a commit that referenced this issue Jun 7, 2015
observer arguments must be separated by commas (fix #138), relax type…
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