JavaScript Meteor.user() doesn’t contain emails field

I am using account-google, I don't know why it doesn't publish emails to the client.

From the doc about Meteor.user():

By default the server publishes username, emails, and profile (writable by user).

I only get

Object { _id: "vK5ddWtypCewCwbSL", profile: Object }

on my client after running Meteor.user(), but I want to use Meteor.user().emails, anything I missed here?

Answer:1

I have jQuery replaceWith call, and I want to pop up an alert only when the replaceWith finishes loading. To achieve this I have this very naive javascript implementation: $(document).ready(...

I have jQuery replaceWith call, and I want to pop up an alert only when the replaceWith finishes loading. To achieve this I have this very naive javascript implementation: $(document).ready(...

  1. javascript function when page loads
  2. javascript function when button clicked
  3. javascript function when document ready
  4. javascript function when submit form
  5. javascript function when checkbox is checked
  6. javascript function when click
  7. javascript function when hover
  8. javascript function when ready
  9. javascript function when
  10. javascript function when done
  11. javascript function when load
  12. javascript function on submit
  13. javascript function on change
  14. javascript function on object
  15. javascript function on scroll
  16. javascript function on button
  17. javascript function on html
  18. javascript function on href
  19. javascript function on timer
  20. javascript function on start

I have a problem. When I first time press on the link div show's then when I press on document it's disappear. When I press second time on link div appears and suddenly disappears. What's wrong? $(...

I have a problem. When I first time press on the link div show's then when I press on document it's disappear. When I press second time on link div appears and suddenly disappears. What's wrong? $(...

  1. jquery show hide div
  2. jquery show hide toggle
  3. jquery show hide not working
  4. jquery show hide class
  5. jquery show hide boolean
  6. jquery show hide div by id
  7. jquery show hide span
  8. jquery show hide password
  9. jquery show hide on click
  10. jquery show hide label
  11. jquery show hide fade
  12. jquery show hide table row
  13. jquery show hide css
  14. jquery show hide based on class
  15. jquery show hide table
  16. jquery show hide button by id
  17. jquery show hide display none
  18. jquery show hide modal
  19. jquery show hide on load
  20. jquery show hide checkbox

I've been going crazy trying to figure this one out. I've seen plenty of obfuscated and tough-to-implement examples of filling a computed observable in Knockout when an async call has finished, but I ...

I've been going crazy trying to figure this one out. I've seen plenty of obfuscated and tough-to-implement examples of filling a computed observable in Knockout when an async call has finished, but I ...

I'm trying to make a .jsp where, by clicking a button, the page opens a modal dialog with some stuff. I'm also using jQuery. I'm new to this, so, to test if jQuery was working, I first tried a kind of ...

I'm trying to make a .jsp where, by clicking a button, the page opens a modal dialog with some stuff. I'm also using jQuery. I'm new to this, so, to test if jQuery was working, I first tried a kind of ...