Skip to content

Commit 2686006

Browse files
committed
Merge pull request #126 from ClimbsRocks/patch-4
Updated underscore links to point to underscorejs.org
2 parents ceed98b + 738c685 commit 2686006

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)