Skip to content

Commit

Permalink
Utilizing the chaining feature
Browse files Browse the repository at this point in the history
  • Loading branch information
jaseemabid committed Dec 17, 2011
1 parent 14e8f17 commit 1824ceb
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<script type="text/javascript">
$(document).ready(function() {
P.indexMesssage('We pay our tribute to our <a hrefour tribute to our <a href="video.php?video=261"><em>inspiration</em></a>. RIP Steve Jobs (February 24, 1955 – October 5, 2011).')
P.updateStoryBox('homePage');
.updateStoryBox('homePage');
});
</script>

Expand Down
12 changes: 6 additions & 6 deletions js/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -710,11 +710,11 @@ $(document).ready(function(){
P.indexMesssage("Have a life, <a href='http://abetterbrowser.org/'><em>use a modern browser</em></a>. We dont support Internet Explorer.");
throw "Internet Explorer";
} else {
P.searchBox();
P.dashBoard();
P.imageError();
P.comments();
P.quirks();
P.validate.join();
P.searchBox()
.dashBoard()
.imageError()
.comments()
.quirks()
.validate.join();
}
});
6 changes: 3 additions & 3 deletions profile.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@
?>
<script type="text/javascript">
$(document).ready(function() {
P.updateStoryBox('My Uploads');
P.updateStoryBox('Liked videos');
P.updateStoryBox('Disliked videos');
P.updateStoryBox('My Uploads')
.updateStoryBox('Liked videos')
.updateStoryBox('Disliked videos');
});
</script>
</body>
Expand Down

1 comment on commit 1824ceb

@jaseemabid
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Original idea from the jQuery library.

Please sign in to comment.