From 80d0ef188c19c48f6d30868911e4ef88f8755008 Mon Sep 17 00:00:00 2001 From: Jimmy Jia Date: Fri, 5 Aug 2016 22:16:36 -0400 Subject: [PATCH] Revert to npm-friendly syntax setting in README [ci skip] --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 576c4233eb..97fe782ba4 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ Using [npm](https://www.npmjs.com/): Then with a module bundler like [webpack](https://webpack.github.io/) that supports either CommonJS or ES2015 modules, use as you would anything else: -```jsx +```js // using an ES6 transpiler, like babel import { Router, Route, Link } from 'react-router' @@ -57,7 +57,7 @@ You can find the library on `window.ReactRouter`. ### What's it look like? -```jsx +```js import React from 'react' import { render } from 'react-dom' import { Router, Route, Link, browserHistory } from 'react-router'