conflict_resolution
stringlengths
27
16k
<<<<<<< // hide all submit-rows iframe.contents().find('.submit-row').hide(); ======= row.hide(); // hide submit-row var form = iframe.contents().find('form'); //avoids conflict between the browser's form validation and Django's validation form.submit(function () { if (that.hideFrame) { //submit...
<<<<<<< // @ts-check const path = require('path'); const HtmlWebpackPlugin = require('html-webpack-plugin'); /**@type {any} */ const AureliaWebpackPlugin = require('aurelia-webpack-plugin'); const outDir = path.resolve(__dirname, 'dist'); /** * @returns {import('webpack').Configuration} */ module.exports = function ...
<<<<<<< var chrome = { browserAction: { setBadgeText: function () {}, setBadgeBackgroundColor: function () {} }, tabs : { create: function () {} }, extension: { sendMessage: function () {}, onMessage: { addListener: function () {} } }, cookies: { remove: function () {} } }; require.config({ ba...
<<<<<<< const {prometheusURL, grafanaURL, grafanaAPIKey, panel, from, to, templateVars, liveTail, testUUID, panelData} = this.props; const {data, chartData} = this.state; ======= const {prometheusURL, grafanaURL, panel, from, to, templateVars, testUUID} = this.props; const {chartData} = this.s...
<<<<<<< '@typescript-eslint/no-explicit-any': 0, '@typescript-eslint/explicit-member-accessibility': 0, '@typescript-eslint/no-object-literal-type-assertion': 0 ======= '@typescript-eslint/no-explicit-any': 0, '@typescript-eslint/explicit-member-accessibility': 0, '@typescript-eslint/array-typ...
<<<<<<< ======= it('correctly sets field value on assignment', () => { schema.register(Person, Location); const session = schema.from(schema.getDefaultState()); Person.create({id: 0, name: 'Tommi', friend: null}); const nextState = session.reduce(); ...
<<<<<<< ======= import useQueryParam from 'hooks/useQueryParam'; import useSortableData from 'hooks/UseSortableData'; import useToggle from 'hooks/UseToggle'; import DeckPropType from 'proptypes/DeckPropType'; >>>>>>> import useQueryParam from 'hooks/useQueryParam'; import useToggle from 'hooks/UseToggle'; import De...
<<<<<<< import { sortIntoGroups, SORTS } from 'utils/Sort'; import { compareStrings, SortableTable } from 'components/SortableTable'; ======= import { sortIntoGroups, getSorts } from 'utils/Sort'; import useQueryParam from 'hooks/useQueryParam'; >>>>>>> import { sortIntoGroups, SORTS } from 'utils/Sort'; <<<<<<< ...
<<<<<<< const cube = await Cube.findOne(buildIdQuery(req.params.id)).lean(); ======= const cube = await Cube.findOne(build_id_query(req.params.id)).lean(); for (const card of cube.cards) { const details = carddb.cardFromId(card.cardID); card.details = details; } cube.cards = sortutil.s...
<<<<<<< try { const response = await csrfFetch(`/cube/api/updatecard/${document.getElementById('cubeID').value}`, { method: 'POST', body: JSON.stringify({ src: card, updated }), headers: { 'Content-Type': 'application/json', }, }); const json = await respo...
<<<<<<< const cube = await Cube.findOne(buildIdQuery(req.params.id)); ======= const cube = await Cube.findOne(build_id_query(req.params.id)); if (!req.user._id.equals(cube.owner)) { req.flash('danger', 'Formats can only be changed by cube owner.'); return res.redirect(`/cube/list/${req.params....
<<<<<<< export function arrayRotate(arr, reverse) { if (reverse) arr.unshift(arr.pop()); else arr.push(arr.shift()); return arr; } export function arrayShuffle(array) { let currentIndex = array.length; let temporaryValue, randomIndex; // While there remain elements to shuffle... while (0 !== currentInde...
<<<<<<< StandardDraftCard.propTypes = { onSetDefaultFormat: PropTypes.func.isRequired, defaultDraftFormat: PropTypes.number.isRequired, }; ======= const SealedCard = () => { const { cubeID } = useContext(CubeContext); return ( <Card className="mb-3"> <CSRFForm method="POST" action={`/cube/startseal...
<<<<<<< const draftutil = require('../dist/util/draftutil.js'); const cardutil = require('../dist/util/Card.js'); ======= const analytics = require('../serverjs/analytics.js'); const draftutil = require('../dist/utils/draftutil.js'); const cardutil = require('../dist/utils/Card.js'); >>>>>>> const draftutil = requir...
<<<<<<< this.state = { data: { type: 'none' }, workers: {}, analytics: { curve: { url: '/js/analytics/colorCurve.js', title: 'Curve' }, typeBreakdown: { url: '/js/analytics/typeBreakdown.js', title: 'Type Breakdown' }, typeBreakdownCounts: { url: '/js/analytics/typeBreakdow...
<<<<<<< <DisplayContext.Consumer> {({ showMaybeboard }) => ( <MaybeboardContextProvider initialCards={maybe}> {showMaybeboard && <Maybeboard filter={filter} />} </MaybeboardContextProvider> )} ...
<<<<<<< indexOfTag: function(cards, tag) { tag = tag.toLowerCase(); if (tag == '*') { return 0; } for (let i = 0; i < cards.length; i++) { if (cards[i].tags && cards[i].tags.length > 0) { for (let j = 0; j < cards[i].tags.length; j++) { if (tag == cards[i].tags[j].toLower...
<<<<<<< import Filter from '../../../src/utils/Filter'; import { getDraftBots, getDraftFormat, createDraft } from '../../../src/utils/draftutil'; import { expectOperator } from '../../helpers'; const sinon = require('sinon'); ======= import { getDraftBots, getDraftFormat, populateDraft } from 'utils/draftutil'; imp...
<<<<<<< <FormGroup check> <Label check> <Input type="radio" name="deleteTags" checked={formValues.deleteTags} onChange={handleChange} />{' '} Delete tags from all </Label> </FormGroup> ...
<<<<<<< <AutocardListItem key={card.index} card={card} noCardModal> <Button close className="mr-1" data-index={card.index} onClick={handleRemoveCard} /> ======= <AutocardListItem key={card.index} card={card} noCardModal inModal> <Button close...
<<<<<<< const cards = [...cube.cards]; const cardNames = []; ======= const cards = cube.cards; >>>>>>> const cardNames = []; const cards = cube.cards;
<<<<<<< const user_id = req.user ? req.user._id : ''; Cube.findOne(build_id_query(id_a), function(err, cubeA) { Cube.findOne(build_id_query(id_b), function(err, cubeB) { ======= Cube.findById(id_a, function(err, cubeA) { Cube.findById(id_b, function(err, cubeB) { >>>>>>> const user_id = req.user ? re...
<<<<<<< me.proto_version = 300; ======= me.hikas_2_mode = false; >>>>>>> me.proto_version = 300; me.hikas_2_mode = false;
<<<<<<< picks: { type: [[Number]], default: [], }, passed: { type: Number, default: 0, }, ======= index: Number, >>>>>>> picks: { type: [[Number]], default: [], }, passed: { type: Number, default: 0, }, index: Number,
<<<<<<< var msg = new Nachricht(me.proto_version); msg.sign({'pin':me.pin,'tan':NULL,'sys_id':me.sys_id,'pin_vers':me.upd.availible_tan_verfahren[0],'sig_id':me.getNewSigId()}); msg.init(me.dialog_id, me.next_msg_nr,me.blz,me.kunden_id); me.next_msg_nr++; var konto_verb=null; ======= //V...
<<<<<<< const RSS = require('rss'); const CARD_HEIGHT = 204; const CARD_WIDTH = 146; ======= const CARD_HEIGHT = 680; const CARD_WIDTH = 488; >>>>>>> const RSS = require('rss'); const CARD_HEIGHT = 680; const CARD_WIDTH = 488;
<<<<<<< /*Exceptions.WrongUserOrPinError = function(){ Exceptions.OpenFinTSClientException.call(this); this.toString = function(){ return "Wrong user or wrong pin."; }; }; util.inherits(Exceptions.WrongUserOrPinError, Exceptions.OpenFinTSClientException);*/ Exceptions.MissingBankConnectionDataException = function(...
<<<<<<< const cube = await Cube.findOne(build_id_query(draft.cube)); ======= const ratingsQ = CardRating.find({ name: { $in: [...names] }, }).lean(); const cubeQ = Cube.findOne(build_id_query(draft.cube)).lean(); const [cube, ratings] = await Promise.all([cubeQ, ratingsQ]); >>>>>>> cons...
<<<<<<< if (options.limit && options.types && options.types.length === 1) { options.limit = options.limit > 5 ? 5 : options.limit; } else if (options.limit > 1) { return callback(errcode('limit must be combined with a single type parameter when reverse geocoding', 'EINVALID')); } ======= ...
<<<<<<< indexdocs(docs, freq, known, updateCache); ======= indexDocs(freq[0], freq, source._geocoder.zoom, callback); >>>>>>> indexdocs(docs, freq, source._geocoder.zoom, updateCache); <<<<<<< function updateCache(err, patch) { if (err) return callback(err); ======= // Seco...
<<<<<<< let from, orig_to; if (Object.keys(word_replacement[i]).length > 0) { from = word_replacement[i].tokens.from; // normalize expanded orig_to = word_replacement[i].tokens.to; ======= } if (inverseOpts.custom) { for (const token in inverseOpts.custom) { ...
<<<<<<< freq = generateFrequency(docs, source.token_replacer, source.maxscore); ======= freq = generateFrequency(docs, source.token_replacer, options.tokens); >>>>>>> freq = generateFrequency(docs, source.token_replacer, options.tokens, source.maxscore); <<<<<<< function generateFrequency(do...
<<<<<<< ======= //Add Global Tokens to source token list if (options.tokens) { var tokens = Object.keys(options.tokens); for (tokens_it = 0; tokens_it < tokens.length; tokens_it++) { source.geocoder_tokens[tokens[tokens_it]] = options.tokens[tokens[tokens_it]]; } } ...
<<<<<<< let feat; let dist = Infinity; let mapped; let resultsSorted = false; ======= var forwardMatchFeat; var ghostMatchFeat; var feat; var dist = Infinity; var mapped; var resultsSorted = false; ...
<<<<<<< ======= var c_it, addr_it, feat; >>>>>>> let c_it, addr_it, feat; <<<<<<< for (let addr_it = 0; addr_it < docs[i].properties['carmen:addressnumber'][c_it].length; addr_it++) { const feat = point(docs[i].geometry.geometries[c_it].coordinates[addr_it], f...
<<<<<<< function update(source, docs, callback) { ======= function update(source, docs, zoom, callback) { source._geocoder._known = source._geocoder._known || { term:{} }; var known = source._geocoder._known; >>>>>>> function update(source, docs, zoom, callback) { <<<<<<< indexdocs(docs, freq, sou...
<<<<<<< var addressOrder = context[0].properties['carmen:addressOrder']; ======= var spatialmatch = context[0].properties['carmen:spatialmatch']; >>>>>>> var addressOrder = context[0].properties['carmen:addressOrder']; var spatialmatch = context[0].properties['carmen:spatialmatch'];
<<<<<<< if (options.language) { Object.keys(index).forEach(function(key) { if (/^geocoder_format_/.exec(key)) { formats[key.substr(16)] = index[key]; } }) } ...
<<<<<<< getTokens(texts); var keys = Object.keys(doc); for (var i = 0; i < keys.length; i ++) { if (/_text_\w+/.test(keys[i])) getTokens(doc[keys[i]].split(',')); } function getTokens(texts) { for (var x = 0; x < texts.length; x++) { // push tokens with replacements ...
<<<<<<< new PhrasematchResult([a1], { idx: 0, bmask: {}, ndx: 0 }), new PhrasematchResult([b1, b2], { idx: 1, bmask: {}, ndx: 1 }) ]).map(function(stack) { ======= new PhrasematchResult([a1], null, null, { idx: 0, bmask: {}, ndx: 0 }), new PhrasematchResult([b1, b2], null, null, { ...
<<<<<<< var obj = { degen: tokens.indexDegens, relev: perms[i].relev, text: encodableText(perms[i].join(' ')), phrase: encodePhrase(perms[i].join(' ')) }; ======= var toEncode = []; var etext = encodableText(text); toEncode.push({...
<<<<<<< var spatialmatch = context[0].properties['carmen:spatialmatch']; var addressOrder = context[0].properties['carmen:addressOrder']; ======= >>>>>>> var addressOrder = context[0].properties['carmen:addressOrder'];
<<<<<<< split = require('split'), TIMER = process.env.TIMER ======= TIMER = process.env.TIMER, DEBUG = process.env.DEBUG; >>>>>>> split = require('split'), TIMER = process.env.TIMER <<<<<<< //Output geometries to vectorize if (options.output) { for (var docs_it = 0; doc...
<<<<<<< var serveMp4 = require('../utils/serve-mp4'); ======= var fs = require('fs'); var isFile = function(item) { return fs.existsSync(item.path) && fs.statSync(item.path).isFile(); }; >>>>>>> var serveMp4 = require('../utils/serve-mp4'); var fs = require('fs'); var isFile = function(item) { return fs.exists...
<<<<<<< import frFlag from '../assets/flags/fr.png'; ======= import thFlag from '../assets/flags/th.png'; >>>>>>> import frFlag from '../assets/flags/fr.png'; import thFlag from '../assets/flags/th.png'; <<<<<<< import fr from '../locales/fr.json'; ======= import th from '../locales/th.json'; >>>>>>> import fr f...
<<<<<<< import Footer from '../../../components/Footer'; ======= import LoadingScreen from '../../../components/LoadingScreen'; >>>>>>> import Footer from '../../../components/Footer'; import LoadingScreen from '../../../components/LoadingScreen';
<<<<<<< relativePath === path.join('..', 'exports', 'atom.js') || relativePath === path.join('..', 'src', 'electron-shims.js') || relativePath === path.join('..', 'src', 'safe-clipboard.js') || relativePath === path.join('..', 'node_modules', 'atom-keymap', 'lib', 'command-event.js') || ...
<<<<<<< let appPath = `\"${process.execPath}\"` let fileIconPath = `\"${Path.join(process.execPath, '..', 'resources', 'cli', 'file.ico')}\"` ======= let appPath = `"${process.execPath}"` let fileIconPath = `"${Path.join(process.execPath, '..', 'resources', 'cli', 'file.ico')}"` let isBeta = appPath.includes(' Beta')...
<<<<<<< appBundleId: 'com.github.atom', appCopyright: `Copyright © 2014-${(new Date()).getFullYear()} GitHub, Inc. All rights reserved.`, appVersion: CONFIG.appMetadata.version, arch: process.platform === 'darwin' ? 'x64' : HOST_ARCH, // OS X is 64-bit only asar: {unpack: buildAsarUnpackGlobExpressi...
<<<<<<< modulePath.endsWith('.node') || coreModules.has(modulePath) || (relativePath.startsWith(path.join('..', 'src')) && relativePath.endsWith('-element.js')) || relativePath.startsWith(path.join('..', 'node_modules', 'dugite')) || relativePath.endsWith(path.join('node_modules'...
<<<<<<< beforeEach(async function () { editor.setShowInvisibles(true) editor.setInvisibles(invisibles) await nextViewUpdatePromise() ======= beforeEach(function () { atom.config.set('editor.showInvisibles', true) atom.config.set('editor.invisibles', invisibles) ...
<<<<<<< expect(atom.applicationDelegate.confirm).toHaveBeenCalled() expect(editor.largeFileMode).toBe(true) ======= runs(() => { expect(atom.applicationDelegate.confirm).toHaveBeenCalled() }) >>>>>>> expect(atom.applicationDelegate.confirm).toHaveBeenCall...
<<<<<<< describe('serialization', () => { function simulateReload() { waitsForPromise(() => { const workspaceState = atom.workspace.serialize() const projectState = atom.project.serialize({isUnloading: true}) atom.workspace.destroy() atom.project.destroy() atom.projec...
<<<<<<< this.fileRecoveryService.didCrashWindow(this) dialog.showMessageBox(this.browserWindow, { ======= await this.fileRecoveryService.didCrashWindow(this) const chosen = dialog.showMessageBox(this.browserWindow, { >>>>>>> await this.fileRecoveryService.didCrashWindow(this) dial...
<<<<<<< // // * `options` (optional) {Object} // * `bypassReadOnly` (optional) {Boolean} Must be `true` to modify a read-only editor. (default: false) undo (options = {}) { this.ensureWritable('undo', options) this.avoidMergingSelections(() => this.buffer.undo()) ======= undo () { this.avoidMe...
<<<<<<< ======= >>>>>>> <<<<<<< else if (i.instance_type != 'bitfocus-companion') { ======= else { >>>>>>> else if (i.instance_type !== 'bitfocus-companion') {
<<<<<<< var http = require('./lib/http')(system); var io = require('./lib/io')(system, http); var log = require('./lib/log')(system,io); var db = require('./lib/db')(system,cfgDir); var userconfig = require('./lib/userconfig')(system) var appRoot = require('app-root-path'); var ex...
<<<<<<< * @param {...Function[]} fns * @returns {Object} ======= * @param {...Function} fns * @returns {object} >>>>>>> * @param {...Function[]} fns * @returns {object}
<<<<<<< ======= function enableTLSAuth(checked) { var disabled = $("#service_params_dialog #params_url").val() .lastIndexOf("https", 0) !== 0; $("#params_sslauth, #params_sslauth_all").prop("disabled", disabled); $("#params_sslauth").prop("checked", checked); } >>>>>>> ...
<<<<<<< import { ADD_CHILD, REMOVE_CHILD, MOVE_CHILD, DELETE_CHILD } from '../../actions/workspace'; import { ADD_STATE, ADD_PROPS, ADD_STYLES, ADD_EVENTS, DELETE_STATE, DELETE_PROPS, DELETE_STYLES, DELETE_EVENTS } from '../../actions/config'; import { SET_ACTIVE_COMPONENT} from '../../actions/FileSystemActions'; ====...
<<<<<<< console.log('AC: ', allComponents); ======= >>>>>>>
<<<<<<< ======= >>>>>>> <<<<<<< tabElement.relatedDownloadButton = document.getElementById('button-tab-' + intTabNumber + '-download'); ======= if (window.process && window.process.type === 'renderer') { tabElement.relatedDownload...
<<<<<<< message += 'stats.timers.' + key + '.mean_' + clean_pct + ' ' + mean + ' ' + ts + "\n"; message += 'stats.timers.' + key + '.upper_' + clean_pct + ' ' + maxAtThreshold + ' ' + ts + "\n"; message += 'stats.timers.' + key + '.sum_' + clean_pct + ' ' + sum + ' ' + ts + "\n"; ...
<<<<<<< graphite: globalPrefix: global prefix to use for sending stats to graphite [default: "stats"] prefixCounter: graphite prefix for counter metrics [default: "counters"] prefixTimer: graphite prefix for timer metrics [default: "timers"] prefixGauge: graphite prefix for gauge metr...
<<<<<<< ' if it does not contain sql % wildcard, it will put your pattern between two % <br /><br />' + ' else it will consider you pattern as it is.' ======= '- if it does not contain sql % wildcard, it will put your pattern between two % <br /><br />' + ...
<<<<<<< var enabledCapabilities = {}; ======= const maxVertexAttributes = gl.getParameter( gl.MAX_VERTEX_ATTRIBS ); const newAttributes = new Uint8Array( maxVertexAttributes ); const enabledAttributes = new Uint8Array( maxVertexAttributes ); const attributeDivisors = new Uint8Array( maxVertexAttributes ); let ...
<<<<<<< if ( keys ) imports.push( `import {${keys}${EOL}} from "${pathPrefix}../../build/three.module.js";` ); ======= if ( keys ) imports.push( `import {${keys}\n} from '${pathPrefix}../../build/three.module.js';` ); >>>>>>> if ( keys ) imports.push( `import {${keys}${EOL}} from '${pathPrefix}../../build/three.m...
<<<<<<< ;window.Swipe = function(element, options) { ======= function Swipe(container, options) { >>>>>>> function Swipe(container, options) { <<<<<<< // static css this.container.style.overflow = 'hidden'; this.element.style.listStyle = 'none'; this.element.style.margin = 0; ======= var slide = sli...
<<<<<<< envMapEncoding: getTextureEncodingFromMap( material.envMap, renderer.gammaInput ), ======= envMapCubeUV: (!!material.envMap) && ((material.envMap.mapping === THREE.CubeUVReflectionMapping) || (material.envMap.mapping === THREE.CubeUVRefractionMapping)), envMapEncoding: ( !! material.envMap ) ?...
<<<<<<< if ( _this.gammaInput ) { uniforms.emissive.value.copyGammaToLinear( material.emissive, _this.gammaFactor ); uniforms.specular.value.copyGammaToLinear( material.specular, _this.gammaFactor ); } else { uniforms.emissive.value = material.emissive; uniforms.specular.value = material.specular; ...
<<<<<<< EXT_MESHOPT_COMPRESSION: 'EXT_meshopt_compression', ======= EXT_TEXTURE_WEBP: 'EXT_texture_webp', >>>>>>> EXT_TEXTURE_WEBP: 'EXT_texture_webp', EXT_MESHOPT_COMPRESSION: 'EXT_meshopt_compression', <<<<<<< /** * meshopt BufferView Compression Extension * * Specification: https://github.com/Khronos...
<<<<<<< ======= if ( ! hasMorphPosition && ! hasMorphNormal ) return; var morphPositions = []; var morphNormals = []; >>>>>>> if ( ! hasMorphPosition && ! hasMorphNormal ) return; var morphPositions = []; var morphNormals = []; <<<<<<< ======= if ( hasMorphNormal ) { >>>>>>> if ( hasMorphN...
<<<<<<< var deserializedImage = deserializeImage( currentUrl ); if ( deserializedImage !== null ) { if ( deserializedImage instanceof HTMLImageElement ) { ======= const path = /^(\/\/)|([a-z]+:(\/\/)?)/i.test( currentUrl ) ? currentUrl : scope.resourcePath + currentUrl; >>>>>>> const...
<<<<<<< function WebGLPrograms( renderer, extensions, capabilities, textures, bindingStates ) { ======= function WebGLPrograms( renderer, extensions, capabilities ) { >>>>>>> function WebGLPrograms( renderer, extensions, capabilities, textures, bindingStates ) { <<<<<<< program = new WebGLProgram( renderer, exte...
<<<<<<< // Tetrahedron var option = new UI.Row(); option.setClass( 'option' ); option.setTextContent( strings.getKey( 'menubar/add/tetrahedron' ) ); option.onClick( function () { var geometry = new THREE.TetrahedronBufferGeometry( 1, 0 ); var mesh = new THREE.Mesh( geometry, new THREE.MeshStandardMaterial() ...
<<<<<<< // Otherwise, if the current value is a string, move it to an array // if it's already in an array, then append to that array if (currentValue === undefined) { ======= if(typeof currentValue === 'undefined') { >>>>>>> if (typeof currentValue === 'undefined') { <<<<<<< } e...
<<<<<<< [ "How to run things locally", "manual/introduction/How-to-run-thing-locally" ], [ "Matrix transformations", "manual/introduction/Matrix-transformations" ] ======= [ "Matrix transformations", "manual/introduction/Matrix-transformations" ], [ "FAQ", "manual/introduction/FAQ" ] >>>>>>> [ "How to...
<<<<<<< // Collect influences ======= const morphTargets = material.morphTargets && geometry.morphAttributes.position; const morphNormals = material.morphNormals && geometry.morphAttributes.normal; // Remove current morphAttributes >>>>>>> // Collect influences <<<<<<< var influence = workInfluences[ ...
<<<<<<< import { WebGLMultiviewRenderTarget } from '../WebGLMultiviewRenderTarget.js'; import { NoToneMapping, AddOperation, MixOperation, MultiplyOperation, EquirectangularRefractionMapping, CubeRefractionMapping, SphericalReflectionMapping, EquirectangularReflectionMapping, CubeUVRefractionMapping, CubeUVReflectionMa...
<<<<<<< coverage = require('./coverage'), constants = require('./constants'); ======= coverage = require('./coverage'); >>>>>>> coverage = require('./coverage'), constants = require('./constants'); <<<<<<< this.config = config || configHelper.instance(); this.hostname...
<<<<<<< import { EventDispatcher } from '../core/EventDispatcher'; import { UVMapping } from '../constants'; import { MirroredRepeatWrapping, ClampToEdgeWrapping, RepeatWrapping, LinearEncoding, UnsignedByteType, RGBAFormat, LinearMipMapLinearFilter, LinearFilter } from '../constants'; import { _Math } from '../math/Ma...
<<<<<<< _currentCamera = null, _currentArrayCamera = null, ======= // geometry and program caching const _currentGeometryProgram = { geometry: null, program: null, wireframe: false }; let _currentCamera = null; let _currentArrayCamera = null; >>>>>>> let _currentCamera = null; let _currentArrayCam...
<<<<<<< // if ( x.length() === 0 ) x.set( 1, 0, 0 ); // if ( y.length() === 0 ) y.set( 0, 1, 0 ); /* this.n11 = x.x; this.n12 = x.y; this.n13 = x.z; this.n14 = - x.dot( eye ); this.n21 = y.x; this.n22 = y.y; this.n23 = y.z; this.n24 = - y.dot( eye ); this.n31 = z.x; this.n32 = z.y; this.n33 = z.z; this.n34 = - ...
<<<<<<< var position = geometry.attributes.position; if ( position.isInterleavedBufferAttribute ) { count = position.data.count; extension[ gl.isWebGL2 ? 'drawArraysInstanced' : 'drawArraysInstancedANGLE' ]( mode, 0, count, geometry.maxInstancedCount ); } else { extension[ gl.isWebGL2 ? 'drawArraysI...
<<<<<<< /** * @author alteredq / http://alteredqualia.com/ * @author mrdoob / http://mrdoob.com/ * @author WestLangley / http://github.com/WestLangley */ function SpotLightHelper( light, color ) { ======= function SpotLightHelper( light ) { >>>>>>> function SpotLightHelper( light, color ) {
<<<<<<< ======= if ( raycaster.camera === null ) { console.error( 'THREE.Sprite: "Raycaster.camera" needs to be set in order to raycast against sprites.' ); } if ( _uvC === undefined ) { _intersectPoint = new Vector3(); _worldScale = new Vector3(); _mvPosition = new Vector3(); _alignedPositi...
<<<<<<< if( material.length == 0 ) return; material = material[ currentMaterialSlot ] ======= >>>>>>>
<<<<<<< return _clearAlpha; ======= THREE.warn( 'THREE.WebGLRenderer: .setClearColorHex() is being removed. Use .setClearColor() instead.' ); this.setClearColor( hex, alpha ); >>>>>>> return _clearAlpha; <<<<<<< console.warn( 'THREE.WebGLRenderer: Texture is not power of two. Texture.wrapS and Texture.w...
<<<<<<< 'menubar/add/tetrahedron': 'Tetrahedron', ======= 'menubar/add/octahedron': 'Octahedron', >>>>>>> 'menubar/add/octahedron': 'Octahedron', 'menubar/add/tetrahedron': 'Tetrahedron', <<<<<<< 'sidebar/geometry/tetrahedron_geometry/radius': 'Radius', 'sidebar/geometry/tetrahedron_geometry/detai...
<<<<<<< "FlyControls": "examples/en/controls/FlyControls", "OrbitControls": "examples/en/controls/OrbitControls" ======= "OrbitControls": "examples/en/controls/OrbitControls", "PointerLockControls": "examples/en/controls/PointerLockControls" >>>>>>> "FlyControls": "examples/en/controls/FlyControl...
<<<<<<< "lightMap", "aoMap", "emissiveMap", "emissiveMapEncoding", "bumpMap", "normalMap", "objectSpaceNormalMap", "tangentSpaceNormalMap", "clearCoatNormalMap", "displacementMap", "specularMap", ======= "lightMap", "aoMap", "emissiveMap", "emissiveMapEncoding", "bumpMap", "normalMap", "objectSpaceNormalMap", "cl...
<<<<<<< var cache = this.primitiveCache; return this._withDependencies( [ ======= return this.getDependencies( 'accessor' ).then( function ( accessors ) { >>>>>>> var cache = this.primitiveCache; return this.getDependencies( 'accessor' ).then( function ( accessors ) {
<<<<<<< { path: 'misc/CarControls.js', dependencies: [], ignoreList: [] }, ======= { path: 'misc/Ocean.js', dependencies: [ { name: 'OceanShaders', path: 'shaders/OceanShaders.js' } ], ignoreList: [] }, >>>>>>> { path: 'misc/CarControls.js', dependencies: [], ignoreList: [] }, { path: 'misc/Ocean.js', dependen...
<<<<<<< }, // Normalize UVs to be from <0,1> // (for now just the first set of UVs) normalizeUVs: function ( geometry ) { var uvSet = geometry.faceVertexUvs[ 0 ]; for ( var i = 0, il = uvSet.length; i < il; i ++ ) { var uvs = uvSet[ i ]; ======= return new THREE.Vector3( dx, dy, dz ); } >>>>>>> ...
<<<<<<< var utils, bindingStates; ======= let utils; >>>>>>> let utils, bindingStates; <<<<<<< attributes = new WebGLAttributes( _gl ); bindingStates = new WebGLBindingStates( _gl, extensions, attributes, capabilities ); geometries = new WebGLGeometries( _gl, attributes, info, bindingStates ); ======= ...
<<<<<<< drawText : function(text) { var characterpts = [], pts = []; ======= drawText : function( text ) { var pts = []; >>>>>>> drawText : function( text ) { var characterpts = [], pts = []; <<<<<<< extractGlyphPoints : function(c, face, scale, offset){ var i, cpx, cpy, outline, act...
<<<<<<< var label = Ti.UI.createLabel({ color: (i === 0 && !!args.tabs.activeColor) ? args.tabs.activeColor : args.tabs.color, ======= tabs[i].add(Ti.UI.createLabel({ color: "#000", font: args.tabs.font, >>>>>>> var label = Ti.UI.createLabel({ color: (i === 0 && !!args.tabs.active...
<<<<<<< // restrict this to $.scrollableView to support nesting scrollableViews if (e.source.id === $.scrollableView.id){ // update the indicator position $.indicator.setLeft(e.currentPageAsFloat * $.iWidth); args.tabs && updateOffset(e.currentPageAsFloat); } ======= ...
<<<<<<< material = opaque.list[ i ]; setDepthTest( material.depthTest ); renderBuffer( camera, lights, fog, material, buffer, object ); } ======= setDepthTest( material.depthTest ); setPolygonOffset( material.polygonOffset, material.polygonOffsetFactor, material.polyg...
<<<<<<< #ifdef REFLECTIVITY uniform float reflectivity; #endif #ifdef CLEARCOAT uniform float clearCoat; uniform float clearCoatRoughness; ======= #ifdef PHYSICAL uniform float clearcoat; uniform float clearcoatRoughness; #endif #ifdef USE_SHEEN uniform vec3 sheen; >>>>>>> #ifdef REFLECTIVITY uniform float r...