conflict_resolution stringlengths 27 16k |
|---|
<<<<<<<
=======
this.refreshRate = options.refreshRate || 10;
this.interval = options.interval || 30;
this.invert = options.invert || false;
>>>>>>>
this.refreshRate = options.refreshRate || 10;
this.interval = options.interval || 30;
this.invert = options.invert || false;
<<<<<<<
=======
var drawI... |
<<<<<<<
'backbone' : 'JsLibraries/backbone',
'moment' : 'JsLibraries/moment',
'filesize' : 'JsLibraries/filesize',
'handlebars' : 'JsLibraries/handlebars.runtime',
'handlebars.helpers' : 'JsLibraries/handlebars.helpers',
'boots... |
<<<<<<<
bower = require('gulp-bower'),
babel = require('gulp-babel')
=======
bower = require('gulp-bower'),
browserSync = require('browser-sync').create();
>>>>>>>
bower = require('gulp-bower'),
babel = require('gulp-babel')
browserSync = require('browser-sync').create();
<<<<<<<
... |
<<<<<<<
}
export const UserPasswordAgreementLink = 'https://google.com'
=======
}
export default {
EPOCH,
Transactions
}
>>>>>>>
}
export default {
EPOCH,
Transactions
}
export const UserPasswordAgreementLink = 'https://google.com' |
<<<<<<<
if ( statement.start > lastEnd ) code.remove( lastEnd, statement.start );
if ( nextSeparator ) {
code.appendLeft( lastStatement ? lastStatement.getRightHandSide().end : lastEnd, nextSeparator );
=======
if ( !statement.collapsed ) {
if ( nextSeparator === '' ) {
if ( statement.sta... |
<<<<<<<
=======
// Create and Save a new sneaker
>>>>>>>
<<<<<<<
=======
// Retrieve and return all sneaker from the database.
/* exports.findAll = (req, res) => {
>>>>>>>
<<<<<<<
var findSneakerById = function(sneakerId, done) {
Sneaker.find({styleID:sneakerId},(err,data)=>{
if(err) return done(err)
... |
<<<<<<<
function createClient(channelName, lastEditSeen) {
=======
function createClient(channelName) {
>>>>>>>
function createClient(channelName, lastEditSeen) {
<<<<<<<
chan.lastEditSeen = lastEditSeen
=======
>>>>>>>
chan.lastEditSeen = lastEditSeen |
<<<<<<<
if (m.kind === 'kicked') {
E2.app.growl('You have been disconnected by the server: '+ m.reason,'disconnected', '', 30000)
=======
if (m.kind === 'kicked') { // kicked by server
E2.app.growl('You have been disconnected by the server: '+ m.reason, 30000)
>>>>>>>
if (m.kind === 'kicked') {... |
<<<<<<<
this.connectEditorChannel(function() {
=======
this.channel = new EditorChannel(this)
this.channel.on('ready', function() {
that.channel.join(that.path)
that.peopleStore.initialize()
that.setupMouseMirroring()
that.setupStoreListeners()
>>>>>>>
this.connectEditorChannel(function() {
that.peo... |
<<<<<<<
function returnErrors(errors) {
if (wantJson)
return res.status(400).json(errors)
req.flash('errors', errors)
return res.redirect('/login')
=======
if (errors) {
req.flash('errors', parseErrors(errors))
return res.redirect('/login')
>>>>>>>
function returnErrors(errors, status) {
... |
<<<<<<<
if (THREEx.FullScreen.activated()) {
E2.core.emit('resize')
=======
console.log('onWindowResize', THREEx.FullScreen.activated())
if (THREEx.FullScreen.activated()) {
E2.core.emit('resize')
>>>>>>>
if (THREEx.FullScreen.activated()) {
E2.core.emit('resize')
<<<<<<<
Application.prototype.toggleFulls... |
<<<<<<<
return kuzzle.repositories.role.searchRole(request.input.body && request.input.body.controllers, request.input.args)
=======
checkSearchPageLimit(request, kuzzle.config.limits.documentsFetchCount);
return kuzzle.repositories.role.searchRole(request)
>>>>>>>
checkSearchPageLimit(request, kuzz... |
<<<<<<<
const SolidityCoder = require("web3/lib/solidity/coder.js");
const Web3 = require("web3");
=======
import Web3 from 'web3';
let web3 = new Web3();
let sha3 = web3.utils.sha3;
let BN = web3.utils.BN;
>>>>>>>
const Web3 = require("web3");
let web3 = new Web3();
let sha3 = web3.utils.sha3;
let BN = web3.utils.B... |
<<<<<<<
constructor(props) {
super(props);
this.setAssetUploadReference = this.setAssetUploadReference.bind(this);
}
=======
>>>>>>>
<<<<<<<
setAssetUploadReference(ref) {
if (ref === null) {
this.assetUpload = null;
return;
}
this.assetUp... |
<<<<<<<
toggled: new Set(),
=======
uncollapsed: new Set([$get('cr.nodes.siteNode', state)]),
hidden: new Set(),
intermediate: new Set(),
>>>>>>>
toggled: new Set(),
hidden: new Set(),
intermediate: new Set(), |
<<<<<<<
import Float from './Float/index';
=======
import Count from './Count/index';
>>>>>>>
import Float from './Float/index';
import Count from './Count/index';
<<<<<<<
validatorRegistry.add('Neos.Neos/Validation/FloatValidator', Float);
=======
validatorRegistry.add('Neos.Neos/Validation/CountValidato... |
<<<<<<<
execute: sinon.stub().returns(Promise.resolve(foo)),
initHttpRouter: sinon.spy(),
newConnection: sinon.stub().returns(Promise.resolve(foo)),
=======
execute: sinon.stub().resolves(foo),
init: sinon.spy(),
newConnection: sinon.stub().resolves(foo),
>>>>>>>
execute: sinon.stub().ret... |
<<<<<<<
import React from 'react';
import SelectBox from '@neos-project/react-ui-components/lib/SelectBox/';
=======
import React, {PropTypes} from 'react';
import {SelectBox} from 'Components';
>>>>>>>
import React, {PropTypes} from 'react';
import SelectBox from '@neos-project/react-ui-components/lib/SelectBox/'; |
<<<<<<<
<Icon icon="power-off" aria-hidden="true" className={style.dropDown__itemIcon}/>
<I18n id="logout" fallback="Logout"/>
=======
<Icon icon="power-off" className={style.dropDown__itemIcon}/>
... |
<<<<<<<
import Label from './Label/index';
=======
import EmailAddress from './EmailAddress/index';
import Integer from './Integer/index';
import Alphanumeric from './Alphanumeric/index';
import Float from './Float/index';
import Count from './Count/index';
>>>>>>>
import Label from './Label/index';
import EmailAddr... |
<<<<<<<
const MediaSelectionScreen = (props) => {
const {SecondaryInspector} = window['@Neos:HostPluginAPI'];
=======
const MediaSelectionScreen = props => {
>>>>>>>
const MediaSelectionScreen = props => {
const {SecondaryInspector} = window['@Neos:HostPluginAPI']; |
<<<<<<<
import String from './String/index';
import StringLength from './StringLength/index';
=======
import Text from './Text/index';
>>>>>>>
import String from './String/index';
import StringLength from './StringLength/index';
import Text from './Text/index';
<<<<<<<
validatorRegistry.add('Neos.Neos/Validatio... |
<<<<<<<
=======
import shallowCompare from 'react-addons-shallow-compare';
import SecondaryInspector from 'Host/Extensibility/API/SecondaryInspector';
>>>>>>>
import shallowCompare from 'react-addons-shallow-compare'; |
<<<<<<<
VM.runInThisContext(FS.readFileSync(bemhtmlFile, 'utf-8'));
return BEMHTML.apply(VM.runInThisContext(FS.readFileSync(bemjsonFile, 'utf-8')));
};
exports.getDependencies = function() {
return ['bemjson.js', 'bemhtml.js'];
=======
vm.runInThisContext(fs.readFileSync(bemhtmlFile, 'utf-8'));
... |
<<<<<<<
var mkdirp = require('mkdirp');
=======
var _ = require('underscore');
>>>>>>>
var mkdirp = require('mkdirp');
var _ = require('underscore');
<<<<<<<
checkOutputDir();
if (options.sync) {
if (!syncFinished) {
throw new Error('Problem attempting synchronous examine.');
} els... |
<<<<<<<
=======
this.friction = 0.05; // velocity lost per milisecond
>>>>>>>
this.friction = 0.05; // velocity lost per milisecond
<<<<<<<
var eye = this.camera.position.clone().sub(this.target);
var right = eye.clone().cross( this.camera.up );
var up = right.clone().cross(eye)... |
<<<<<<<
/**
* Defines utilities that are used throughout the spotcheck pages
*/
angular.module('open.spotcheck', ['open.core', 'smart-table', 'diff-match-patch'])
.factory('SpotcheckMismatchIgnoreAPI', ['$resource', mismatchIgnoreApi])
.factory('SpotcheckMismatchTrackingAPI', ['$resource', mismatchTrackingApi... |
<<<<<<<
'data:listIndexes': [],
'data:createIndex': ['write:add'],
'data:deleteIndex': ['write:add'],
'data:deleteIndexes': ['write:add'],
'data:putRole': []
};
=======
'data:putRole': [],
'data:publish': []
};
>>>>>>>
'data:publish': [],
'data:listIndexes': [],
'data:createIndex': ['write:add'],... |
<<<<<<<
should(kuzzle.validation).be.an.Object();
should(kuzzle.start).be.a.Function();
=======
sinon.assert.callOrder(
kuzzle.pluginsManager.trigger,
kuzzle.internalEngine.deleteIndex,
kuzzle.services.list.internalCache.flushdb,
kuzzle.services.list.... |
<<<<<<<
GatewayTimeoutError = require('kuzzle-common-objects').errors.GatewayTimeoutError,
PluginImplementationError = require('kuzzle-common-objects').errors.PluginImplementationError,
KuzzleError = require('kuzzle-common-objects').errors.KuzzleError,
getRequestRoute = require('../../../util/string').getReques... |
<<<<<<<
=======
queryParams,
additionalData,
isError,
match,
>>>>>>>
queryParams,
additionalData, |
<<<<<<<
curvAlpha: { type:'f', value:1.},
curvScale: { type:'f', value:2.0},//0.5 TEMP FIX!!
curvLim: { type:'f', value:.2},
curvMean: { type:'f', value:0.5},
dataAlpha: { type:'f', value:1.0},
hatchAlpha: { type:'f', value:1.},
... |
<<<<<<<
Button,
useColorContext
=======
colors
>>>>>>>
useColorContext
<<<<<<<
let isUnkownType = false
let title = t.first(
[`notifications/${type}/${context}/title`, `notifications/${type}/title`],
undefined,
''
)
if (!title && !knownTypes.includes(type)) {
title = t('notifications... |
<<<<<<<
import {maxLogicalDepth, countNodes, withData, downvoteComment, upvoteComment, submitComment} from './enhancers'
=======
import {countNodes, withData, downvoteComment, upvoteComment, submitComment} from './enhancers'
import DiscussionPreferences from './DiscussionPreferences'
>>>>>>>
import {maxLogicalDepth,... |
<<<<<<<
className={!cover && inNativeApp ? styles.coverless : undefined}
=======
className={!cover ? me ? styles.coverlessWithMe : styles.coverless : undefined}
>>>>>>>
className={!cover ? me ? styles.coverlessWithMe : styles.coverless : undefined}
<<<<<<<
inNativeApp={inNativeApp}
======... |
<<<<<<<
audioCloseHandler,
inNativeApp
=======
audioCloseHandler,
onNavBarChange
>>>>>>>
audioCloseHandler,
inNativeApp,
onNavBarChange
<<<<<<<
const borderBottom = !inNativeApp && formatColor && !expand ? `3px solid ${formatColor}` : `1px solid ${colors.divider}`
... |
<<<<<<<
<Popover expanded={!!expand} inNativeApp={inNativeApp} me={me} isMobile={mobile}>
<NavPopover
me={me}
url={url}
closeHandler={this.close}
/>
</Popover>
=======
>>>>>>> |
<<<<<<<
// the repositories need to be instanciated after the services are initialized
this.repositories = require('./core/models/repositories')(this);
=======
// Start a single set of workers
if (this.isWorker === undefined || this.isWorker === true) {
this.workers.init();
}
// The remote ... |
<<<<<<<
if (SVG.config.mtextFontInherit || this.Parent().type === "merror") {
this.SVGgetStyles();
var svg = this.SVG(), scale = this.SVGgetScale();
this.SVGhandleSpace(svg);
=======
this.SVGgetStyles();
var svg, text, scale;
if (this.Parent().type === "me... |
<<<<<<<
mrow.Append(
MML.mo(open).With({fence:true, stretchy:true, texClass:MML.TEXCLASS.OPEN}),
mml,
MML.mo(close).With({fence:true, stretchy:true, texClass:MML.TEXCLASS.CLOSE})
);
=======
mrow.Append(MML.mo(open).With({fence:true, stretchy:true, symmetric:true, texClass:MML... |
<<<<<<<
onkeydown: MENU.About.Keydown, tabIndex: 0,
"aria-label": "Close", "aria-describedby": _("CloseWindow","Close window")},
=======
onkeydown: MENU.About.Keydown, tabIndex: 0, role: "button",
"aria-label": "Close window"},
>>>>>>>
onkeyd... |
<<<<<<<
if (['write', 'admin', 'bulk'].indexOf(requestObject.controller) !== -1) {
kuzzle.services.list.broker.listen(requestObject.uniqueRoom, function (writeResponse) {
kuzzle.notifier.notify(requestObject.requestId, writeResponse, connection);
});
=======
if (['write... |
<<<<<<<
{verb: 'post', url: '/_login/:strategy', controller: 'auth', action: 'login'},
=======
{verb: 'post', url: '/_checkToken', controller: 'auth', action: 'checkToken'},
>>>>>>>
{verb: 'post', url: '/_checkToken', controller: 'auth', action: 'checkToken'},
{verb: 'post', url: '/_l... |
<<<<<<<
rgb = rgb.replace(/^\s+/,"").replace(/\s+$/,"").split(/\s*,\s*/); var RGB = "#";
if (rgb.length !== 3) {this.TEX.Error("rgb colors require 3 decimal numbers")}
=======
rgb = rgb.split(/,/); var RGB = "#";
if (rgb.length !== 3)
{this.TEX.Error(["ModelArg1","Color values for the %1 model r... |
<<<<<<<
version: "1.1.3",
=======
version: "1.1.2",
>>>>>>>
version: "1.1.4",
<<<<<<<
noInheritAttribute: {
texClass: true
},
=======
linebreakContainer: FALSE,
>>>>>>>
noInheritAttribute: {
texClass: true
},
linebreakContainer: FALSE, |
<<<<<<<
if (alttext && !svg.element.getAttribute("aria-label")) span.setAttribute("aria-label",alttext);
if (!svg.element.getAttribute("role")) span.setAttribute("role","math");
// span.setAttribute("tabindex",0); // causes focus outline, so disable for now
svg.element.setAttribute... |
<<<<<<<
MathJax.fileversion = "1.1.13";
=======
MathJax.fileversion = "1.1.8";
>>>>>>>
MathJax.fileversion = "1.1.14";
<<<<<<<
showMathMenu: true, // attach math context menu to mathml?
showMathMenuMSIE: true, // separtely determine if MSIE should have math menu
// (since... |
<<<<<<<
EndEntry: function () {
var mtd = MML.mtd.apply(MML,this.data);
if (this.hfill.length) {
if (this.hfill[0] === 0) mtd.columnalign = "right";
if (this.hfill[this.hfill.length-1] === this.data.length)
mtd.columnalign = (mtd.columnalign ? "center" : "left");
}
... |
<<<<<<<
MathJax.fileversion = "1.1.12";
=======
MathJax.fileversion = "1.1.13";
>>>>>>>
MathJax.fileversion = "1.1.13";
<<<<<<<
id: "OutputJax",
version: "1.1",
=======
version: "1.1.1",
>>>>>>>
id: "OutputJax",
version: "1.1.1",
<<<<<<<
id: "ElementJax",
version: "1.1",
=======
... |
<<<<<<<
=======
hideProcessedMath: true, // use display:none until all math is processed
LEFTBUTTON: (HUB.Browser.isMSIE ? 1 : 0), // the event.button value for left button
MENUKEY: "altKey", // the event value for alternate context menu
>>>>>>>
hideProcess... |
<<<<<<<
MathJax.Message.Set("Can't find a valid font using ["+this.config.availableFonts.join(", ")+"]",null,3000);
this.fontInUse = "generic";
=======
MESSAGE(["CantFindFontUsing","Can't find a valid font using %1",
"["+this.config.availableFonts.join(", ")+"]"],null,3000);
>... |
<<<<<<<
* Implements LaTeX-compatible \color macro rather than MathJax's original
* (non-standard) version. It includes the rgb, gray, and named color
* models, and the \textcolor, \definecolor, \colorbox, and \fcolorbox
* macros.
=======
* Implements LaTeX-compatible \color macro rather than MathJax's
* ... |
<<<<<<<
jax.em = this.em; jax.outerEm = this.outerEm; jax.scale = this.scale;
=======
this.getLinebreakWidth(frame);
>>>>>>>
jax.em = this.em; jax.outerEm = this.outerEm; jax.scale = this.scale;
this.getLinebreakWidth(frame);
<<<<<<<
getJaxFromMath: function (math) {
if (math.paren... |
<<<<<<<
SENSOR_ALIGNMENT.align_gyro = parseInt(orientation_gyro_e.val());
SENSOR_ALIGNMENT.align_acc = parseInt(orientation_acc_e.val());
SENSOR_ALIGNMENT.align_mag = parseInt(orientation_mag_e.val());
=======
// track feature usage
if (isFeatureEnabled('RX... |
<<<<<<<
var switchery = new Switchery(elem, {
size: 'small'
});
$(elem).on("change", function (evt) {
=======
var switchery = new Switchery(elem, {
size: 'small',
color: 'var(--accent)',
secondaryColor: 'var(--switcherysecond)'
... |
<<<<<<<
OSD.constants.TIMER_TYPES = [
'ON TIME',
'TOTAL ARMED TIME',
'LAST ARMED TIME'
];
if (semver.gte(CONFIG.apiVersion, "1.42.0")) {
OSD.constants.TIMER_TYPES = OSD.constants.TIMER_TYPES.concat([
'ON/ARM TIME'
]);
}
=======
if (semver.gt... |
<<<<<<<
// if tracking is enabled, check the statistics checkbox
if (googleAnalyticsConfig.isTrackingPermitted()) {
$('div.statistics input').prop('checked', true);
}
=======
$('input[name="expertModeCheckbox"]').prop('checked... |
<<<<<<<
}
MSP.SDCARD_STATE_NOT_PRESENT = 0;
MSP.SDCARD_STATE_FATAL = 1;
MSP.SDCARD_STATE_CARD_INIT = 2;
MSP.SDCARD_STATE_FS_INIT = 3;
MSP.SDCARD_STATE_READY = 4;
=======
}
MSP.sendRxFailConfig = function(onCompleteCallback) {
var nextFunction = send_next_rxfail_config;
var rxFailIndex = 0... |
<<<<<<<
import { NativeModules, Platform } from 'react-native'
import { connectionTag, type ConnectionTag, logger, isDevelopment } from 'utils/common'
import type Model, { RecordId } from 'Model'
import type Query from 'Query'
import type { TableName, AppSchema } from 'Schema'
import type {
DatabaseAdapter,
Cached... |
<<<<<<<
StatisticsAction = require("./action/StatisticsAction"),
approveAction = require("./action/ApproveAction"),
=======
ApproveAction = require("./action/ApproveAction"),
>>>>>>>
StatisticsAction = require("./action/StatisticsAction"),
ApproveAction = require("./action/ApproveAction"),
<<<<<... |
<<<<<<<
if(GLOBAL.DEBUG ){
user = req.session.user = {loginName: "coverguo", chineseName: '郭锋棉' ,role : 1, id:1}
}
=======
>>>>>>>
//if(GLOBAL.DEBUG ){
// user = req.session.user = {loginName: "coverguo", chineseName: '郭锋棉' ,role : 1, id:1}
//} |
<<<<<<<
var Leisure, Prim, ReplCore, addsLine, bindNotebook, box, checkMutateFromModification, checkMutateToDef, cleanOutput, codeBox, codeSpan, configureSaveLink, continueRangePosition, delay, envFor, evalDoc, evalOutput, findDefs, getBox, getRangePosition, getRangeText, getRanges, grp, highlightPosition, initNotebo... |
<<<<<<<
var controlDiv, loadButton, processButton, testButton, themeSelect, viewSelect, _ref, _ref2;
controlDiv = createNode("<div LeisureOutput contentEditable='false' class='leisure_bar'>\n <span class='leisure_load'>Load: </span>\n <input type='file' leisureId='loadButton'></input>\n <a download='program.... |
<<<<<<<
ToolbarAndroid,
Navigator,
=======
BackAndroid,
>>>>>>>
ToolbarAndroid,
Navigator,
BackAndroid,
<<<<<<<
=======
_renderScene: function (route, navigator) {
this.navigator = navigator;
switch (route.name) {
case 'Examples':
return <Home navigator={navigator}/>;
def... |
<<<<<<<
export const calculateZoomLevelFromResolutions = (resolutions, scale) => {
const sortedResolutions = resolutions.map(x => +x).sort((a, b) => b - a);
=======
export const calculateZoomLevelFromResolutions = (resolutions, scale) => {
const sortedResolutions = resolutions.map(x => +x).sort((a,b) => b-a)
//... |
<<<<<<<
toRemoveIds.forEach((id) => {
const tileIdStr = id;
=======
if (this.renderingTiles.size) { return; }
toRemoveIds.forEach((x) => {
const tileIdStr = x;
>>>>>>>
if (this.renderingTiles.size) { return; }
toRemoveIds.forEach((id) => {
const tileIdStr = id;
<<<<<<<
====... |
<<<<<<<
=======
if (this.options.valueScaling) { this.calculateMedianVisibleValue(); }
this.synchronizeTilesAndGraphics();
>>>>>>>
<<<<<<<
this.refreshTiles();
=======
>>>>>>> |
<<<<<<<
=======
let showDebug = 0;
>>>>>>>
let showDebug = 0;
<<<<<<<
//tileStatus = [];
=======
>>>>>>>
<<<<<<<
tileStatus[tile[1]]= [];
if(!tileStatus[tile[1]][tile[2]])
... |
<<<<<<<
// there might no be a value scale if no valueColumn was specified
if (this.valueScale) this.drawAxis(this.valueScale);
=======
if (this.valueScale) {
// there might no be a value scale if no valueColumn
// was specified
this.drawAxis(this.valueScale);
}
>>>>>... |
<<<<<<<
import { scaleLinear, scaleLog } from 'd3-scale';
import { tileProxy } from './services';
import { format } from 'd3-format';
=======
import { scaleLinear } from 'd3-scale';
>>>>>>>
import { format } from 'd3-format';
import { scaleLinear } from 'd3-scale';
<<<<<<<
}
stopHover() {
this.pMouseOver.c... |
<<<<<<<
import pubSub, { create } from './services/pub-sub';
let stack = {};
let pubSubs = [];
const apiPubSub = create(stack);
export const destroy = () => {
pubSubs.forEach(subscription => pubSub.unsubscribe(subscription));
pubSubs = [];
stack = {};
};
=======
import pubSub from './services/pub-sub';
impor... |
<<<<<<<
return Promise.resolve({
_index: kuzzle.config.internalIndex,
=======
return q({
_index: '%kuzzle',
>>>>>>>
return q({
_index: kuzzle.config.internalIndex,
<<<<<<<
return Promise.resolve({
_index: kuzzle.config.internalI... |
<<<<<<<
import createElementAndApi from './utils/create-element-and-api';
import removeDiv from './utils/remove-div';
=======
import {
viewer
} from '../app/scripts/hglib';
configure({ adapter: new Adapter() });
function findCanvas(element) {
if (element.tagName.toLowerCase() === 'canvas') return element;
let... |
<<<<<<<
import { mix } from '../mixwith';
=======
import slugid from 'slugid';
>>>>>>>
import { mix } from '../mixwith';
import slugid from 'slugid';
<<<<<<<
PIXI,
mix,
=======
PIXI, slugid,
>>>>>>>
PIXI,
mix,
PIXI, slugid, |
<<<<<<<
class Tiled1DPixiTrack extends TiledPixiTrack {
=======
const BINS_PER_TILE = 1024;
export class Tiled1DPixiTrack extends TiledPixiTrack {
>>>>>>>
const BINS_PER_TILE = 1024;
class Tiled1DPixiTrack extends TiledPixiTrack { |
<<<<<<<
=======
this.canvasDom = ReactDOM.findDOMNode(this.currentProps.canvasElement);
// used to determine whether to update the graphics of the
// child tracks
this.mounted = true;
>>>>>>>
<<<<<<<
initialXDomain === this.initialXDomain &&
initialYDomain === this.initialYDomain
====... |
<<<<<<<
import BasicMultipleLineChart from './BasicMultipleLineChart';
import BasicMultipleBarChart from './BasicMultipleBarChart';
import BasicStackedBarChart from './BasicStackedBarChart';
=======
import AnnotationsInsets from './AnnotationsInsets';
import Insets2dTrack from './Insets2dTrack';
>>>>>>>
import Bas... |
<<<<<<<
export { default as reduce } from './reduce';
=======
export { default as rangeQuery2d } from './range-query-2d';
>>>>>>>
export { default as reduce } from './reduce';
export { default as rangeQuery2d } from './range-query-2d';
<<<<<<<
export { default as svgLine } from './svg-line';
export { default as til... |
<<<<<<<
this.uuid = slugid.nice();
=======
this.refreshTilesDebounced = debounce(
this.refreshTiles.bind(this), ZOOM_DEBOUNCE
);
>>>>>>>
this.uuid = slugid.nice();
this.refreshTilesDebounced = debounce(
this.refreshTiles.bind(this), ZOOM_DEBOUNCE
... |
<<<<<<<
class HorizontalLine1DPixiTrack extends HorizontalTiled1DPixiTrack {
=======
export class HorizontalLine1DPixiTrack extends HorizontalTiled1DPixiTrack {
constructor(
scene,
dataConfig,
handleTilesetInfoReceived,
option,
animate,
onValueScaleChanged,
) {
super(
scene,
... |
<<<<<<<
import { HeatmapTiledPixiTrack } from './HeatmapTiledPixiTrack';
import { format } from 'd3-format';
=======
import HeatmapTiledPixiTrack from './HeatmapTiledPixiTrack';
>>>>>>>
import { format } from 'd3-format';
import HeatmapTiledPixiTrack from './HeatmapTiledPixiTrack'; |
<<<<<<<
/*
this.element.addEventListener('mousewheel', (evt) => {
console.log('element mw', evt)
})
this.element.addEventListener('wheel', (evt) => {
console.log('wheel', evt);
})
*/
=======
>>>>>>>
<<<<<<<
// console.log('fe e:', e);
=======
>>>>>>>
<<<<<<<
this.p... |
<<<<<<<
if ( node.name in meta ) {
return meta[ node.name ].enter( generator, node );
}
const isComponent = node.name in generator.components || node.name === ':Self';
=======
const isComponent = generator.components.has( node.name ) || node.name === ':Self';
>>>>>>>
if ( node.name in meta ) {
retur... |
<<<<<<<
function create_main_fragment ( state, component ) {
=======
function create_main_fragment ( root, component ) {
var text_value;
>>>>>>>
function create_main_fragment ( state, component ) {
var text_value;
<<<<<<<
var text_value = state.foo;
var text = createText( text_value );
=======
var text = c... |
<<<<<<<
=======
const anchor = `${name}_anchor`;
const iterations = `${name}_iterations`;
>>>>>>>
const iterations = `${name}_iterations`;
<<<<<<<
const isToplevel = generator.current.localElementDepth === 0;
=======
>>>>>>>
<<<<<<<
for ( var i = 0; i < ${name}_iterations.length; i += 1 ) {
${nam... |
<<<<<<<
let addAttribute = false;
if ( attribute.name === 'xmlns' ) {
=======
if ( name === 'xmlns' ) {
>>>>>>>
let addAttribute = false;
if ( name === 'xmlns' ) {
<<<<<<<
addAttribute = true;
}
if (addAttribute) {
generator.uses.setAttribute = true;
=======
g... |
<<<<<<<
=======
import 'dotenv/config';
import sirv from 'sirv';
>>>>>>>
import 'dotenv/config';
import sirv from 'sirv';
<<<<<<<
serve('static', { setHeaders: res => res.setHeader('Access-Control-Allow-Origin', '*') }),
=======
compression({ threshold: 0 }),
sirv('static', {
setHeaders(res) {
res.setHead... |
<<<<<<<
hydrate: function() {
foo_handler = foo.call(component, button, function(event) {
=======
h: function hydrate() {
foo_handler = template.events.foo.call(component, button, function(event) {
>>>>>>>
h: function hydrate() {
foo_handler = foo.call(component, button, function(event) { |
<<<<<<<
text = createText("foo");
this.h();
=======
button.textContent = "foo";
this.hydrate();
>>>>>>>
button.textContent = "foo";
this.h(); |
<<<<<<<
if (this.options.selectable === true) {
let obj = this.getNodeAt(pointer) || this.getEdgeAt(pointer);;
=======
if (this.options.select === true) {
let obj = this.getNodeAt(pointer) || this.getEdgeAt(pointer);
>>>>>>>
if (this.options.selectable === true) {
let obj = this.getNod... |
<<<<<<<
/**
* do a small comparision to get the direction between two touches.
* @method getDirection
* @param {Touch} touch1
* @param {Touch} touch2
* @return {String} direction matches `DIRECTION_LEFT|RIGHT|UP|DOWN`
*/
getDirection: function getDirection(touch1, t... |
<<<<<<<
network = process.env.arcjs_network || 'kovan';
=======
>>>>>>> |
<<<<<<<
function playMastheadRippleTransition(startPage, endPage, e) {
return new Promise(function(resolve) {
var t = IOWA.Elements.Template;
var startBgClass = t.pages[startPage].mastheadBgClass;
var endBgClass = t.pages[endPage].mastheadBgClass;
var isFadeRipple = startBgClass === endBg... |
<<<<<<<
const isProd = process.env.NODE_ENV === 'production';
const isTest = process.env.NODE_ENV === 'test';
const isDev = !isProd && !isTest;
const styles = () => {
return src('src/app/**/*.scss')
.pipe($.plumber())
.pipe($.if(!isProd, $.sourcemaps.init()))
.pipe($.sass.sync({
... |
<<<<<<<
this.numberOfTexturesRemoved = 0;
=======
this.numberOfMeshesRemoved = 0;
>>>>>>>
this.numberOfTexturesRemoved = 0;
this.numberOfMeshesRemoved = 0;
<<<<<<<
process.stdout.write('Textures removed: ' + this.numberOfTexturesRemoved + '\n');
=======
process.stdout.write('Meshes removed... |
<<<<<<<
var tetrahedronGrid = StaticUniformGrid.fromTriangleSoup(tetrahedron, 10.0);
=======
// data for an equilateral triangle whose center is inside the tetrahedron
var normal = new Cartesian3(0.0, 1.0, 0.0);
var equilateralBufferDataByAccessor = {
indices : {
data : [0, 1, 2]
... |
<<<<<<<
var fsOutputFile = Promise.promisify(fsExtra.outputFile);
// .crn (Crunch) is not a supported mime type, so add it
mime.define({'image/crn': ['crn']});
=======
>>>>>>>
<<<<<<<
// Write sources for compressed textures
if (name === 'images') {
var image = object;
... |
<<<<<<<
=======
fragmentShaderUri = 'data:text/plain;base64,' + Buffer.from(fragmentShaderData).toString('base64');
>>>>>>>
<<<<<<<
expect(gltf.shaders[0].extras).not.toBeDefined();
expect(gltf.shaders[0].uri).toEqual('CesiumTexturedBoxTest0FS.glsl');
... |
<<<<<<<
' -q, quantize the attributes of this model.\n' +
' --ao.toTexture: Bake AO to existing diffuse textures instead of to vertices. Does not modify shaders. Deactivated by default.\n' +
' --ao.groundPlane: Add a groundplane at the lowest point of the model for AO computation. Deactivated... |
<<<<<<<
var Cesium = require('cesium');
var defaultValue = Cesium.defaultValue;
var OptimizationStatistics = require('./OptimizationStatistics');
=======
var async = require('async');
>>>>>>>
var Cesium = require('cesium');
var defaultValue = Cesium.defaultValue;
var OptimizationStatistics = require('./Optimizatio... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.