21cc2425441cd3a2a0feba74a13f46c13ddb4013,bokeh/embed.py,,_bundle_for_objs_and_resources,#Any#Any#,293
Before Change
js_resources = deepcopy(js_resources)
if not use_widgets and "bokeh-widgets" in js_resources.components:
js_resources.components.remove("bokeh-widgets")
if use_gl and "bokeh-gl" not in js_resources.components :
js_resources.components.append("bokeh-gl")
bokeh_js = js_resources.render_js()
else:
After Change
css_resources = deepcopy(css_resources)
if not use_widgets and "bokeh-widgets" in css_resources.css_components:
css_resources.css_components.remove("bokeh-widgets")
if not use_tables and "bokeh-tables" in css_resources.css_components:
css_resources.css_components.remove("bokeh-tables")
bokeh_css = css_resources.render_css()
else:
bokeh_css = None
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances Project Name: bokeh/bokeh
Commit Name: 21cc2425441cd3a2a0feba74a13f46c13ddb4013
Time: 2017-06-24
Author: mattpap@gmail.com
File Name: bokeh/embed.py
Class Name:
Method Name: _bundle_for_objs_and_resources
Project Name: mil-tokyo/webdnn
Commit Name: 8e49d24624e3651800b4eb9fb36268f76c58acaf
Time: 2017-08-05
Author: y.kikura@gmail.com
File Name: src/graph_transpiler/webdnn/optimizer/sub_rules/remove_no_effect_operator.py
Class Name: RemoveReshape
Method Name: optimize_operator
Project Name: ottogroup/palladium
Commit Name: 60a7dedc11701d99d76e9260979635e7b6474994
Time: 2019-11-05
Author: daniel.nouri@gmail.com
File Name: palladium/persistence.py
Class Name: FileLike
Method Name: delete