Skip to content

Commit 738c685

Browse files
committed
Updated underscore links to point to underscorejs.org
"http://documentcloud.github.io/underscore" is only updated through version 1.5.0, while "underscorejs.org" is current through 1.7.0. "underscorejs.org" is also the official homepage for the project, and is easier to remember if people want to reference again later. I've double checked both links and they behave exactly as the existing links do. The link pointing directly to #template still points directly to #template within the underscore documentation.
1 parent ceed98b commit 738c685

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_posts/2011-01-28-what-is-a-view.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ posturl: http://backbonetutorials.com/what-is-a-view
77

88
# What is a view?
99

10-
Backbone views are used to reflect what your applications' data models look like. They are also used to listen to events and react accordingly. This tutorial will not be addressing how to bind models and collections to views but will focus on view functionality and how to use views with a JavaScript templating library, specifically [Underscore.js's _.template](http://documentcloud.github.com/underscore/#template).
10+
Backbone views are used to reflect what your applications' data models look like. They are also used to listen to events and react accordingly. This tutorial will not be addressing how to bind models and collections to views but will focus on view functionality and how to use views with a JavaScript templating library, specifically [Underscore.js's _.template](http://underscorejs.org/#template).
1111

1212
We will be using [jQuery 1.8.2](http://jquery.com/) as our DOM manipulator. It's possible to use other libraries such as [MooTools](http://mootools.net/) or [Sizzle](http://sizzlejs.com/), but official Backbone.js documentation endorses jQuery. Backbone.View events may not work with libraries other than jQuery.
1313

@@ -49,7 +49,7 @@ _Note: Keep in mind that this binds the container element. Any events we trigger
4949

5050
## Loading a template
5151

52-
Backbone.js is dependent on Underscore.js, which includes its own micro-templating solution. Refer to [Underscore.js's documentation](http://documentcloud.github.com/underscore/) for more information.
52+
Backbone.js is dependent on Underscore.js, which includes its own micro-templating solution. Refer to [Underscore.js's documentation](http://underscorejs.org/) for more information.
5353

5454
Let us implement a "render()" function and call it when the view is initialized. The "render()" function will load our template into the view's "el" property using jQuery.
5555

0 commit comments

Comments
 (0)