Elgg  Version 1.9
elgg.provide

Generate the skeleton for a package.

elgg.provide('elgg.package.subpackage');

is equivalent to

elgg = elgg || {};
elgg.package = elgg.package || {};
elgg.package.subpackage = elgg.package.subpackage || {};

('elgg.config.translations')

Parameters
{string}pkg The package name.