Fix typo/unused argument in fontloader.js->spliceString()
This commit is contained in:
parent
7d5bf83ce8
commit
4ee35b0d46
@ -171,8 +171,8 @@ var FontLoader = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function spliceString(s, offset, remove, insert) {
|
function spliceString(s, offset, remove, insert) {
|
||||||
var chunk1 = data.substr(0, offset);
|
var chunk1 = s.substr(0, offset);
|
||||||
var chunk2 = data.substr(offset + remove);
|
var chunk2 = s.substr(offset + remove);
|
||||||
return chunk1 + insert + chunk2;
|
return chunk1 + insert + chunk2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user