bokeh.embed.wrappers._ONLOAD

Here are the examples of the python api bokeh.embed.wrappers._ONLOAD taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

3 View Source File : test_wrappers.py
License : MIT License
Project Creator : rthorst

def test__ONLOAD():
    assert bew._ONLOAD == """\
(function() {
  var fn = function() {
%(code)s
  };
  if (document.readyState != "loading") fn();
  else document.addEventListener("DOMContentLoaded", fn);
})();\
"""

def test__SAFELY():