Hello OpenMRS Dev,

Do we have a convention for namespacing any new javascript being written in OpenMRS? Most of the functions I've seen so far are in the global namespace.

While working on a portlet for my reporting ticket last week I started using openmrs.reporting [1] for the time being.

Cheers,
Steve


[1] Just using the idiom:
var openmrs = openmrs || {};
openmrs.reporting = openmrs.reporting || {};

_________________________________________

To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to 
[email protected] with "SIGNOFF openmrs-devel-l" in the  body (not 
the subject) of your e-mail.

[mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]

Reply via email to