commit/galaxy-central: jgoecks: Update embedded visualizations to work with recent refactoring.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/6609ad713207/ Changeset: 6609ad713207 User: jgoecks Date: 2014-07-17 22:53:04 Summary: Update embedded visualizations to work with recent refactoring. Affected #: 2 files diff -r 6cdc306ec75b37c5dbd8f0472d73956b60186926 -r 6609ad71320787b849d6d68522b9f346090706c5 static/scripts/viz/trackster.js --- a/static/scripts/viz/trackster.js +++ b/static/scripts/viz/trackster.js @@ -566,6 +566,7 @@ }); return { + TracksterUI: TracksterUI, GalaxyApp : TracksterView }; diff -r 6cdc306ec75b37c5dbd8f0472d73956b60186926 -r 6609ad71320787b849d6d68522b9f346090706c5 templates/webapps/galaxy/visualization/display.mako --- a/templates/webapps/galaxy/visualization/display.mako +++ b/templates/webapps/galaxy/visualization/display.mako @@ -60,13 +60,12 @@ "libs/backbone/backbone": { exports: "Backbone" }, } }); - require( ["base", "viz/visualization", "viz/trackster_ui", "viz/trackster/tracks"], - function( base, visualization, trackster_ui, tracks ) { + require( ["viz/trackster"], function(trackster) { // FIXME: deliberate global required for now due to requireJS integration. view = null; - - var ui = new (trackster_ui.TracksterUI)( "${h.url_for('/')}" ) + + var ui = new (trackster.TracksterUI)( "${h.url_for('/')}" ) container_element = $("#${trans.security.encode_id( visualization.id )}"); $(function() { 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