Skip to content

Instantly share code, notes, and snippets.

@Roger
Created July 22, 2013 00:49
Show Gist options
  • Save Roger/6050600 to your computer and use it in GitHub Desktop.
Save Roger/6050600 to your computer and use it in GitHub Desktop.
diff --git a/tslib/webgl/turbulenzengine.ts b/tslib/webgl/turbulenzengine.ts
index 4d455fd..4edcf00 100644
--- a/tslib/webgl/turbulenzengine.ts
+++ b/tslib/webgl/turbulenzengine.ts
@@ -101,7 +101,7 @@ class WebGLTurbulenzEngine implements TurbulenzEngine
clearInterval(i)
{
- return window.clearInterval(i);
+ window.clearInterval(i);
};
createGraphicsDevice(params): WebGLGraphicsDevice
@@ -330,7 +330,7 @@ class WebGLTurbulenzEngine implements TurbulenzEngine
return;
}
- function httpRequestCallback()
+ function httpRequestCallback(): any
{
if (xhr.readyState === 4) /* 4 == complete */
{
@@ -466,7 +466,7 @@ class WebGLTurbulenzEngine implements TurbulenzEngine
}
};
- isUnloading()
+ isUnloading(): bool
{
return this.unloading;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment