Comments (5)
Update:
I tried to use a few older versions:
<script src="https://cdn.jsdelivr.net/npm/**[email protected]**/dist/x_ite.min.js"></script>Results:
8.7.5 works ok
8.7.6 fails to create parts
8.7.7 fails to create parts
Hope this helps,
Olaf
from x_ite.
I could identify the bug, it was due to a change in MFNode.remove (internal function), which is now fixed.
The fix is now already released.
Because I now have Unit Test at https://github.com/create3000/x_ite-tests, I wrote a test to prevent future mistakes. There are already more than 700 tests now, and I add every day more. I appreciate every pull request to this repo.
Thank you for your patience and writing bug reports.
from x_ite.
from x_ite.
The are two way to test, first there are unit test with the jest testing environment, which are in a separate repo at https://github.com/create3000/x_ite-tests. A test look like this:
const X3D = require ("../../X3D")
const
canvas = X3D .createBrowser (),
Browser = canvas .browser,
scene = Browser .currentScene,
node = scene .createNode ("WorldInfo")
test ("common", () =>
{
expect (node .getType ()) .toBe (X3D .X3DConstants .SFNode)
expect (node .getTypeName ()) .toBe ("SFNode")
expect (node .getNodeTypeName ()) .toBe ("WorldInfo")
expect (node .getNodeName ()) .toBe ("")
expect (node .getNodeDisplayName ()) .toBe ("")
})
With this automated test, all JavaScript function can and should be tests in a comprehensive way.
Second they're a visually tests, because not all can be tested automatically, these tests must be 'click' manually, test by test, in the browser. I have installed these test locally on my computer, but they are also available online at https://rawgit.com/create3000/x_ite/main/x_ite.min.html.
from x_ite.
from x_ite.
Related Issues (20)
- loading time is too long HOT 3
- How does x3d Canvas display toolbars to control views? HOT 2
- site using tested version stopped working HOT 1
- Invalid asm.js: Invalid member of stdlib HOT 2
- navigation keys intermittently not working on 8.1.0 HOT 1
- x_ite does not work on iPad Safari (IOS 14.4) HOT 6
- XML Parser Error: Unknown node type 'TEXT', you probably have insufficient component/profile statements. HOT 6
- add x_ite-dom tests HOT 20
- Feature Request: Torus Component HOT 24
- Playground color scheme hard to read HOT 3
- Dispatch DOM load event after scene is completely loaded HOT 6
- x3d-canvas xmlns attribute handling HOT 3
- x_ite-8.3.3 Canot support X3D node Rectangle2D ? HOT 4
- Animated GIF aren't animated HOT 4
- [enhancement] Inline SVG support HOT 6
- Assignment to a constant (trackPoint) HOT 2
- Use optional url parameter for playground HOT 13
- Zoom out when rendered the 3D image in extension .wrl HOT 10
- MetadataSet proto causing failure to load on previously (recently) working world HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from x_ite.