Commit 2eae3681 by cahrens

Fix the teams factory spec so it runs.

parent f4e38626
......@@ -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'
});
});
......
;(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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment