Merge pull request #16 from pivotal-medici/jshint_fixes

Fix jshint errors
This commit is contained in:
JR Boyens 2012-12-19 22:41:52 -08:00
commit d99d52b582

View File

@ -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