diff --git a/lib/mock-ajax.js b/lib/mock-ajax.js index 5c99627..76e7468 100644 --- a/lib/mock-ajax.js +++ b/lib/mock-ajax.js @@ -119,12 +119,12 @@ function FakeXMLHttpRequest() { jasmine.Ajax = { isInstalled: function() { - return jasmine.Ajax.installed == true; + return jasmine.Ajax.installed === true; }, assertInstalled: function() { if (!jasmine.Ajax.isInstalled()) { - throw new Error("Mock ajax is not installed, use jasmine.Ajax.useMock()") + throw new Error("Mock ajax is not installed, use jasmine.Ajax.useMock()"); } }, @@ -190,7 +190,7 @@ jasmine.Ajax = { installed: false, mode: null -} +}; // Jasmine-Ajax Glue code for Prototype.js