Skip to content

Commit f694fda

Browse files
feat: zoneless somehow (#2007)
1 parent 2880400 commit f694fda

14 files changed

+753
-956
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ PayPal: [PayPal.Me/bengtler](http://paypal.me/bengtler)
9090
// or
9191
@import '~quill/dist/quill.snow.css';
9292
```
93-
- currently forces zone.js change detection
9493

9594
### For standard webpack, angular-cli and tsc builds
9695

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@
4949
"@angular/router": "^21.0.0",
5050
"quill": "^2.0.3",
5151
"rxjs": "^7.8.2",
52-
"tslib": "^2.8.1",
53-
"zone.js": "~0.15.0"
52+
"tslib": "^2.8.1"
5453
},
5554
"devDependencies": {
5655
"@analogjs/vite-plugin-angular": "^2.1.0",

projects/ngx-quill/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@
3333
"peerDependencies": {
3434
"@angular/core": "^21.0.0",
3535
"quill": "^2.0.0",
36-
"rxjs": "^7.0.0",
37-
"zone.js": "~0.15.0"
36+
"rxjs": "^7.0.0"
3837
},
3938
"contributors": [
4039
{

projects/ngx-quill/src/lib/helpers.spec.ts

Lines changed: 0 additions & 12 deletions
This file was deleted.
Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,6 @@
11
import { QuillFormat } from 'ngx-quill/config'
2-
import { Observable } from 'rxjs'
32

43
export const getFormat = (format?: QuillFormat, configFormat?: QuillFormat): QuillFormat => {
54
const passedFormat = format || configFormat
65
return passedFormat || 'html'
76
}
8-
9-
export const raf$ = () => {
10-
return new Observable<void>(subscriber => {
11-
const rafId = requestAnimationFrame(() => {
12-
subscriber.next()
13-
subscriber.complete()
14-
})
15-
16-
return () => cancelAnimationFrame(rafId)
17-
})
18-
}

0 commit comments

Comments
 (0)