commit/galaxy-central: jgoecks: Remove duplicated function definition.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/6cdc306ec75b/ Changeset: 6cdc306ec75b User: jgoecks Date: 2014-07-17 22:34:20 Summary: Remove duplicated function definition. Affected #: 1 file diff -r 1d578ea7ba67cedd9e8ce193c4cfdb581224a3df -r 6cdc306ec75b37c5dbd8f0472d73956b60186926 static/scripts/viz/trackster.js --- a/static/scripts/viz/trackster.js +++ b/static/scripts/viz/trackster.js @@ -34,24 +34,6 @@ // trackster viewer define( ["libs/underscore", "base", "viz/trackster/tracks", "viz/visualization"], function(_, base, tracks, visualization) { -/** - * Returns an IconButtonMenuView for the provided configuration. - * Configuration is a list of dictionaries where each dictionary - * defines an icon button. Each dictionary must have the following - * elements: icon_class, title, and on_click. - */ -var create_icon_buttons_menu = function(config, global_config) { - if (!global_config) { global_config = {}; } - - // Create and initialize menu. - var buttons = new IconButtonCollection( - _.map(config, function(button_config) { - return new IconButton(_.extend(button_config, global_config)); - }) - ); - - return new IconButtonMenuView( {collection: buttons} ); -}; /** * User interface controls for trackster Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org