Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
tsherif committed Nov 26, 2019
1 parent 3c81031 commit 05f7f0d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion modules/webgl/src/context/context.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ const CONTEST_DEFAULTS = {
*/
/* eslint-disable complexity, max-statements */
export function createGLContext(options = {}) {
assert(isBrowser, "createGLContext on available in the browser.\nCreate your own headless context or use 'createHeadlessContext' from @luma.gl/test-utils");
assert(
isBrowser,
"createGLContext on available in the browser.\nCreate your own headless context or use 'createHeadlessContext' from @luma.gl/test-utils"
);

options = Object.assign({}, CONTEST_DEFAULTS, options);
const {width, height} = options;
Expand Down

0 comments on commit 05f7f0d

Please sign in to comment.