Created
February 3, 2012 01:51
-
-
Save notmasteryet/1727144 to your computer and use it in GitHub Desktop.
ie9 predictor hack
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/stream.js b/src/stream.js | |
index fc16317..882e3f7 100644 | |
--- a/src/stream.js | |
+++ b/src/stream.js | |
@@ -754,6 +754,10 @@ var PredictorStream = (function PredictorStreamClosure() { | |
default: | |
error('Unsupported predictor: ' + predictor); | |
} | |
+ | |
+ // hack for TypedArray-less browsers | |
+ buffer.set(currentRow, bufferLength); | |
+ | |
this.bufferLength += rowBytes; | |
}; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment