gecko-dev/toolkit/content/aboutwebrtc
Jan-Ivar Bruaroey d2e9bf836d Bug 1087528 - avoid showing (win)id and url twice for peerConnections in about:webrtc. r=jesup 2014-11-28 00:35:48 -05:00
..
README.txt
aboutWebrtc.css
aboutWebrtc.js Bug 1087528 - avoid showing (win)id and url twice for peerConnections in about:webrtc. r=jesup 2014-11-28 00:35:48 -05:00
aboutWebrtc.jsx
aboutWebrtc.xhtml

README.txt

Working with React JSX files
============================

The about:webrtc page uses [React](http://facebook.github.io/react/).
The UI is written in JSX files and transpiled to JS before we
commit. You need to install the JSX compiler using npm in order to
compile the .jsx files into regular .js ones:

    npm install -g react-tools

Run the following command:

   jsx -w -x jsx . .

jsx can also be do a one-time compile pass instead of watching if the
-w argument is omitted. Be sure to commit any transpiled files at the
same time as changes to their sources.

IMPORTANT: do not modify the generated files, only their JSX
counterpart.