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
Message from discussion Some questions

Received: by 10.68.190.99 with SMTP id gp3mr8563364pbc.1.1326748047028;
        Mon, 16 Jan 2012 13:07:27 -0800 (PST)
X-BeenThere: nowjs@googlegroups.com
Received: by 10.68.121.137 with SMTP id lk9ls19432392pbb.3.gmail; Mon, 16 Jan
 2012 13:07:26 -0800 (PST)
Received: by 10.68.74.201 with SMTP id w9mr8564690pbv.0.1326748046443;
        Mon, 16 Jan 2012 13:07:26 -0800 (PST)
Received: by 10.68.74.201 with SMTP id w9mr8564688pbv.0.1326748046424;
        Mon, 16 Jan 2012 13:07:26 -0800 (PST)
Return-Path: <really...@gmail.com>
Received: from mail-pz0-f53.google.com (mail-pz0-f53.google.com [209.85.210.53])
        by gmr-mx.google.com with ESMTPS id c6si26262536pbo.0.2012.01.16.13.07.26
        (version=TLSv1/SSLv3 cipher=OTHER);
        Mon, 16 Jan 2012 13:07:26 -0800 (PST)
Received-SPF: pass (google.com: domain of really...@gmail.com designates 209.85.210.53 as permitted sender) client-ip=209.85.210.53;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of really...@gmail.com designates 209.85.210.53 as permitted sender) smtp.mail=really...@gmail.com; dkim=pass header...@gmail.com
Received: by dalz17 with SMTP id z17so4535287dal.26
        for <nowjs@googlegroups.com>; Mon, 16 Jan 2012 13:07:26 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=mime-version:sender:in-reply-to:references:from:date
         :x-google-sender-auth:message-id:subject:to:content-type;
        bh=6W8MEc3gUPKnncz6RZdzKzTcfQ9BvGItp06bJqU1RZc=;
        b=LCYcN/jy/udGS7B9CFPrM7iZAq/XCdq9KnMguoOCVnFtQ+3b4ZTwoapeQRSKvYxC01
         w3bzaYSQTrXU7kK8Mpvf06EpX4GVArOptCctQx5POQpVab2SMdHYMaNAS4zPtafmsSO1
         myAAIwBHblOu4vS3l2BWiCKu36E5IoQIqmAuM=
Received: by 10.68.74.134 with SMTP id t6mr11976605pbv.26.1326748046214; Mon,
 16 Jan 2012 13:07:26 -0800 (PST)
MIME-Version: 1.0
Sender: really...@gmail.com
Received: by 10.143.83.10 with HTTP; Mon, 16 Jan 2012 13:07:05 -0800 (PST)
In-Reply-To: <b08e1b07-1b4d-48a5-93d1-dedd15c2029a@t13g2000yqg.googlegroups.com>
References: <b08e1b07-1b4d-48a5-93d1-dedd15c20...@t13g2000yqg.googlegroups.com>
From: Eric Zhang <e...@nowjs.com>
Date: Mon, 16 Jan 2012 13:07:05 -0800
Message-ID: <CAHmHc3NnjughpqqYctYm6O8qYbq7JBRfU3f=sXtRU_5Hryj...@mail.gmail.com>
Subject: Re: [NowJS] Some questions
To: nowjs@googlegroups.com
Content-Type: multipart/alternative; boundary=f46d04190ee80046e204b6ab9aea

--f46d04190ee80046e204b6ab9aea
Content-Type: text/plain; charset=ISO-8859-1

Hi Morhaus,

You should be able to call nowInitialize again to connect again?

In order to load the script dynamically you can use one of the many dynamic
javascript loaders available. Unfortunately NowJS doesn't have this
functionality built-in.


Eric

On Sun, Jan 15, 2012 at 6:57 AM, Morhaus <a.kirszenb...@gmail.com> wrote:

> Hello.
> I use window.now = nowInitialize(...) to connect to the server, and
> now.core.socketio.disconnect() to disconnect from the server. Is there
> a way to reconnect to another server using nowInitialize or another
> function, without reloading the page ?
>
> Is there also a way to include the now.js script from a distant server
> (ex: github) directly into another script ? Currently, I just copy/
> paste it at the top of my script, but I'd like to load it dynamically.
>
> Thanks.
>



-- 
Co-Founder @ Flotype, makers of NowJS

--f46d04190ee80046e204b6ab9aea
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi Morhaus,<div><br></div><div>You should be able to call nowInitialize aga=
in to connect again?</div><div><br></div><div>In order to load the script d=
ynamically you can use one of the many dynamic javascript loaders available=
. Unfortunately NowJS doesn&#39;t have this functionality built-in.</div>

<div><br></div><div><br></div><div>Eric<br><br><div class=3D"gmail_quote">O=
n Sun, Jan 15, 2012 at 6:57 AM, Morhaus <span dir=3D"ltr">&lt;<a href=3D"ma=
ilto:a.kirszenb...@gmail.com">a.kirszenb...@gmail.com</a>&gt;</span> wrote:=
<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">Hello.<br>
I use window.now =3D nowInitialize(...) to connect to the server, and<br>
now.core.socketio.disconnect() to disconnect from the server. Is there<br>
a way to reconnect to another server using nowInitialize or another<br>
function, without reloading the page ?<br>
<br>
Is there also a way to include the now.js script from a distant server<br>
(ex: github) directly into another script ? Currently, I just copy/<br>
paste it at the top of my script, but I&#39;d like to load it dynamically.<=
br>
<br>
Thanks.<br>
</blockquote></div><br><br clear=3D"all"><div><br></div>-- <br>Co-Founder @=
 Flotype, makers of NowJS<br>
</div>

--f46d04190ee80046e204b6ab9aea--