#251 ✓resolved
MadRabbit

New RightJS initialization layout

Reported by MadRabbit | June 5th, 2010 @ 04:55 PM | in 2.0.0 Release

I think we could win something in size if we use a new closed layout, with local wars, kinda like that

var RightJS = (function(self, doc) {
  var HTML = doc.documentElement, ....;

  // the rest of the code in here
})(window, document);

this way we will have one isolation function instead of several here and there, plus we can shortify things with local vars and so one. And this should be extremely useful when it will come to the safe-mode development.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

RightJS Core Tickets

Shared Ticket Bins

People watching this ticket

Pages