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

Commit 9a98b36

Browse files
committed
Remove use React as an expression
1 parent b0d279d commit 9a98b36

File tree

5 files changed

+4
-8
lines changed

5 files changed

+4
-8
lines changed

es6-babel-react-flux-karma/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
"url": "git+https://github.com/microsoft/typescriptsamples.git"
1515
},
1616
"keywords": [
17-
"Globalize",
18-
"globalization",
19-
"internationalization",
17+
"React",
18+
"Flux",
19+
"ES6",
2020
"typescript"
2121
],
2222
"author": "John Reilly",
@@ -65,7 +65,7 @@
6565
"react-addons-test-utils": "^0.14.3",
6666
"react-dom": "^0.14.3",
6767
"ts-loader": "^0.8.1",
68-
"typescript": "^1.6.2",
68+
"typescript": "^1.8.0",
6969
"webpack": "^1.12.2",
7070
"webpack-notifier": "^1.2.1"
7171
}

es6-babel-react-flux-karma/src/main.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,5 @@ import 'babel-polyfill';
22
import * as React from 'react';
33
import * as ReactDOM from 'react-dom';
44
import App from './components/App';
5-
React; // use React as an expression to prevent React being purged from dependencies as not used directly
65

76
ReactDOM.render(<App />, document.getElementById('content'));

es6-babel-react-flux-karma/test/components/App.tests.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import App from '../../src/components/App';
44
import WhoToGreet from '../../src/components/WhoToGreet';
55
import Greeting from '../../src/components/Greeting';
66
import GreetingStore from '../../src/stores/GreetingStore';
7-
React; // use React as an expression to prevent React being purged from dependencies as not used directly
87

98
describe('App', () => {
109
it('renders expected HTML', () => {

es6-babel-react-flux-karma/test/components/Greeting.tests.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import * as React from 'react';
22
import * as TestUtils from 'react-addons-test-utils';
33
import Greeting from '../../src/components/Greeting';
44
import * as GreetingActions from '../../src/actions/GreetingActions';
5-
React; // use React as an expression to prevent React being purged from dependencies as not used directly
65

76
describe('Greeting', () => {
87
let handleSelectionChangeSpy: jasmine.Spy;

es6-babel-react-flux-karma/test/components/WhoToGreet.tests.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import * as React from 'react';
22
import * as TestUtils from 'react-addons-test-utils';
33
import WhoToGreet from '../../src/components/WhoToGreet';
44
import * as GreetingActions from '../../src/actions/GreetingActions';
5-
React; // use React as an expression to prevent React being purged from dependencies as not used directly
65

76
describe('WhoToGreet', () => {
87
let handleSelectionChangeSpy: jasmine.Spy;

0 commit comments

Comments
 (0)