Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Quick question: Can clients retrieve variables stored in the now magic pocket?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Ian Serlin  
View profile  
 More options Jun 15 2012, 3:12 pm
From: Ian Serlin <i...@ianserlin.com>
Date: Fri, 15 Jun 2012 12:12:04 -0700
Local: Fri, Jun 15 2012 3:12 pm
Subject: Re: [NowJS] Quick question: Can clients retrieve variables stored in the now magic pocket?

Hi Orthonormal,

Values you place into the magic pocket get automatically synced across
clients and the server and are available to all of them. If you run your
example and then open the console in Chrome, for instance, you would be
able to type "now.foo" and see that it has the value "bar".

You can place variables in only one client's this.now pocket if you want,
but really if you want to have values that are only known to the server you
should keep them in a different server variable outside of the now magic
pockets.

Hope that helps!

Ian Serlin

i...@ianserlin.com
http://useful.io
http://www.linkedin.com/in/ianserlin
213-399-1688
@spiceninja

Owner Useful IO LLC


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Orthonormal  
View profile  
 More options Sep 23 2012, 6:09 pm
From: Orthonormal <s.coven...@gmail.com>
Date: Sun, 23 Sep 2012 15:09:43 -0700 (PDT)
Local: Sun, Sep 23 2012 6:09 pm
Subject: Re: [NowJS] Quick question: Can clients retrieve variables stored in the now magic pocket?

Sorry about the very late reply. But yes, this was VERY useful information!
Thanks!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »