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
Making Joose compatible with Prototype
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
 
Malte Ubl  
View profile  
 More options Oct 26 2008, 11:12 am
From: "Malte Ubl" <malte....@gmail.com>
Date: Sun, 26 Oct 2008 16:12:36 +0100
Local: Sun, Oct 26 2008 11:12 am
Subject: Making Joose compatible with Prototype
Hey,

here is the strategy for making Joose compatible with Prototype:

Joose conflicts with Prototype on some major global variable names.
First and foremost Class and Prototype.
It can be tested with: test.html#real_world=runWithPrototype

Here is the strategy to work around this:

Those global vars are also exposed with as JooseClass and JoosePrototype.

Wrap all framework code with

(function (Class, Prototype) {
    // Framework code goes here

})(JooseClass, JoosePrototype)

... and we should be fine.

I don't really feel like doing it, but maybe somebody cares enough.

Malte


 
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.
Jeremy Wall  
View profile  
 More options Oct 26 2008, 9:59 pm
From: "Jeremy Wall" <jw...@google.com>
Date: Sun, 26 Oct 2008 20:59:07 -0500
Local: Sun, Oct 26 2008 9:59 pm
Subject: Re: Making Joose compatible with Prototype

I heartily dislike prototype and would rather not help it in any way however
it is a popular library so I'm not opposed to it necessarily.

2008/10/26 Malte Ubl <malte....@gmail.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.
End of messages
« Back to Discussions « Newer topic     Older topic »