Skip to content

Commit

Permalink
Add file extension to import paths
Browse files Browse the repository at this point in the history
  • Loading branch information
bentok committed Aug 29, 2017
1 parent e874c2e commit 680f499
Show file tree
Hide file tree
Showing 194 changed files with 706 additions and 706 deletions.
2 changes: 1 addition & 1 deletion src/animation/AnimationAction.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { WrapAroundEnding, ZeroCurvatureEnding, ZeroSlopeEnding, LoopPingPong, LoopOnce, LoopRepeat } from '../constants';
import { WrapAroundEnding, ZeroCurvatureEnding, ZeroSlopeEnding, LoopPingPong, LoopOnce, LoopRepeat } from '../constants.js';

/**
*
Expand Down
12 changes: 6 additions & 6 deletions src/animation/AnimationClip.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { VectorKeyframeTrack } from './tracks/VectorKeyframeTrack';
import { QuaternionKeyframeTrack } from './tracks/QuaternionKeyframeTrack';
import { NumberKeyframeTrack } from './tracks/NumberKeyframeTrack';
import { AnimationUtils } from './AnimationUtils';
import { KeyframeTrack } from './KeyframeTrack';
import { _Math } from '../math/Math';
import { VectorKeyframeTrack } from './tracks/VectorKeyframeTrack.js';
import { QuaternionKeyframeTrack } from './tracks/QuaternionKeyframeTrack.js';
import { NumberKeyframeTrack } from './tracks/NumberKeyframeTrack.js';
import { AnimationUtils } from './AnimationUtils.js';
import { KeyframeTrack } from './KeyframeTrack.js';
import { _Math } from '../math/Math.js';

/**
*
Expand Down
12 changes: 6 additions & 6 deletions src/animation/AnimationMixer.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { AnimationAction } from './AnimationAction';
import { EventDispatcher } from '../core/EventDispatcher';
import { LinearInterpolant } from '../math/interpolants/LinearInterpolant';
import { PropertyBinding } from './PropertyBinding';
import { PropertyMixer } from './PropertyMixer';
import { AnimationClip } from './AnimationClip';
import { AnimationAction } from './AnimationAction.js';
import { EventDispatcher } from '../core/EventDispatcher.js';
import { LinearInterpolant } from '../math/interpolants/LinearInterpolant.js';
import { PropertyBinding } from './PropertyBinding.js';
import { PropertyMixer } from './PropertyMixer.js';
import { AnimationClip } from './AnimationClip.js';

/**
*
Expand Down
4 changes: 2 additions & 2 deletions src/animation/AnimationObjectGroup.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { PropertyBinding } from './PropertyBinding';
import { _Math } from '../math/Math';
import { PropertyBinding } from './PropertyBinding.js';
import { _Math } from '../math/Math.js';

/**
*
Expand Down
18 changes: 9 additions & 9 deletions src/animation/KeyframeTrack.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { KeyframeTrackPrototype } from './KeyframeTrackPrototype';
import { StringKeyframeTrack } from './tracks/StringKeyframeTrack';
import { BooleanKeyframeTrack } from './tracks/BooleanKeyframeTrack';
import { QuaternionKeyframeTrack } from './tracks/QuaternionKeyframeTrack';
import { ColorKeyframeTrack } from './tracks/ColorKeyframeTrack';
import { VectorKeyframeTrack } from './tracks/VectorKeyframeTrack';
import { NumberKeyframeTrack } from './tracks/NumberKeyframeTrack';
import { AnimationUtils } from './AnimationUtils';
import { KeyframeTrackConstructor } from './KeyframeTrackConstructor';
import { KeyframeTrackPrototype } from './KeyframeTrackPrototype.js';
import { StringKeyframeTrack } from './tracks/StringKeyframeTrack.js';
import { BooleanKeyframeTrack } from './tracks/BooleanKeyframeTrack.js';
import { QuaternionKeyframeTrack } from './tracks/QuaternionKeyframeTrack.js';
import { ColorKeyframeTrack } from './tracks/ColorKeyframeTrack.js';
import { VectorKeyframeTrack } from './tracks/VectorKeyframeTrack.js';
import { NumberKeyframeTrack } from './tracks/NumberKeyframeTrack.js';
import { AnimationUtils } from './AnimationUtils.js';
import { KeyframeTrackConstructor } from './KeyframeTrackConstructor.js';

/**
*
Expand Down
2 changes: 1 addition & 1 deletion src/animation/KeyframeTrackConstructor.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { AnimationUtils } from './AnimationUtils';
import { AnimationUtils } from './AnimationUtils.js';

function KeyframeTrackConstructor( name, times, values, interpolation ) {

Expand Down
12 changes: 6 additions & 6 deletions src/animation/KeyframeTrackPrototype.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { InterpolateLinear } from '../constants';
import { AnimationUtils } from './AnimationUtils';
import { InterpolateSmooth, InterpolateDiscrete } from '../constants';
import { CubicInterpolant } from '../math/interpolants/CubicInterpolant';
import { LinearInterpolant } from '../math/interpolants/LinearInterpolant';
import { DiscreteInterpolant } from '../math/interpolants/DiscreteInterpolant';
import { InterpolateLinear } from '../constants.js';
import { AnimationUtils } from './AnimationUtils.js';
import { InterpolateSmooth, InterpolateDiscrete } from '../constants.js';
import { CubicInterpolant } from '../math/interpolants/CubicInterpolant.js';
import { LinearInterpolant } from '../math/interpolants/LinearInterpolant.js';
import { DiscreteInterpolant } from '../math/interpolants/DiscreteInterpolant.js';

var KeyframeTrackPrototype;

Expand Down
2 changes: 1 addition & 1 deletion src/animation/PropertyMixer.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Quaternion } from '../math/Quaternion';
import { Quaternion } from '../math/Quaternion.js';

/**
*
Expand Down
6 changes: 3 additions & 3 deletions src/animation/tracks/BooleanKeyframeTrack.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { InterpolateDiscrete } from '../../constants';
import { KeyframeTrackPrototype } from '../KeyframeTrackPrototype';
import { KeyframeTrackConstructor } from '../KeyframeTrackConstructor';
import { InterpolateDiscrete } from '../../constants.js';
import { KeyframeTrackPrototype } from '../KeyframeTrackPrototype.js';
import { KeyframeTrackConstructor } from '../KeyframeTrackConstructor.js';

/**
*
Expand Down
4 changes: 2 additions & 2 deletions src/animation/tracks/ColorKeyframeTrack.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { KeyframeTrackPrototype } from '../KeyframeTrackPrototype';
import { KeyframeTrackConstructor } from '../KeyframeTrackConstructor';
import { KeyframeTrackPrototype } from '../KeyframeTrackPrototype.js';
import { KeyframeTrackConstructor } from '../KeyframeTrackConstructor.js';

/**
*
Expand Down
4 changes: 2 additions & 2 deletions src/animation/tracks/NumberKeyframeTrack.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { KeyframeTrackPrototype } from '../KeyframeTrackPrototype';
import { KeyframeTrackConstructor } from '../KeyframeTrackConstructor';
import { KeyframeTrackPrototype } from '../KeyframeTrackPrototype.js';
import { KeyframeTrackConstructor } from '../KeyframeTrackConstructor.js';

/**
*
Expand Down
8 changes: 4 additions & 4 deletions src/animation/tracks/QuaternionKeyframeTrack.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { InterpolateLinear } from '../../constants';
import { KeyframeTrackPrototype } from '../KeyframeTrackPrototype';
import { QuaternionLinearInterpolant } from '../../math/interpolants/QuaternionLinearInterpolant';
import { KeyframeTrackConstructor } from '../KeyframeTrackConstructor';
import { InterpolateLinear } from '../../constants.js';
import { KeyframeTrackPrototype } from '../KeyframeTrackPrototype.js';
import { QuaternionLinearInterpolant } from '../../math/interpolants/QuaternionLinearInterpolant.js';
import { KeyframeTrackConstructor } from '../KeyframeTrackConstructor.js';

/**
*
Expand Down
6 changes: 3 additions & 3 deletions src/animation/tracks/StringKeyframeTrack.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { InterpolateDiscrete } from '../../constants';
import { KeyframeTrackPrototype } from '../KeyframeTrackPrototype';
import { KeyframeTrackConstructor } from '../KeyframeTrackConstructor';
import { InterpolateDiscrete } from '../../constants.js';
import { KeyframeTrackPrototype } from '../KeyframeTrackPrototype.js';
import { KeyframeTrackConstructor } from '../KeyframeTrackConstructor.js';

/**
*
Expand Down
4 changes: 2 additions & 2 deletions src/animation/tracks/VectorKeyframeTrack.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { KeyframeTrackPrototype } from '../KeyframeTrackPrototype';
import { KeyframeTrackConstructor } from '../KeyframeTrackConstructor';
import { KeyframeTrackPrototype } from '../KeyframeTrackPrototype.js';
import { KeyframeTrackConstructor } from '../KeyframeTrackConstructor.js';

/**
*
Expand Down
2 changes: 1 addition & 1 deletion src/audio/Audio.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* @author Reece Aaron Lecrivain / http://reecenotes.com/
*/

