Skip to content
This repository was archived by the owner on Oct 19, 2018. It is now read-only.

Commit bce6f00

Browse files
committed
Fix typo, it should be “react/react-soure”
1 parent bb69c79 commit bce6f00

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Reactrb / Reactive-Ruby
1+
# Reactrb / Reactive-Ruby
22

33
[![Join the chat at https://gitter.im/reactrb/chat](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/reactrb/chat?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
44
[![Build Status](https://travis-ci.org/reactrb/reactrb.svg?branch=master)](https://travis-ci.org/reactrb/reactrb)
@@ -75,7 +75,7 @@ previous versions, however the `reactrb` gem does *not* include the react-js sou
7575
Follow these steps to upgrade:
7676

7777
1. Replace `reactive-ruby` with `reactrb` both in **Gemfile** and any `require`s in your code.
78-
2. To include the React.js source, the suggested way is to add `require 'react/source'` before `require 'reactrb'`. This will use the copy of React.js source from `react-rails` gem.
78+
2. To include the React.js source, the suggested way is to add `require 'react/react-source'` before `require 'reactrb'`. This will use the copy of React.js source from `react-rails` gem.
7979

8080
# Roadmap
8181

lib/sources/react-latest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
console.error("Warning: loading `react-latest` directly is deprecated. Replace the requires with `react/source`.");
1+
console.error("Warning: loading `react-latest` directly is deprecated. Replace the requires with `react/react-source`.");
22

33
/**
44
* React (with addons) v15.0.1

lib/sources/react-v13.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
console.error("Warning: loading `react-v13` directly is deprecated. ")
2-
console.error("Replace the requires with `react/source` and add `gem 'react-rails', '~> 1.3.3'` to your Gemfile.");
2+
console.error("Replace the requires with `react/react-source` and add `gem 'react-rails', '~> 1.3.3'` to your Gemfile.");
33

44
/**
55
* React (with addons) v0.13.3
@@ -21642,4 +21642,4 @@ if ("production" !== "development") {
2164221642
module.exports = warning;
2164321643

2164421644
},{"129":129}]},{},[1])(1)
21645-
});
21645+
});

lib/sources/react-v14.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
console.error("Warning: loading `react-v14` directly is deprecated. ")
2-
console.error("Replace the requires with `react/source` and add `gem 'react-rails', '~> 1.6.2'` to your Gemfile.");
2+
console.error("Replace the requires with `react/react-source` and add `gem 'react-rails', '~> 1.6.2'` to your Gemfile.");
33

44
/**
55
* React (with addons) v0.14.8

lib/sources/react-v15.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
console.error("Warning: loading `react-v15` directly is deprecated. ")
2-
console.error("Replace the requires with `react/source` and add `gem 'react-rails', '~> 1.9.0'` to your Gemfile.");
2+
console.error("Replace the requires with `react/react-source` and add `gem 'react-rails', '~> 1.9.0'` to your Gemfile.");
33

44
/**
55
* React (with addons) v15.0.1

0 commit comments

Comments
 (0)