openhab-scripters / openhab-helper-libraries

Scripts and modules for use with openHAB
Eclipse Public License 1.0
88 stars 70 forks source link

Use self-executing anonymous function in osgi.js #171

Closed 5iver closed 5 years ago

5iver commented 5 years ago

@lewie, it didn't look necessary, but I added this because it looked like a nice design pattern to follow for the JS libraries. I've used this in metadata.js too. WDYT?

Signed-off-by: Scott Rushworth openhab@5iver.com