From ce8a48405b958575add205fcc73d77ca5a4ace8a Mon Sep 17 00:00:00 2001 From: Diana Huang Date: Wed, 30 Jan 2013 09:31:20 -0500 Subject: [PATCH] Clean up some JS errors showing up in the xmodule jasmine tests --- common/lib/xmodule/jasmine_test_runner.html.erb | 1 - common/lib/xmodule/xmodule/js/spec/helper.coffee | 1 - 2 files changed, 2 deletions(-) diff --git a/common/lib/xmodule/jasmine_test_runner.html.erb b/common/lib/xmodule/jasmine_test_runner.html.erb index fae6c14cbe..7b078daedd 100644 --- a/common/lib/xmodule/jasmine_test_runner.html.erb +++ b/common/lib/xmodule/jasmine_test_runner.html.erb @@ -14,7 +14,6 @@ - diff --git a/common/lib/xmodule/xmodule/js/spec/helper.coffee b/common/lib/xmodule/xmodule/js/spec/helper.coffee index dc01241861..fbc89f7bd9 100644 --- a/common/lib/xmodule/xmodule/js/spec/helper.coffee +++ b/common/lib/xmodule/xmodule/js/spec/helper.coffee @@ -64,7 +64,6 @@ jasmine.stubVideoPlayer = (context, enableParts, createPlayer=true) -> if createPlayer return new VideoPlayer(video: context.video) -spyOn(window, 'onunload') # Stub jQuery.cookie $.cookie = jasmine.createSpy('jQuery.cookie').andReturn '1.0'