Skip to content

Commit

Permalink
[demo] also put pv into global namespace for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
biasmv committed Feb 12, 2015
1 parent f1f4ff1 commit 2be90e2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ requirejs.config({
// from the JavaScript console.
var viewer;

require(['pv'], function(pv) {
var pv;
require(['pv'], function(PV) {

pv = PV;
var io = pv.io;
var viewpoint = pv.viewpoint;
var color = pv.color;
Expand Down

0 comments on commit 2be90e2

Please sign in to comment.