[openstack-dev] [horizon] function expressions vs function declarations in JavaScript

Matthew Farina matt at mattfarina.com
Wed Jan 14 15:02:51 UTC 2015


JavaScript has multiple ways to deal with functions. There are function
declarations and function expressions (and named function expressions).

In looking at some reviews and the current code I found some
inconsistencies which leads me to ask, is there any guidance for handling
this in Horizon? I noticed no documentation in
https://wiki.openstack.org/wiki/Horizon/Javascript.

Thanks,
Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150114/cc1308d6/attachment-0001.html>


More information about the OpenStack-dev mailing list