-
Install the React Developer Tools Chrome Extension.
-
Go to the egghead website, i.e. Getting Started with Redux
-
Click
View -> Developer -> Javascript Console, then theReacttab, then the<NextUpLessonList ...>tag. -
Click back to the
Consoletab, then run:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ruby | |
| require 'open3' | |
| # Returns true if all files are EOF | |
| # | |
| def all_eof(files) | |
| files.find { |f| !f.eof }.nil? | |
| end |