Jump to content

User talk:Bility/Archive Talk Sections

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Avoid cluttering up the global space

[edit]

To avoid cluttering the global scope, why don't we wrap the entire program with an anonymous function? mc10 (t/c) 04:05, 30 August 2011 (UTC)[reply]

I guess I should have watchlisted this page!
Well, I wouldn't be opposed to an anonymous function—can you explain how it would work? I would replace:
$(document).ready(mainArchiveSection);
with:
$(document).ready(function() { ... });
Like that? — Bility (talk) 23:33, 8 November 2011 (UTC)[reply]