Browse code

Fix images order

Cinan Rakosnik authored on 26/02/2018 at 13:45:05
Showing 1 changed files
... ...
@@ -177,7 +177,7 @@ All right, run Webpack with `npm run build` and open `index.html` in your browse
177 177
 
178 178
 Now run Webpack in Electron mode: `PLATFORM=electron npm run build`. Open the `index.html` file with Electron: `npm run electron`. 
179 179
 
180
-{% imgcap /images/electron2.png Cannot find native module %}
180
+{% imgcap /images/electron3.png Cannot find native module %}
181 181
 
182 182
 Most native node.js modules are loaded via [node-bindings](https://github.com/TooTallNate/node-bindings) library. The library tries to find native module in `build` directory.
183 183
 
... ...
@@ -187,7 +187,7 @@ If the module is missing build it with `./node_modules/.bin/electron-rebuild -e
187 187
 
188 188
 Try Electron again with previous npm command. Now you're actually scanned your serial ports thanks to node.js native module!
189 189
 
190
-{% imgcap /images/electron3.png Native module in action %}
190
+{% imgcap /images/electron2.png Native module in action %}
191 191
 
192 192
 # Living with two node.js environments
193 193
 
... ...
@@ -211,4 +211,4 @@ This will load native module in `node_modules/serialport/build/Release/serialpor
211 211
 
212 212
 # What's next
213 213
 
214
-We can develop the javascript app (although very primitive) for both browser and Electron. In the next article we'll pack Electron environment with javascript bundle into a ready-for-distribution executable package.
215 214
\ No newline at end of file
215
+We can develop the javascript app (although very primitive) for both browser and Electron. In the next article we'll pack Electron environment with javascript bundle into a ready-for-distribution executable package.