bundles/org.eclipse.orion.client.ui/web/gcli/gcli/types/resource.js
function(node) {
    for (var i = 0; i < ResourceCache._cached.length; i++) {
      if (ResourceCache._cached[i].node === node) {
        return ResourceCache._cached[i].resource;
      }
    }
    return null;
  }
function(node) {
    for (var i = 0; i < ResourceCache._cached.length; i++) {
      if (ResourceCache._cached[i].node === node) {
        return ResourceCache._cached[i].resource;
      }
    }
    return null;
  }
function ( node ) { for ( var i = 0 ; i < ResourceCache . _cached . length ; i ++ ) { if ( ResourceCache . _cached [ i ] . node === node ) { return ResourceCache . _cached [ i ] . resource ; } } return null ; }
Do we already have a resource that was created for the given node
Do we already have a resource that was created for the given node