import { Object3D } from '../core/Object3D';
import { Object3D } from '../core/Object3D.js';

function Audio( listener ) {

Expand Down
8 changes: 4 additions & 4 deletions src/audio/AudioListener.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
* @author mrdoob / http://mrdoob.com/
*/

import { Vector3 } from '../math/Vector3';
import { Quaternion } from '../math/Quaternion';
import { Object3D } from '../core/Object3D';
import { AudioContext } from './AudioContext';
import { Vector3 } from '../math/Vector3.js';
import { Quaternion } from '../math/Quaternion.js';
import { Object3D } from '../core/Object3D.js';
import { AudioContext } from './AudioContext.js';

function AudioListener() {

Expand Down
6 changes: 3 additions & 3 deletions src/audio/PositionalAudio.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
* @author mrdoob / http://mrdoob.com/
*/

import { Vector3 } from '../math/Vector3';
import { Audio } from './Audio';
import { Object3D } from '../core/Object3D';
import { Vector3 } from '../math/Vector3.js';
import { Audio } from './Audio.js';
import { Object3D } from '../core/Object3D.js';

function PositionalAudio( listener ) {

Expand Down
2 changes: 1 addition & 1 deletion src/cameras/ArrayCamera.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @author mrdoob / http://mrdoob.com/
*/

import { PerspectiveCamera } from './PerspectiveCamera';
import { PerspectiveCamera } from './PerspectiveCamera.js';

function ArrayCamera( array ) {

Expand Down
8 changes: 4 additions & 4 deletions src/cameras/Camera.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
* @author WestLangley / http://github.com/WestLangley
*/

import { Matrix4 } from '../math/Matrix4';
import { Quaternion } from '../math/Quaternion';
import { Object3D } from '../core/Object3D';
import { Vector3 } from '../math/Vector3';
import { Matrix4 } from '../math/Matrix4.js';
import { Quaternion } from '../math/Quaternion.js';
import { Object3D } from '../core/Object3D.js';
import { Vector3 } from '../math/Vector3.js';

function Camera() {

Expand Down
10 changes: 5 additions & 5 deletions src/cameras/CubeCamera.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Object3D } from '../core/Object3D';
import { WebGLRenderTargetCube } from '../renderers/WebGLRenderTargetCube';
import { LinearFilter, RGBFormat } from '../constants';
import { Vector3 } from '../math/Vector3';
import { PerspectiveCamera } from './PerspectiveCamera';
import { Object3D } from '../core/Object3D.js';
import { WebGLRenderTargetCube } from '../renderers/WebGLRenderTargetCube.js';
import { LinearFilter, RGBFormat } from '../constants.js';
import { Vector3 } from '../math/Vector3.js';
import { PerspectiveCamera } from './PerspectiveCamera.js';

/**
* Camera for rendering cube maps
Expand Down
4 changes: 2 additions & 2 deletions src/cameras/OrthographicCamera.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Camera } from './Camera';
import { Object3D } from '../core/Object3D';
import { Camera } from './Camera.js';
import { Object3D } from '../core/Object3D.js';

/**
* @author alteredq / http://alteredqualia.com/
Expand Down
6 changes: 3 additions & 3 deletions src/cameras/PerspectiveCamera.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Camera } from './Camera';
import { Object3D } from '../core/Object3D';
import { _Math } from '../math/Math';
import { Camera } from './Camera.js';
import { Object3D } from '../core/Object3D.js';
import { _Math } from '../math/Math.js';

/**
* @author mrdoob / http://mrdoob.com/
Expand Down
6 changes: 3 additions & 3 deletions src/cameras/StereoCamera.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Matrix4 } from '../math/Matrix4';
import { _Math } from '../math/Math';
import { PerspectiveCamera } from './PerspectiveCamera';
import { Matrix4 } from '../math/Matrix4.js';
import { _Math } from '../math/Math.js';
import { PerspectiveCamera } from './PerspectiveCamera.js';

/**
* @author mrdoob / http://mrdoob.com/
Expand Down
10 changes: 5 additions & 5 deletions src/core/BufferAttribute.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Vector4 } from '../math/Vector4';
import { Vector3 } from '../math/Vector3';
import { Vector2 } from '../math/Vector2';
import { Color } from '../math/Color';
import { _Math } from '../math/Math';
import { Vector4 } from '../math/Vector4.js';
import { Vector3 } from '../math/Vector3.js';
import { Vector2 } from '../math/Vector2.js';
import { Color } from '../math/Color.js';
import { _Math } from '../math/Math.js';

/**
* @author mrdoob / http://mrdoob.com/
Expand Down
24 changes: 12 additions & 12 deletions src/core/BufferGeometry.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import { Vector3 } from '../math/Vector3';
import { Box3 } from '../math/Box3';
import { EventDispatcher } from './EventDispatcher';
import { BufferAttribute, Float32BufferAttribute, Uint16BufferAttribute, Uint32BufferAttribute } from './BufferAttribute';
import { Sphere } from '../math/Sphere';
import { DirectGeometry } from './DirectGeometry';
import { Object3D } from './Object3D';
import { Matrix4 } from '../math/Matrix4';
import { Matrix3 } from '../math/Matrix3';
import { _Math } from '../math/Math';
import { arrayMax } from '../utils';
import { GeometryIdCount } from './Geometry';
import { Vector3 } from '../math/Vector3.js';
import { Box3 } from '../math/Box3.js';
import { EventDispatcher } from './EventDispatcher.js';
import { BufferAttribute, Float32BufferAttribute, Uint16BufferAttribute, Uint32BufferAttribute } from './BufferAttribute.js';
import { Sphere } from '../math/Sphere.js';
import { DirectGeometry } from './DirectGeometry.js';
import { Object3D } from './Object3D.js';
import { Matrix4 } from '../math/Matrix4.js';
import { Matrix3 } from '../math/Matrix3.js';
import { _Math } from '../math/Math.js';
import { arrayMax } from '../utils.js';
import { GeometryIdCount } from './Geometry.js';

/**
* @author alteredq / http://alteredqualia.com/
Expand Down
2 changes: 1 addition & 1 deletion src/core/DirectGeometry.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @author mrdoob / http://mrdoob.com/
*/

import { Vector2 } from '../math/Vector2';
import { Vector2 } from '../math/Vector2.js';

function DirectGeometry() {

Expand Down
4 changes: 2 additions & 2 deletions src/core/Face3.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Color } from '../math/Color';
import { Vector3 } from '../math/Vector3';
import { Color } from '../math/Color.js';
import { Vector3 } from '../math/Vector3.js';

/**
* @author mrdoob / http://mrdoob.com/
Expand Down
22 changes: 11 additions & 11 deletions src/core/Geometry.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import { EventDispatcher } from './EventDispatcher';
import { Face3 } from './Face3';
import { Matrix3 } from '../math/Matrix3';
import { Sphere } from '../math/Sphere';
import { Box3 } from '../math/Box3';
import { Vector3 } from '../math/Vector3';
import { Matrix4 } from '../math/Matrix4';
import { Vector2 } from '../math/Vector2';
import { Color } from '../math/Color';
import { Object3D } from './Object3D';
import { _Math } from '../math/Math';
import { EventDispatcher } from './EventDispatcher.js';
import { Face3 } from './Face3.js';
import { Matrix3 } from '../math/Matrix3.js';
import { Sphere } from '../math/Sphere.js';
import { Box3 } from '../math/Box3.js';
import { Vector3 } from '../math/Vector3.js';
import { Matrix4 } from '../math/Matrix4.js';
import { Vector2 } from '../math/Vector2.js';
import { Color } from '../math/Color.js';
import { Object3D } from './Object3D.js';
import { _Math } from '../math/Math.js';

/**
* @author mrdoob / http://mrdoob.com/
Expand Down
2 changes: 1 addition & 1 deletion src/core/InstancedBufferAttribute.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BufferAttribute } from './BufferAttribute';
import { BufferAttribute } from './BufferAttribute.js';

/**
* @author benaadams / https://twitter.com/ben_a_adams
Expand Down
2 changes: 1 addition & 1 deletion src/core/InstancedBufferGeometry.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BufferGeometry } from './BufferGeometry';
import { BufferGeometry } from './BufferGeometry.js';

/**
* @author benaadams / https://twitter.com/ben_a_adams
Expand Down
2 changes: 1 addition & 1 deletion src/core/InstancedInterleavedBuffer.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { InterleavedBuffer } from './InterleavedBuffer';
import { InterleavedBuffer } from './InterleavedBuffer.js';

/**
* @author benaadams / https://twitter.com/ben_a_adams
Expand Down
2 changes: 1 addition & 1 deletion src/core/InterleavedBuffer.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { _Math } from '../math/Math';
import { _Math } from '../math/Math.js';

/**
* @author benaadams / https://twitter.com/ben_a_adams
Expand Down
2 changes: 1 addition & 1 deletion src/core/InterleavedBufferAttribute.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { _Math } from '../math/Math';
import { _Math } from '../math/Math.js';

/**
* @author benaadams / https://twitter.com/ben_a_adams
Expand Down
16 changes: 8 additions & 8 deletions src/core/Object3D.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { Quaternion } from '../math/Quaternion';
import { Vector3 } from '../math/Vector3';
import { Matrix4 } from '../math/Matrix4';
import { EventDispatcher } from './EventDispatcher';
import { Euler } from '../math/Euler';
import { Layers } from './Layers';
import { Matrix3 } from '../math/Matrix3';
import { _Math } from '../math/Math';
import { Quaternion } from '../math/Quaternion.js';
import { Vector3 } from '../math/Vector3.js';
import { Matrix4 } from '../math/Matrix4.js';
import { EventDispatcher } from './EventDispatcher.js';
import { Euler } from '../math/Euler.js';
import { Layers } from './Layers.js';
import { Matrix3 } from '../math/Matrix3.js';
import { _Math } from '../math/Math.js';

/**
* @author mrdoob / http://mrdoob.com/
Expand Down
2 changes: 1 addition & 1 deletion src/core/Raycaster.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Ray } from '../math/Ray';
import { Ray } from '../math/Ray.js';

/**
* @author mrdoob / http://mrdoob.com/
Expand Down
Loading

0 comments on commit 680f499

Please sign in to comment.