Skip to content

Commit 5770265

Browse files
committed
Rename React.NET to ReactJS.NET
1 parent 7a23e5a commit 5770265

26 files changed

+42
-43
lines changed

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
BSD License for React.NET
1+
BSD License for ReactJS.NET
22

33
Copyright (c) 2014, Facebook, Inc. All rights reserved.
44

PATENTS

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Additional Grant of Patent Rights
22

3-
�Software� means the React.NET software distributed by Facebook, Inc.
3+
�Software� means the ReactJS.NET software distributed by Facebook, Inc.
44

55
Facebook hereby grants you a perpetual, worldwide, royalty-free, non-exclusive,
66
irrevocable (subject to the termination provision below) license under any

README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
React.NET
1+
ReactJS.NET
22
=========
3-
React.NET is a library that makes it easier to use Facebook's
3+
ReactJS.NET is a library that makes it easier to use Facebook's
44
[React](http://facebook.github.io/react/) and
55
[JSX](http://facebook.github.io/react/docs/jsx-in-depth.html) from C#.
66

@@ -66,7 +66,7 @@ Now skip down to the [usage section](#usage)
6666

6767
Manual Installation
6868
-------------------
69-
1. Compile React.NET by running `build.bat`
69+
1. Compile ReactJS.NET by running `build.bat`
7070
2. Reference React.dll and React.Mvc4.dll (if using MVC 4) in your Web
7171
Application project
7272
3. See usage example below
@@ -97,7 +97,7 @@ production you will want to precompile for best performance.
9797

9898
ASP.NET Bundling and Minification Support
9999
-----------------------------------------
100-
React.NET supports the use of Microsoft's
100+
ReactJS.NET supports the use of Microsoft's
101101
[ASP.NET Bundling and Minification](http://www.asp.net/mvc/tutorials/mvc-4/bundling-and-minification)
102102
library to compile JSX into JavaScript and minify it along with all your other
103103
JavaScript. Simply create a `JsxBundle` containing any number of JSX or regular
@@ -166,7 +166,7 @@ initialisation code.
166166
```html
167167
<!-- Load all your scripts normally before calling ReactInitJavaScript -->
168168
<!-- Assumes minification/combination is configured as per previous section -->
169-
<script src="http://fb.me/react-0.9.0.min.js"></script>
169+
<script src="http://fb.me/react-0.10.0.min.js"></script>
170170
@Scripts.Render("~/bundles/main")
171171
@Html.ReactInitJavaScript()
172172
```
@@ -181,7 +181,7 @@ Hit the page and admire the server-rendered beauty:
181181
</div>
182182
</div>
183183

184-
<script src="http://fb.me/react-0.9.0.min.js"></script>
184+
<script src="http://fb.me/react-0.10.0.min.js"></script>
185185
<script src="/Scripts/HelloWorld.react.js"></script>
186186
<script>React.renderComponent(HelloWorld({"name":"Daniel"}), document.getElementById("react1"));</script>
187187
```
@@ -199,7 +199,7 @@ Changelog
199199

200200
Licence
201201
=======
202-
BSD License for React.NET
202+
BSD License for ReactJS.NET
203203

204204
Copyright (c) 2014, Facebook, Inc. All rights reserved.
205205

src/React.Sample.Mvc4/Properties/AssemblyInfo.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
using System.Runtime.InteropServices;
33

44
[assembly: AssemblyTitle("React.Sample.Mvc4")]
5-
[assembly: AssemblyDescription("ASP.NET MVC 4 sample for React.NET library")]
5+
[assembly: AssemblyDescription("ASP.NET MVC 4 sample for ReactJS.NET")]
66
[assembly: ComVisible(false)]
77
[assembly: Guid("d5d50184-3e52-4cf7-ace2-a36634332343")]

src/React.Sample.Mvc4/React.Sample.Mvc4.csproj

+3-4
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,6 @@
135135
</Content>
136136
<Content Include="Views\Web.config" />
137137
</ItemGroup>
138-
<ItemGroup />
139-
<ItemGroup>
140-
<Content Include="packages.config" />
141-
</ItemGroup>
142138
<ItemGroup>
143139
<ProjectReference Include="..\React.Web.Mvc4\React.Web.Mvc4.csproj">
144140
<Project>{662d52ac-1ee9-4372-bd74-379f9ac56451}</Project>
@@ -157,6 +153,9 @@
157153
<Name>React</Name>
158154
</ProjectReference>
159155
</ItemGroup>
156+
<ItemGroup>
157+
<Content Include="packages.config" />
158+
</ItemGroup>
160159
<ItemGroup>
161160
<Content Include="Views\Home\Index.cshtml" />
162161
</ItemGroup>

src/React.Sample.Mvc4/Views/Home/Index.cshtml

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
<!DOCTYPE html>
44
<html>
55
<head>
6-
<title>React.NET Sample</title>
6+
<title>ReactJS.NET Sample</title>
77
<link rel="stylesheet" href="~/Content/Sample.css" />
88
</head>
99
<body>
1010
<p>
11-
This is an example of React.NET's server-side rendering. The initial state of this
11+
This is an example of ReactJS.NET's server-side rendering. The initial state of this
1212
comments box is rendered server-side, and additional data is loaded via AJAX and rendered
1313
client-side.
1414
</p>
@@ -17,7 +17,7 @@
1717
@Html.React("CommentsBox", new { initialComments = Model.Comments })
1818

1919
<!-- Load all required scripts (React + the site's scripts) -->
20-
<script src="http://fb.me/react-0.9.0.min.js"></script>
20+
<script src="http://fb.me/react-0.10.0.min.js"></script>
2121
@Scripts.Render("~/bundles/main")
2222
<!-- Render the code to initialise the component -->
2323
@Html.ReactInitJavaScript()

src/React.Tests/Properties/AssemblyInfo.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
using System.Runtime.InteropServices;
33

44
[assembly: AssemblyTitle("React.Tests.Core")]
5-
[assembly: AssemblyDescription("Unit tests for React.NET library")]
5+
[assembly: AssemblyDescription("Unit tests for ReactJS.NET")]
66
[assembly: ComVisible(false)]
77
[assembly: Guid("30a20b1c-18fd-4c3c-a18d-44875dba0c73")]

src/React.Web.Mvc4/Properties/AssemblyInfo.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
using System.Runtime.InteropServices;
33

44
[assembly: AssemblyTitle("React.Mvc4")]
5-
[assembly: AssemblyDescription("ASP.NET MVC 4 extensions for React.NET library")]
5+
[assembly: AssemblyDescription("ASP.NET MVC 4 extensions for ReactJS.NET")]
66
[assembly: ComVisible(false)]
77
[assembly: Guid("acd196bb-2cb4-478b-85fc-ee5bcbdae082")]

src/React.Web.Mvc4/React.Web.Mvc4.nuspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ of patent rights can be found in the PATENTS file in the same directory.
1111
<metadata>
1212
<id>$id$</id>
1313
<version>$version$</version>
14-
<title>React.NET (MVC 4 and 5)</title>
14+
<title>ReactJS.NET (MVC 4 and 5)</title>
1515
<authors>Daniel Lo Nigro</authors>
1616
<owners>Daniel Lo Nigro</owners>
1717
<licenseUrl>https://github.com/reactjs/React.NET#licence</licenseUrl>

src/React.Web/AssemblyRegistration.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
namespace React.Web
1414
{
1515
/// <summary>
16-
/// Handles registration of React.NET components that are only applicable
16+
/// Handles registration of ReactJS.NET components that are only applicable
1717
/// in the context of an ASP.NET web application.
1818
/// </summary>
1919
public class AssemblyRegistration : IAssemblyRegistration

src/React.Web/Properties/AssemblyInfo.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
using System.Runtime.InteropServices;
33

44
[assembly: AssemblyTitle("React.Web")]
5-
[assembly: AssemblyDescription("React.NET for ASP.NET")]
5+
[assembly: AssemblyDescription("ReactJS.NET for ASP.NET")]
66
[assembly: ComVisible(false)]
77
[assembly: Guid("a8b5c30f-80b4-481b-a7d7-9dbc553510b0")]

src/React.Web/React.Web.nuspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ of patent rights can be found in the PATENTS file in the same directory.
1111
<metadata>
1212
<id>$id$</id>
1313
<version>$version$</version>
14-
<title>React.NET for ASP.NET</title>
14+
<title>ReactJS.NET for ASP.NET</title>
1515
<authors>Daniel Lo Nigro</authors>
1616
<owners>Daniel Lo Nigro</owners>
1717
<licenseUrl>https://github.com/reactjs/React.NET#licence</licenseUrl>

src/React.Web/WebInitializer.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717
namespace React.Web
1818
{
1919
/// <summary>
20-
/// Handles initialisation of React.NET. This is only called once, at application start.
20+
/// Handles initialisation of ReactJS.NET. This is only called once, at application start.
2121
/// </summary>
2222
internal static class WebInitializer
2323
{
2424
/// <summary>
25-
/// Intialise React.NET
25+
/// Intialise ReactJS.NET
2626
/// </summary>
2727
public static void Initialize()
2828
{

src/React.WebOptimization/Properties/AssemblyInfo.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
using System.Runtime.InteropServices;
1212

1313
[assembly: AssemblyTitle("React.WebOptimization")]
14-
[assembly: AssemblyDescription("Microsoft.AspNet.Web.Optimization integration for React.NET library")]
14+
[assembly: AssemblyDescription("Microsoft.AspNet.Web.Optimization integration for ReactJS.NET")]
1515
[assembly: ComVisible(false)]
1616
[assembly: Guid("4eeccfed-b6e0-4aa3-94fb-033567973387")]
1717

src/React.WebOptimization/React.WebOptimization.nuspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ of patent rights can be found in the PATENTS file in the same directory.
1111
<metadata>
1212
<id>$id$</id>
1313
<version>$version$</version>
14-
<title>React.NET - JSX for ASP.NET Web Optimization Framework</title>
14+
<title>ReactJS.NET - JSX for ASP.NET Web Optimization Framework</title>
1515
<authors>Daniel Lo Nigro</authors>
1616
<owners>Daniel Lo Nigro</owners>
1717
<licenseUrl>https://github.com/reactjs/React.NET#licence</licenseUrl>

src/React/AssemblyRegistration.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
namespace React
1515
{
1616
/// <summary>
17-
/// Handles registration of core React.NET components.
17+
/// Handles registration of core ReactJS.NET components.
1818
/// </summary>
1919
public class AssemblyRegistration : IAssemblyRegistration
2020
{

src/React/Exceptions/ReactException.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
namespace React.Exceptions
1313
{
1414
/// <summary>
15-
/// Base class for all React.NET exceptions
15+
/// Base class for all ReactJS.NET exceptions
1616
/// </summary>
1717
public class ReactException : Exception
1818
{

src/React/IAssemblyRegistration.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212
namespace React
1313
{
1414
/// <summary>
15-
/// IoC component registration. Used to register components in the React.NET IoC container.
16-
/// Every React.NET assembly should have an instance of IComponentRegistration.
15+
/// IoC component registration. Used to register components in the ReactJS.NET IoC container.
16+
/// Every ReactJS.NET assembly should have an instance of IComponentRegistration.
1717
/// </summary>
1818
public interface IAssemblyRegistration
1919
{
2020
/// <summary>
21-
/// Registers components in the React.NET IoC container
21+
/// Registers components in the ReactJS.NET IoC container
2222
/// </summary>
2323
/// <param name="container">Container to register components in</param>
2424
void Register(TinyIoCContainer container);

src/React/IReactEnvironment.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
namespace React
1111
{
1212
/// <summary>
13-
/// Request-specific React.NET environment. This is unique to the individual request and is
13+
/// Request-specific ReactJS.NET environment. This is unique to the individual request and is
1414
/// not shared.
1515
/// </summary>
1616
public interface IReactEnvironment

src/React/IReactSiteConfiguration.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
namespace React
1313
{
1414
/// <summary>
15-
/// Site-wide configuration for React.NET
15+
/// Site-wide configuration for ReactJS.NET
1616
/// </summary>
1717
public interface IReactSiteConfiguration
1818
{

src/React/Initializer.cs

+4-4
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
namespace React
1717
{
1818
/// <summary>
19-
/// Handles initialisation of React.NET. This is only called once, at application start.
19+
/// Handles initialisation of ReactJS.NET. This is only called once, at application start.
2020
/// </summary>
2121
public static class Initializer
2222
{
2323
/// <summary>
24-
/// Intialise React.NET
24+
/// Intialise ReactJS.NET
2525
/// </summary>
2626
public static void Initialize(bool isInAspNet)
2727
{
@@ -50,11 +50,11 @@ private static void InitializeIoC(bool isInAspNet)
5050
}
5151

5252
/// <summary>
53-
/// Determines if the specified assembly is part of React.NET
53+
/// Determines if the specified assembly is part of ReactJS.NET
5454
/// </summary>
5555
/// <param name="assembly">The assembly</param>
5656
/// <returns>
57-
/// <c>true</c> if this is a React.NET assembly; otherwise, <c>false</c>.
57+
/// <c>true</c> if this is a ReactJS.NET assembly; otherwise, <c>false</c>.
5858
/// </returns>
5959
private static bool IsReactAssembly(Assembly assembly)
6060
{

src/React/Properties/AssemblyInfo.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
using System.Runtime.InteropServices;
33

44
[assembly: AssemblyTitle("React")]
5-
[assembly: AssemblyDescription("Core React.NET library")]
5+
[assembly: AssemblyDescription("Core ReactJS.NET library")]
66
[assembly: ComVisible(false)]
77
[assembly: Guid("2e9bac52-b992-4e80-b71f-eb2d892dc2c1")]

src/React/React.nuspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ of patent rights can be found in the PATENTS file in the same directory.
1111
<metadata>
1212
<id>$id$</id>
1313
<version>$version$</version>
14-
<title>React.NET Core</title>
14+
<title>ReactJS.NET Core</title>
1515
<authors>Daniel Lo Nigro</authors>
1616
<owners>Daniel Lo Nigro</owners>
1717
<licenseUrl>https://github.com/reactjs/React.NET#licence</licenseUrl>

src/React/ReactEnvironment.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
namespace React
2020
{
2121
/// <summary>
22-
/// Request-specific React.NET environment. This is unique to the individual request and is
22+
/// Request-specific ReactJS.NET environment. This is unique to the individual request and is
2323
/// not shared.
2424
/// </summary>
2525
public class ReactEnvironment : IReactEnvironment

src/React/ReactSiteConfiguration.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
namespace React
1414
{
1515
/// <summary>
16-
/// Site-wide configuration for React.NET
16+
/// Site-wide configuration for ReactJS.NET
1717
/// </summary>
1818
public class ReactSiteConfiguration : IReactSiteConfiguration
1919
{

src/SharedAssemblyInfo.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
using System.Reflection;
1111
using System.Runtime.CompilerServices;
1212

13-
[assembly: AssemblyProduct("React.NET - .NET tools for Facebook's React library")]
13+
[assembly: AssemblyProduct("ReactJS.NET - .NET tools for Facebook's React library")]
1414
[assembly: AssemblyCompany("Facebook")]
1515
[assembly: AssemblyCopyright("Copyright © 2014 Daniel Lo Nigro (Daniel15)")]
1616
[assembly: InternalsVisibleTo("React.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100a372a65fe8690c295512aa732253f78a8f62dd281aa2aab2fb6d9ddc4a4c264acc2032dd60acede3a4df7d2bc60c91eb2d856487061dc2ee4f8b12e2b3c6feb3ee0fef6e890e2547e049a4689e77b596b9acddb659079dfa756969551e00ce5c21298af2e18e64e0f2d46a28dd1ec0ff7924b51b859e13baff292c085be221ed")]

0 commit comments

Comments
 (0)