<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>BEST</title>
    <meta name="viewport" content="width=device-width, maximum-scale=1, user-scalable=no" />
    <link href="https://fonts.googleapis.com/css?family=Roboto:400,300,500" rel="stylesheet" type="text/css">
    <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css" rel="stylesheet" type="text/css">
  </head>
  <body>
    <script type="text/javascript" src="famous-standalone.js"></script>
    <script type="text/javascript" src="index.bundle.js"></script>
    <script type="text/javascript" src="assets/query-string.js"></script>
    <script type="text/javascript">
      (function() {
        if (QUERY.best) {
          BEST.deploy(QUERY.best, 'body');
        }
        else {
          console.error('Please supply a BEST name (`?best=...`)');
        }
      }());
    </script>
  </body>
</html>

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>BEST</title>
    <meta name="viewport" content="width=device-width, maximum-scale=1, user-scalable=no" />
    <link href="https://fonts.googleapis.com/css?family=Roboto:400,300,500" rel="stylesheet" type="text/css">
    <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css" rel="stylesheet" type="text/css">
  </head>
  <body>
    <script type="text/javascript" src="famous-standalone.js"></script>
    <script type="text/javascript" src="index.bundle.js"></script>
    <script type="text/javascript" src="assets/query-string.js"></script>
    <script type="text/javascript">
      (function() {
        if (QUERY.best) {
          BEST.deploy(QUERY.best, 'body', function(app){window.app=app;});
        }
        else {
          console.error('Please supply a BEST name (`?best=...`)');
        }
      }());
    </script>
  </body>
</html>

Attach app to window for console demos
Attach app to window for console demos
