File tree 6 files changed +14
-9
lines changed
6 files changed +14
-9
lines changed Original file line number Diff line number Diff line change @@ -17,4 +17,4 @@ module.exports = {
17
17
} ,
18
18
} ,
19
19
} ,
20
- }
20
+ } ;
Original file line number Diff line number Diff line change 4
4
5
5
// Do not delete or move this file.
6
6
// Many fiddles reference it so we have to keep it here.
7
- ( function ( ) {
7
+ ( function ( ) {
8
8
var tag = document . querySelector (
9
9
'script[type="application/javascript;version=1.7"]'
10
10
) ;
11
11
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
+ ) ;
13
15
}
14
16
tag . setAttribute ( 'type' , 'text/babel' ) ;
15
17
tag . textContent = tag . textContent . replace ( / ^ \/ \/ < ! \[ C D A T A \[ / , '' ) ;
Original file line number Diff line number Diff line change 4
4
5
5
// Do not delete or move this file.
6
6
// Many fiddles reference it so we have to keep it here.
7
- ( function ( ) {
7
+ ( function ( ) {
8
8
var tag = document . querySelector (
9
9
'script[type="application/javascript;version=1.7"]'
10
10
) ;
11
11
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
+ ) ;
13
15
}
14
16
tag . setAttribute ( 'type' , 'text/jsx;harmony=true' ) ;
15
17
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');
2
2
3
3
module . exports = function walk ( dir ) {
4
4
let results = [ ] ;
5
- /**
5
+ /**
6
6
* If the param is a directory we can return the file
7
7
*/
8
- if ( dir . includes ( 'md' ) ) {
8
+ if ( dir . includes ( 'md' ) ) {
9
9
return [ dir ] ;
10
10
}
11
11
const list = fs . readdirSync ( dir ) ;
Original file line number Diff line number Diff line change 1
1
const validateHeaderIds = require ( './headingIDHelpers/validateHeadingIDs' ) ;
2
2
const generateHeadingIds = require ( './headingIDHelpers/generateHeadingIDs' ) ;
3
3
4
- /**
4
+ /**
5
5
* yarn lint-heading-ids --> Checks all files and causes an error if heading ID is missing
6
6
* yarn lint-heading-ids --fix --> Fixes all markdown file's heading IDs
7
7
* yarn lint-heading-ids path/to/markdown.md --> Checks that particular file for missing heading ID (path can denote a directory or particular file)
8
8
* 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
+ */
10
10
11
11
const markdownPaths = process . argv . slice ( 2 ) ;
12
12
if ( 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
169
169
* [ Cleveland, OH - ReactJS] ( https://www.meetup.com/Cleveland-React/ )
170
170
* [ Columbus, OH - ReactJS] ( https://www.meetup.com/ReactJS-Columbus-meetup/ )
171
171
* [ Dallas, TX - ReactJS] ( https://www.meetup.com/ReactDallas/ )
172
+ * [ Denver, CO - React Denver] ( https://reactdenver.com/ )
172
173
* [ Detroit, MI - Detroit React User Group] ( https://www.meetup.com/Detroit-React-User-Group/ )
173
174
* [ Indianapolis, IN - React.Indy] ( https://www.meetup.com/React-Indy )
174
175
* [ Irvine, CA - ReactJS] ( https://www.meetup.com/ReactJS-OC/ )
You can’t perform that action at this time.
0 commit comments