Browse Source

Update readme and examples

Steven Silvester 9 years ago
parent
commit
73b77f4e1e
3 changed files with 4 additions and 1 deletions
  1. 2 1
      README.md
  2. 1 0
      examples/console/index.html
  3. 1 0
      examples/notebook/index.html

+ 2 - 1
README.md

@@ -86,7 +86,8 @@ Earlier versions may also work, but come with no guarantees.
 - Firefox 32+
 - Chrome 38+
 
-Note: "requirejs" must be included in a global context for Comm targets.
+Note: "requirejs" must be included in a global context (usually as a
+`<script>` tag) for Comm targets.
 
 
 Bundle for the Browser

+ 1 - 0
examples/console/index.html

@@ -5,6 +5,7 @@
     <link href="http://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
     <script type="text/javascript" src="https://www.promisejs.org/polyfills/promise-6.1.0.js"></script>
     <script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_CHTML-full,Safe&amp;delayStartupUntil=configured"></script>
+    <script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.2.0/require.js"></script>
     <link href="index.css" rel="stylesheet">
   </head>
   <body>

+ 1 - 0
examples/notebook/index.html

@@ -5,6 +5,7 @@
     <link href="http://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
     <script type="text/javascript" src="https://www.promisejs.org/polyfills/promise-6.1.0.js"></script>
     <script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_CHTML-full,Safe&amp;delayStartupUntil=configured"></script>
+    <script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.2.0/require.js"></script>
     <link href="index.css" rel="stylesheet">
   </head>
   <body>