Skip to content

Commit 1133561

Browse files
committed
1.1.4
1 parent bee2327 commit 1133561

File tree

19 files changed

+1995
-4757
lines changed

19 files changed

+1995
-4757
lines changed

CHANGELOG.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
1-
## UPCOMING
1+
## 1.1.4
22

33
- `fill()` and `stroke()` will now disable fill if the string 'none' is passed to them.
44
- `fill()` and `stroke()` will no longer insert `file="none"` if set to false.
5-
- `Object.assign()` now used instead of lodash `assign`. This means that IE users need a polyfill.
5+
- Replaced `lodash.each` with for loops for speed and size improvements.
6+
- Replaced `lodash.map` with native `map()` for speed and size improvements.
7+
- Replaced `lodash.flatten` with custom `flatten()` for speed and size improvements.
8+
- Replaced `lodash.defaults` with `lodash.assign` for size improvements.
9+
- Replaced `lodash.assign` with `object-assign` for size improvements.
10+
- Replaced `lodash.without` with custom `without` for size improvements.
11+
- Unminified size went from 215kb to 160kb
612

713
## 1.1.3
814

TODO.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
# TODO
22

33
- Rename `scale()` to `resize()` and add `scale()` that uses transform scale
4-
- Also add dimensions to `viewBox` attribute per #30
54
- Docs: `start()` and `end()`
65
- Rename circle.radius to diameter? Change toPolygon so they don't double in size
7-
- Remove lodash and use polyfills instead
86

97
## Backlog
108

0 commit comments

Comments
 (0)