MCPcopy Index your code
hub / github.com/microsoft/SandDance / initializeRenderer

Function initializeRenderer

docs/app/js/sanddance-app.js:142157–142160  ·  view source on GitHub ↗
(view, r, el, constructor, scaleFactor, opt)

Source from the content-addressed store, hash-verified

142155 return a === b || a + "" === b + "";
142156}
142157function initializeRenderer(view, r, el, constructor, scaleFactor, opt) {
142158 r = r || new constructor(view.loader());
142159 return r.initialize(el, width(view), height(view), offset(view), scaleFactor, opt).background(view.background());
142160}
142161function trap(view, fn) {
142162 return !fn ? null : function() {
142163 try {

Callers 2

initializeFunction · 0.70
renderHeadlessFunction · 0.70

Calls 4

widthFunction · 0.70
heightFunction · 0.70
offsetFunction · 0.70
initializeMethod · 0.65

Tested by

no test coverage detected