text: /**
   * @jsx React.DOM
   * @copyright Prometheus Research, LLC 2014
   */
  'use strict';
  
  /**
   * Return window's height and width
   *
   * @return {Object} height and width of the window
   */
  function getWindowSize() {
      var width = window.innerWidth;
      var height = window.innerHeight;
  
      if (!width || !height) {
          width = document.documentElement.clientWidth;
          height = document.documentElement.clientHeight;
      }
  
      if (!width || !height) {
          width = document.body.clientWidth;
          height = document.body.clientHeight;
      }
  
      return {width, height};
  }
  
  module.exports = getWindowSize;
  