Skip to content

Commit 8bc77a5

Browse files
Acho Arnoldarthurvr
Acho Arnold
authored andcommitted
All: fix some unnecessary redirects
Closes jquerygh-649
1 parent fc48992 commit 8bc77a5

11 files changed

+15
-15
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ For more advice on managing your fork and submitting pull requests to the jQuery
8181

8282
### Formatting Articles
8383

84-
Yes! Take a look at our [style guide](http://learn.jquery.com/style-guide) for more information on authoring and formatting conventions.
84+
Yes! Take a look at our [style guide](http://learn.jquery.com/style-guide/) for more information on authoring and formatting conventions.
8585

8686
<h2 id="getting-help">Getting Help</h2>
8787

page/effects/custom-effects.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ $( "div.funtimes" ).animate(
2525
);
2626
```
2727

28-
**Note:** Color-related properties cannot be animated with `.animate()` using jQuery out of the box. Color animations can easily be accomplished by including the [color plugin](http://github.com/jquery/jquery-color). We'll discuss using plugins later in the book.
28+
**Note:** Color-related properties cannot be animated with `.animate()` using jQuery out of the box. Color animations can easily be accomplished by including the [color plugin](https://github.com/jquery/jquery-color). We'll discuss using plugins later in the book.
2929

3030
### Easing
3131

page/events/handling-events.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"attribution": [ "jQuery Fundamentals" ]
66
}</script>
77

8-
jQuery provides a method `.on()` to respond to any event on the selected elements. This is called an _event binding_. Although `.on()` isn't the only method provided for event binding, it is a best practice to use this for jQuery 1.7+. To learn more, [read more about the evolution of event binding in jQuery](/events/history-of-events).
8+
jQuery provides a method `.on()` to respond to any event on the selected elements. This is called an _event binding_. Although `.on()` isn't the only method provided for event binding, it is a best practice to use this for jQuery 1.7+. To learn more, [read more about the evolution of event binding in jQuery](/events/history-of-events/).
99

1010
The `.on()` method provides several useful features:
1111

@@ -138,4 +138,4 @@ $( "p" ).off( "click", bar );
138138

139139
### Namespacing Events
140140

141-
For complex applications and for plugins you share with others, it can be useful to namespace your events so you don't unintentionally disconnect events that you didn't or couldn't know about. For details, see [Event Namespacing](/event-basics#namespacing-events).
141+
For complex applications and for plugins you share with others, it can be useful to namespace your events so you don't unintentionally disconnect events that you didn't or couldn't know about. For details, see [Event Namespacing](/events/event-basics/#namespacing-events).

page/events/history-of-events.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ It is possible to use `.bind()` and attach a handler to every element.
3232
});​​​​​​​​​​​​​​​​​​​​​
3333
```
3434

35-
As discussed in the [event delegation](/event/event-delegation) article, this is not optimal.
35+
As discussed in the [event delegation](/event/event-delegation/) article, this is not optimal.
3636

3737
### liveQuery
3838
*liveQuery* was a popular jQuery plugin that allowed for the creation of events which would be triggered for elements that existed now or in the future. This plugin did not use event delegation and used expensive CPU processing to poll the DOM for changes every 20ms and fire events accordingly.

page/events/introduction-to-events.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Web pages are all about interaction. Users perform a countless number of actions
1212

1313
## What's a DOM event?
1414

15-
As mentioned, there are a myriad of event types, but perhaps the ones that are easiest to understand are user events, like when someone clicks on an element or types into a form. These types of events occur on an element, meaning that when a user clicks on a button for example, the button has had an event occur on it. While user interactions aren't the only types of DOM events, they're certainly the easiest to understand when starting out. Mozilla Developer Network has a good reference of [available DOM events](https://developer.mozilla.org/en/DOM/DOM_event_reference).
15+
As mentioned, there are a myriad of event types, but perhaps the ones that are easiest to understand are user events, like when someone clicks on an element or types into a form. These types of events occur on an element, meaning that when a user clicks on a button for example, the button has had an event occur on it. While user interactions aren't the only types of DOM events, they're certainly the easiest to understand when starting out. Mozilla Developer Network has a good reference of [available DOM events](https://developer.mozilla.org/en-US/docs/Web/Events).
1616

1717

1818
## Ways to listen for events

page/events/triggering-event-handlers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ $( "a" ).trigger( "click" );
2222

2323
## How can I mimic a native browser event, if not `.trigger()`?
2424

25-
In order to trigger a native browser event, you have to use [document.createEventObject](http://msdn.microsoft.com/en-us/library/ie/ms536390%28v=vs.85%29.aspx) for < IE9 and [document.createEvent](https://developer.mozilla.org/en/DOM/document.createEvent) for all other browsers. Using these two APIs, you can programmatically create an event that behaves exactly as if someone has actually clicked on a file input box. The default action will happen, and the browse file dialog will display.
25+
In order to trigger a native browser event, you have to use [document.createEventObject](http://msdn.microsoft.com/en-us/library/ie/ms536390%28v=vs.85%29.aspx) for < IE9 and [document.createEvent](https://developer.mozilla.org/en-US/docs/Web/API/Document/createEvent) for all other browsers. Using these two APIs, you can programmatically create an event that behaves exactly as if someone has actually clicked on a file input box. The default action will happen, and the browse file dialog will display.
2626

2727
The jQuery UI Team created [jquery.simulate.js](https://github.com/jquery/jquery-simulate/) in order to simplify triggering a native browser event for use in their automated testing. Its usage is modeled after jQuery's trigger.
2828

@@ -43,7 +43,7 @@ There are four differences between `.trigger()` and `.triggerHandler()`
4343
3. `.triggerHandler()` will not cause the default behavior of the event (such as a form submission).
4444
4. Events triggered by `.triggerHandler()`, will not bubble up the DOM hierarchy. Only the handlers on the single element will fire.
4545

46-
For more information see the [triggerHandler documentation](http://api.jquery.com/triggerHandler)
46+
For more information see the [triggerHandler documentation](http://api.jquery.com/triggerHandler/)
4747

4848
## Don't use `.trigger()` simply to execute specific functions
4949

page/jquery-ui/getting-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ When you click the "Download theme" button in ThemeRoller, you'll be directed to
111111

112112
### Support: Where Can I Get Help?
113113

114-
JQuery UI user and developer resources are kept up-to-date at the [Support Center](http://jqueryui.com/support).
114+
JQuery UI user and developer resources are kept up-to-date at the [Support Center](http://jqueryui.com/support/).
115115

116116
### Developers Wanted!
117117

118-
Want to join the jQuery UI team? We'd love your help! Visit the UI [Development Center](http://jqueryui.com/development) for details on how to get involved.
118+
Want to join the jQuery UI team? We'd love your help! Visit the UI [Development Center](http://jqueryui.com/development/) for details on how to get involved.

page/jquery-ui/themeroller.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
### About ThemeRoller
99

10-
ThemeRoller is a web app that offers a fun and intuitive interface for designing and downloading custom themes for jQuery UI. You can find ThemeRoller in the "Themes" section of the jQuery UI site, or by following this link: [jQuery UI ThemeRoller](http://jqueryui.com/themeroller)
10+
ThemeRoller is a web app that offers a fun and intuitive interface for designing and downloading custom themes for jQuery UI. You can find ThemeRoller in the "Themes" section of the jQuery UI site, or by following this link: [jQuery UI ThemeRoller](http://jqueryui.com/themeroller/)
1111

1212
![ThemeRoller Sidebar](/resources/jquery-ui/themeroller-interface-new.png)
1313
![ThemeRoller Sidebar](/resources/jquery-ui/themeroller-gallery-new.png)

page/plugins/finding-evaluating-plugins.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ The quality of jQuery plugins varies widely. Many plugins are extensively tested
1111

1212
The easiest way to find plugins is to search Google or the [jQuery Plugins Registry](http://plugins.jquery.com/). Once you've identified some options, you may want to consult the [jQuery forums](http://forum.jquery.com/) or the `#jquery` IRC channel to get input from others.
1313

14-
When looking for a plugin to fill a need, do your homework. Ensure that the plugin is well-documented, and look for the author to provide lots of examples of its use. Be wary of plugins that do far more than you need; they can end up adding substantial overhead to your page. For more tips on spotting a sub-par plugin, read [Signs of a poorly written jQuery plugin](http://remysharp.com/2010/06/03/signs-of-a-poorly-written-jquery-plugin/) by Remy Sharp.
14+
When looking for a plugin to fill a need, do your homework. Ensure that the plugin is well-documented, and look for the author to provide lots of examples of its use. Be wary of plugins that do far more than you need; they can end up adding substantial overhead to your page. For more tips on spotting a sub-par plugin, read [Signs of a poorly written jQuery plugin](https://remysharp.com/2010/06/03/signs-of-a-poorly-written-jquery-plugin/) by Remy Sharp.
1515

1616
Once you choose a plugin, you'll need to add it to your page. Download the plugin, unzip it if necessary, place it within your application's directory structure, then include the plugin in your page using a script tag (after you include jQuery).

page/style-guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
## Formatting Conventions
1313

14-
Articles in the learn site are authored with [GitHub Flavored Markdown](http://github.github.com/github-flavored-markdown/), and the beginning of each article contains some JSON "front matter" that contains metadata used when the article is published.
14+
Articles in the learn site are authored with [GitHub Flavored Markdown](https://help.github.com/articles/github-flavored-markdown/), and the beginning of each article contains some JSON "front matter" that contains metadata used when the article is published.
1515

1616
### Article Header Metadata
1717

@@ -106,7 +106,7 @@ Content should be educational and accessible to a broad audience of developers.
106106
- Link to the jQuery blog or API documentation when necessary.
107107
- Use inline hyperlinks to reference relevant content.
108108
- Acceptable external resources:
109-
- [Mozilla Developer Network](https://developer.mozilla.org/)
109+
- [Mozilla Developer Network](https://developer.mozilla.org/en-US/)
110110
- [Webplatform.org](http://www.webplatform.org/)
111111
- [htmldog.com](http://www.htmldog.com/)
112112

page/using-jquery-core/manipulating-elements.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ For complete documentation of jQuery manipulation methods, visit the [Manipulati
99

1010
## Getting and Setting Information About Elements
1111

12-
There are many ways to change an existing element. Among the most common tasks is changing the inner HTML or attribute of an element. jQuery offers simple, cross-browser methods for these sorts of manipulations. You can also get information about elements using many of the same methods in their getter incarnations. For more information on getters and setters, see the [Working with Selections](/working-with-selections/) section. Here are a few methods you can use to get and set information about elements:
12+
There are many ways to change an existing element. Among the most common tasks is changing the inner HTML or attribute of an element. jQuery offers simple, cross-browser methods for these sorts of manipulations. You can also get information about elements using many of the same methods in their getter incarnations. For more information on getters and setters, see the [Working with Selections](/using-jquery-core/working-with-selections/) section. Here are a few methods you can use to get and set information about elements:
1313

1414
* **`.html()`** – Get or set the HTML contents.
1515
* **`.text()`** – Get or set the text contents; HTML will be stripped.

0 commit comments

Comments
 (0)