420c60340b8ceb5424ec0f12c4cff838e34656a2,bokeh/embed.py,,autoload_server,#Any#Any#Any#Any#Any#,355

Before Change


        url = url + "/"
    if not app_path.endswith("/"):
        app_path = app_path + "/"
    if app_path.startswith("/"):
        app_path = app_path[1:]
    src_path = url + app_path + "autoload.js" + "?bokeh-autoload-element=" + elementid

    tag = AUTOLOAD_TAG.render(
        src_path = src_path,

After Change



    """

    coords = _SessionCoordinates(dict(url=url,
                                      session_id=session_id,
                                      app_path=app_path))

    elementid = str(uuid.uuid4())
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: bokeh/bokeh
Commit Name: 420c60340b8ceb5424ec0f12c4cff838e34656a2
Time: 2015-12-11
Author: hp@pobox.com
File Name: bokeh/embed.py
Class Name:
Method Name: autoload_server


Project Name: brian-team/brian2
Commit Name: 89d9e6f48e2a21867a7ffbe91182c6bd99b59654
Time: 2015-11-16
Author: marcel.stimberg@inserm.fr
File Name: brian2/core/namespace.py
Class Name:
Method Name: get_local_namespace


Project Name: scikit-image/scikit-image
Commit Name: 2eb9e2686dabb686c8114760abec9d5546c24fc6
Time: 2017-12-20
Author: contact@kne42.me
File Name: doc/release/contribs.py
Class Name:
Method Name: