File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 2828 "devDependencies" : {
2929 "typescript" : " latest" ,
3030 "http-server" : " 0.8.0" ,
31- "@types/jquery" : " ^2" ,
3231 "@types/react-dom" : " ^15" ,
3332 "@types/react" : " ^15"
3433 },
3534 "dependencies" : {
36- "jquery" : " ^3.3.1" ,
3735 "react" : " ^15.6.1" ,
3836 "react-dom" : " ^15.6.1" ,
3937 "requirejs" : " ^2.1.20"
Original file line number Diff line number Diff line change 11import * as React from 'react' ;
22import * as ReactDOM from 'react-dom' ;
3- import * as $ from 'jquery' ;
43import { Greeter as Greetifier , GreeterProps as GreeterProps } from 'greeter' ;
54
65function getRandomGreeting ( ) {
@@ -12,11 +11,11 @@ function getRandomGreeting() {
1211 }
1312}
1413
15- $ ( ( ) => {
14+ ( ( ) => {
1615 let props : GreeterProps = {
1716 whomToGreet : 'world!' ,
1817 } ;
1918
2019 ReactDOM . render ( < Greetifier { ...props } greeting = { getRandomGreeting } /> , $ ( '#output' ) . get ( 0 ) ) ;
21- } ) ;
20+ } ) ( ) ;
2221
You can’t perform that action at this time.
0 commit comments