Add a getPrototypeOf compatibility function.

Review Request #4167 — Created May 25, 2013 and submitted

Information

Review Board
master

Reviewers

Add a getPrototypeOf compatibility function.

Older browsers don't have getPrototypeOf, so add a compatibility
function for it. This is mostly for IE's benefit.

This is based on the other implementations floating out there in the
wild, which all seem to be roughly the same.
Tested this function IE9. Seemed to work.
reviewbot
  1. This is a review from Review Bot.
      Tool: PEP8 Style Checker
      Processed Files:
        reviewboard/settings.py
      Ignored Files:
        reviewboard/static/rb/js/utils/compatUtils.js
    
    
  2. 
      
david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to master (668b911)