Skip to content

Change this & window reference to a global passed in closure#2630

Open
SergioCrisostomo wants to merge 1 commit intomootools:masterfrom
SergioCrisostomo:window-global
Open

Change this & window reference to a global passed in closure#2630
SergioCrisostomo wants to merge 1 commit intomootools:masterfrom
SergioCrisostomo:window-global

Conversation

@SergioCrisostomo
Copy link
Member

closes #2413

Use global inside closures to improve obfuscation and prepare for the future.

P.S.: A bit scary to change so many references...
I ran the specs on this and got all green, but would feel good with some pairs of human eyes looking at the changes...

to improve obfuscation and prepare for the future
@SergioCrisostomo SergioCrisostomo modified the milestones: 1.6.0, 1.5.2 Jul 8, 2014
@ibolmo ibolmo modified the milestones: 1.6.0, 1.5.2 Nov 11, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use window instead of this in closures to improve obfuscation.

2 participants