Search the web
Sign In
New User? Sign Up
jsolait
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
some results from experimental branch   Message List  
Reply | Forward Message #292 of 411 |
Re: some results from experimental branch

it looks like FF2 fixed the with-statement handling in JavaScript,
the issue described earlier does not occur anymore.

So, I am thinking of adding support for the following in jsolait:

e.g of a module source file

mod.foobar=function(...){

...
}

mod.test=function(...){

foobar();
}


the magic is that 'mod.' is only used to define objects that can be
imported by other modules. Inside the module itself these objects will
look like local objects declared with 'var'. This should make things a
bit more comfortable to write.

I will do some further investigation if there are any issues using
this approach.

Comments are appreciated.

Jan





Thu Nov 2, 2006 11:42 am

keyjaque
Offline Offline
Send Email Send Email

Forward
Message #292 of 411 |
Expand Messages Author Sort by Date

I just got some results from playing with the experimental branch: One feature was to expose new objects to a module's local namespace. This seems to work fine...
Jan-Klaas Kollhof
keyjaque
Offline Send Email
Jul 28, 2006
4:25 pm

It looks like that IE does not have the problem earlier described. Though firefox does, so it is a no go for that solution. I played some more with the module...
Jan-Klaas Kollhof
keyjaque
Offline Send Email
Jul 31, 2006
4:55 pm

it looks like FF2 fixed the with-statement handling in JavaScript The issue described earlier does not occur anymore. So, I am thinking of adding support for...
Jan-Klaas Kollhof
keyjaque
Offline Send Email
Nov 2, 2006
11:48 am

it looks like FF2 fixed the with-statement handling in JavaScript, the issue described earlier does not occur anymore. So, I am thinking of adding support for...
Jan-Klaas Kollhof
keyjaque
Offline Send Email
Nov 2, 2006
11:49 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help