Skip to content

Commit

Permalink
add chevrotain as dependency to VRMLLoader module
Browse files Browse the repository at this point in the history
  • Loading branch information
palortoff committed Jun 20, 2019
1 parent c11ee3c commit f1d951b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
3 changes: 3 additions & 0 deletions examples/jsm/libs/chevrotain.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions examples/jsm/loaders/VRMLLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ import {
Vector3,
VertexColors
} from "../../../build/three.module.js";
import { chevrotain } from "../libs/chevrotain.min.js";

/* global chevrotain */

Expand Down
2 changes: 0 additions & 2 deletions examples/webgl_loader_vrml.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@
<!--model from <a href="http://cs.iupui.edu/~aharris/webDesign/vrml/" target="_blank" rel="noopener">VRML 2.0 Tutorial</a>,-->
</div>

<script src="js/libs/chevrotain.min.js"></script>

<script type="module">
import {
DirectionalLight,
Expand Down
2 changes: 1 addition & 1 deletion utils/modularize.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ var files = [
{ path: 'loaders/TDSLoader.js', dependencies: [], ignoreList: [] },
{ path: 'loaders/TGALoader.js', dependencies: [], ignoreList: [] },
{ path: 'loaders/TTFLoader.js', dependencies: [], ignoreList: [ 'Font' ] },
{ path: 'loaders/VRMLLoader.js', dependencies: [], ignoreList: [] },
{ path: 'loaders/VRMLLoader.js', dependencies: [ { name: 'chevrotain', path: 'libs/chevrotain.min.js' } ], ignoreList: [] },
{ path: 'loaders/VRMLoader.js', dependencies: [ { name: 'GLTFLoader', path: 'loaders/GLTFLoader.js' } ], ignoreList: [] },
{ path: 'loaders/VTKLoader.js', dependencies: [ { name: 'Zlib', path: 'libs/inflate.min.js' } ], ignoreList: [] },
{ path: 'loaders/XLoader.js', dependencies: [], ignoreList: [] },
Expand Down

0 comments on commit f1d951b

Please sign in to comment.