Cleaning up jshint requirements

This commit is contained in:
sean kenny
2014-08-05 14:24:56 +01:00
parent 44edcd914e
commit cea2d30ba4
4 changed files with 26 additions and 31 deletions
+1 -5
View File
@@ -1,7 +1,3 @@
var ajaxDefaults = {
dataType: 'json',
cache: false
};
function ResourceManager(options) {
var t = this;
// exports
@@ -54,7 +50,7 @@ function ResourceManager(options) {
function fetchResources(useCache, currentView) {
// if useCache is not defined, default to true
useCache = (typeof useCache !== 'undefined' ? useCache : true);
if (cache != undefined && useCache) {
if (cache !== undefined && useCache) {
// get from cache
return cache;
} else {