docs: function (opts) {
          var name = opts.name || opts
  
          var frame = this.spriteFrames[name]
  
          if (!frame) {
              // No frame, look for an alias
              var key = this.spriteFrameAliases[name]
  
              if (key) {
                  frame = this.spriteFrames[key]
              }
  
              if (!frame) {
                  throw "Unable to find frame: " + name
              }
          }
  
          return frame
      }