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
Accessing the env
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
  5 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
 
Alan Schmitt  
View profile  
 More options Nov 16 2011, 6:14 am
From: Alan Schmitt <alan.schm...@polytechnique.org>
Date: Wed, 16 Nov 2011 12:14:36 +0100
Local: Wed, Nov 16 2011 6:14 am
Subject: Accessing the env

Hello,

As I'm exploring JSTalk, I saw some scripts where one could find in the environment the url of the running script, or who called the script.

I'm trying these examples in the editor, such as:

var script = [jstalk env].scriptURL.path();

but I always get an error:

"Line 0, TypeError: 'undefined' is not a function (evaluating 'jstalk.env()')"

I'm clearly not understanding what the "jstalk" identifier stands for. Is it a global identifier? Is it supposed to exist in JSTalk Editor?

Thanks,

Alan


 
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.
Gus Mueller  
View profile  
 More options Nov 16 2011, 4:03 pm
From: Gus Mueller <g...@flyingmeat.com>
Date: Wed, 16 Nov 2011 13:03:50 -0800 (PST)
Local: Wed, Nov 16 2011 4:03 pm
Subject: Re: Accessing the env
On Nov 16, 3:14 am, Alan Schmitt <alan.schm...@polytechnique.org>
wrote:

> Hello,

> As I'm exploring JSTalk, I saw some scripts where one could find in the environment the url of the running script, or who called the script.

> I'm trying these examples in the editor, such as:

> var script = [jstalk env].scriptURL.path();

> but I always get an error:

> "Line 0, TypeError: 'undefined' is not a function (evaluating 'jstalk.env()')"

> I'm clearly not understanding what the "jstalk" identifier stands for. Is it a global identifier? Is it supposed to exist in JSTalk Editor?

It's a global var (and it really should be in it's own namespace).  It
should be there though- what version of JSTalk Editor are you using?

-gus


 
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.
Alan Schmitt  
View profile  
 More options Nov 17 2011, 2:45 am
From: Alan Schmitt <alan.schm...@polytechnique.org>
Date: Thu, 17 Nov 2011 08:45:21 +0100
Local: Thurs, Nov 17 2011 2:45 am
Subject: Re: Accessing the env
On 16 nov. 2011, at 22:03, Gus Mueller wrote:

> On Nov 16, 3:14 am, Alan Schmitt <alan.schm...@polytechnique.org>
> wrote:
>> I'm clearly not understanding what the "jstalk" identifier stands for. Is it a global identifier? Is it supposed to exist in JSTalk Editor?

> It's a global var (and it really should be in it's own namespace).  It
> should be there though- what version of JSTalk Editor are you using?

I'm using 1.0.

Alan


 
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.
Gus Mueller  
View profile  
 More options Nov 17 2011, 12:39 pm
From: Gus Mueller <g...@flyingmeat.com>
Date: Thu, 17 Nov 2011 09:39:13 -0800
Local: Thurs, Nov 17 2011 12:39 pm
Subject: Re: Accessing the env
On Nov 16, 2011, at 11:45 PM, Alan Schmitt wrote:

> On 16 nov. 2011, at 22:03, Gus Mueller wrote:

>> On Nov 16, 3:14 am, Alan Schmitt <alan.schm...@polytechnique.org>
>> wrote:
>>> I'm clearly not understanding what the "jstalk" identifier stands for. Is it a global identifier? Is it supposed to exist in JSTalk Editor?

>> It's a global var (and it really should be in it's own namespace).  It
>> should be there though- what version of JSTalk Editor are you using?

> I'm using 1.0.

The latest release is 1.0.1, but you might try the latest preview build as well:
http://jstalk.org/download/JSTalkPreview.zip

-gus

--  

August 'Gus' Mueller
Flying Meat Inc.
http://flyingmeat.com/


 
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.
Alan Schmitt  
View profile   Translate to Translated (View Original)
 More options Nov 17 2011, 12:47 pm
From: Alan Schmitt <alan.schm...@polytechnique.org>
Date: Thu, 17 Nov 2011 18:47:24 +0100
Local: Thurs, Nov 17 2011 12:47 pm
Subject: Re: Accessing the env
On 17 nov. 2011, at 18:39, Gus Mueller wrote:

> The latest release is 1.0.1, but you might try the latest preview build as well:
> http://jstalk.org/download/JSTalkPreview.zip

Thanks, it works. Sorry of the confusion, I had another version of JSTalk from 2009 in EagleFiler, and somehow it was that one that was launching.

Thanks again,

Alan


 
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 »