bundles/org.eclipse.orion.client.javascript/web/eslint/lib/config/environments.js
function(plugin, pluginName) {
			if (plugin.environments) {
				Object.keys(plugin.environments).forEach(function(envName) {
					this.define(pluginName + "/" + envName, plugin.environments[envName]);
				}, this);
			}
		}
function(plugin, pluginName) {
			if (plugin.environments) {
				Object.keys(plugin.environments).forEach(function(envName) {
					this.define(pluginName + "/" + envName, plugin.environments[envName]);
				}, this);
			}
		}
function ( plugin , pluginName ) { if ( plugin . environments ) { Object . keys ( plugin . environments ) . forEach ( function ( envName ) { this . define ( pluginName + "/" + envName , plugin . environments [ envName ] ) ; } , this ) ; } }
Imports all environments from a plugin.
@param {Object} plugin The plugin object.
@param {string} pluginName The name of the plugin.
@returns {void}
Imports all environments from a plugin .