"Fossies" - the Fresh Open Source Software Archive

Member "react-16.12.0/fixtures/devtools/regression/15.4.html" (12 Nov 2019, 1450 Bytes) of package /linux/www/react-16.12.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) HTML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 <!DOCTYPE html>
    2 <html>
    3   <head>
    4     <meta charset="UTF-8" />
    5     <title>React 15.4</title>
    6     <link rel="stylesheet" href="styles.css" />
    7 
    8     <script type="text/javascript">
    9       // Enable DevTools to inspect React inside of an <iframe>
   10       // This must run before React is loaded
   11       __REACT_DEVTOOLS_GLOBAL_HOOK__ = parent.__REACT_DEVTOOLS_GLOBAL_HOOK__;
   12     </script>
   13 
   14     <script src="https://unpkg.com/react@15.4/dist/react.js"></script>
   15     <script src="https://unpkg.com/react-dom@15.4/dist/react-dom.js"></script>
   16     
   17     <!-- Don't use this in production: -->
   18     <script src="https://unpkg.com/babel-standalone@6/babel.min.js"></script>
   19   </head>
   20   <body>
   21     <div id="root">
   22       If you are seeing this message, you are likely viewing this file using the <code>file</code> protocol which does not support cross origin requests.
   23       <br/><br/>
   24       Use the <code>server</code> script instead:
   25       <br/><br/>
   26       <code>node ./fixtures/devtools/regression/server.js</code><br/>
   27       <code>open <a href="http://localhost:3000/15.4.html">http://localhost:3000/15.4.html</a></code>
   28     </div>
   29 
   30     <script src="shared.js" type="text/babel"></script>
   31 
   32     <!--
   33       This is a great way to try React but it's not suitable for production.
   34       It slowly compiles JSX with Babel in the browser and uses a large development build of React.
   35       Learn more at https://reactjs.org/docs/getting-started.html
   36     -->
   37   </body>
   38 </html>