code: function resolve (framework) {
    // strip off a trailing slash if present
    if (framework[framework.length-1] == '/')
      framework = framework.slice(0, framework.length-1);
    // already absolute, return as-is
    if (~framework.indexOf('/')) return framework;
    var i=0, l=PATH.length, rtn=null;
    for (; i<l; i++) {
      rtn = join(PATH[i], framework + SUFFIX);
      if (exists(rtn)) return rtn;
    }
    throw new Error('Could not resolve framework: ' + framework);
  }
docs: Accepts a single framework name and resolves it into an absolute path
  to the base directory of the framework.
  
  In most cases, you will not need to use this function in your code.
  
  $.resolve('Foundation')
  //  '/System/Library/Frameworks/Foundation.framework'
  
  @param {String} framework The framework name or path to resolve.
  @return {String} The resolved framework path.