Skip to content
This repository was archived by the owner on Feb 5, 2020. It is now read-only.

Commit 065a724

Browse files
committed
Expose browser objects on global.
Browserify assigns this to the right value.
1 parent 3096dec commit 065a724

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

browser.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
11
/*! @license MIT ©2013-2016 Ruben Verborgh - Ghent University / iMinds */
2-
3-
// Make the ldf-client module available as a global browser object
4-
window.ldf = require('./ldf-client');
5-
// Expose the same N3 version as used in the client
6-
window.N3 = require('n3');
2+
global.ldf = require('./ldf-client');
3+
global.N3 = require('n3');

0 commit comments

Comments
 (0)