nearform/micro-services-tutorial-iot

Unify tutorial code style

mihaidma opened this issue · 8 comments

Up to Step 6 the code is ES6, Step 7 and 8 are classic JS
Should be unified

@mcollina @davidmarkclements This one is your call. It really depends on what minimum spec ye use when giving this workshop.

so.. min atm is Node 4 - which supports a subset of es6 (lambdas, let, const etc)

having a quick look through it seems the es6 code is node 4 friendly,

tl;dr - make it work on node 4, use es6 that works on node 4

Awesome, sounds like a plan. @mihaidma In the readme can you add,

Supports: Node 4.x +
Tested On: Win7, Win10, OSX, Linux

And in the setup we need to add, to work through this workshop on Linux please set proxy: 'none' in the fuge-config.js for each step.

can we also please just check the examples with node 4
and make the syntax consistent in the last 2 steps

thanks @mihaidma @mcdonnelldean !

@davidmarkclements the examples work with node 4

@davidmarkclements Can confirm too. I used LTS on Windows to check which is 4x

solved: #46