bundles/org.eclipse.orion.client.ui/web/orion/commands.js
function(choice, items) {
			return function(event) {
				if (choice.callback) {
					choice.callback.call(choice, items, event);
				}
			};
		}
function(choice, items) {
			return function(event) {
				if (choice.callback) {
					choice.callback.call(choice, items, event);
				}
			};
		}
function ( choice , items ) { return function ( event ) { if ( choice . callback ) { choice . callback . call ( choice , items , event ) ; } } ; }
Make a choice callback appropriate for the given choice and items.
Used internally by the command service.  Not intended to be overridden or called
externally.
Make a choice callback appropriate for the given choice and items . Used internally by the command service . Not intended to be overridden or called externally .