To build jQuery, you need to have the latest Node.js/npm and git 1.7 or later. Earlier versions might work, but are not supported. For Windows, you have to download and install git and Node.js. OS X users should install Homebrew. Once Homebrew is installed, run brew install git to install git, and brew install node to install Node.js. Linux/BSD users should use their appropriate package managers to install git and Node.js, or build from source if you swing that way. Easy-peasy. Special builds can be created that exclude subsets of jQuery functionality. This allows for smaller custom builds when the builder is certain that those parts of jQuery are not being used. For example, an app that only used JSONP for $.ajax() and did not need to calculate offsets or positions of elements could exclude the offset and ajax/xhr modules. Any module may be excluded except for core, and selector. To exclude a module, pass its path relative to the src folder (without the .js extension). Some example modules that can be excluded are: Note: Excluding Sizzle will also exclude all jQuery selector extensions (such as effects/animatedSelector and css/hiddenVisibleSelectors). The build process shows a message for each dependent module it excludes or includes. As an option, you can set the module name for jQuery's AMD definition. By default, it is set to "jquery", which plays nicely with plugins and third-party libraries, but there may be cases where you'd like to change this. Simply set the "amd" option: For questions or requests regarding custom builds, please start a thread on the Developing jQuery Core section of the forum. Due to the combinatorics and custom nature of these builds, they are not regularly tested in jQuery's unit test process. The non-Sizzle selector engine currently does not pass unit tests because it is missing too much essential functionality.

Women’s Health

July is Summer and Sports Eye Safety  Month

In the blink of an eye graphic

That’s how quickly it can happen – in the blink of an eye. You have no time to react. That’s why it’s so important to protect your eyes from harm.

The American Optometric Association marks July as its Back to School PR Campaign/Summer and School Sports Eye Safety Observance.

According to the American Academy of Ophthalmology, an estimated 90 percent of eye injuries are preventable with the use of proper safety eyewear. Even a minor injury to the cornea—like that from a small particle of dust or debris—can be painful and become a life-long issue, so take the extra precaution and always protect the eyes. If the eye is injured, seek emergency medical help immediately.

Dangers at Home

When we think of eye protection, we tend to think of people wearing hardhats and lab coats. We often forget that even at home, we might find ourselves dealing with similar threats to our eyes. Dangerous chemicals that could burn or splash the eyes aren’t restricted to chemical laboratories. They’re also in our garages and under our kitchen sinks. Debris and other air-borne irritants are present at home, too, whether one is doing a home construction project or working in the yard. The debris from a lawnmower or “weed wacker,” for example, can be moving at high speeds and provide no time to react. Some sports also put the eyes at risk of injury from foreign objects moving at high speeds.

Effective Eyewear

The best ways to prevent injury to the eye is to always wear the appropriate eye protection. The Bureau of Labor Statistics reports that approximately three out of every five workers injured were either not wearing eye protection at the time of the accident or wearing the wrong kind of eye protection for the job. To be effective, eyewear must fit properly and be effectively designed to protect the eyes based on the activity being performed. The Occupational Safety Health Administration (OSHA) has standards that require employers to provide their workers with the appropriate eye protection.

When to Wear Protective Eyewear

According to these standards, you (or anyone who is watching you work) should always wear properly fitted eye protective gear, such as safety glasses with side protection/shields, when:

  • Doing work that may produce particles, slivers, or dust from materials like wood, metal, plastic, cement, and drywall
  • Hammering, sanding, grinding, or doing masonry work
  • Working with power tools
  • Working with chemicals,including common household chemicals like ammonia, oven cleaners, and bleach
  • Using a lawnmower, riding mower, or other motorized gardening devices like string trimmers (also called “weed wacker” or “weed whip”)
  • Working with wet or powdered cement
  • Welding (which requires extra protection like a welding mask or helmet from sparks and UV radiation)
  • “Jumping” the battery of a motor vehicle
  • Being a bystander to any of the above

Use Masks In The Water

One of the most common sources of eye infections is from swimming, especially with eyes open underwater. A properly
Ph-balanced pool should be germ-free, but the chemicals in the water can still irritate the eye – remember, you’re pouring acid in that pool. And, of course, exposing your eyes directly to untreated water, like lakes or oceans, is an incredibly bad idea.

Swim masks or (non-corrective) goggles can prevent a lot of needless eye infections among swimmers.

Fireworks Are Always Dangerous

Please take caution when using any sort of fireworks. Even common sparklers can cause eye damage, if a spark makes a direct hit. Anyone working with any sort of fireworks should be wearing protective eyewear. Even wearing your glasses, rather than contacts, will help a lot here.

Sports

A pair of sports goggles is a good investment for anyone who plays outdoor sports and needs corrective lenses. Glasses and contacts can both be shattered in the case of an impact, such as from a baseball or basketball. This makes an accidental head shot far more likely to cause eye damage.

Wearing the right protective eyewear may help to prevent 90 percent of eye injuries. Many goggles or safety glasses come with tints to reduce sun glare, light-filtering capabilities that make it easier to see certain colors (like yellow tennis balls), and polycarbonate lenses that stand up to sudden, sharp impact.

Sports goggles are reinforced to resist shattering, even in high-speed collisions. They’re the only safe option when flying objects are part of the game.

Sports googles are recommended for:

  • Indoor racket sports
  • Paintball
  • Baseball
  • Basketball
  • Hockey
  • Cycling
  • Riding a being a passenger on a motorcycle

Sun

The eyes also need to be protected from prolonged sun exposure, so have sunglasses with UV protection at hand. If you’re putting on sunscreen, you should also be wearing sunglasses with UV protection.

First Aid

If your eye is injured, it’s tempting to think you can just flush it out with some cold water and it will be fine. However, it’s not easy to judge the extent or severity of any eye injury, so you should always get immediate, professional medical attention.

Here are some steps you can take in the event of an eye injury (these tips are not meant to replace professional medical attention):

Trauma to the Eye If you are hit in the eye, rest a protective shield – such as a Styrofoam cup – on the bone around your eye. Make sure there is no pressure on the eye itself. Seek immediate, professional medical attention.

Foreign Body If an object has entered your eye, do not try to remove it; you may tear delicate tissue or force the object in deeper. Rest a protective shield – again, like a Styrofoam cup – on the bone around your eye, making sure there is no pressure on the eye itself. Seek immediate professional medical attention.

Black Eye If you are hit in the eye area, place an ice pack or cold cloth over your eye. Even in cases where trauma seems minor, every eye injury should be given medical attention. Get immediate, professional medical attention.

Chemical Burn If your eye has sustained a chemical burn, rinse it with fresh water for at least 20 to 30 minutes. Hold your head under the tap or use a clean container to pour water into your eye. As you rinse, use your fingers to hold your eye open as wide as possible and roll your eye to ensure the greatest possible coverage. Get immediate, professional medical attention.

Sunglasses

Sunglasses not only look good, they help protect your eyes from harmful ultra violet (UV) rays to help prevent long-term damage. Choose sunglasses with both UVA and UVB protection, to block both forms of ultraviolet rays. A hat or baseball cap may help block indirect sun, which can come into the eyes around the edges of sunglasses.

Tanning beds may lead to serious eye damage. Tanning beds can produce UV levels up to 100x what you would get from the sun causing serious damage to the eye and eyelids.

Vision is a gift. Make the extra effort to protect it.


Resources: