зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1275637 - Fix eslint errors in webgl-utils.js. r=jryans
MozReview-Commit-ID: 1T2vOPMAj8G --HG-- extra : transplant_source : %F0%00%02%AF%1C%C7%C80O%7D%0B%C5%DE%01%80%CF%ED%86%A5%12
This commit is contained in:
Родитель
2327dbb60e
Коммит
c8fa47521b
|
@ -94,7 +94,6 @@ devtools/client/responsivedesign/**
|
|||
devtools/client/scratchpad/**
|
||||
devtools/client/shadereditor/**
|
||||
devtools/client/shared/*.jsm
|
||||
devtools/client/shared/webgl-utils.js
|
||||
devtools/client/shared/developer-toolbar.js
|
||||
devtools/client/shared/components/test/**
|
||||
devtools/client/shared/redux/middleware/test/**
|
||||
|
|
|
@ -33,7 +33,7 @@ function create3DContext(canvas) {
|
|||
// try to get a valid context from an existing canvas
|
||||
let context = null;
|
||||
try {
|
||||
context = canvas.getContext(WEBGL_CONTEXT_NAME, aFlags);
|
||||
context = canvas.getContext(WEBGL_CONTEXT_NAME);
|
||||
} catch (e) {
|
||||
return null;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче