language
stringclasses
1 value
owner
stringlengths
2
15
repo
stringlengths
2
21
sha
stringlengths
45
45
message
stringlengths
7
36.3k
path
stringlengths
1
199
patch
stringlengths
15
102k
is_multipart
bool
2 classes
Other
mrdoob
three.js
b0f0c3bd1ad3adf88cf333ecc610282682f52be5.json
Remove unnecessary semicolons
examples/js/MD2Character.js
@@ -195,7 +195,7 @@ THREE.MD2Character = function () { return textures; - }; + } function createPart( geometry, skinMap ) { @@ -229,14 +229,14 @@ THREE.MD2Character = function () { return mesh; - }; + } function checkLoadingComplete() { scope.loadCounter -= 1; if ( scope.loadCounter === 0 ) scope.onLoadComplete(); - }; + } };
true
Other
mrdoob
three.js
b0f0c3bd1ad3adf88cf333ecc610282682f52be5.json
Remove unnecessary semicolons
examples/js/MD2CharacterComplex.js
@@ -518,7 +518,7 @@ THREE.MD2CharacterComplex = function () { return textures; - }; + } function createPart( geometry, skinMap ) { @@ -546,14 +546,14 @@ THREE.MD2CharacterComplex = function () { return mesh; - }; + } function checkLoadingComplete() { scope.loadCounter -= 1; if ( scope.loadCounter === 0 ) scope.onLoadComplete(); - }; + } function exponentialEaseOut( k ) { return k === 1 ? 1 : - Math.pow( 2, - 10 * k ) + 1; }
true
Other
mrdoob
three.js
b0f0c3bd1ad3adf88cf333ecc610282682f52be5.json
Remove unnecessary semicolons
examples/js/MarchingCubes.js
@@ -196,31 +196,31 @@ THREE.MarchingCubes = function ( resolution, material, enableUvs, enableColors ) this.compNorm( q1 ); this.VIntX( q * 3, this.vlist, this.nlist, 0, isol, fx, fy, fz, field0, field1 ); - }; + } if ( bits & 2 ) { this.compNorm( q1 ); this.compNorm( q1y ); this.VIntY( q1 * 3, this.vlist, this.nlist, 3, isol, fx2, fy, fz, field1, field3 ); - }; + } if ( bits & 4 ) { this.compNorm( qy ); this.compNorm( q1y ); this.VIntX( qy * 3, this.vlist, this.nlist, 6, isol, fx, fy2, fz, field2, field3 ); - }; + } if ( bits & 8 ) { this.compNorm( q ); this.compNorm( qy ); this.VIntY( q * 3, this.vlist, this.nlist, 9, isol, fx, fy, fz, field0, field2 ); - }; + } // bottom of the cube @@ -230,31 +230,31 @@ THREE.MarchingCubes = function ( resolution, material, enableUvs, enableColors ) this.compNorm( q1z ); this.VIntX( qz * 3, this.vlist, this.nlist, 12, isol, fx, fy, fz2, field4, field5 ); - }; + } if ( bits & 32 ) { this.compNorm( q1z ); this.compNorm( q1yz ); this.VIntY( q1z * 3, this.vlist, this.nlist, 15, isol, fx2, fy, fz2, field5, field7 ); - }; + } if ( bits & 64 ) { this.compNorm( qyz ); this.compNorm( q1yz ); this.VIntX( qyz * 3, this.vlist, this.nlist, 18, isol, fx, fy2, fz2, field6, field7 ); - }; + } if ( bits & 128 ) { this.compNorm( qz ); this.compNorm( qyz ); this.VIntY( qz * 3, this.vlist, this.nlist, 21, isol, fx, fy, fz2, field4, field6 ); - }; + } // vertical lines of the cube @@ -264,31 +264,31 @@ THREE.MarchingCubes = function ( resolution, material, enableUvs, enableColors ) this.compNorm( qz ); this.VIntZ( q * 3, this.vlist, this.nlist, 24, isol, fx, fy, fz, field0, field4 ); - }; + } if ( bits & 512 ) { this.compNorm( q1 ); this.compNorm( q1z ); this.VIntZ( q1 * 3, this.vlist, this.nlist, 27, isol, fx2, fy, fz, field1, field5 ); - }; + } if ( bits & 1024 ) { this.compNorm( q1y ); this.compNorm( q1yz ); this.VIntZ( q1y * 3, this.vlist, this.nlist, 30, isol, fx2, fy2, fz, field3, field7 ); - }; + } if ( bits & 2048 ) { this.compNorm( qy ); this.compNorm( qyz ); this.VIntZ( qy * 3, this.vlist, this.nlist, 33, isol, fx, fy2, fz, field2, field6 ); - }; + } cubeindex <<= 4; // re-purpose cubeindex into an offset into triTable
true
Other
mrdoob
three.js
b0f0c3bd1ad3adf88cf333ecc610282682f52be5.json
Remove unnecessary semicolons
examples/js/Ocean.js
@@ -18,7 +18,7 @@ // Assign optional parameters as variables and object properties function optionalParameter(value, defaultValue) { return value !== undefined ? value : defaultValue; - }; + } options = options || {}; this.clearColor = optionalParameter(options.CLEAR_COLOR, [ 1.0, 1.0, 1.0, 0.0 ]); this.geometryOrigin = optionalParameter(options.GEOMETRY_ORIGIN, [ -1000.0, -1000.0 ]);
true
Other
mrdoob
three.js
b0f0c3bd1ad3adf88cf333ecc610282682f52be5.json
Remove unnecessary semicolons
examples/js/UCSCharacter.js
@@ -89,7 +89,7 @@ THREE.UCSCharacter = function() { } return textures; - }; + } function createMaterials( skins ) { var materials = [];
true
Other
mrdoob
three.js
b0f0c3bd1ad3adf88cf333ecc610282682f52be5.json
Remove unnecessary semicolons
examples/js/WaterShader.js
@@ -109,7 +109,7 @@ THREE.Water = function ( renderer, camera, scene, options ) { function optionalParameter ( value, defaultValue ) { return value !== undefined ? value : defaultValue; - }; + } options = options || {};
true
Other
mrdoob
three.js
b0f0c3bd1ad3adf88cf333ecc610282682f52be5.json
Remove unnecessary semicolons
examples/js/controls/FirstPersonControls.js
@@ -271,7 +271,7 @@ THREE.FirstPersonControls = function ( object, domElement ) { }; - }; + } this.handleResize();
true
Other
mrdoob
three.js
b0f0c3bd1ad3adf88cf333ecc610282682f52be5.json
Remove unnecessary semicolons
examples/js/controls/FlyControls.js
@@ -252,7 +252,7 @@ THREE.FlyControls = function ( object, domElement ) { }; - }; + } this.domElement.addEventListener( 'contextmenu', function ( event ) { event.preventDefault(); }, false );
true
Other
mrdoob
three.js
b0f0c3bd1ad3adf88cf333ecc610282682f52be5.json
Remove unnecessary semicolons
examples/js/controls/VRControls.js
@@ -25,7 +25,7 @@ THREE.VRControls = function ( object, onError ) { if ( onError ) onError( 'HMD not available' ); - }; + } if ( navigator.getVRDevices ) {
true
Other
mrdoob
three.js
b0f0c3bd1ad3adf88cf333ecc610282682f52be5.json
Remove unnecessary semicolons
examples/js/exporters/SceneExporter.js
@@ -189,7 +189,7 @@ THREE.SceneExporter.prototype = { if ( THREE[ constants[ i ] ] === c ) return LabelString( constants[ i ] ); - }; + } return "";
true
Other
mrdoob
three.js
b0f0c3bd1ad3adf88cf333ecc610282682f52be5.json
Remove unnecessary semicolons
examples/js/loaders/AWDLoader.js
@@ -113,7 +113,7 @@ THREE.AWDLoader = (function () { this._accuracyProps = false; - }; + } AWDLoader.prototype = Object.create( THREE.Loader.prototype );
true
Other
mrdoob
three.js
b0f0c3bd1ad3adf88cf333ecc610282682f52be5.json
Remove unnecessary semicolons
examples/js/loaders/BinaryLoader.js
@@ -217,7 +217,7 @@ THREE.BinaryLoader.prototype.createBinModel = function ( data, callback, texture return ( n % 4 ) ? ( 4 - n % 4 ) : 0; - }; + } function parseMetaData( data, offset ) { @@ -294,7 +294,7 @@ THREE.BinaryLoader.prototype.createBinModel = function ( data, callback, texture return metaData; - }; + } function parseString( data, offset, length ) { @@ -310,23 +310,23 @@ THREE.BinaryLoader.prototype.createBinModel = function ( data, callback, texture return text; - }; + } function parseUChar8( data, offset ) { var charArray = new Uint8Array( data, offset, 1 ); return charArray[ 0 ]; - }; + } function parseUInt32( data, offset ) { var intArray = new Uint32Array( data, offset, 1 ); return intArray[ 0 ]; - }; + } function init_vertices( start ) { @@ -348,7 +348,7 @@ THREE.BinaryLoader.prototype.createBinModel = function ( data, callback, texture return nElements * 3 * Float32Array.BYTES_PER_ELEMENT; - }; + } function init_normals( start ) { @@ -374,7 +374,7 @@ THREE.BinaryLoader.prototype.createBinModel = function ( data, callback, texture return nElements * 3 * Int8Array.BYTES_PER_ELEMENT; - }; + } function init_uvs( start ) { @@ -399,7 +399,7 @@ THREE.BinaryLoader.prototype.createBinModel = function ( data, callback, texture return nElements * 2 * Float32Array.BYTES_PER_ELEMENT; - }; + } function init_uvs3( nElements, offset ) { @@ -430,7 +430,7 @@ THREE.BinaryLoader.prototype.createBinModel = function ( data, callback, texture } - }; + } function init_uvs4( nElements, offset ) { @@ -471,7 +471,7 @@ THREE.BinaryLoader.prototype.createBinModel = function ( data, callback, texture } - }; + } function init_faces3_flat( nElements, offsetVertices, offsetMaterials ) { @@ -492,7 +492,7 @@ THREE.BinaryLoader.prototype.createBinModel = function ( data, callback, texture } - }; + } function init_faces4_flat( nElements, offsetVertices, offsetMaterials ) { @@ -515,7 +515,7 @@ THREE.BinaryLoader.prototype.createBinModel = function ( data, callback, texture } - }; + } function init_faces3_smooth( nElements, offsetVertices, offsetNormals, offsetMaterials ) { @@ -558,7 +558,7 @@ THREE.BinaryLoader.prototype.createBinModel = function ( data, callback, texture } - }; + } function init_faces4_smooth( nElements, offsetVertices, offsetNormals, offsetMaterials ) { @@ -613,7 +613,7 @@ THREE.BinaryLoader.prototype.createBinModel = function ( data, callback, texture } - }; + } function init_triangles_flat( start ) { @@ -626,7 +626,7 @@ THREE.BinaryLoader.prototype.createBinModel = function ( data, callback, texture } - }; + } function init_triangles_flat_uv( start ) { @@ -642,7 +642,7 @@ THREE.BinaryLoader.prototype.createBinModel = function ( data, callback, texture } - }; + } function init_triangles_smooth( start ) { @@ -657,7 +657,7 @@ THREE.BinaryLoader.prototype.createBinModel = function ( data, callback, texture } - }; + } function init_triangles_smooth_uv( start ) { @@ -674,7 +674,7 @@ THREE.BinaryLoader.prototype.createBinModel = function ( data, callback, texture } - }; + } function init_quads_flat( start ) { @@ -687,7 +687,7 @@ THREE.BinaryLoader.prototype.createBinModel = function ( data, callback, texture } - }; + } function init_quads_flat_uv( start ) { @@ -703,7 +703,7 @@ THREE.BinaryLoader.prototype.createBinModel = function ( data, callback, texture } - }; + } function init_quads_smooth( start ) { @@ -718,7 +718,7 @@ THREE.BinaryLoader.prototype.createBinModel = function ( data, callback, texture } - }; + } function init_quads_smooth_uv( start ) { @@ -735,7 +735,7 @@ THREE.BinaryLoader.prototype.createBinModel = function ( data, callback, texture } - }; + } };
true
Other
mrdoob
three.js
b0f0c3bd1ad3adf88cf333ecc610282682f52be5.json
Remove unnecessary semicolons
examples/js/loaders/ColladaLoader.js
@@ -442,7 +442,7 @@ THREE.ColladaLoader = function () { geometry.morphTargets.push( { name: "target_Z", vertices: geometry.vertices } ); - }; + } function createSkin ( geometry, ctrl, applyBindShape ) { @@ -826,7 +826,7 @@ THREE.ColladaLoader = function () { } - }; + } function createKinematics() { @@ -1031,7 +1031,7 @@ THREE.ColladaLoader = function () { } } - }; + } function createSceneGraph ( node, parent ) { @@ -1325,7 +1325,7 @@ THREE.ColladaLoader = function () { return obj; - }; + } function getJointId( skin, id ) { @@ -1339,7 +1339,7 @@ THREE.ColladaLoader = function () { } - }; + } function getLibraryNode( id ) { @@ -1359,7 +1359,7 @@ THREE.ColladaLoader = function () { return undefined; - }; + } function getChannelsForNode ( node ) { @@ -1400,7 +1400,7 @@ THREE.ColladaLoader = function () { return channels; - }; + } function calcFrameDuration( node ) { @@ -1421,7 +1421,7 @@ THREE.ColladaLoader = function () { return minT; - }; + } function calcMatrixAt( node, t ) { @@ -1490,7 +1490,7 @@ THREE.ColladaLoader = function () { return matrix; - }; + } function bakeAnimations ( node ) { @@ -1582,7 +1582,7 @@ THREE.ColladaLoader = function () { } - }; + } function findKey ( keys, time) { @@ -1606,7 +1606,7 @@ THREE.ColladaLoader = function () { return retVal; - }; + } function findTimeNdx ( keys, time) { @@ -1626,7 +1626,7 @@ THREE.ColladaLoader = function () { return ndx; - }; + } function interpolateKeys ( keys, key, ndx, fullSid ) { @@ -1665,7 +1665,7 @@ THREE.ColladaLoader = function () { } - }; + } // Get next key with given sid @@ -1685,7 +1685,7 @@ THREE.ColladaLoader = function () { return null; - }; + } // Get previous key with given sid @@ -1707,14 +1707,14 @@ THREE.ColladaLoader = function () { return null; - }; + } function _Image() { this.id = ""; this.init_from = ""; - }; + } _Image.prototype.parse = function(element) { @@ -1744,7 +1744,7 @@ THREE.ColladaLoader = function () { this.skin = null; this.morph = null; - }; + } Controller.prototype.parse = function( element ) { @@ -1787,7 +1787,7 @@ THREE.ColladaLoader = function () { this.targets = null; this.weights = null; - }; + } Morph.prototype.parse = function( element ) { @@ -1885,7 +1885,7 @@ THREE.ColladaLoader = function () { this.joints = []; this.weights = []; - }; + } Skin.prototype.parse = function( element ) { @@ -2066,7 +2066,7 @@ THREE.ColladaLoader = function () { this.nodes = []; this.scene = new THREE.Group(); - }; + } VisualScene.prototype.getChildById = function( id, recursive ) { @@ -2145,7 +2145,7 @@ THREE.ColladaLoader = function () { this.channels = []; this.matrix = new THREE.Matrix4(); - }; + } Node.prototype.getChannelForTransform = function( transformSid ) { @@ -2374,7 +2374,7 @@ THREE.ColladaLoader = function () { this.data = []; this.obj = null; - }; + } Transform.prototype.parse = function ( element ) { @@ -2613,7 +2613,7 @@ THREE.ColladaLoader = function () { this.skeleton = []; this.instance_material = []; - }; + } InstanceController.prototype.parse = function ( element ) { @@ -2665,7 +2665,7 @@ THREE.ColladaLoader = function () { this.symbol = ""; this.target = ""; - }; + } InstanceMaterial.prototype.parse = function ( element ) { @@ -2680,7 +2680,7 @@ THREE.ColladaLoader = function () { this.url = ""; this.instance_material = []; - }; + } InstanceGeometry.prototype.parse = function ( element ) { @@ -2718,7 +2718,7 @@ THREE.ColladaLoader = function () { this.id = ""; this.mesh = null; - }; + } Geometry.prototype.parse = function ( element ) { @@ -2758,7 +2758,7 @@ THREE.ColladaLoader = function () { this.vertices = null; this.geometry3js = null; - }; + } Mesh.prototype.parse = function ( element ) { @@ -3117,7 +3117,7 @@ THREE.ColladaLoader = function () { this.p = []; this.geometry = new THREE.Geometry(); - }; + } Polygons.prototype.setVertices = function ( vertices ) { @@ -3181,7 +3181,7 @@ THREE.ColladaLoader = function () { this.vcount = []; - }; + } Polylist.prototype = Object.create( Polygons.prototype ); Polylist.prototype.constructor = Polylist; @@ -3192,7 +3192,7 @@ THREE.ColladaLoader = function () { this.vcount = 1; - }; + } LineStrips.prototype = Object.create( Polygons.prototype ); LineStrips.prototype.constructor = LineStrips; @@ -3203,7 +3203,7 @@ THREE.ColladaLoader = function () { this.vcount = 3; - }; + } Triangles.prototype = Object.create( Polygons.prototype ); Triangles.prototype.constructor = Triangles; @@ -3215,7 +3215,7 @@ THREE.ColladaLoader = function () { this.stride = 0; this.params = []; - }; + } Accessor.prototype.parse = function ( element ) { @@ -3247,7 +3247,7 @@ THREE.ColladaLoader = function () { this.input = {}; - }; + } Vertices.prototype.parse = function ( element ) { @@ -3275,7 +3275,7 @@ THREE.ColladaLoader = function () { this.source = ""; this.set = 0; - }; + } Input.prototype.parse = function ( element ) { @@ -3299,7 +3299,7 @@ THREE.ColladaLoader = function () { this.id = id; this.type = null; - }; + } Source.prototype.parse = function ( element ) { @@ -3409,7 +3409,7 @@ THREE.ColladaLoader = function () { this.name = ""; this.instance_effect = null; - }; + } Material.prototype.parse = function ( element ) { @@ -3441,7 +3441,7 @@ THREE.ColladaLoader = function () { this.texcoord = null; this.texOpts = null; - }; + } ColorOrTexture.prototype.isColor = function () { @@ -3575,7 +3575,7 @@ THREE.ColladaLoader = function () { this.effect = effect; this.material = null; - }; + } Shader.prototype.parse = function ( element ) { @@ -3817,7 +3817,7 @@ THREE.ColladaLoader = function () { this.init_from = null; this.format = null; - }; + } Surface.prototype.parse = function ( element ) { @@ -3861,7 +3861,7 @@ THREE.ColladaLoader = function () { this.magfilter = null; this.mipfilter = null; - }; + } Sampler2D.prototype.parse = function ( element ) { @@ -3923,7 +3923,7 @@ THREE.ColladaLoader = function () { this.surface = {}; this.sampler = {}; - }; + } Effect.prototype.create = function () { @@ -4126,7 +4126,7 @@ THREE.ColladaLoader = function () { this.url = ""; - }; + } InstanceEffect.prototype.parse = function ( element ) { @@ -4143,7 +4143,7 @@ THREE.ColladaLoader = function () { this.sampler = []; this.channel = []; - }; + } Animation.prototype.parse = function ( element ) { @@ -4217,7 +4217,7 @@ THREE.ColladaLoader = function () { this.arrIndices = null; this.member = null; - }; + } Channel.prototype.parse = function ( element ) { @@ -4278,7 +4278,7 @@ THREE.ColladaLoader = function () { this.endTime = null; this.duration = 0; - }; + } Sampler.prototype.parse = function ( element ) { @@ -4433,7 +4433,7 @@ THREE.ColladaLoader = function () { this.targets = []; this.time = time; - }; + } Key.prototype.addTarget = function ( fullSid, transform, member, data ) { @@ -4547,7 +4547,7 @@ THREE.ColladaLoader = function () { this.name = ""; this.technique = ""; - }; + } Camera.prototype.parse = function ( element ) { @@ -4665,7 +4665,7 @@ THREE.ColladaLoader = function () { this.url = ""; - }; + } InstanceCamera.prototype.parse = function ( element ) { @@ -4683,7 +4683,7 @@ THREE.ColladaLoader = function () { this.name = ""; this.technique = ""; - }; + } Light.prototype.parse = function ( element ) { @@ -4794,7 +4794,7 @@ THREE.ColladaLoader = function () { this.url = ""; - }; + } InstanceLight.prototype.parse = function ( element ) { @@ -5042,7 +5042,7 @@ THREE.ColladaLoader = function () { sources[ id ] = ( new Source(id )).parse( element ); return sources[ id ]; - }; + } function _nsResolver( nsPrefix ) { @@ -5054,7 +5054,7 @@ THREE.ColladaLoader = function () { return null; - }; + } function _bools( str ) { @@ -5069,7 +5069,7 @@ THREE.ColladaLoader = function () { return data; - }; + } function _floats( str ) { @@ -5084,7 +5084,7 @@ THREE.ColladaLoader = function () { return data; - }; + } function _ints( str ) { @@ -5099,19 +5099,19 @@ THREE.ColladaLoader = function () { return data; - }; + } function _strings( str ) { return ( str.length > 0 ) ? _trimString( str ).split( /\s+/ ) : []; - }; + } function _trimString( str ) { return str.replace( /^\s+/, "" ).replace( /\s+$/, "" ); - }; + } function _attr_as_float( element, name, defaultValue ) { @@ -5125,7 +5125,7 @@ THREE.ColladaLoader = function () { } - }; + } function _attr_as_int( element, name, defaultValue ) { @@ -5139,7 +5139,7 @@ THREE.ColladaLoader = function () { } - }; + } function _attr_as_string( element, name, defaultValue ) { @@ -5153,7 +5153,7 @@ THREE.ColladaLoader = function () { } - }; + } function _format_float( f, num ) { @@ -5184,7 +5184,7 @@ THREE.ColladaLoader = function () { return parts.join( '.' ); - }; + } function loadTextureImage ( texture, url ) { @@ -5197,7 +5197,7 @@ THREE.ColladaLoader = function () { } ); - }; + } function extractDoubleSided( obj, element ) { @@ -5215,7 +5215,7 @@ THREE.ColladaLoader = function () { } - }; + } // Up axis conversion @@ -5248,7 +5248,7 @@ THREE.ColladaLoader = function () { } - }; + } function fixCoords( data, sign ) { @@ -5306,7 +5306,7 @@ THREE.ColladaLoader = function () { } - }; + } function getConvertedTranslation( axis, data ) { @@ -5331,15 +5331,15 @@ THREE.ColladaLoader = function () { } return data; - }; + } function getConvertedVec3( data, offset ) { var arr = [ data[ offset ], data[ offset + 1 ], data[ offset + 2 ] ]; fixCoords( arr, -1 ); return new THREE.Vector3( arr[ 0 ], arr[ 1 ], arr[ 2 ] ); - }; + } function getConvertedMat4( data ) { @@ -5396,7 +5396,7 @@ THREE.ColladaLoader = function () { data[12], data[13], data[14], data[15] ); - }; + } function getConvertedIndex( index ) { @@ -5412,7 +5412,7 @@ THREE.ColladaLoader = function () { return index; - }; + } function getConvertedMember( member ) { @@ -5488,7 +5488,7 @@ THREE.ColladaLoader = function () { return member; - }; + } return {
true
Other
mrdoob
three.js
b0f0c3bd1ad3adf88cf333ecc610282682f52be5.json
Remove unnecessary semicolons
examples/js/loaders/TGALoader.js
@@ -228,7 +228,7 @@ THREE.TGALoader.prototype._parser = function ( buffer ) { return imageData; - }; + } function tgaGetImageData16bits(imageData, y_start, y_step, y_end, x_start, x_step, x_end, image) { @@ -247,7 +247,7 @@ THREE.TGALoader.prototype._parser = function ( buffer ) { return imageData; - }; + } function tgaGetImageData24bits(imageData, y_start, y_step, y_end, x_start, x_step, x_end, image) { @@ -265,7 +265,7 @@ THREE.TGALoader.prototype._parser = function ( buffer ) { return imageData; - }; + } function tgaGetImageData32bits(imageData, y_start, y_step, y_end, x_start, x_step, x_end, image) { @@ -283,7 +283,7 @@ THREE.TGALoader.prototype._parser = function ( buffer ) { return imageData; - }; + } function tgaGetImageDataGrey8bits( imageData, y_start, y_step, y_end, x_start, x_step, x_end, image ) { @@ -302,7 +302,7 @@ THREE.TGALoader.prototype._parser = function ( buffer ) { return imageData; - }; + } function tgaGetImageDataGrey16bits(imageData, y_start, y_step, y_end, x_start, x_step, x_end, image) { @@ -320,7 +320,7 @@ THREE.TGALoader.prototype._parser = function ( buffer ) { return imageData; - }; + } function getTgaRGBA( width, height, image, palette ) {
true
Other
mrdoob
three.js
b0f0c3bd1ad3adf88cf333ecc610282682f52be5.json
Remove unnecessary semicolons
examples/js/loaders/UTF8Loader.js
@@ -577,7 +577,7 @@ THREE.UTF8Loader.prototype.downloadMesh = function ( path, name, meshEntry, deco } - }; + } getHttpRequest( path, function( req, e ) {
true
Other
mrdoob
three.js
b0f0c3bd1ad3adf88cf333ecc610282682f52be5.json
Remove unnecessary semicolons
examples/js/loaders/deprecated/SceneLoader.js
@@ -155,7 +155,7 @@ THREE.SceneLoader.prototype = { } - }; + } // toplevel loader function, delegates to handle_children @@ -515,15 +515,15 @@ THREE.SceneLoader.prototype = { } - }; + } function handle_mesh( geo, mat, id ) { result.geometries[ id ] = geo; result.face_materials[ id ] = mat; handle_objects(); - }; + } function handle_hierarchy( node, id, parent, material, obj ) { @@ -577,7 +577,7 @@ THREE.SceneLoader.prototype = { result.objects[ id ] = node; handle_objects(); - }; + } function create_callback_geometry( id ) { @@ -595,7 +595,7 @@ THREE.SceneLoader.prototype = { } - }; + } function create_callback_hierachy( id, parent, material, obj ) { @@ -634,7 +634,7 @@ THREE.SceneLoader.prototype = { } - }; + } function create_callback_embed( id ) { @@ -647,7 +647,7 @@ THREE.SceneLoader.prototype = { } - }; + } function async_callback_gate() { @@ -671,7 +671,7 @@ THREE.SceneLoader.prototype = { } - }; + } function finalize() { @@ -702,7 +702,7 @@ THREE.SceneLoader.prototype = { } - }; + } var callbackTexture = function ( count ) { @@ -740,7 +740,7 @@ THREE.SceneLoader.prototype = { } - }; + } // first go synchronous elements
true
Other
mrdoob
three.js
b0f0c3bd1ad3adf88cf333ecc610282682f52be5.json
Remove unnecessary semicolons
examples/js/renderers/WebGLDeferredRenderer.js
@@ -966,7 +966,7 @@ THREE.WebGLDeferredRenderer = function ( parameters ) { } - }; + } this.render = function ( scene, camera ) {
true
Other
mrdoob
three.js
b0f0c3bd1ad3adf88cf333ecc610282682f52be5.json
Remove unnecessary semicolons
examples/js/renderers/plugins/DepthPassPlugin.js
@@ -225,6 +225,6 @@ THREE.DepthPassPlugin = function () { ? object.material.materials[ 0 ] : object.material; - }; + } };
true
Other
mrdoob
three.js
b0f0c3bd1ad3adf88cf333ecc610282682f52be5.json
Remove unnecessary semicolons
examples/js/wip/ProxyGeometry.js
@@ -578,7 +578,7 @@ THREE.ProxyGeometry.prototype.mergeVertices = function () { } - }; + } // if faces are completely degenerate after merging vertices, we
true
Other
mrdoob
three.js
b0f0c3bd1ad3adf88cf333ecc610282682f52be5.json
Remove unnecessary semicolons
examples/misc_controls_fly.html
@@ -240,7 +240,7 @@ composer.addPass( renderModel ); composer.addPass( effectFilm ); - }; + } function onWindowResize( event ) { @@ -254,7 +254,7 @@ composer.reset(); - }; + } function animate() { @@ -263,7 +263,7 @@ render(); stats.update(); - }; + } function render() { @@ -297,7 +297,7 @@ renderer.clear(); composer.render( delta ); - }; + } </script> </body>
true
Other
mrdoob
three.js
b0f0c3bd1ad3adf88cf333ecc610282682f52be5.json
Remove unnecessary semicolons
examples/misc_fps.html
@@ -227,7 +227,7 @@ uniforms : skyboxShader.uniforms, depthWrite : false, side : THREE.BackSide }) ); - }; + } function makePlatform( jsonUrl, textureUrl, textureQuality ) { var placeholder = new THREE.Object3D(); @@ -249,7 +249,7 @@ }); return placeholder; - }; + } var renderer = new THREE.WebGLRenderer({ antialias : true }); renderer.setPixelRatio( window.devicePixelRatio );
true
Other
mrdoob
three.js
b0f0c3bd1ad3adf88cf333ecc610282682f52be5.json
Remove unnecessary semicolons
examples/webgl_camera.html
@@ -176,7 +176,7 @@ } - }; + } //
true
Other
mrdoob
three.js
b0f0c3bd1ad3adf88cf333ecc610282682f52be5.json
Remove unnecessary semicolons
examples/webgl_decals.html
@@ -296,7 +296,7 @@ } ); decals = []; - }; + } function mergeDecals() {
true
Other
mrdoob
three.js
b0f0c3bd1ad3adf88cf333ecc610282682f52be5.json
Remove unnecessary semicolons
examples/webgl_geometry_extrude_shapes2.html
@@ -407,7 +407,7 @@ camera.updateProjectionMatrix(); renderer.setSize( window.innerWidth, window.innerHeight ); - }; + } function onDocumentMouseDown( event ) { @@ -419,28 +419,28 @@ mouseXOnMouseDown = event.clientX - windowHalfX; targetRotationOnMouseDown = targetRotation; - }; + } function onDocumentMouseMove( event ) { mouseX = event.clientX - windowHalfX; targetRotation = targetRotationOnMouseDown + ( mouseX - mouseXOnMouseDown ) * 0.02; - }; + } function onDocumentMouseUp( event ) { document.removeEventListener( 'mousemove', onDocumentMouseMove, false ); document.removeEventListener( 'mouseup', onDocumentMouseUp, false ); document.removeEventListener( 'mouseout', onDocumentMouseOut, false ); - }; + } function onDocumentMouseOut( event ) { document.removeEventListener( 'mousemove', onDocumentMouseMove, false ); document.removeEventListener( 'mouseup', onDocumentMouseUp, false ); document.removeEventListener( 'mouseout', onDocumentMouseOut, false ); - }; + } function onDocumentTouchStart( event ) { @@ -451,7 +451,7 @@ mouseXOnMouseDown = event.touches[ 0 ].pageX - windowHalfX; targetRotationOnMouseDown = targetRotation; } - }; + } function onDocumentTouchMove( event ) { @@ -462,7 +462,7 @@ mouseX = event.touches[ 0 ].pageX - windowHalfX; targetRotation = targetRotationOnMouseDown + ( mouseX - mouseXOnMouseDown ) * 0.05; } - }; + } function animate() { @@ -471,13 +471,13 @@ render(); stats.update(); - }; + } function render() { group.rotation.y += ( targetRotation - group.rotation.y ) * 0.05; renderer.render( scene, camera ); - }; + } </script>
true
Other
mrdoob
three.js
b0f0c3bd1ad3adf88cf333ecc610282682f52be5.json
Remove unnecessary semicolons
examples/webgl_materials_cubemap_dynamic.html
@@ -791,7 +791,7 @@ } - }; + } function onKeyUp ( event ) { @@ -811,7 +811,7 @@ } - }; + } //
true
Other
mrdoob
three.js
b0f0c3bd1ad3adf88cf333ecc610282682f52be5.json
Remove unnecessary semicolons
examples/webgl_morphtargets_md2_control.html
@@ -300,7 +300,7 @@ } - }; + } function onKeyUp ( event ) { @@ -324,7 +324,7 @@ } - }; + } //
true
Other
mrdoob
three.js
b0f0c3bd1ad3adf88cf333ecc610282682f52be5.json
Remove unnecessary semicolons
examples/webgl_objects_update.html
@@ -175,7 +175,7 @@ } object.geometry.groupsNeedUpdate = true; - }; + } function render() { @@ -191,7 +191,7 @@ scene.add(objectToggleAddRemove); - }; + } } else { @@ -202,9 +202,9 @@ scene.remove(objectToggleAddRemove); - }; + } - }; + } camera.lookAt( scene.position );
true
Other
mrdoob
three.js
b0f0c3bd1ad3adf88cf333ecc610282682f52be5.json
Remove unnecessary semicolons
examples/webgl_particles_shapes.html
@@ -432,7 +432,7 @@ pointLight.color.setHSL( hue, 0.8, 0.5 ); - }; + } };
true
Other
mrdoob
three.js
b0f0c3bd1ad3adf88cf333ecc610282682f52be5.json
Remove unnecessary semicolons
examples/webgl_shaders_sky.html
@@ -125,7 +125,7 @@ gui.add( effectController, "reileigh", 0.0, 4, 0.001 ).onChange( guiChanged ); gui.add( effectController, "mieCoefficient", 0.0, 0.1, 0.001 ).onChange( guiChanged ); gui.add( effectController, "mieDirectionalG", 0.0, 1, 0.001 ).onChange( guiChanged ); - gui.add( effectController, "luminance", 0.0, 2).onChange( guiChanged );; + gui.add( effectController, "luminance", 0.0, 2).onChange( guiChanged ); gui.add( effectController, "inclination", 0, 1, 0.0001).onChange( guiChanged ); gui.add( effectController, "azimuth", 0, 1, 0.0001).onChange( guiChanged ); gui.add( effectController, "sun").onChange( guiChanged );
true
Other
mrdoob
three.js
b0f0c3bd1ad3adf88cf333ecc610282682f52be5.json
Remove unnecessary semicolons
examples/webgl_sprites.html
@@ -136,7 +136,7 @@ updateHUDSprites(); - }; + } function updateHUDSprites () { @@ -154,7 +154,7 @@ spriteBR.position.set( width - imageWidth, - height + imageHeight, 1 ); // bottom right spriteC.position.set( 0, 0, 1 ); // center - }; + } function onWindowResize() {
true
Other
mrdoob
three.js
b0f0c3bd1ad3adf88cf333ecc610282682f52be5.json
Remove unnecessary semicolons
examples/webgl_terrain_dynamic.html
@@ -588,7 +588,7 @@ } - }; + } // @@ -613,7 +613,7 @@ renderer.render( sceneTmp, cameraOrtho, target, true ); - }; + } //
true
Other
mrdoob
three.js
b0f0c3bd1ad3adf88cf333ecc610282682f52be5.json
Remove unnecessary semicolons
src/core/Geometry.js
@@ -739,7 +739,7 @@ THREE.Geometry.prototype = { } - }; + } // if faces are completely degenerate after merging vertices, we
true
Other
mrdoob
three.js
b0f0c3bd1ad3adf88cf333ecc610282682f52be5.json
Remove unnecessary semicolons
src/core/Object3D.js
@@ -309,7 +309,7 @@ THREE.Object3D.prototype = { return this; - }; + } if ( object === this ) { @@ -351,7 +351,7 @@ THREE.Object3D.prototype = { } - }; + } var index = this.children.indexOf( object );
true
Other
mrdoob
three.js
b0f0c3bd1ad3adf88cf333ecc610282682f52be5.json
Remove unnecessary semicolons
src/extras/FontUtils.js
@@ -41,7 +41,7 @@ THREE.FontUtils = { throw "The font " + this.face + " with " + this.weight + " weight and " + this.style + " style is missing." - }; + } },
true
Other
mrdoob
three.js
b0f0c3bd1ad3adf88cf333ecc610282682f52be5.json
Remove unnecessary semicolons
src/extras/core/CurvePath.js
@@ -111,7 +111,7 @@ THREE.CurvePath.prototype.getCurveLengths = function() { return this.cacheLengths; - }; + } // Get length of subsurve // Push sums into cached array
true
Other
mrdoob
three.js
b0f0c3bd1ad3adf88cf333ecc610282682f52be5.json
Remove unnecessary semicolons
src/extras/core/Path.js
@@ -45,7 +45,7 @@ THREE.Path.prototype.fromPoints = function ( vectors ) { this.lineTo( vectors[ v ].x, vectors[ v ].y ); - }; + } }; @@ -508,7 +508,7 @@ THREE.Path.prototype.toShapes = function( isCCW, noHoles ) { //THREE.log("shape", shapes); return shapes; - }; + } function isPointInsidePolygon( inPt, inPolygon ) { var EPSILON = 0.0000000001;
true
Other
mrdoob
three.js
b0f0c3bd1ad3adf88cf333ecc610282682f52be5.json
Remove unnecessary semicolons
src/loaders/JSONLoader.js
@@ -421,7 +421,7 @@ THREE.JSONLoader.prototype.parse = function ( json, texturePath ) { } - }; + } function parseSkin() { var influencesPerVertex = ( json.influencesPerVertex !== undefined ) ? json.influencesPerVertex : 2; @@ -471,7 +471,7 @@ THREE.JSONLoader.prototype.parse = function ( json, texturePath ) { geometry.animation = json.animation; geometry.animations = json.animations; - }; + } function parseMorphing( scale ) { @@ -528,7 +528,7 @@ THREE.JSONLoader.prototype.parse = function ( json, texturePath ) { } - }; + } if ( json.materials === undefined || json.materials.length === 0 ) {
true
Other
mrdoob
three.js
b0f0c3bd1ad3adf88cf333ecc610282682f52be5.json
Remove unnecessary semicolons
src/math/Spline.js
@@ -171,6 +171,6 @@ THREE.Spline = function ( points ) { return ( 2 * ( p1 - p2 ) + v0 + v1 ) * t3 + ( - 3 * ( p1 - p2 ) - 2 * v0 - v1 ) * t2 + v0 * t + p1; - }; + } };
true
Other
mrdoob
three.js
b0f0c3bd1ad3adf88cf333ecc610282682f52be5.json
Remove unnecessary semicolons
src/renderers/webgl/WebGLBuffers.js
@@ -51,7 +51,7 @@ THREE.WebGLBuffers = function ( gl, info, extensions, getBufferMaterial ) { } - }; + } this.initPointCloudBuffers = function ( geometry, object ) {
true
Other
mrdoob
three.js
b0f0c3bd1ad3adf88cf333ecc610282682f52be5.json
Remove unnecessary semicolons
src/renderers/webgl/WebGLObjects.js
@@ -158,7 +158,7 @@ THREE.WebGLObjects = function ( gl, info, extensions, getBufferMaterial ) { } ); - }; + } function addBufferImmediate( objlist, object ) { @@ -172,7 +172,7 @@ THREE.WebGLObjects = function ( gl, info, extensions, getBufferMaterial ) { } ); - }; + } // @@ -213,7 +213,7 @@ THREE.WebGLObjects = function ( gl, info, extensions, getBufferMaterial ) { } ); - }; + } function removeObject( object ) { @@ -261,7 +261,7 @@ THREE.WebGLObjects = function ( gl, info, extensions, getBufferMaterial ) { deallocateGeometry( geometry ); - }; + } function deallocateGeometry( geometry ) { @@ -333,7 +333,7 @@ THREE.WebGLObjects = function ( gl, info, extensions, getBufferMaterial ) { } - }; + } //
true
Other
mrdoob
three.js
b0f0c3bd1ad3adf88cf333ecc610282682f52be5.json
Remove unnecessary semicolons
src/renderers/webgl/WebGLShadowMap.js
@@ -528,6 +528,6 @@ THREE.WebGLShadowMap = function ( _renderer, _lights, _objects ) { ? object.material.materials[ 0 ] : object.material; - }; + } };
true
Other
mrdoob
three.js
b0f0c3bd1ad3adf88cf333ecc610282682f52be5.json
Remove unnecessary semicolons
src/renderers/webgl/plugins/SpritePlugin.js
@@ -345,7 +345,7 @@ THREE.SpritePlugin = function ( renderer, sprites ) { return program; - }; + } function painterSortStable ( a, b ) { @@ -359,6 +359,6 @@ THREE.SpritePlugin = function ( renderer, sprites ) { } - }; + } };
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/canvas_geometry_birds.html
@@ -55,21 +55,21 @@ _goal = target; - } + }; this.setAvoidWalls = function ( value ) { _avoidWalls = value; - } + }; this.setWorldSize = function ( width, height, depth ) { _width = width; _height = height; _depth = depth; - } + }; this.run = function ( boids ) { @@ -120,7 +120,7 @@ this.move(); - } + }; this.flock = function ( boids ) { @@ -134,7 +134,7 @@ _acceleration.add( this.cohesion( boids ) ); _acceleration.add( this.separation( boids ) ); - } + }; this.move = function () { @@ -151,7 +151,7 @@ this.position.add( this.velocity ); _acceleration.set( 0, 0, 0 ); - } + }; this.checkBounds = function () { @@ -162,7 +162,7 @@ if ( this.position.z > _depth ) this.position.z = - _depth; if ( this.position.z < - _depth ) this.position.z = _depth; - } + }; // @@ -177,7 +177,7 @@ return steer; - } + }; this.repulse = function ( target ) { @@ -194,7 +194,7 @@ } - } + }; this.reach = function ( target, amount ) { @@ -205,7 +205,7 @@ return steer; - } + }; this.alignment = function ( boids ) { @@ -245,7 +245,7 @@ return velSum; - } + }; this.cohesion = function ( boids ) { @@ -288,7 +288,7 @@ return steer; - } + }; this.separation = function ( boids ) {
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/canvas_interactive_particles.html
@@ -38,7 +38,7 @@ context.arc( 0, 0, 0.5, 0, PI2, true ); context.fill(); - } + }; var programStroke = function ( context ) { @@ -47,7 +47,7 @@ context.arc( 0, 0, 0.5, 0, PI2, true ); context.stroke(); - } + }; var INTERSECTED;
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/canvas_lights_pointlights.html
@@ -80,7 +80,7 @@ context.arc( 0, 0, 0.5, 0, PI2, true ); context.fill(); - } + }; var sprite = new THREE.Sprite( new THREE.SpriteCanvasMaterial( { color: 0xff0040, program: program } ) ); light1.add( sprite );
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/canvas_materials.html
@@ -106,7 +106,7 @@ context.arc( 0, 0, 0.5, 0, PI2, true ); context.fill(); - } + }; // Lights @@ -167,7 +167,7 @@ function loadImage( path ) { var image = document.createElement( 'img' ); - var texture = new THREE.Texture( image, THREE.UVMapping ) + var texture = new THREE.Texture( image, THREE.UVMapping ); image.onload = function () { texture.needsUpdate = true; }; image.src = path;
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/canvas_materials_video.html
@@ -140,7 +140,7 @@ particle = new THREE.Sprite( material ); particle.position.x = ix * separation - ( ( amountx * separation ) / 2 ); - particle.position.y = -153 + particle.position.y = -153; particle.position.z = iy * separation - ( ( amounty * separation ) / 2 ); particle.scale.x = particle.scale.y = 2; scene.add( particle );
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/canvas_particles_random.html
@@ -54,7 +54,7 @@ context.arc( 0, 0, 0.5, 0, PI2, true ); context.fill(); - } + }; group = new THREE.Group(); scene.add( group );
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/canvas_particles_shapes.html
@@ -154,7 +154,7 @@ context.lineWidth = 0.5; //0.05 context.stroke(); - } + }; var setTargetParticle = function() {
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/canvas_particles_sprites.html
@@ -120,7 +120,7 @@ var particle = this instanceof THREE.Sprite ? this : particle; var delay = delay !== undefined ? delay : 0; - particle.position.set( 0, 0, 0 ) + particle.position.set( 0, 0, 0 ); particle.scale.x = particle.scale.y = Math.random() * 32 + 16; new TWEEN.Tween( particle )
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/css3d_sprites.html
@@ -71,7 +71,7 @@ var object = new THREE.CSS3DSprite( image.cloneNode() ); object.position.x = Math.random() * 4000 - 2000, object.position.y = Math.random() * 4000 - 2000, - object.position.z = Math.random() * 4000 - 2000 + object.position.z = Math.random() * 4000 - 2000; scene.add( object ); objects.push( object );
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/js/AudioObject.js
@@ -154,7 +154,7 @@ THREE.AudioObject = function ( url, volume, playbackRate, loop ) { _this.source.buffer = _this.context.createBuffer( request.response, true ); _this.source.noteOn( 0 ); - } + }; request.send();
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/js/BlendCharacter.js
@@ -124,7 +124,7 @@ THREE.BlendCharacter = function () { } - } + }; this.play = function(animName, weight) { @@ -231,13 +231,13 @@ THREE.BlendCharacter = function () { this.weightSchedule.length = 0; this.warpSchedule.length = 0; - } + }; this.showSkeleton = function( boolean ) { this.skeletonHelper.visible = boolean; - } + }; this.showModel = function( boolean ) { @@ -266,5 +266,5 @@ THREE.BlendCharacter.prototype.getForward = function() { return forward; } -} +};
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/js/BlendCharacterGui.js
@@ -78,7 +78,7 @@ function BlendCharacterGui(animations) { playback.open(); blending.open(); - } + }; var getAnimationData = function() { @@ -94,7 +94,7 @@ function BlendCharacterGui(animations) { } }; - } + }; controls.start = function() { @@ -144,7 +144,7 @@ function BlendCharacterGui(animations) { fadeData.detail.time = controls[ "Crossfade Time" ]; window.dispatchEvent( new CustomEvent( 'crossfade', fadeData ) ); - } + }; controls.warp = function( from, to ) { @@ -154,7 +154,7 @@ function BlendCharacterGui(animations) { warpData.detail.time = controls[ "Crossfade Time" ]; window.dispatchEvent( new CustomEvent( 'warp', warpData ) ); - } + }; controls['idle to walk'] = function() { @@ -180,21 +180,21 @@ function BlendCharacterGui(animations) { detail: { shouldLock: controls['Lock Camera'] } - } + }; window.dispatchEvent( new CustomEvent( 'toggle-lock-camera', data ) ); - } + }; controls.showSkeletonChanged = function() { var data = { detail: { shouldShow: controls['Show Skeleton'] } - } + }; window.dispatchEvent( new CustomEvent( 'toggle-show-skeleton', data ) ); - } + }; controls.showModelChanged = function() { @@ -203,10 +203,10 @@ function BlendCharacterGui(animations) { detail: { shouldShow: controls['Show Model'] } - } + }; window.dispatchEvent( new CustomEvent( 'toggle-show-model', data ) ); - } + }; init.call(this);
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/js/Cloth.js
@@ -86,7 +86,7 @@ Particle.prototype.integrate = function(timesq) { this.position = newPos; this.a.set(0, 0, 0); -} +}; var diff = new THREE.Vector3(); @@ -243,7 +243,7 @@ function simulate(time) { ballPosition.z = -Math.sin(Date.now() / 600) * 90 ; //+ 40; - ballPosition.x = Math.cos(Date.now() / 400) * 70 + ballPosition.x = Math.cos(Date.now() / 400) * 70; if (sphere.visible) for (particles = cloth.particles, i = 0, il = particles.length
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/js/CurveExtras.js
@@ -217,7 +217,7 @@ var scaleTo = function(x, y, t) { var r = y - x; return t * r + x; -} +}; THREE.Curves.FigureEightPolynomialKnot = THREE.Curve.create(
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/js/ImprovedNoise.js
@@ -68,4 +68,4 @@ var ImprovedNoise = function () { } } -} +};
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/js/MD2Character.js
@@ -29,7 +29,7 @@ THREE.MD2Character = function () { this.loadCounter = config.weapons.length * 2 + config.skins.length + 1; - var weaponsTextures = [] + var weaponsTextures = []; for ( var i = 0; i < config.weapons.length; i ++ ) weaponsTextures[ i ] = config.weapons[ i ][ 1 ]; // SKINS @@ -79,7 +79,7 @@ THREE.MD2Character = function () { } - } + }; for ( var i = 0; i < config.weapons.length; i ++ ) {
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/js/MD2CharacterComplex.js
@@ -142,7 +142,7 @@ THREE.MD2CharacterComplex = function () { this.loadCounter = config.weapons.length * 2 + config.skins.length + 1; - var weaponsTextures = [] + var weaponsTextures = []; for ( var i = 0; i < config.weapons.length; i ++ ) weaponsTextures[ i ] = config.weapons[ i ][ 1 ]; // SKINS @@ -193,7 +193,7 @@ THREE.MD2CharacterComplex = function () { } - } + }; for ( var i = 0; i < config.weapons.length; i ++ ) {
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/js/MarchingCubes.js
@@ -794,7 +794,7 @@ THREE.edgeTable = new Int32Array([ 0xe90, 0xf99, 0xc93, 0xd9a, 0xa96, 0xb9f, 0x895, 0x99c, 0x69c, 0x795, 0x49f, 0x596, 0x29a, 0x393, 0x99, 0x190, 0xf00, 0xe09, 0xd03, 0xc0a, 0xb06, 0xa0f, 0x905, 0x80c, -0x70c, 0x605, 0x50f, 0x406, 0x30a, 0x203, 0x109, 0x0 ]) +0x70c, 0x605, 0x50f, 0x406, 0x30a, 0x203, 0x109, 0x0 ]); THREE.triTable = new Int32Array([ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/js/SimplexNoise.js
@@ -55,7 +55,7 @@ SimplexNoise.prototype.dot = function(g, x, y) { SimplexNoise.prototype.dot3 = function(g, x, y, z) { return g[0] * x + g[1] * y + g[2] * z; -} +}; SimplexNoise.prototype.dot4 = function(g, x, y, z, w) { return g[0] * x + g[1] * y + g[2] * z + g[3] * w;
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/js/SimulationRenderer.js
@@ -130,7 +130,7 @@ function SimulationRenderer(WIDTH, renderer) { mesh.material = passThruShader; uniforms.texture.value = input; renderer.render( scene, camera, output ); - } + }; this.renderPosition = function(position, velocity, output, delta) { @@ -141,7 +141,7 @@ function SimulationRenderer(WIDTH, renderer) { positionShader.uniforms.delta.value = delta; renderer.render( scene, camera, output ); this.currentPosition = output; - } + }; this.renderVelocity = function(position, velocity, output, delta) { mesh.material = velocityShader; @@ -151,7 +151,7 @@ function SimulationRenderer(WIDTH, renderer) { velocityShader.uniforms.delta.value = delta; renderer.render( scene, camera, output ); this.currentVelocity = output; - } + }; this.simulate = function( delta ) { @@ -169,7 +169,7 @@ function SimulationRenderer(WIDTH, renderer) { flipflop = !flipflop; - } + }; function generatePositionTexture() {
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/js/Sparks.js
@@ -213,8 +213,8 @@ SPARKS.Emitter.prototype = { * Events called by emitter.dispatchEvent() * */ -SPARKS.EVENT_PARTICLE_CREATED = "created" -SPARKS.EVENT_PARTICLE_UPDATED = "updated" +SPARKS.EVENT_PARTICLE_CREATED = "created"; +SPARKS.EVENT_PARTICLE_UPDATED = "updated"; SPARKS.EVENT_PARTICLE_DEAD = "dead"; SPARKS.EVENT_LOOP_UPDATED = "loopUpdated"; @@ -495,7 +495,7 @@ SPARKS.RandomDrift = function(x,y,z) { } this.drift = new THREE.Vector3(x,y,z); -} +}; SPARKS.RandomDrift.prototype.update = function(emitter, particle, time) {
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/js/UCSCharacter.js
@@ -75,7 +75,7 @@ THREE.UCSCharacter = function() { mesh.morphTargetInfluences[ i ] = influences[ scope.morphs[ i ] ] / 100; } } - } + }; function loadTextures( baseUrl, textureUrls ) { var mapping = THREE.UVMapping; @@ -122,4 +122,4 @@ THREE.UCSCharacter = function() { } -} +};
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/js/cameras/CombinedCamera.js
@@ -16,7 +16,7 @@ THREE.CombinedCamera = function ( width, height, fov, near, far, orthoNear, orth this.fov = fov; this.left = -width / 2; - this.right = width / 2 + this.right = width / 2; this.top = height / 2; this.bottom = -height / 2; @@ -106,7 +106,7 @@ THREE.CombinedCamera.prototype.setSize = function( width, height ) { this.cameraP.aspect = width / height; this.left = -width / 2; - this.right = width / 2 + this.right = width / 2; this.top = height / 2; this.bottom = -height / 2;
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/js/controls/EditorControls.js
@@ -255,7 +255,7 @@ THREE.EditorControls = function ( object, domElement ) { return closest; - } + }; switch ( event.touches.length ) {
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/js/controls/MouseControls.js
@@ -45,7 +45,7 @@ THREE.MouseControls = function ( object ) { mouseQuat.x.setFromAxisAngle( xVector, this.orientation.x ); mouseQuat.y.setFromAxisAngle( yVector, this.orientation.y ); - object.quaternion.copy(mouseQuat.y).multiply(mouseQuat.x) + object.quaternion.copy(mouseQuat.y).multiply(mouseQuat.x); return; };
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/js/controls/OrthographicTrackballControls.js
@@ -176,7 +176,7 @@ THREE.OrthographicTrackballControls = function ( object, domElement ) { _eye.copy( _this.object.position ).sub( _this.target ); - vector.copy( _this.object.up ).setLength( mouseOnBall.y ) + vector.copy( _this.object.up ).setLength( mouseOnBall.y ); vector.add( objectUp.copy( _this.object.up ).cross( _eye ).setLength( mouseOnBall.x ) ); vector.add( _eye.setLength( mouseOnBall.z ) );
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/js/crossfade/scenes.js
@@ -47,7 +47,7 @@ function generateGeometry(objectType, numObjects) { } else if ( objectType == "sphere" ) { - geom = new THREE.IcosahedronGeometry( 1, 1 ) + geom = new THREE.IcosahedronGeometry( 1, 1 ); scale.y = scale.z = scale.x; color.setRGB( Math.random() + 0.1, 0, 0 ); }
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/js/crossfade/transition.js
@@ -103,19 +103,19 @@ function Transition ( sceneA, sceneB ) { this.quadmaterial.uniforms.threshold.value = value; - } + }; this.useTexture = function ( value ) { this.quadmaterial.uniforms.useTexture.value = value ? 1 : 0; - } + }; this.setTexture = function ( i ) { this.quadmaterial.uniforms.tMixTexture.value = this.textures[i]; - } + }; this.render = function( delta ) {
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/js/curves/NURBSSurface.js
@@ -24,7 +24,7 @@ THREE.NURBSSurface = function ( degree1, degree2, knots1, knots2 /* arrays of re // ensure Vector4 for control points for (var i = 0; i < len1; ++ i) { - this.controlPoints[i] = [] + this.controlPoints[i] = []; for (var j = 0; j < len2; ++ j) { var point = controlPoints[i][j]; this.controlPoints[i][j] = new THREE.Vector4(point.x, point.y, point.z, point.w);
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/js/exporters/OBJExporter.js
@@ -13,7 +13,7 @@ THREE.OBJExporter.prototype = { var output = ''; var indexVertex = 0; - var indexVertexUvs = 0 + var indexVertexUvs = 0; var indexNormals = 0; var parseObject = function ( child ) {
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/js/exporters/SceneExporter.js
@@ -751,4 +751,4 @@ THREE.SceneExporter.prototype = { } -} +};
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/js/geometries/DecalGeometry.js
@@ -3,13 +3,13 @@ THREE.DecalVertex = function( v, n ) { this.vertex = v; this.normal = n; -} +}; THREE.DecalVertex.prototype.clone = function() { return new THREE.DecalVertex( this.vertex.clone(), this.normal.clone() ); -} +}; THREE.DecalGeometry = function( mesh, position, rotation, dimensions, check ) { @@ -162,7 +162,7 @@ THREE.DecalGeometry = function( mesh, position, rotation, dimensions, check ) { return outVertices; - } + }; this.pushVertex = function( vertices, id, n ) { @@ -171,7 +171,7 @@ THREE.DecalGeometry = function( mesh, position, rotation, dimensions, check ) { v.applyMatrix4( this.iCubeMatrix ); vertices.push( new THREE.DecalVertex( v, n.clone() ) ); - } + }; this.computeDecal = function() { @@ -230,7 +230,7 @@ THREE.DecalGeometry = function( mesh, position, rotation, dimensions, check ) { k, k + 1, k + 2 - ) + ); f.vertexNormals.push( finalVertices[ k + 0 ].normal ); f.vertexNormals.push( finalVertices[ k + 1 ].normal ); f.vertexNormals.push( finalVertices[ k + 2 ].normal ); @@ -254,11 +254,11 @@ THREE.DecalGeometry = function( mesh, position, rotation, dimensions, check ) { this.tangentsNeedUpdate = true; this.computeFaceNormals(); - } + }; this.computeDecal(); -} +}; THREE.DecalGeometry.prototype = Object.create( THREE.Geometry.prototype ); THREE.DecalGeometry.prototype.constructor = THREE.DecalGeometry;
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/js/libs/msgpack-js.js
@@ -147,7 +147,7 @@ exports.encode = function (value) { var view = new DataView(buffer); encode(value, view, 0); return buffer; -} +}; exports.decode = decode;
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/js/loaders/AWDLoader.js
@@ -74,7 +74,7 @@ THREE.AWDLoader = (function () { return tex; } - } + }; @@ -172,7 +172,7 @@ THREE.AWDLoader = (function () { return this.trunk; - } + }; @@ -240,7 +240,7 @@ THREE.AWDLoader = (function () { block.data = assetData; block.id = blockId; - } + }; AWDLoader.prototype._parseHeader = function () { @@ -277,7 +277,7 @@ THREE.AWDLoader = (function () { this._bodylen = this.readU32(); - } + }; AWDLoader.prototype.parseContainer = function ( len ) { @@ -302,7 +302,7 @@ THREE.AWDLoader = (function () { ctr.extra = this.parseUserAttributes(); return ctr; - } + }; @@ -336,13 +336,13 @@ THREE.AWDLoader = (function () { - meshLen = geometries.length + meshLen = geometries.length; meshes = []; // TODO : BufferGeometry don't support "geometryGroups" for now. // so we create sub meshes for each groups if ( meshLen > 1 ) { - mesh = new THREE.Object3D() + mesh = new THREE.Object3D(); for ( i = 0; i < meshLen; i ++) { var sm = new THREE.Mesh( geometries[i] ); meshes.push( sm ); @@ -373,7 +373,7 @@ THREE.AWDLoader = (function () { mesh.extra = this.parseUserAttributes(); return mesh; - } + }; @@ -434,7 +434,7 @@ THREE.AWDLoader = (function () { return mat; - } + }; @@ -462,15 +462,15 @@ THREE.AWDLoader = (function () { this.parseUserAttributes(); return asset; - } + }; AWDLoader.prototype.loadTexture = function( url ) { if ( null === this._resourceLoader ) this._resourceLoader = new ResourcesLoader( this._url ); return this._resourceLoader.loadTexture( url ); - } + }; // broken : skeleton pose format is different than threejs one AWDLoader.prototype.parseSkeleton = function(len) // Array<Bone> @@ -508,7 +508,7 @@ THREE.AWDLoader = (function () { return skeleton; - } + }; @@ -548,7 +548,7 @@ THREE.AWDLoader = (function () { this.parseUserAttributes(); return pose - } + }; AWDLoader.prototype.parseSkeletonAnimation = function(blockID) { @@ -573,7 +573,7 @@ THREE.AWDLoader = (function () { pose_addr = this.readU32(); frame_dur = this.readU16(); - pose = this._blocks[pose_addr].data + pose = this._blocks[pose_addr].data; // debug( 'pose address ',pose[2].elements[12],pose[2].elements[13],pose[2].elements[14] ); clip.push( { pose : pose, @@ -589,7 +589,7 @@ THREE.AWDLoader = (function () { // Ignore attributes for now this.parseUserAttributes(); return clip; - } + }; @@ -612,7 +612,7 @@ THREE.AWDLoader = (function () { return skeletonFrames; - } + }; AWDLoader.prototype.parseAnimatorSet = function(len) @@ -650,7 +650,7 @@ THREE.AWDLoader = (function () { targetMeshes.push(this._blocks[meshAdresses[i]].data); } - targetAnimationSet = this._blocks[animSetBlockAdress].data + targetAnimationSet = this._blocks[animSetBlockAdress].data; var thisAnimator; if (type == 1) { @@ -672,7 +672,7 @@ THREE.AWDLoader = (function () { // debug("Parsed a Animator: Name = " + name); return thisAnimator; - } + }; @@ -851,7 +851,7 @@ THREE.AWDLoader = (function () { //finalizeAsset(geom, name); return geometries; - } + }; AWDLoader.prototype.parseMeshPoseAnimation = function(len, poseOnly) { @@ -957,7 +957,7 @@ THREE.AWDLoader = (function () { this.parseUserAttributes(); return null; - } + }; @@ -1000,7 +1000,7 @@ THREE.AWDLoader = (function () { //e[15] = this.readF32(); e[15] = 1.0; return mtx; - } + }; AWDLoader.prototype.parseProperties = function ( expected ) { @@ -1111,47 +1111,47 @@ THREE.AWDLoader = (function () { return read_func.call( this ); } - } + }; AWDLoader.prototype.readU8 = function () { return this._data.getUint8( this._ptr ++ ); - } + }; AWDLoader.prototype.readI8 = function () { return this._data.getInt8( this._ptr ++ ); - } + }; AWDLoader.prototype.readU16 = function () { var a = this._data.getUint16( this._ptr, littleEndian ); this._ptr += 2; return a; - } + }; AWDLoader.prototype.readI16 = function () { var a = this._data.getInt16( this._ptr, littleEndian ); this._ptr += 2; return a; - } + }; AWDLoader.prototype.readU32 = function () { var a = this._data.getUint32( this._ptr, littleEndian ); this._ptr += 4; return a; - } + }; AWDLoader.prototype.readI32 = function () { var a = this._data.getInt32( this._ptr, littleEndian ); this._ptr += 4; return a; - } + }; AWDLoader.prototype.readF32 = function () { var a = this._data.getFloat32( this._ptr, littleEndian ); this._ptr += 4; return a; - } + }; AWDLoader.prototype.readF64 = function () { var a = this._data.getFloat64( this._ptr, littleEndian ); this._ptr += 8; return a; - } + }; /** @@ -1203,7 +1203,7 @@ THREE.AWDLoader = (function () { - AWDProperties = function() {} + AWDProperties = function() {}; AWDProperties.prototype = { @@ -1219,7 +1219,7 @@ THREE.AWDLoader = (function () { return this[key]; else return fallback; } - } + }; return AWDLoader;
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/js/loaders/AssimpJSONLoader.js
@@ -235,7 +235,7 @@ THREE.AssimpJSONLoader.prototype = { has_textures.push(keyname); loader.setCrossOrigin(this.crossOrigin); - var material_url = scope.texturePath + '/' + prop.value + var material_url = scope.texturePath + '/' + prop.value; material_url = material_url.replace(/\\/g, '/'); loader.load(material_url, function(tex) { if (tex) {
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/js/loaders/ColladaLoader.js
@@ -115,7 +115,7 @@ THREE.ColladaLoader = function () { } - } + }; request.open( "GET", url, true ); request.send( null );
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/js/loaders/MTLLoader.js
@@ -87,7 +87,7 @@ THREE.MTLLoader.prototype = { } var materialCreator = new THREE.MTLLoader.MaterialCreator( this.baseUrl, this.options ); - materialCreator.crossOrigin = this.crossOrigin + materialCreator.crossOrigin = this.crossOrigin; materialCreator.setMaterials( materialsInfo ); return materialCreator;
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/js/loaders/OBJLoader.js
@@ -205,7 +205,7 @@ THREE.OBJLoader.prototype = { // f vertex//normal vertex//normal vertex//normal ... - var face_pattern4 = /f( +(-?\d+)\/\/(-?\d+))( +(-?\d+)\/\/(-?\d+))( +(-?\d+)\/\/(-?\d+))( +(-?\d+)\/\/(-?\d+))?/ + var face_pattern4 = /f( +(-?\d+)\/\/(-?\d+))( +(-?\d+)\/\/(-?\d+))( +(-?\d+)\/\/(-?\d+))( +(-?\d+)\/\/(-?\d+))?/; //
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/js/loaders/OBJMTLLoader.js
@@ -225,7 +225,7 @@ THREE.OBJMTLLoader.prototype = { // f vertex//normal vertex//normal vertex//normal ... - var face_pattern4 = /f( +(\d+)\/\/(\d+))( +(\d+)\/\/(\d+))( +(\d+)\/\/(\d+))( +(\d+)\/\/(\d+))?/ + var face_pattern4 = /f( +(\d+)\/\/(\d+))( +(\d+)\/\/(\d+))( +(\d+)\/\/(\d+))( +(\d+)\/\/(\d+))?/; //
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/js/loaders/PDBLoader.js
@@ -176,5 +176,5 @@ THREE.PDBLoader.prototype = { } -} +};
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/js/loaders/PLYLoader.js
@@ -164,11 +164,11 @@ THREE.PLYLoader.prototype = { for ( var i = 0; i < lines.length; i ++ ) { var line = lines[ i ]; - line = line.trim() + line = line.trim(); if ( line === "" ) { continue; } lineValues = line.split( /\s+/ ); - lineType = lineValues.shift() - line = lineValues.join(" ") + lineType = lineValues.shift(); + line = lineValues.join(" "); switch ( lineType ) { @@ -299,7 +299,7 @@ THREE.PLYLoader.prototype = { for ( var i = 0; i < lines.length; i ++ ) { var line = lines[ i ]; - line = line.trim() + line = line.trim(); if ( line === "" ) { continue; } if ( currentElementCount >= header.elements[currentElement].count ) {
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/js/loaders/PVRLoader.js
@@ -61,15 +61,15 @@ THREE.PVRLoader._parseV3 = function ( pvrDatas ) { format = THREE.RGB_PVRTC_2BPPV1_Format; break; case 1 : // PVRTC 2bpp RGBA - bpp = 2 + bpp = 2; format = THREE.RGBA_PVRTC_2BPPV1_Format; break; case 2 : // PVRTC 4bpp RGB - bpp = 4 + bpp = 4; format = THREE.RGB_PVRTC_4BPPV1_Format; break; case 3 : // PVRTC 4bpp RGBA - bpp = 4 + bpp = 4; format = THREE.RGBA_PVRTC_4BPPV1_Format; break; default : @@ -108,9 +108,9 @@ THREE.PVRLoader._parseV2 = function ( pvrDatas ) { numSurfs = header[12]; - var TYPE_MASK = 0xff + var TYPE_MASK = 0xff; var PVRTC_2 = 24, - PVRTC_4 = 25 + PVRTC_4 = 25; var formatFlags = flags & TYPE_MASK; @@ -249,4 +249,4 @@ THREE.PVRLoader._extract = function ( pvrDatas ) { return pvr; -} \ No newline at end of file +}; \ No newline at end of file
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/js/loaders/STLLoader.js
@@ -269,7 +269,7 @@ if ( typeof DataView === 'undefined') { this.byteLength = byteLength || buffer.byteLength || buffer.length; this._isString = typeof buffer === "string"; - } + }; DataView.prototype = {
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/js/loaders/VRMLLoader.js
@@ -357,7 +357,7 @@ THREE.VRMLLoader.prototype = { r: parseFloat(parts[1]), g: parseFloat(parts[2]), b: parseFloat(parts[3]) - } + }; break; @@ -373,7 +373,7 @@ THREE.VRMLLoader.prototype = { x: parseFloat(parts[1]), y: parseFloat(parts[2]), z: parseFloat(parts[3]) - } + }; break; @@ -404,7 +404,7 @@ THREE.VRMLLoader.prototype = { y: parseFloat(parts[2]), z: parseFloat(parts[3]), w: parseFloat(parts[4]) - } + }; break; @@ -498,7 +498,7 @@ THREE.VRMLLoader.prototype = { } return tree; - } + }; var parseNode = function ( data, parent ) { @@ -807,7 +807,7 @@ THREE.VRMLLoader.prototype = { } - } + }; parseNode( getTree( lines ), scene );
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/js/loaders/ctm/CTMLoader.js
@@ -72,7 +72,7 @@ THREE.CTMLoader.prototype.loadParts = function( url, callback, parameters ) { } - } + }; xhr.open( "GET", url, true ); xhr.setRequestHeader( "Content-Type", "text/plain" ); @@ -179,7 +179,7 @@ THREE.CTMLoader.prototype.load = function( url, callback, parameters ) { } - } + }; xhr.open( "GET", url, true ); xhr.responseType = "arraybuffer"; @@ -240,7 +240,7 @@ THREE.CTMLoader.prototype.createModel = function ( file, callback ) { } - } + }; Model.prototype = Object.create( THREE.BufferGeometry.prototype ); Model.prototype.constructor = Model;
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/js/loaders/ctm/CTMWorker.js
@@ -16,4 +16,4 @@ self.onmessage = function( event ) { self.postMessage( files ); self.close(); -} +};
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/js/loaders/deprecated/SceneLoader.js
@@ -1012,7 +1012,7 @@ THREE.SceneLoader.prototype = { var wrapMap = { "repeat": THREE.RepeatWrapping, "mirror": THREE.MirroredRepeatWrapping - } + }; if ( wrapMap[ textureJSON.wrap[ 0 ] ] !== undefined ) texture.wrapS = wrapMap[ textureJSON.wrap[ 0 ] ]; if ( wrapMap[ textureJSON.wrap[ 1 ] ] !== undefined ) texture.wrapT = wrapMap[ textureJSON.wrap[ 1 ] ]; @@ -1161,4 +1161,4 @@ THREE.SceneLoader.prototype = { } -} +};
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/js/loaders/gltf/glTFAnimation.js
@@ -45,7 +45,7 @@ THREE.glTFAnimation = function(interps) { this.createInterpolators(interps); } -} +}; THREE.glTFAnimation.prototype.createInterpolators = function(interps) { @@ -56,7 +56,7 @@ THREE.glTFAnimation.prototype.createInterpolators = function(interps) this.interps.push(interp); this.duration = Math.max(this.duration, interp.duration); } -} +}; // Start/stop THREE.glTFAnimation.prototype.play = function() @@ -67,13 +67,13 @@ THREE.glTFAnimation.prototype.play = function() this.startTime = Date.now(); this.running = true; THREE.glTFAnimator.add(this); -} +}; THREE.glTFAnimation.prototype.stop = function() { this.running = false; THREE.glTFAnimator.remove(this); -} +}; // Update - drive key frame evaluation THREE.glTFAnimation.prototype.update = function() @@ -105,7 +105,7 @@ THREE.glTFAnimation.prototype.update = function() this.interps[i].interp(t); } } -} +}; //Interpolator class //Construction/initialization @@ -147,7 +147,7 @@ THREE.glTFInterpolator = function(param) this.quat1 = new THREE.Quaternion; this.quat2 = new THREE.Quaternion; this.quat3 = new THREE.Quaternion; -} +}; //Interpolation and tweening methods THREE.glTFInterpolator.prototype.interp = function(t) @@ -238,7 +238,7 @@ THREE.glTFInterpolator.prototype.interp = function(t) { this.copyValue(this.target); } -} +}; THREE.glTFInterpolator.prototype.copyValue = function(target) { @@ -248,4 +248,4 @@ THREE.glTFInterpolator.prototype.copyValue = function(target) { else { target.copy(this.vec3); } -} +};
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/js/loaders/gltf/glTFLoader.js
@@ -14,7 +14,7 @@ THREE.glTFLoader = function (showStatus) { this.shadersLoaded = 0; this.shaders = {}; THREE.Loader.call( this, showStatus ); -} +}; THREE.glTFLoader.prototype = Object.create( THREE.Loader.prototype ); THREE.glTFLoader.prototype.constructor = THREE.glTFLoader; @@ -107,7 +107,7 @@ THREE.glTFLoader.prototype.load = function( url, callback ) { geometry.addDrawCall( 0, this.indexArray.length, 0 ); geometry.computeBoundingSphere(); - } + }; ClassicGeometry.prototype.checkFinished = function() { if (this.indexArray && this.loadedAttributes === this.totalAttributes) { @@ -203,7 +203,7 @@ THREE.glTFLoader.prototype.load = function( url, callback ) { geom.geometry.skinIndices.push( new THREE.Vector4( floatArray[i], floatArray[i + 1], floatArray[i + 2], floatArray[i + 3] ) ); } } - } + }; VertexAttributeDelegate.prototype.bufferResourceAvailable = function(glResource, ctx) { var geom = ctx.geometry; @@ -241,7 +241,7 @@ THREE.glTFLoader.prototype.load = function( url, callback ) { floatArray = new Float32Array(glResource, 0, attribute.count * nComponents); geom.geometry.addAttribute( 'skinIndex', new THREE.BufferAttribute( floatArray, nComponents ) ); } - } + }; VertexAttributeDelegate.prototype.resourceAvailable = function(glResource, ctx) { @@ -438,7 +438,7 @@ THREE.glTFLoader.prototype.load = function( url, callback ) { ShaderDelegate.prototype.convert = function(resource, ctx) { return resource; - } + }; ShaderDelegate.prototype.resourceAvailable = function(data, ctx) { theLoader.shadersLoaded ++; @@ -487,11 +487,11 @@ THREE.glTFLoader.prototype.load = function( url, callback ) { }; LoadDelegate = function() { - } + }; LoadDelegate.prototype.loadCompleted = function(callback, obj) { callback.call(Window, obj); - } + }; // Loader @@ -1517,7 +1517,7 @@ THREE.glTFLoader.prototype.load = function( url, callback ) { this.callback = callback; this.rootObj = rootObj; return rootObj; -} +}; THREE.glTFLoader.prototype.callLoadedCallback = function() { var result = { @@ -1527,7 +1527,7 @@ THREE.glTFLoader.prototype.callLoadedCallback = function() { }; this.callback(result); -} +}; THREE.glTFLoader.prototype.checkComplete = function() { if (this.meshesLoaded == this.meshesRequested @@ -1550,7 +1550,7 @@ THREE.glTFLoader.prototype.checkComplete = function() { this.callLoadedCallback(); } -} +};
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/js/loaders/gltf/glTFLoaderUtils.js
@@ -137,7 +137,7 @@ THREE.GLTFLoaderUtils = Object.create(Object, { processResourceDelegate.handleError = function(errorCode, info) { request.delegate.handleError(errorCode, info); - } + }; this._loadStream(request.path, request.type, processResourceDelegate); }
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/js/modifiers/ExplodeModifier.js
@@ -40,4 +40,4 @@ THREE.ExplodeModifier.prototype.modify = function ( geometry ) { geometry.vertices = vertices; delete geometry.__tmpVertices; -} +};
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/js/modifiers/SubdivisionModifier.js
@@ -136,7 +136,7 @@ THREE.SubdivisionModifier.prototype.modify = function ( geometry ) { var metaVertices, sourceEdges; // new stuff. - var sourceEdges, newEdgeVertices, newSourceVertices + var sourceEdges, newEdgeVertices, newSourceVertices; oldVertices = geometry.vertices; // { x, y, z} oldFaces = geometry.faces; // { a: oldVertex1, b: oldVertex2, c: oldVertex3 }
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/js/renderers/CanvasRenderer.js
@@ -138,7 +138,7 @@ THREE.CanvasRenderer = function ( parameters ) { } - } + }; // WebGLRenderer compatibility
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/js/renderers/Projector.js
@@ -786,7 +786,7 @@ THREE.Projector = function () { var line = new THREE.RenderableLine(); _linePool.push( line ); _linePoolLength ++; - _lineCount ++ + _lineCount ++; return line; } @@ -802,7 +802,7 @@ THREE.Projector = function () { var sprite = new THREE.RenderableSprite(); _spritePool.push( sprite ); _spritePoolLength ++; - _spriteCount ++ + _spriteCount ++; return sprite; }
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/js/renderers/RaytracingRenderer.js
@@ -302,7 +302,7 @@ THREE.RaytracingRenderer = function ( parameters ) { var eta = material.refractionRatio; - var dotNI = rayDirection.dot( normalVector ) + var dotNI = rayDirection.dot( normalVector ); var k = 1.0 - eta * eta * ( 1.0 - dotNI * dotNI ); if ( k < 0.0 ) { @@ -528,7 +528,7 @@ THREE.RaytracingRenderer = function ( parameters ) { } - modelViewMatrix.multiplyMatrices( camera.matrixWorldInverse, object.matrixWorld ) + modelViewMatrix.multiplyMatrices( camera.matrixWorldInverse, object.matrixWorld ); var _object = cache[ object.id ];
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/js/renderers/SVGRenderer.js
@@ -64,7 +64,7 @@ THREE.SVGRenderer = function () { } - } + }; this.setQuality = function( quality ) {
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/js/utils/GeometryUtils.js
@@ -148,7 +148,7 @@ THREE.GeometryUtils = { } - var result = binarySearch( 0, cumulativeAreas.length - 1 ) + var result = binarySearch( 0, cumulativeAreas.length - 1 ); return result; } @@ -242,7 +242,7 @@ THREE.GeometryUtils = { } - var result = binarySearch( 0, cumulativeAreas.length - 1 ) + var result = binarySearch( 0, cumulativeAreas.length - 1 ); return result; }
true
Other
mrdoob
three.js
eb68622a6e8431450c40361cccd0061514d2f711.json
Add missing semicolons
examples/js/utils/ShadowMapViewer.js
@@ -154,7 +154,7 @@ THREE.ShadowMapViewer = function ( light ) { userAutoClearSetting = renderer.autoClear; renderer.autoClear = false; // To allow render overlay - renderer.clearDepth() + renderer.clearDepth(); renderer.render( scene, camera ); renderer.autoClear = userAutoClearSetting; //Restore user's setting @@ -185,6 +185,6 @@ THREE.ShadowMapViewer = function ( light ) { //Force an update to set position/size this.update(); -} +}; THREE.ShadowMapViewer.prototype.constructor = THREE.ShadowMapViewer;
true