Skip to content
This repository has been archived by the owner on May 11, 2021. It is now read-only.

Commit

Permalink
expose reviewMode to relatedvideos
Browse files Browse the repository at this point in the history
  • Loading branch information
nsfmc committed Feb 7, 2012
1 parent a11fc6f commit 7f585ef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions khan-exercise.js
Expand Up @@ -255,6 +255,9 @@ var Khan = (function() {
var Khan = { var Khan = {
modules: {}, modules: {},


// expose reviewMode to other extensions
reviewMode: reviewMode,

// So modules can use file paths properly // So modules can use file paths properly
urlBase: urlBase, urlBase: urlBase,


Expand Down
2 changes: 1 addition & 1 deletion utils/relatedvideos.js
Expand Up @@ -120,7 +120,7 @@ jQuery.extend( Khan, { relatedVideos: {


this.renderInSidebar(); this.renderInSidebar();
// Review queue overlaps with the content here // Review queue overlaps with the content here
if ( !reviewMode ) { if ( !Khan.reviewMode ) {
this.renderInHeader(); this.renderInHeader();
} }
} }
Expand Down

0 comments on commit 7f585ef

Please sign in to comment.