Fix the teams factory spec so it runs.
This commit is contained in:
@@ -11,7 +11,7 @@ define(["jquery", "backbone", "teams/js/teams_tab_factory"],
|
||||
topics: {results: []},
|
||||
topics_url: '',
|
||||
teams_url: '',
|
||||
maxTeamSize: 9999
|
||||
maxTeamSize: 9999,
|
||||
course_id: 'edX/DemoX/Demo_Course'
|
||||
});
|
||||
});
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
;(function (define) {
|
||||
'use strict';
|
||||
|
||||
define(['jquery', 'teams/js/views/teams_tab'],
|
||||
function ($, TeamsTabView) {
|
||||
define(['jquery', 'underscore', 'backbone', 'teams/js/views/teams_tab'],
|
||||
function ($, _, Backbone, TeamsTabView) {
|
||||
return function (options) {
|
||||
var teamsTab = new TeamsTabView(_.extend(options, {el: $('.teams-content')}));
|
||||
teamsTab.render();
|
||||
|
||||
Reference in New Issue
Block a user