Add missing variable declaration

This commit is contained in:
Tom Payne
2013-03-19 16:56:13 +01:00
parent c04e9c8870
commit 69f92615b1

View File

@@ -143,6 +143,7 @@ ol.structs.Buffer.prototype.set = function(values, offset) {
var arr = this.arr_;
var n = values.length;
goog.asserts.assert(0 <= offset && offset + n <= arr.length);
var i;
for (i = 0; i < n; ++i) {
arr[offset + i] = values[i];
}