From 110b12e571c06d75fd5856f899e8cd51a9cdd075 Mon Sep 17 00:00:00 2001 From: John Chilton Date: Wed, 17 Jun 2015 22:18:01 -0400 Subject: [PATCH] Modify a few references to underscore. This fixes these references when importing these modules through qunit. --- client/galaxy/scripts/galaxy.tools.js | 2 +- client/galaxy/scripts/mvc/tools.js | 2 +- client/galaxy/scripts/utils/config.js | 2 +- client/galaxy/scripts/utils/utils.js | 2 +- static/maps/galaxy.tools.js.map | 2 +- static/maps/mvc/tools.js.map | 2 +- static/maps/utils/config.js.map | 2 +- static/maps/utils/utils.js.map | 2 +- static/scripts/galaxy.tools.js | 2 +- static/scripts/mvc/tools.js | 2 +- static/scripts/utils/config.js | 2 +- static/scripts/utils/utils.js | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/client/galaxy/scripts/galaxy.tools.js b/client/galaxy/scripts/galaxy.tools.js index da57624c31f8..7b796142c83f 100644 --- a/client/galaxy/scripts/galaxy.tools.js +++ b/client/galaxy/scripts/galaxy.tools.js @@ -1,5 +1,5 @@ // dependencies -define([ "libs/underscore", "mvc/tools" ], function( _, Tools ) { +define([ "underscore", "mvc/tools" ], function( _, Tools ) { var checkUncheckAll = function( name, check ) { $("input[name='" + name + "'][type='checkbox']").attr('checked', !!check); diff --git a/client/galaxy/scripts/mvc/tools.js b/client/galaxy/scripts/mvc/tools.js index abd017b075b4..3069e4a7138f 100644 --- a/client/galaxy/scripts/mvc/tools.js +++ b/client/galaxy/scripts/mvc/tools.js @@ -2,7 +2,7 @@ * Model, view, and controller objects for Galaxy tools and tool panel. */ - define( ["libs/underscore", "viz/trackster/util", "mvc/data" ], + define( ["underscore", "viz/trackster/util", "mvc/data" ], function(_, util, data) { /** diff --git a/client/galaxy/scripts/utils/config.js b/client/galaxy/scripts/utils/config.js index db3c4052ede5..0e6b75e7d292 100644 --- a/client/galaxy/scripts/utils/config.js +++ b/client/galaxy/scripts/utils/config.js @@ -1,4 +1,4 @@ -define(['libs/underscore', 'viz/trackster/util', 'utils/config'], function(_, util_mod, config_mod) { +define(['underscore', 'viz/trackster/util', 'utils/config'], function(_, util_mod, config_mod) { /** * A configuration setting. Currently key is used as id. diff --git a/client/galaxy/scripts/utils/utils.js b/client/galaxy/scripts/utils/utils.js index 6264561f5edb..3bcc2a79a405 100644 --- a/client/galaxy/scripts/utils/utils.js +++ b/client/galaxy/scripts/utils/utils.js @@ -4,7 +4,7 @@ */ // dependencies -define(["libs/underscore"], function(_) { +define(["underscore"], function(_) { /** Traverse through json */ diff --git a/static/maps/galaxy.tools.js.map b/static/maps/galaxy.tools.js.map index 3ebcebd65ea6..7fb2163f4137 100644 --- a/static/maps/galaxy.tools.js.map +++ b/static/maps/galaxy.tools.js.map @@ -1 +1 @@ -{"version":3,"file":"galaxy.tools.js","sources":["../src/galaxy.tools.js"],"names":["define","_","checkUncheckAll","name","check","$","attr","each","href","this","click","window","prompt","check_name","select_link","text","unselect_link","append","SELECTION_TYPE","select_single","icon_class","select_by","allow_remap","select_multiple","min_option_count","select_collection","multiselect_single","multiselect_collection","select_single_collection","select_map_over_collections","SwitchSelectView","Backbone","View","extend","initialize","data","defaultOption","default_option","defaultIndex","switchOptions","switch_options","prefix","view","$el","index","visibleCount","option","onValue","numValues","size","options","selectionType","iIndex","hidden","button","enableSelectBy","formRow","find","hide","closest","render","enableIndex","css","iElement","$iElement","$select","multiple","select2ed","length","html","value","selected","val","select2"],"mappings":"AACAA,QAAS,kBAAmB,aAAe,SAAUC,GAEjD,GAAIC,GAAkB,SAAUC,EAAMC,GAClCC,EAAE,eAAiBF,EAAO,uBAAuBG,KAAK,YAAaF,GAGvEC,GAAE,oBAAoBE,KAAM,WACxB,GAAIC,GAAOH,EAAEI,MAAMH,KAAK,QACpBE,EAAOH,EAAEI,MAAMH,KAAK,YACxBD,GAAEI,MAAMC,MAAM,WACVC,OAAOC,OAAO,mCAAoCJ,OAK1DH,EAAE,kCAAkCE,KAAM,WACtC,GAAIM,GAAaR,EAAEI,MAAMH,KAAK,gBA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QqC,MAG5B,EAAfT,GAEAH,EAAKc,UAAUC,KAAK,mBAAmBC,OAGvB,MAAhBpB,GACAI,EAAKa,eAAgBjB,EAAcF,IAI3CoB,QAAS,WACL,MAAO/C,MAAKkC,IAAIgB,QAAS,cAG7BC,OAAQ,aAGRL,eAAgB,SAAUM,EAAad,GACnC,GAAII,GAAgBjC,EAAe6B,EAChCI,GAA2B,YAC1B9C,EAAE,iBAAiByD,IAAI,UAAW,WAElCzD,EAAE,iBAAiByD,IAAI,UAAW,QAEtCrD,KAAK+C,UAAUC,KAAM,KAAMlD,KAAK,SAASN,EAAG8D,GACxC,GAAIC,GAAY3D,EAAE0D,GACdnB,EAAQoB,EAAU7B,KAAK,QACxBS,IAASiB,EACRG,EAAUF,IAAI,QAAS,SAEvBE,EAAUF,IAAI,QAAS,SAG/B,IAAIG,GAAUxD,KAAKJ,EAAG,UAClB6C,EAAUzC,KAAK8B,cAAeQ,EAClCkB,GAAQ3D,KAAM,OAAQG,KAAKgC,OAASS,EAAQ/C,MAC5C8D,EAAQ3D,KAAM,WAAY4C,EAAQgB,SAElC,IAAIC,GAAY1D,KAAKJ,EAAE,sBAAsB+D,OAAS,CACtDH,GAAQI,KAAK,IACbpE,EAAEM,KAAM2C,EAAQA,QAAS,SAAUJ,GAC/B,GAAI/B,GAAO+B,EAAO,GACdwB,EAAQxB,EAAO,GACfyB,EAAWzB,EAAO,EACtBmB,GAAQhD,OAAOZ,EAAE,cAAeU,KAAMA,EAAMyD,IAAKF,EAAOC,SAAUA,OAElEJ,GAEAF,EAAQQ,YAKpB,QACI3C,iBAAkBA"} \ No newline at end of file +{"version":3,"file":"galaxy.tools.js","sources":["../src/galaxy.tools.js"],"names":["define","_","checkUncheckAll","name","check","$","attr","each","href","this","click","window","prompt","check_name","select_link","text","unselect_link","append","SELECTION_TYPE","select_single","icon_class","select_by","allow_remap","select_multiple","min_option_count","select_collection","multiselect_single","multiselect_collection","select_single_collection","select_map_over_collections","SwitchSelectView","Backbone","View","extend","initialize","data","defaultOption","default_option","defaultIndex","switchOptions","switch_options","prefix","view","$el","index","visibleCount","option","onValue","numValues","size","options","selectionType","iIndex","hidden","button","enableSelectBy","formRow","find","hide","closest","render","enableIndex","css","iElement","$iElement","$select","multiple","select2ed","length","html","value","selected","val","select2"],"mappings":"AACAA,QAAS,aAAc,aAAe,SAAUC,GAE5C,GAAIC,GAAkB,SAAUC,EAAMC,GAClCC,EAAE,eAAiBF,EAAO,uBAAuBG,KAAK,YAAaF,GAGvEC,GAAE,oBAAoBE,KAAM,WACxB,GAAIC,GAAOH,EAAEI,MAAMH,KAAK,QACpBE,EAAOH,EAAEI,MAAMH,KAAK,YACxBD,GAAEI,MAAMC,MAAM,WACVC,OAAOC,OAAO,mCAAoCJ,OAK1DH,EAAE,kCAAkCE,KAAM,WACtC,GAAIM,GAAaR,EAAEI,MAAMH,KAAK,gBAC9BQ,aAAcT,EAAE,iCAAiCU,KAAK,cAAcL,MAAM,WACvER,EAAgBW,GAAY,KAE/BG,cAAgBX,EAAE,iCAAiCU,KAAK,gBAAgBL,MAAM,WAC3ER,EAAgBW,GAAY,KAE/BR,EAAEI,MAAMQ,OAAOH,aAAaG,OAAO,KAAKA,OAAOD,gBAGnD,IAAIE,IACAC,eACIC,WAAc,YACdC,UAAa,2BACbC,aAAe,GAEnBC,iBACIH,WAAc,aACdC,UAAa,gDACbC,aAAe,EACfE,iBAAoB,GAGxBC,mBACIL,WAAc,cACdC,UAAa,iDACbC,aAAe,GAEnBI,oBACIN,WAAc,cACdC,UAAa,kCACbC,aAAe,GAEnBK,wBACIP,WAAc,cACdC,UAAa,mCACbC,aAAe,GAEnBM,0BACIR,WAAc,YACdC,UAAa,gCACbC,aAAe,GAEnBO,6BACIT,WAAc,cACdC,UAAa,iDACbC,aAAe,IAInBQ,EAAmBC,SAASC,KAAKC,QACjCC,WAAY,SAAUC,GAClB,GAAIC,GAAgBD,EAAKE,eACrBC,EAAe,KACfC,EAAgBJ,EAAKK,cACzB/B,MAAK8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1D,KAAKJ,EAAE,sBAAsB+D,OAAS,CACtDH,GAAQI,KAAK,IACbpE,EAAEM,KAAM2C,EAAQA,QAAS,SAAUJ,GAC/B,GAAI/B,GAAO+B,EAAO,GACdwB,EAAQxB,EAAO,GACfyB,EAAWzB,EAAO,EACtBmB,GAAQhD,OAAOZ,EAAE,cAAeU,KAAMA,EAAMyD,IAAKF,EAAOC,SAAUA,OAElEJ,GAEAF,EAAQQ,YAKpB,QACI3C,iBAAkBA"} \ No newline at end of file diff --git a/static/maps/mvc/tools.js.map b/static/maps/mvc/tools.js.map index 5505d1981e5c..6858d6bd2dbd 100644 --- a/static/maps/mvc/tools.js.map +++ b/static/maps/mvc/tools.js.map @@ -1 +1 @@ -{"version":3,"file":"tools.js","sources":["../../src/mvc/tools.js"],"names":["define","_","util","data","VisibilityMixin","hidden","show","this","set","hide","toggle","get","is_visible","attributes","ToolParameter","Backbone","Model","extend","defaults","name","label","type","value","html","num_samples","initialize","unescape","copy","toJSON","set_value","ToolParameterCollection","Collection","model","DataToolParameter","IntegerToolParameter","parseInt","get_samples","d3","scale","linear","domain","ticks","FloatToolParameter","parseFloat","SelectToolParameter","map","option","subModelTypes","integer","float","select","Tool","id","description","target","inputs","outputs","urlRoot","galaxy_config","root","options","p","p_class","rval","prototype","call","i","remove_inputs","types","tool","incompatible_inputs","filter","input","indexOf","remove","only_samplable_inputs","valid_inputs","each","push","apply_search_results","results","set_input_value","find","set_input_values","inputs_dict","self","keys","input_name","run","_run","rerun","target_dataset","regions","action","target_dataset_id","get_inputs_dict","input_dict","additional_params","payload","tool_id","run_deferred","$","Deferred","ss_deferred","ServerStateDeferred","ajax_settings","url","JSON","stringify","dataType","contentType","interval","success_fn","response","when","go","then","result","resolve","DatasetCollection","reset","ToolCollection","View","ToolSectionLabel","ToolSection","elems","open","clear_search_results","elt","cur_label","all_hidden","ToolSearch","search_hint_string","min_chars_for_search","spinner_url","clear_btn_url","search_url","visible","query","clear_key","on","do_search","length","q","timer","clearTimeout","setTimeout","ga","clear_search","ToolPanel","tool_search","tools","layout","parse","parse_elt","elt_dict","model_class","panel_elt","BaseView","update_visible","$el","ToolLinkView","tagName","render","$link","append","Handlebars","templates","tool_link","e","preventDefault","Galaxy","upload","ToolSectionLabelView","className","text","ToolSectionView","update_open","panel_section","section_body","tool_view","label_view","events","click .toolSectionTitle > a","children","slideDown","slideUp","ToolSearchView","click","keyup :input","click #search-clear-btn","tooltip","focus_and_select","focus","clear","val","query_changed","evData","which","ToolPanelView","handle_search_results","search_view","section_title_view","attr","split","trigger","ToolFormView","tool_form","tool_panel_view","collection","tool_form_view","css","show_tool","fetch","done","width"],"mappings":"AAICA,QAAS,kBAAmB,qBAAsB,YAC1C,SAASC,EAAGC,EAAMC,GAK3B,GAAIC,IACAC,QAAQ,EAERC,KAAM,WACFC,KAAKC,IAAI,UAAU,IAGvBC,KAAM,WACFF,KAAKC,IAAI,UAAU,IAGvBE,OAAQ,WACJH,KAAKC,IAAI,UAAWD,KAAKI,IAAI,YAGjCC,WAAY,WACR,OAAQL,KAAKM,WAAWR,SAQ5BS,EAAgBC,SAASC,MAAMC,QAC/BC,UACIC,KAAM,KACNC,MAAO,KACPC,KAAM,KACNC,MAAO,KACPC,KAAM,KACNC,YAAa,GAGjBC,WAAY,WACRlB,KAAKM,WAAWU,KAAOG,SAASnB,KAAKM,WAAWU,OAGpDI,KAAM,WACF,MAAO,IAAIb,GAAcP,KAAKqB,WAGlCC,UAAW,SAASP,GAChBf,KAAKC,IAAI,QAASc,GAAS,OAI/BQ,EAA0Bf,SAASgB,WAAWd,QAC9Ce,MAAOlB,IAMPmB,EAAoBnB,EAAcG,WAKlCiB,EAAuBpB,EAAcG,QACrCY,UAAW,SAASP,GAChBf,KAAKC,IAAI,QAAS2B,SAASb,EAAO,MAMtCc,YAAa,WACT,MAAOC,IAAGC,MAAMC,SACCC,QAAQjC,KAAKI,IAAI,OAAQJ,KAAKI,IAAI,SAClC8B,MAAMlC,KAAKI,IAAI,mBAIpC+B,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AAKyJ,IAAIK,OAAQC,WAAWC,UAAUwC,UAAUxM,KAAKyB,MAAMJ,aAOnCb,UAAS2G,KAAKzG,QAC1C6J,UAAW,kBAEXrJ,WAAY,WACRlB,KAAKyM,gBAAkB,GAAIT,IAAeU,WAAY1M,KAAK0M,aAC3D1M,KAAK2M,eAAiB,GAAIJ,IAG9B3C,OAAQ,WAEJ5J,KAAKyM,gBAAgB7C,SACrB5J,KAAKyM,gBAAgBhD,IAAImD,IAAI,QAAS,QACtC5M,KAAKyJ,IAAIK,OAAO9J,KAAKyM,gBAAgBhD,KAGrCzJ,KAAK2M,eAAelD,IAAIvJ,OACxBF,KAAKyJ,IAAIK,OAAO9J,KAAK2M,eAAelD,IAGpC,IAAI3E,GAAO9E,IACXA,MAAKyM,gBAAgBpE,GAAG,kBAAmB,SAAS6B,EAAGpG,GAEnDoG,EAAEC,iBAEFrF,EAAK+H,UAAU/I,MAOvB+I,UAAW,SAAS/I,GAChB,GAAIgB,GAAO9E,IACX8D,GAAKgJ,QAAQC,KAAM,WACfjI,EAAK6H,eAAelL,MAAQqC,EAC5BgB,EAAK6H,eAAe/C,SACpB9E,EAAK6H,eAAelD,IAAI1J,OACxB+F,EAAE,SAASkH,MAAM,cAM7B,OACIzM,cAAeA,EACfoB,qBAAsBA,EACtBU,oBAAqBA,EACrBO,KAAMA,EACNsE,eAAgBA,EAChBU,WAAYA,EACZkB,UAAWA,EACXkD,cAAeA,EACfO,aAAcA"} \ No newline at end of file +{"version":3,"file":"tools.js","sources":["../../src/mvc/tools.js"],"names":["define","_","util","data","VisibilityMixin","hidden","show","this","set","hide","toggle","get","is_visible","attributes","ToolParameter","Backbone","Model","extend","defaults","name","label","type","value","html","num_samples","initialize","unescape","copy","toJSON","set_value","ToolParameterCollection","Collection","model","DataToolParameter","IntegerToolParameter","parseInt","get_samples","d3","scale","linear","domain","ticks","FloatToolParameter","parseFloat","SelectToolParameter","map","option","subModelTypes","integer","float","select","Tool","id","description","target","inputs","outputs","urlRoot","galaxy_config","root","options","p","p_class","rval","prototype","call","i","remove_inputs","types","tool","incompatible_inputs","filter","input","indexOf","remove","only_samplable_inputs","valid_inputs","each","push","apply_search_results","results","set_input_value","find","set_input_values","inputs_dict","self","keys","input_name","run","_run","rerun","target_dataset","regions","action","target_dataset_id","get_inputs_dict","input_dict","additional_params","payload","tool_id","run_deferred","$","Deferred","ss_deferred","ServerStateDeferred","ajax_settings","url","JSON","stringify","dataType","contentType","interval","success_fn","response","when","go","then","result","resolve","DatasetCollection","reset","ToolCollection","View","ToolSectionLabel","ToolSection","elems","open","clear_search_results","elt","cur_label","all_hidden","ToolSearch","search_hint_string","min_chars_for_search","spinner_url","clear_btn_url","search_url","visible","query","clear_key","on","do_search","length","q","timer","clearTimeout","setTimeout","ga","clear_search","ToolPanel","tool_search","tools","layout","parse","parse_elt","elt_dict","model_class","panel_elt","BaseView","update_visible","$el","ToolLinkView","tagName","render","$link","append","Handlebars","templates","tool_link","e","preventDefault","Galaxy","upload","ToolSectionLabelView","className","text","ToolSectionView","update_open","panel_section","section_body","tool_view","label_view","events","click .toolSectionTitle > a","children","slideDown","slideUp","ToolSearchView","click","keyup :input","click #search-clear-btn","tooltip","focus_and_select","focus","clear","val","query_changed","evData","which","ToolPanelView","handle_search_results","search_view","section_title_view","attr","split","trigger","ToolFormView","tool_form","tool_panel_view","collection","tool_form_view","css","show_tool","fetch","done","width"],"mappings":"AAICA,QAAS,aAAc,qBAAsB,YACrC,SAASC,EAAGC,EAAMC,GAK3B,GAAIC,IACAC,QAAQ,EAERC,KAAM,WACFC,KAAKC,IAAI,UAAU,IAGvBC,KAAM,WACFF,KAAKC,IAAI,UAAU,IAGvBE,OAAQ,WACJH,KAAKC,IAAI,UAAWD,KAAKI,IAAI,YAGjCC,WAAY,WACR,OAAQL,KAAKM,WAAWR,SAQ5BS,EAAgBC,SAASC,MAAMC,QAC/BC,UACIC,KAAM,KACNC,MAAO,KACPC,KAAM,KACNC,MAAO,KACPC,KAAM,KACNC,YAA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IzM,cAAeA,EACfoB,qBAAsBA,EACtBU,oBAAqBA,EACrBO,KAAMA,EACNsE,eAAgBA,EAChBU,WAAYA,EACZkB,UAAWA,EACXkD,cAAeA,EACfO,aAAcA"} \ No newline at end of file diff --git a/static/maps/utils/config.js.map b/static/maps/utils/config.js.map index 9a4ad39b0d5f..0967bf3b9036 100644 --- a/static/maps/utils/config.js.map +++ b/static/maps/utils/config.js.map @@ -1 +1 @@ -{"version":3,"file":"config.js","sources":["../../src/utils/config.js"],"names":["define","_","util_mod","ConfigSetting","Backbone","Model","extend","initialize","options","key","this","get","set","defaults","find","known_settings_defaults","s","undefined","set_value","get_random_color","value","type","parseFloat","parseInt","label","default_value","mode","hidden","ConfigSettingCollection","Collection","model","to_key_value_dict","rval","each","setting","get_value","set_default_value","from_models_and_saved_values","models","saved_values","map","m","ConfigSettingCollectionView","View","className","render","container","$el","collection","param","index","id","row","$","appendTo","append","attr","text","val","click","select","option","container_div","input","css","e","removeClass","tip","siblings","addClass","left","position","width","top","height","show","stopPropagation","document","bind","hide","unbind","new_color_icon","tooltip","tip_inner","farb_obj","farbtastic","callback","color","fixed_farb_obj","setColor","help","render_in_modal","title","self","cancel_fn","Galaxy","modal","window","ok_fn","update_from_form","check_enter_esc","keyCode","which","children","length","body","buttons","Cancel","OK","is"],"mappings":"AAAAA,QAAQ,kBAAmB,qBAAsB,gBAAiB,SAASC,EAAGC,GAK9E,GAAIC,GAAgBC,SAASC,MAAMC,QAE/BC,WAAY,SAASC,GAEjB,GAAIC,GAAMC,KAAKC,IAAI,MACnBD,MAAKE,IAAI,KAAMH,EAGf,IAAII,GAAWZ,EAAEa,KAAKX,EAAcY,wBAAyB,SAASC,GAAK,MAAOA,GAAEP,MAAQA,GACxFI,IACAH,KAAKE,IAAIX,EAAEK,UAAWO,EAAUL,IAGVS,SAAtBP,KAAKC,IAAI,WAETD,KAAKQ,UAAUR,KAAKC,IAAI,kBAGnBD,KAAKC,IAAI,UAAiC,UAArBD,KAAKC,IAA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AAeC,SAASvF,EAASiB,uBAEtCiE,OAIHhC,GAAIG,OAAQF,EAAE,aAAaG,KAAK,KAAML,GAAKK,KAAK,OAAQL,GAAKO,IAAKtC,GAGjE6B,GAAMyC,MACPtC,EAAIG,OAAQF,EAAE,uBAAuBI,KAAMR,EAAMyC,UAIlDhF,MAMXiF,gBAAiB,SAASC,GAEtB,GAAIC,GAAOnF,KACPoF,EAAY,WAAaC,OAAOC,MAAMjB,OAAQ1B,EAAE4C,QAAQjB,OAAO,6BAC/DkB,EAAQ,WACJH,OAAOC,MAAMjB,OACb1B,EAAE4C,QAAQjB,OAAO,4BACjBa,EAAKM,oBAETC,EAAkB,SAASnC,GACQ,MAA1BA,EAAEoC,SAAWpC,EAAEqC,OAChBR,IACkC,MAA1B7B,EAAEoC,SAAWpC,EAAEqC,QACvBJ,IAKZ7C,GAAE4C,QAAQnB,KAAK,2BAA4BsB,GAGR,IAA/B1F,KAAKqC,IAAIwD,WAAWC,QACpB9F,KAAKmC,SAETkD,OAAOC,MAAMrB,MACTiB,MAAOA,GAAS,YAChBa,KAAM/F,KAAKqC,IACX2D,SACIC,OAAUb,EACVc,GAAMV,MAQlBC,iBAAkB,WACd,GAAIN,GAAOnF,IACXA,MAAKsC,WAAWf,KAAK,SAASC,EAASgB,GACnC,IAAMhB,EAAQvB,IAAI,UAAY,CAE1B,GAAIwC,GAAK,SAAWD,EAChB9B,EAAQyE,EAAK9C,IAAIjC,KAAM,IAAMqC,GAAKO,KACT,UAAxBxB,EAAQvB,IAAI,UACbS,EAAQyE,EAAK9C,IAAIjC,KAAM,IAAMqC,GAAK0D,GAAI,aAE1C3E,EAAQhB,UAAUE,QAOlC,QACIjB,cAAeA,EACfyB,wBAAyBA,EACzBc,4BAA6BA"} \ No newline at end of file +{"version":3,"file":"config.js","sources":["../../src/utils/config.js"],"names":["define","_","util_mod","ConfigSetting","Backbone","Model","extend","initialize","options","key","this","get","set","defaults","find","known_settings_defaults","s","undefined","set_value","get_random_color","value","type","parseFloat","parseInt","label","default_value","mode","hidden","ConfigSettingCollection","Collection","model","to_key_value_dict","rval","each","setting","get_value","set_default_value","from_models_and_saved_values","models","saved_values","map","m","ConfigSettingCollectionView","View","className","render","container","$el","collection","param","index","id","row","$","appendTo","append","attr","text","val","click","select","option","container_div","input","css","e","removeClass","tip","siblings","addClass","left","position","width","top","height","show","stopPropagation","document","bind","hide","unbind","new_color_icon","tooltip","tip_inner","farb_obj","farbtastic","callback","color","fixed_farb_obj","setColor","help","render_in_modal","title","self","cancel_fn","Galaxy","modal","window","ok_fn","update_from_form","check_enter_esc","keyCode","which","children","length","body","buttons","Cancel","OK","is"],"mappings":"AAAAA,QAAQ,aAAc,qBAAsB,gBAAiB,SAASC,EAAGC,GAKzE,GAAIC,GAAgBC,SAASC,MAAMC,QAE/BC,WAAY,SAASC,GAEjB,GAAIC,GAAMC,KAAKC,IAAI,MACnBD,MAAKE,IAAI,KAAMH,EAGf,IAAII,GAAWZ,EAAEa,KAAKX,EAAcY,wBAAyB,SAASC,GAAK,MAAOA,GAAEP,MAAQA,GACxFI,IACAH,KAAKE,IAAIX,EAAEK,UAAWO,EAAUL,IAGVS,SAAtBP,KAAKC,IAAI,WAETD,KAAKQ,UAAUR,KAAKC,IAAI,kBAGnBD,KAAKC,IAAI,UAAiC,UAArBD,KAAKC,IAAI,SAE/BD,KAAKE,IAAI,QAASV,EAASiB,sBASvCD,UAAW,SAASE,EAAOZ,GACvB,GAAIa,GAAOX,KAAKC,IAAI,OAEP,WAATU,EACAD,EAAQE,WAAWF,GAEL,QAATC,IACLD,EAAQG,SAASH,EAAO,KAI5BV,KAAKE,KAAKQ,MAAOA,GAAQZ,MAI7BO,0BACMN,IAAK,OAAQe,MAAO,OAAQH,KAAM,OAAQI,cAAe,KACzDhB,IAAK,QAASe,MAAO,QAASH,KAAM,QAASI,cAAe,OAC5DhB,IAAK,YAAae,MAAO,YAAaH,KAAM,QAASI,cAAe,OACpEhB,IAAK,YAAae,MAAO,YAAaH,KAAM,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nC,GACQ,MAA1BA,EAAEoC,SAAWpC,EAAEqC,OAChBR,IACkC,MAA1B7B,EAAEoC,SAAWpC,EAAEqC,QACvBJ,IAKZ7C,GAAE4C,QAAQnB,KAAK,2BAA4BsB,GAGR,IAA/B1F,KAAKqC,IAAIwD,WAAWC,QACpB9F,KAAKmC,SAETkD,OAAOC,MAAMrB,MACTiB,MAAOA,GAAS,YAChBa,KAAM/F,KAAKqC,IACX2D,SACIC,OAAUb,EACVc,GAAMV,MAQlBC,iBAAkB,WACd,GAAIN,GAAOnF,IACXA,MAAKsC,WAAWf,KAAK,SAASC,EAASgB,GACnC,IAAMhB,EAAQvB,IAAI,UAAY,CAE1B,GAAIwC,GAAK,SAAWD,EAChB9B,EAAQyE,EAAK9C,IAAIjC,KAAM,IAAMqC,GAAKO,KACT,UAAxBxB,EAAQvB,IAAI,UACbS,EAAQyE,EAAK9C,IAAIjC,KAAM,IAAMqC,GAAK0D,GAAI,aAE1C3E,EAAQhB,UAAUE,QAOlC,QACIjB,cAAeA,EACfyB,wBAAyBA,EACzBc,4BAA6BA"} \ No newline at end of file diff --git a/static/maps/utils/utils.js.map b/static/maps/utils/utils.js.map index ccb4fb491c24..1032f62e3286 100644 --- a/static/maps/utils/utils.js.map +++ b/static/maps/utils/utils.js.map @@ -1 +1 @@ -{"version":3,"file":"utils.js","sources":["../../src/utils/utils.js"],"names":["define","_","deepeach","dict","callback","i","d","isJSON","text","test","replace","sanitize","content","$","html","validate","value","Array","length","undefined","indexOf","textify","lst","toString","pos","lastIndexOf","substr","get","options","top","__utils__get__","cache","url","success","console","debug","request","data","response","error","ajaxConfig","contentType","type","param","dataType","JSON","stringify","ajax","done","jQuery","parseJSON","e","fail","response_text","responseText","cssGetAttribute","classname","name","el","appendTo","css","remove","cssLoadFile","galaxy_config","root","merge","optionsDefault","defaults","bytesToString","size","normal_font","unit","rounded","Math","round","uid","__utils__uid__","time","Date","hours","getHours","minutes","getMinutes","datetime","getDate","getMonth","getFullYear"],"mappings":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Ac,IAAWE,EAAO,SAC9D,IAAIF,GAAQ,IAAkBA,GAAc,IAAQE,EAAO,SAC3D,IAAIF,GAAQ,IAAkBA,GAAc,IAAKE,EAAO,SACxD,CAAA,KAAIF,EAAQ,GACR,MAAO,oBADmBA,GAAc,GAAPA,EAAWE,EAAO,IAIvD,GAAIC,GAAWC,KAAKC,MAAML,GAAQ,EAClC,OAAIC,GACOE,EAAU,IAAMD,EAEhB,WAAaC,EAAU,aAAeD,EAOrD,QAASI,KAEL,MADA9C,KAAI+C,eAAiB/C,IAAI+C,gBAAkB,EACpC,OAAS/C,IAAI+C,iBAMxB,QAASC,KAEL,GAAIvE,GAAI,GAAIwE,MAGRC,GAASzE,EAAE0E,WAAa,GAAK,IAAM,IAAM1E,EAAE0E,WAC3CC,GAAW3E,EAAE4E,aAAe,GAAK,IAAM,IAAM5E,EAAE4E,aAG/CC,EAAW7E,EAAE8E,UAAY,KACd9E,EAAE+E,WAAa,GAAM,IACtB/E,EAAEgF,cAAgB,KAClBP,EAAQ,IACRE,CACd,OAAOE,GAGX,OACIrB,YAAgBA,EAChBP,gBAAkBA,EAClB5B,IAAMA,EACNsC,MAAQA,EACRG,cAAeA,EACfO,IAAKA,EACLE,KAAMA,EACNzC,QAASA,EACTzB,SAAUA,EACVU,QAASA,EACTN,SAAUA,EACVb,SAAUA,EACVK,OAAQA"} \ No newline at end of file +{"version":3,"file":"utils.js","sources":["../../src/utils/utils.js"],"names":["define","_","deepeach","dict","callback","i","d","isJSON","text","test","replace","sanitize","content","$","html","validate","value","Array","length","undefined","indexOf","textify","lst","toString","pos","lastIndexOf","substr","get","options","top","__utils__get__","cache","url","success","console","debug","request","data","response","error","ajaxConfig","contentType","type","param","dataType","JSON","stringify","ajax","done","jQuery","parseJSON","e","fail","response_text","responseText","cssGetAttribute","classname","name","el","appendTo","css","remove","cssLoadFile","galaxy_config","root","merge","optionsDefault","defaults","bytesToString","size","normal_font","unit","rounded","Math","round","uid","__utils__uid__","time","Date","hours","getHours","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E,EAAO,SACjE,IAAIF,GAAQ,IAAkBA,GAAc,IAAWE,EAAO,SAC9D,IAAIF,GAAQ,IAAkBA,GAAc,IAAQE,EAAO,SAC3D,IAAIF,GAAQ,IAAkBA,GAAc,IAAKE,EAAO,SACxD,CAAA,KAAIF,EAAQ,GACR,MAAO,oBADmBA,GAAc,GAAPA,EAAWE,EAAO,IAIvD,GAAIC,GAAWC,KAAKC,MAAML,GAAQ,EAClC,OAAIC,GACOE,EAAU,IAAMD,EAEhB,WAAaC,EAAU,aAAeD,EAOrD,QAASI,KAEL,MADA9C,KAAI+C,eAAiB/C,IAAI+C,gBAAkB,EACpC,OAAS/C,IAAI+C,iBAMxB,QAASC,KAEL,GAAIvE,GAAI,GAAIwE,MAGRC,GAASzE,EAAE0E,WAAa,GAAK,IAAM,IAAM1E,EAAE0E,WAC3CC,GAAW3E,EAAE4E,aAAe,GAAK,IAAM,IAAM5E,EAAE4E,aAG/CC,EAAW7E,EAAE8E,UAAY,KACd9E,EAAE+E,WAAa,GAAM,IACtB/E,EAAEgF,cAAgB,KAClBP,EAAQ,IACRE,CACd,OAAOE,GAGX,OACIrB,YAAgBA,EAChBP,gBAAkBA,EAClB5B,IAAMA,EACNsC,MAAQA,EACRG,cAAeA,EACfO,IAAKA,EACLE,KAAMA,EACNzC,QAASA,EACTzB,SAAUA,EACVU,QAASA,EACTN,SAAUA,EACVb,SAAUA,EACVK,OAAQA"} \ No newline at end of file diff --git a/static/scripts/galaxy.tools.js b/static/scripts/galaxy.tools.js index d73f2c328bf9..d96aade43f62 100644 --- a/static/scripts/galaxy.tools.js +++ b/static/scripts/galaxy.tools.js @@ -1,2 +1,2 @@ -define(["libs/underscore","mvc/tools"],function(a){var b=function(a,b){$("input[name='"+a+"'][type='checkbox']").attr("checked",!!b)};$(".tool-share-link").each(function(){var a=$(this).attr("href"),a=$(this).attr("data-link");$(this).click(function(){window.prompt("Copy to clipboard: Ctrl+C, Enter",a)})}),$("div.checkUncheckAllPlaceholder").each(function(){var a=$(this).attr("checkbox_name");select_link=$("").text("Select All").click(function(){b(a,!0)}),unselect_link=$("").text("Unselect All").click(function(){b(a,!1)}),$(this).append(select_link).append(" ").append(unselect_link)});var c={select_single:{icon_class:"fa-file-o",select_by:"Run tool on single input",allow_remap:!0},select_multiple:{icon_class:"fa-files-o",select_by:"Run tool in parallel across multiple datasets",allow_remap:!1,min_option_count:2},select_collection:{icon_class:"fa-folder-o",select_by:"Run tool in parallel across dataset collection",allow_remap:!1},multiselect_single:{icon_class:"fa-list-alt",select_by:"Run tool over multiple datasets",allow_remap:!0},multiselect_collection:{icon_class:"fa-folder-o",select_by:"Run tool over dataset collection",allow_remap:!1},select_single_collection:{icon_class:"fa-file-o",select_by:"Run tool on single collection",allow_remap:!0},select_map_over_collections:{icon_class:"fa-folder-o",select_by:"Map tool over compontents of nested collection",allow_remap:!1}},d=Backbone.View.extend({initialize:function(b){var d=b.default_option,e=null,f=b.switch_options;this.switchOptions=f,this.prefix=b.prefix;var g=(this.$el,this),h=0,i=0;a.each(this.switchOptions,function(b,f){var j=a.size(b.options),k=c[f],l=h++,m=!1;if(d==f?e=l:j<(k.min_option_count||1)&&(m=!0),!m){i++;var n=$('').click(function(){g.enableSelectBy(l,f)}).attr("title",k.select_by).data("index",l);g.formRow().find("label").append(n)}}),2>i&&g.formRow().find("i.runOptionIcon").hide(),null!=e&&g.enableSelectBy(e,d)},formRow:function(){return this.$el.closest(".form-row")},render:function(){},enableSelectBy:function(b,d){var e=c[d];e.allow_remap?$("div#remap-row").css("display","inherit"):$("div#remap-row").css("display","none"),this.formRow().find("i").each(function(a,c){var d=$(c),e=d.data("index");e==b?d.css("color","black"):d.css("color","Gray")});var f=this.$("select"),g=this.switchOptions[d];f.attr("name",this.prefix+g.name),f.attr("multiple",g.multiple);var h=this.$(".select2-container").length>0;f.html(""),a.each(g.options,function(a){var b=a[0],c=a[1],d=a[2];f.append($("