Skip to content

Commit

Permalink
Force window jquery access for charts.mako. This isn't great, but cha…
Browse files Browse the repository at this point in the history
…rts *and* the rest of the viz framework are being refactored into bundles that will avoid this hackery.
  • Loading branch information
dannon committed Dec 13, 2017
1 parent c468039 commit 0cf38e5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config/plugins/visualizations/charts/templates/charts.mako
Expand Up @@ -38,6 +38,8 @@
error : function(){},
assert : function(){}
};
window.jQuery = window.jquery = window.$;
define( 'jquery', [], function(){ return window.$; })
require.config({
baseUrl: Galaxy.root + "static/scripts/",
paths: {
Expand All @@ -64,4 +66,4 @@
});
</script>
</body>
</html>
</html>

0 comments on commit 0cf38e5

Please sign in to comment.