backbone.layoutmanager.js
function(path, contents) {
    // If template path is found in the cache, return the contents.
    if (path in this._cache && contents == null) {
      return this._cache[path];
    // Ensure path and contents aren't undefined.
    } else if (path != null && contents != null) {
      return this._cache[path] = contents;
    }

    // If the template is not in the cache, return undefined.
  }
function(path, contents) {
    // If template path is found in the cache, return the contents.
    if (path in this._cache && contents == null) {
      return this._cache[path];
    // Ensure path and contents aren't undefined.
    } else if (path != null && contents != null) {
      return this._cache[path] = contents;
    }

    // If the template is not in the cache, return undefined.
  }
function ( path , contents ) { // If template path is found in the cache, return the contents. if ( path in this . _cache && contents == null ) { return this . _cache [ path ] ; // Ensure path and contents aren't undefined. } else if ( path != null && contents != null ) { return this . _cache [ path ] = contents ; } // If the template is not in the cache, return undefined. }
Cache templates into LayoutManager._cache.
Cache templates into LayoutManager . _cache .