Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into course-grading-manual
Browse files Browse the repository at this point in the history
  • Loading branch information
haraldschilly committed Apr 15, 2019
2 parents ab4f1d2 + 20c6847 commit 9c2f2dd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/smc-util/smc-version.js
@@ -1,2 +1,2 @@
/* autogenerated by the update_version script */
exports.version=1555027974;
exports.version=1555100832;
9 changes: 5 additions & 4 deletions src/smc-webapp/course/main.tsx
Expand Up @@ -87,16 +87,17 @@ const redux_name = (project_id, course_filename) =>
`editor-${project_id}-${course_filename}`;

const syncdbs = {};
const init_redux = function(

function init_redux(
course_filename,
redux: AppRedux,
course_project_id
) {
): string {
const the_redux_name = redux_name(course_project_id, course_filename);
const get_actions = () => redux.getActions(the_redux_name);
if (get_actions() != null) {
// already initalized
return;
return the_redux_name;
}

// DO NOT initialize settings here. They are initialized in sync.ts to prevent a
Expand Down Expand Up @@ -139,7 +140,7 @@ const init_redux = function(
);

return the_redux_name;
};
}

const remove_redux = function(course_filename, redux, course_project_id) {
const the_redux_name = redux_name(course_project_id, course_filename);
Expand Down
2 changes: 1 addition & 1 deletion src/smc-webapp/package.json
Expand Up @@ -105,7 +105,7 @@
"three": "^0.78.0",
"timeago": "^1.6.3",
"underscore": "^1.9.1",
"xterm": "=3.10.1",
"xterm": "^3.12.1",
"zlibjs": "^0.3.1"
},
"devDependencies": {
Expand Down

0 comments on commit 9c2f2dd

Please sign in to comment.