From be75e3be66ecbaf1ad1b036e23946fabb7c19406 Mon Sep 17 00:00:00 2001 From: Ben Alpert Date: Fri, 3 Jan 2014 22:57:51 -0700 Subject: [PATCH] Remove mentions of browserify in examples --- examples/ballmer-peak/index.html | 18 ++----- examples/basic-jsx-external/index.html | 65 +++++------------------- examples/basic-jsx-precompile/index.html | 38 ++++---------- examples/basic-jsx/index.html | 14 +---- examples/basic/index.html | 11 +--- examples/transitions/index.html | 16 ++---- 6 files changed, 34 insertions(+), 128 deletions(-) diff --git a/examples/ballmer-peak/index.html b/examples/ballmer-peak/index.html index f648368f61..586341e451 100644 --- a/examples/ballmer-peak/index.html +++ b/examples/ballmer-peak/index.html @@ -2,11 +2,11 @@ - Ballmer Peak calculator + Ballmer Peak Calculator -

Ballmer Peak calculator

+

Ballmer Peak Calculator

If you can see this, React is not working right. This is probably because you're viewing @@ -18,19 +18,9 @@

Example Details

- +

This is written with JSX in a separate file and transformed in the browser.

-

-

- Learn more at + Learn more about React at facebook.github.io/react.

diff --git a/examples/basic-jsx-external/index.html b/examples/basic-jsx-external/index.html index f1abeebb56..024966c00c 100644 --- a/examples/basic-jsx-external/index.html +++ b/examples/basic-jsx-external/index.html @@ -2,68 +2,27 @@ - Basic Example with external JSX + Basic Example with External JSX - - -

Basic Example with external JSX

+

Basic Example with External JSX

-

-
    -
  1. - Open this page on a Mac via the terminal command: -
    -          
  2. -

    OR

    -
  3. - Serve this page from a web server -
    -cd /Path/To/This/File
    -python -m SimpleHTTPServer
    -open -a "Google Chrome"  http://localhost:8000/.  
    -
  4. -
-

+ If you can see this, React is not working right. This is probably because you're viewing + this on your file system instead of a web server. Try running +
+          python -m SimpleHTTPServer
+        
+ and going to http://localhost:8000/.

+

Example Details

+

This is written with JSX in a separate file and transformed in the browser.

- Example Details: This is built with - browserify. - A separate JSX file is transformed in the browser. + Learn more about React at + facebook.github.io/react.

diff --git a/examples/basic-jsx-precompile/index.html b/examples/basic-jsx-precompile/index.html index 87e92403d0..9f5b0c27fd 100644 --- a/examples/basic-jsx-precompile/index.html +++ b/examples/basic-jsx-precompile/index.html @@ -2,42 +2,26 @@ - Basic Example with precompiled JSX + Basic Example with Precompiled JSX -

Basic Example with precompiled JSX

+

Basic Example with Precompiled JSX

- To install React, follow the instructions on - GitHub. -

-

- If you can see this, React is not running. You probably didn't run: -

-          npm install -g react-tools
-          jsx . build/
-        
+ If you can see this, React is not running. Try running:

+
npm install -g react-tools
+cd examples/basic-jsx-precompile/
+jsx . build/

Example Details

- +

This is written with JSX in a separate file and precompiled to vanilla JS by running:

+
npm install -g react-tools
+cd examples/basic-jsx-precompile/
+jsx . build/

-

-

- Learn more at + Learn more about React at facebook.github.io/react.

diff --git a/examples/basic-jsx/index.html b/examples/basic-jsx/index.html index 6fe8133eb9..8324662ffc 100644 --- a/examples/basic-jsx/index.html +++ b/examples/basic-jsx/index.html @@ -18,19 +18,9 @@

Example Details

- +

This is written with JSX and transformed in the browser.

-

-

- Learn more at + Learn more about React at facebook.github.io/react.

diff --git a/examples/basic/index.html b/examples/basic/index.html index 6bdf054154..5871a05041 100644 --- a/examples/basic/index.html +++ b/examples/basic/index.html @@ -18,16 +18,9 @@

Example Details

- +

This is written in vanilla JavaScript (without JSX) and transformed in the browser.

-

-

- Learn more at + Learn more about React at facebook.github.io/react.

diff --git a/examples/transitions/index.html b/examples/transitions/index.html index 63b2322854..2cc093be7a 100644 --- a/examples/transitions/index.html +++ b/examples/transitions/index.html @@ -2,7 +2,7 @@ - Basic Example with JSX + Example with Transitions @@ -19,19 +19,9 @@

Example Details

- +

This is written with JSX and transformed in the browser.

-

-

- Learn more at + Learn more about React at facebook.github.io/react.