Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Events
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
arcticmouse
javascript-patterns
Repository navigation
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
javascript-patterns
function-patterns
immediate-functions.html
on
master
User selector
All users
Datepicker
All time
Commit history
Commits on Feb 1, 2012
Proper indentation using tabs (both HTML and JS)
Lars Kappert
authored and
Lars Kappert
committed
f1b4f9a
View commit details
Copy full SHA for f1b4f9a
View code at this point
Browse repository at this point
Commits on Jan 26, 2012
An alternative method with less parentheses
Ricardo Bin
committed
6da4823
View commit details
Copy full SHA for 6da4823
View code at this point
Browse repository at this point
Commits on Jan 17, 2012
Less parentheses in immediate functions
Ricardo Bin
committed
c4f5158
View commit details
Copy full SHA for c4f5158
View code at this point
Browse repository at this point
Commits on Jan 14, 2012
added comments to function patterns
chuanxshi
committed
9b9a243
View commit details
Copy full SHA for 9b9a243
View code at this point
Browse repository at this point
Commits on Jan 12, 2012
added references to the patterns
chuanxshi
committed
cfa7ec2
View commit details
Copy full SHA for cfa7ec2
View code at this point
Browse repository at this point
Commits on Jan 10, 2012
changed folder name
chuanxshi
committed
b33e92a
View commit details
Copy full SHA for b33e92a
View code at this point
Browse repository at this point
Loading
You can’t perform that action at this time.