eclipse-agail / agile-sdk

JavaScript Agile IoT SDK
Eclipse Public License 2.0
2 stars 4 forks source link

Format issues in the examples #16

Closed craigmulligan closed 6 years ago

craigmulligan commented 7 years ago

This is very trivial but in some of the examples we don't have spacing between string concatenation. We should add a lint rule to catch this and fix it. eg: this:

agile.idm.entity.create('1','sensor',{'name':'entity name'}).then(function(result) {
  console.log('entity created!'+result);
});

Should be:

agile.idm.entity.create('1','sensor',{'name':'entity name'}).then(function(result) {
  console.log('entity created!' + result);
});