Fix the teams factory spec so it runs.

This commit is contained in:
cahrens
2015-07-24 10:25:53 -04:00
parent f4e386268b
commit 2eae368136
2 changed files with 3 additions and 3 deletions

View File

@@ -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'
});
});

View File

@@ -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();