Skip to content
This repository has been archived by the owner on Dec 21, 2018. It is now read-only.

Commit

Permalink
Pass view loader to scenegraph handler. (vega/vega#1171)
Browse files Browse the repository at this point in the history
  • Loading branch information
jheer committed Mar 1, 2018
1 parent 8b8a5d1 commit 17c8429
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/initialize-handler.js
@@ -1,7 +1,7 @@
import {offset} from './render-size';

export default function(view, prevHandler, el, constructor) {
var handler = new constructor()
var handler = new constructor(view.loader())
.scene(view.scenegraph().root)
.initialize(el, offset(view), view);

Expand Down

0 comments on commit 17c8429

Please sign in to comment.