Bläddra i källkod

Merge pull request #71 from blink1073/update-readme

Update readme
A. Darian 9 år sedan
förälder
incheckning
32cd76c658
3 ändrade filer med 8 tillägg och 3 borttagningar
  1. 5 2
      README.md
  2. 1 0
      examples/filebrowser/index.html
  3. 2 1
      examples/terminal/index.html

+ 5 - 2
README.md

@@ -15,7 +15,7 @@ Package Install
 
 ```bash
 npm install --save jupyter-js-ui
-conda install notebook  # notebook 4.1+ required
+conda install notebook  # notebook 4.2+ required
 ```
 
 
@@ -32,7 +32,7 @@ git clone https://github.com/jupyter/jupyter-js-ui.git
 cd jupyter-js-ui
 npm install
 npm run build
-conda install notebook  # notebook 4.1+ required
+conda install notebook  # notebook 4.2+ required
 ```
 
 **Rebuild**
@@ -87,6 +87,9 @@ Earlier versions may also work, but come with no guarantees.
 - Firefox 32+
 - Chrome 38+
 
+Note: "requirejs" must be included in a global context (usually as a
+`<script>` tag) for Comm targets.
+
 
 Bundle for the Browser
 ----------------------

+ 1 - 0
examples/filebrowser/index.html

@@ -4,6 +4,7 @@
     <title>FileBrowser Demo</title>
     <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 src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.2.0/require.js"></script>
     <link href="index.css" rel="stylesheet">
   </head>
   <body>

+ 2 - 1
examples/terminal/index.html

@@ -1,9 +1,10 @@
 <!doctype html>
 <html lang="en">
   <head>
-    <title>FileBrowser Demo</title>
+    <title>Terminal Demo</title>
     <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 src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.2.0/require.js"></script>
     <link href="index.css" rel="stylesheet">
   </head>
   <body>