Merge pull request #16 from pivotal-medici/jshint_fixes
Fix jshint errors
This commit is contained in:
commit
d99d52b582
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user