Factory Firmware example - code correction


#1

On page https://developer.electricimp.com/examples/factoryfirmware
In both code listings (device & agent), they have:
#require “FactoryTools.class.nut:2.2.0”

Produces error:
Syntax error (line 34): no such public library factorytools.class.nut

Should the line be:
#require “FactoryTools.lib.nut:2.2.0”


#2

Yes it should! Good spot.

Fixed now.