-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
patch(): node build follow up #8652
Merged
Merged
Changes from 4 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
3918cdc
Update index.ts
ShaMan123 bdf3ec5
env => getWindow, getDocument
ShaMan123 aba8e2e
remove polyfills
ShaMan123 2c647a1
cleanUpJsdomNode => env#dispose
ShaMan123 dfa7435
node isTouchSupported
ShaMan123 51a6bad
Update node.ts
ShaMan123 27d9761
cleanup
ShaMan123 d508509
refactor gl probe
ShaMan123 762671f
remove polyfill
ShaMan123 8c1b6f2
dump isLikelyNode
ShaMan123 5767f8c
Update ITextKeyBehavior.ts
ShaMan123 ed18297
dep(): setEnvForTests, isNode, fix anim frame provider
ShaMan123 e02046b
tests
ShaMan123 384f8a5
Update index.node.ts
ShaMan123 f720c72
Update index.ts
ShaMan123 c8982ab
Update node.ts
ShaMan123 b5805e9
Update dom_misc.ts
ShaMan123 df6fca8
Update env.js
ShaMan123 ac19649
Update CHANGELOG.md
ShaMan123 be49fc4
Update build.yml
ShaMan123 b87b1c3
rename
ShaMan123 8b18c6f
Update index.ts
ShaMan123 92b1657
Merge branch 'master' into node-build-1
ShaMan123 eaee5f4
removed old JDOM option
asturur 8eab8d1
resovle TS warnings
asturur cc9ed6c
restored setEnvForTests
asturur 18a5e6b
more specific changelog
asturur File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
import { GLProbe } from '../filters/GLProbes/GLProbe'; | ||
import type { DOMWindow } from 'jsdom'; | ||
|
||
export type TCopyPasteData = { | ||
copiedText?: string; | ||
copiedStyle?: Record<string, string>; | ||
}; | ||
export type TFabricEnv = { | ||
document: Document; | ||
window: Window; | ||
window: Window | DOMWindow; | ||
isTouchSupported: boolean; | ||
GLProbe: GLProbe; | ||
WebGLProbe: GLProbe; | ||
dispose(element: Element): void; | ||
copyPasteData: TCopyPasteData; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we really need this?
Is just a console log...
And then we don't need to reconfigure the env so we won't need to expose setEnvForTests as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we won't need to expose it in fabricJS, nor remove it, we will probably be able to import it directly from the build folder.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I mean we don't need this configuration
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The CustomResourceLoader justs log to console a line
It is meaningless
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So we can use the node env from fabric w/o this headache