mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-04 15:10:06 +00:00
Remove extending the Javascript builtin objects
- Remove extending the Math & CanvasRenderingContext2D classes. - It was messing up the typescript 4.9+ - Using the built-in roundRect function - Adding global clamp function - Add some type corrections in litegraph.d.ts - Fix a couple of build issues Co-authored-by: Ranuka Perera <premium@sawrc.com> Co-authored-by: Moritz Ulmer <moritz.ulmer@posteo.de>
This commit is contained in:
@@ -4,7 +4,7 @@ import re, os, sys, time, tempfile, shutil
|
||||
import argparse
|
||||
from datetime import date
|
||||
|
||||
compiler_path = "../node_modules/google-closure-compiler/compiler.jar"
|
||||
compiler_path = "../node_modules/google-closure-compiler-java/compiler.jar"
|
||||
root_path = "./"
|
||||
|
||||
#arguments
|
||||
|
||||
@@ -1 +1,7 @@
|
||||
yuidoc ../src -o ../doc
|
||||
#!/bin/bash
|
||||
|
||||
# For migration to JSDoc (YUIDoc was deprecated in 2014): https://github.com/pnstickne/yuidoc-to-jsdoc
|
||||
|
||||
cd "$(dirname "$0")" || exit
|
||||
rm -rf ../docs/*
|
||||
../node_modules/.bin/yuidoc ../src -o ../docs
|
||||
|
||||
Reference in New Issue
Block a user