[Pkg-javascript-commits] [pdf.js] 64/139: Fixes typo in webgl.js
David Prévot
taffit at moszumanska.debian.org
Fri Jan 9 21:18:27 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository pdf.js.
commit 2ec7e34541e26b708de1351da632704b8d1e773f
Author: jsundn <johan.sunden at infomaker.se>
Date: Tue Nov 18 14:31:19 2014 +0100
Fixes typo in webgl.js
---
src/display/webgl.js | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/display/webgl.js b/src/display/webgl.js
index 76dd0f6..c102580 100644
--- a/src/display/webgl.js
+++ b/src/display/webgl.js
@@ -67,7 +67,7 @@ var WebGLUtils = (function WebGLUtilsClosure() {
}
var currentGL, currentCanvas;
- function generageGL() {
+ function generateGL() {
if (currentGL) {
return;
}
@@ -125,7 +125,7 @@ var WebGLUtils = (function WebGLUtilsClosure() {
function initSmaskGL() {
var canvas, gl;
- generageGL();
+ generateGL();
canvas = currentCanvas;
currentCanvas = null;
gl = currentGL;
@@ -257,7 +257,7 @@ var WebGLUtils = (function WebGLUtilsClosure() {
function initFiguresGL() {
var canvas, gl;
- generageGL();
+ generateGL();
canvas = currentCanvas;
currentCanvas = null;
gl = currentGL;
@@ -425,7 +425,7 @@ var WebGLUtils = (function WebGLUtilsClosure() {
}
var enabled = false;
try {
- generageGL();
+ generateGL();
enabled = !!currentGL;
} catch (e) { }
return shadow(this, 'isEnabled', enabled);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/pdf.js.git
More information about the Pkg-javascript-commits
mailing list