code: function runScripts() {
    var scripts = document.getElementsByTagName('script');
  
    // Array.prototype.slice cannot be used on NodeList on IE8
    var jsxScripts = [];
    for (var i = 0; i < scripts.length; i++) {
      if (/^text\/jsx(;|$)/.test(scripts.item(i).type)) {
        jsxScripts.push(scripts.item(i));
      }
    }
  
    if (jsxScripts.length < 1) {
      return;
    }
  
    console.warn(
      'You are using the in-browser JSX transformer. Be sure to precompile ' +
      'your JSX for production - ' +
      'http://facebook.github.io/react/docs/tooling-integration.html#jsx'
    );
  
    loadScripts(jsxScripts);
  }
docs: Find and run all script tags with type="text/jsx".
  
  @internal