mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-08-06 11:09:33 -04:00
Remove need for all special arguments in minification, and restructure code to avoid warnings.
This commit is contained in:
parent
1279e8017d
commit
1866e4ff15
22 changed files with 103 additions and 98 deletions
src/core
|
@ -101,7 +101,6 @@ paper.PaperScope.prototype.PaperScript = new function() {
|
|||
// Converts an original offset to the one in the current state of the
|
||||
// modified code.
|
||||
function getOffset(offset) {
|
||||
var start = offset;
|
||||
// Add all insertions before this location together to calculate
|
||||
// the current offset
|
||||
for (var i = 0, l = insertions.length; i < l; i++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue