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"], ...@@ -11,7 +11,7 @@ define(["jquery", "backbone", "teams/js/teams_tab_factory"],
topics: {results: []}, topics: {results: []},
topics_url: '', topics_url: '',
teams_url: '', teams_url: '',
maxTeamSize: 9999 maxTeamSize: 9999,
course_id: 'edX/DemoX/Demo_Course' course_id: 'edX/DemoX/Demo_Course'
}); });
}); });
......
;(function (define) { ;(function (define) {
'use strict'; 'use strict';
define(['jquery', 'teams/js/views/teams_tab'], define(['jquery', 'underscore', 'backbone', 'teams/js/views/teams_tab'],
function ($, TeamsTabView) { function ($, _, Backbone, TeamsTabView) {
return function (options) { return function (options) {
var teamsTab = new TeamsTabView(_.extend(options, {el: $('.teams-content')})); var teamsTab = new TeamsTabView(_.extend(options, {el: $('.teams-content')}));
teamsTab.render(); 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