File tree Expand file tree Collapse file tree 6 files changed +14
-9
lines changed Expand file tree Collapse file tree 6 files changed +14
-9
lines changed Original file line number Diff line number Diff line change @@ -17,4 +17,4 @@ module.exports = {
1717 } ,
1818 } ,
1919 } ,
20- }
20+ } ;
Original file line number Diff line number Diff line change 44
55// Do not delete or move this file.
66// Many fiddles reference it so we have to keep it here.
7- ( function ( ) {
7+ ( function ( ) {
88 var tag = document . querySelector (
99 'script[type="application/javascript;version=1.7"]'
1010 ) ;
1111 if ( ! tag || tag . textContent . indexOf ( 'window.onload=function(){' ) !== - 1 ) {
12- alert ( 'Bad JSFiddle configuration, please fork the original React JSFiddle' ) ;
12+ alert (
13+ 'Bad JSFiddle configuration, please fork the original React JSFiddle'
14+ ) ;
1315 }
1416 tag . setAttribute ( 'type' , 'text/babel' ) ;
1517 tag . textContent = tag . textContent . replace ( / ^ \/ \/ < ! \[ C D A T A \[ / , '' ) ;
Original file line number Diff line number Diff line change 44
55// Do not delete or move this file.
66// Many fiddles reference it so we have to keep it here.
7- ( function ( ) {
7+ ( function ( ) {
88 var tag = document . querySelector (
99 'script[type="application/javascript;version=1.7"]'
1010 ) ;
1111 if ( ! tag || tag . textContent . indexOf ( 'window.onload=function(){' ) !== - 1 ) {
12- alert ( 'Bad JSFiddle configuration, please fork the original React JSFiddle' ) ;
12+ alert (
13+ 'Bad JSFiddle configuration, please fork the original React JSFiddle'
14+ ) ;
1315 }
1416 tag . setAttribute ( 'type' , 'text/jsx;harmony=true' ) ;
1517 tag . textContent = tag . textContent . replace ( / ^ \/ \/ < ! \[ C D A T A \[ / , '' ) ;
Original file line number Diff line number Diff line change @@ -2,10 +2,10 @@ const fs = require('fs');
22
33module . exports = function walk ( dir ) {
44 let results = [ ] ;
5- /**
5+ /**
66 * If the param is a directory we can return the file
77 */
8- if ( dir . includes ( 'md' ) ) {
8+ if ( dir . includes ( 'md' ) ) {
99 return [ dir ] ;
1010 }
1111 const list = fs . readdirSync ( dir ) ;
Original file line number Diff line number Diff line change 11const validateHeaderIds = require ( './headingIDHelpers/validateHeadingIDs' ) ;
22const generateHeadingIds = require ( './headingIDHelpers/generateHeadingIDs' ) ;
33
4- /**
4+ /**
55 * yarn lint-heading-ids --> Checks all files and causes an error if heading ID is missing
66 * yarn lint-heading-ids --fix --> Fixes all markdown file's heading IDs
77 * yarn lint-heading-ids path/to/markdown.md --> Checks that particular file for missing heading ID (path can denote a directory or particular file)
88 * yarn lint-heading-ids --fix path/to/markdown.md --> Fixes that particular file's markdown IDs (path can denote a directory or particular file)
9- */
9+ */
1010
1111const markdownPaths = process . argv . slice ( 2 ) ;
1212if ( markdownPaths . includes ( '--fix' ) ) {
Original file line number Diff line number Diff line change @@ -169,6 +169,7 @@ Do you have a local React.js meetup? Add it here! (Please keep the list alphabet
169169* [ Cleveland, OH - ReactJS] ( https://www.meetup.com/Cleveland-React/ )
170170* [ Columbus, OH - ReactJS] ( https://www.meetup.com/ReactJS-Columbus-meetup/ )
171171* [ Dallas, TX - ReactJS] ( https://www.meetup.com/ReactDallas/ )
172+ * [ Denver, CO - React Denver] ( https://reactdenver.com/ )
172173* [ Detroit, MI - Detroit React User Group] ( https://www.meetup.com/Detroit-React-User-Group/ )
173174* [ Indianapolis, IN - React.Indy] ( https://www.meetup.com/React-Indy )
174175* [ Irvine, CA - ReactJS] ( https://www.meetup.com/ReactJS-OC/ )
You can’t perform that action at this time.
0 commit comments