Skip to content

Commit 6005f8b

Browse files
committed
Merge pull request #2 from WesTyler/master
Fix JQuery selectors in src files.
2 parents f999024 + 7ab0100 commit 6005f8b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/m-v-controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
// Views
2020
People.view = function () {
2121
return $('<div class="people">').append(
22-
$('h3').text("All People:"),
22+
$('<h3>').text("All People:"),
2323

2424
// Example of the View connecting to a Controller action
2525
$('<button>').text('Rotate').on('click', People.controller.rotate),

src/m-v-presenter.js

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

4545
People.view = function () {
4646
return $('<div class="people">').append(
47-
$('h3').text("All People:"),
47+
$('<h3>').text("All People:"),
4848
// Note how there is no click handler here
4949
$('<button class="rotate">').text('Rotate')
5050
)

0 commit comments

Comments
 (0)