From 233a35e01e1a289b0fd66d121cdf86d610774971 Mon Sep 17 00:00:00 2001 From: valera-rozuvan Date: Wed, 5 Dec 2012 11:32:10 +0200 Subject: [PATCH] Work on RequireJS Jasmine test. --- lms/static/coffee/spec/requirejs_spec.coffee | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lms/static/coffee/spec/requirejs_spec.coffee b/lms/static/coffee/spec/requirejs_spec.coffee index 3e54560d2b..10d34a2f75 100644 --- a/lms/static/coffee/spec/requirejs_spec.coffee +++ b/lms/static/coffee/spec/requirejs_spec.coffee @@ -1,10 +1,8 @@ describe "RequireJS namespacing", -> beforeEach -> - # - # * Jasmine does not provide a way to use the typeof operator. We need - # * to create our own custom matchers so that a TypeError is not thrown. - # + # Jasmine does not provide a way to use the typeof operator. We need + # to create our own custom matchers so that a TypeError is not thrown. @addMatchers requirejsTobeUndefined: -> typeof requirejs is "undefined"