conflict_resolution stringlengths 27 16k |
|---|
<<<<<<<
this.onUpdate();
=======
this.initialized = true;
this.triggerOnUpdate();
>>>>>>>
this.initialized = true;
this.onUpdate();
<<<<<<<
this.onUpdate();
=======
this.initialized = true;
this.triggerOnUpdate();
>>>... |
<<<<<<<
// Empty the selector of any existing content
d3.select(selector).html("");
// If state was passed as a fourth argument then merge it with layout (for backward compatibility)
if (typeof state != "undefined"){
var stateful_layout = { state: state };
var base_layout = layout || {};... |
<<<<<<<
tutao.locator.mailFolderListViewModel.selectedFolder().move(folder, mails).then(function() {
tutao.locator.mailListViewModel.disableMobileMultiSelect();
});
}, null, false, "moveAction" + folder.getName(), folder.getIconId()));
===... |
<<<<<<<
exec(resolve, function (error) {
reject(new tutao.crypto.CryptoError(error));
},"Crypto", "generateRsaKey", [keyLength]);
=======
var seed = tutao.util.EncodingConverter.hexToBase64(tutao.locator.randomizer.generateRandomData(512));
exec(resolve, reject,"Crypto", "generat... |
<<<<<<<
| "certificateType_label"
| "indexedMails_label"
=======
| "certificateType_label"
| "showAll_action"
>>>>>>>
| "certificateType_label"
| "indexedMails_label"
| "showAll_action" |
<<<<<<<
* Provides the sub folder list id of this folder.
* @return {string} The list id.
*/
tutao.tutanota.ctrl.MailFolderViewModel.prototype.getSubFolderListId = function() {
return this._mailFolder.getSubFolders();
};
/**
* Provides the id of this folder.
* @return {Array.<string>} The id of this MailFo... |
<<<<<<<
return {
"name": "tutanota-desktop" + nameSuffix,
"main": "./src/desktop/DesktopMain.js",
"version": version,
"author": "Tutao GmbH",
"description": "The desktop client for Tutanota, the secure e-mail service.",
"scripts": {
"start": "electron ."
},
"tutao-config": {
"pubKeyUrl": "https:/... |
<<<<<<<
lastDistance: number;
lastScale: number;
=======
mailHeaderDialog: Dialog;
mailHeaderInfo: string;
>>>>>>>
mailHeaderDialog: Dialog;
mailHeaderInfo: string;
lastDistance: number;
lastScale: number;
<<<<<<<
m(".rel.scroll-x" + (client.isMobileDevice() ? "" : ".scroll"),
m("#mail-body.sel... |
<<<<<<<
tutao.entity.tutanota.TutanotaConstants.CUSTOM_DOMAIN_STATUS_OK = 0;
tutao.entity.tutanota.TutanotaConstants.CUSTOM_DOMAIN_STATUS_DNS_LOOKUP_FAILED = 1;
tutao.entity.tutanota.TutanotaConstants.CUSTOM_DOMAIN_STATUS_MISSING_MX_RECORD = 2;
tutao.entity.tutanota.TutanotaConstants.CUSTOM_DOMAIN_STATUS_MISSING_SPF_R... |
<<<<<<<
tutao.rest.EntityRestCache.prototype.getElement = function(type, path, id, listId, parameters, headers, callback) {
var self = this;
var cacheListId = (listId) ? listId : "0";
var versionRequest = (parameters && parameters.version) ? true : false;
if (versionRequest || !this._db[path] || !this._db[path][cac... |
<<<<<<<
let dialog = new Dialog(DialogType.EditSmall, {
view: () => [
=======
let dialog = new Dialog(type, {
view: () => m("", [
>>>>>>>
let dialog = new Dialog(type, {
view: () => [ |
<<<<<<<
export const ContactComparisonResult = {
Unique: "unique",
Similar: "similar",
Equal: "equal",
}
export type ContactComparisonResultEnum = $Values<typeof ContactComparisonResult>;
export const IndifferentContactComparisonResult = {
OneEmpty: "oneEmpty",
BothEmpty: "bothEmpty",
}
export type IndifferentCo... |
<<<<<<<
import {MailEditor} from "../mail/MailEditor"
import {mailModel} from "../mail/MailModel"
=======
import {SentGroupInvitationTypeRef} from "../api/entities/sys/SentGroupInvitation"
import {PreconditionFailedError} from "../api/common/error/RestError"
import {showSharingBuyDialog} from "../subscription/Whitela... |
<<<<<<<
"yourMessage_label": "Deine Nachricht",
"goPremium_msg": "Als Premium-Nutzer kannst du links im Menü deine Suchfilter anpassen.",
"changeTimeFrame_msg": "Mit Premium kannst du deinen Suchzeitraum erweitern!",
"stillReferencedFromContactForm_msg": "Diese Instanz kann nicht deaktiviert werden, da sie noch... |
<<<<<<<
=======
>>>>>>> |
<<<<<<<
"yourMessage_label": "Deine Nachricht",
"privacyPolicyUrl_label": "Link zur Datenschutzerklärung",
"acceptPrivacyPolicyReminder_msg": "Bitte erkenne die Datenschutzerklärung an, indem du das Häkchen setzt.",
"acceptPrivacyPolicy_msg": "Ich habe die {privacyPolicy} gelesen und erkenne sie an.",
"allowP... |
<<<<<<<
"yourMessage_label": "Ihre Nachricht",
"allowPushNotification_msg": "Bitte deaktivieren Sie die Akkuoptimierung für Tutanota, damit Benachrichtigungen für neue E-Mails zuverlässig angezeigt werden können. Sie können dies auch später in den Einstellungen ändern.",
"permanentAliasWarning_msg": "Dies ist ein... |
<<<<<<<
// console.log('action in reducer', action);
// console.log('REDUCER CALLED!, check the width',action.payload);
=======
>>>>>>> |
<<<<<<<
var path = __webpack_require__(235);
var fs = __webpack_require__(234);
=======
var path = __webpack_require__(95);
var LiveRender = function (_Component) {
_inherits(LiveRender, _Component);
function LiveRender() {
_classCallCheck(this, LiveRender);
return _possibleConstructorReturn(this, (Liv... |
<<<<<<<
let mainWindow;
=======
// set up local express server for python data processing
var server = require('./server/express');
>>>>>>>
// set up local express server for python data processing
var server = require('./server/express');
<<<<<<<
// Dereference the window object, usually you would store win... |
<<<<<<<
url: path.resolve(__dirname, 'app/components/temp/temp.html' )
=======
url: path.resolve(__dirname, 'app/components/temp/temp.html'),
>>>>>>>
url: path.resolve(__dirname, 'app/components/temp/temp.html'),
<<<<<<<
const amdRequire = global.require('monaco-editor/min/vs/loader.js').requi... |
<<<<<<<
=======
// AccountProfileInfo
const accountProfileInfo = {
rui_accountProfileInfoSpacingAfterEmail: "4px",
rui_accountProfileInfoSpacingAfterName: "4px",
rui_accountProfileInfoSpacingBetweenImageAndContent: "16px"
};
// ProfileImage
const profileImage = {
rui_profileImageBackgroundColor: colors.teal,... |
<<<<<<<
componentNames: ["Select", "TextInput"],
content: "styleguide/src/sections/Forms.md",
=======
componentNames: ["ErrorsBlock", "Field", "Select", "TextInput"],
content: "src/styleguide/sections/Forms.md",
>>>>>>>
componentNames: ["ErrorsBlock", "Field", "Selec... |
<<<<<<<
const defaultClearIcon = <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" style={{ height: "100%", maxHeight: "100%", verticalAlign: "middle" }}><path d="M9.926 9.105l-2.105-2.105 2.105-2.105-0.82-0.82-2.105 2.105-2.105-2.105-0.82 0.82 2.105 2.105-2.105 2.105 0.82 0.82 2.105-2.105 2.105... |
<<<<<<<
"BadgeOverlay",
=======
"AddressForm",
"CheckoutAction",
"CheckoutActionComplete",
"CheckoutActionIncomplete",
>>>>>>>
"AddressForm",
"BadgeOverlay",
"CheckoutAction",
"CheckoutActionComplete",
"CheckoutActionIncomplete", |
<<<<<<<
import {
postIdentification,
fetchCurrentObservation,
loadingDiscussionItem,
fetchObservationsStats,
fetchIdentifiers,
stopLoadingDiscussionItem,
showAlert,
addIdentification
} from "../actions";
import { showDisagreementAlert } from "../ducks/disagreement_alert";
=======
import { submitIdenti... |
<<<<<<<
=======
"identify_observations": "Разпознай наблюдения",
>>>>>>>
"identify_observations": "Разпознай наблюдения",
<<<<<<<
=======
"identify_observations": "Identifiqueu observacions",
>>>>>>>
"identify_observations": "Identifiqueu observacions",
<<<<<<<
=======
"identify_observations": "Iden... |
<<<<<<<
"location_private": "Location Private",
=======
"location_private": "Location private",
>>>>>>>
"location_private": "Location Private",
<<<<<<<
"checklist": "Lista de comprobación",
=======
"choose_a_field": "Elige un campo",
>>>>>>>
"choose_a_field": "Elige un campo",
<<<<<<<
"comprehensi... |
<<<<<<<
mode={this.props.mode}
size={this.props.size}
=======
key="datetime"
>>>>>>>
key="datetime"
mode={this.props.mode}
size={this.props.size}
<<<<<<<
defaultText={ this.props.defaultText || "" }
inputFormat={ this.props.inputFormat || "MM/DD/YY h:m... |
<<<<<<<
"add_photos_to_this_observation": "Add photos to this observation",
"add_tag": "Add tag",
"add_tags": "Add tags",
"add_to_a_project": "Add to a project",
"add_to_favorites": "Add to favorites",
"add_to_project": "Add to project",
=======
"add_photos_to_this_observation": "Add Photos to This Obse... |
<<<<<<<
import disagreementAlert from "../ducks/disagreement_alert";
=======
import suggestions from "../ducks/suggestions";
import controlledTerms from "../../show/ducks/controlled_terms";
import qualityMetrics from "../../show/ducks/quality_metrics";
import flaggingModal from "../../show/ducks/flagging_modal";
impo... |
<<<<<<<
const params = { id: state.project.id, per_page: 100, order: "login" };
return inatjs.projects.members( params ).then( response => {
=======
const params = { id: state.project.id, per_page: 100 };
if ( state.config.currentUser ) {
params.ttl = -1;
}
return inatjs.projects.followe... |
<<<<<<<
COMMON_CREATEWALLET: 'Create Wallet',
COMMON_LOGIN: 'Login',
HOMEPAGE_ADDRESSEXAMPLE: '(e.g. 1EXoDusjGwvnjZUyKkxZ4UHEf77z6A5S4P)',
HOMEPAGE_BALANCECHECK:'Balance Check',
HOMEPAGE_CHECKBALANCE: 'Check Balance',
HOMEPAGE_ENTERVALIDADDRESS:'Enter a valid Bitcoin Address ',
HOMEPAGE_WELCOME: 'Welcome t... |
<<<<<<<
"value": appraiser.getValue(currencyItem.value, currencyItem.symbol),
"private": hasPrivate,
"offline": isOffline
=======
"value": appraiser.getValue(currencyItem.value, currencyItem.symbol, currencyItem.divisible),
"p... |
<<<<<<<
$('.togglesmall').each(function(index, html) {
var switchery = new Switchery(html,
{
size: 'small',
color: '#59aa29',
secondaryColor: '#c4c4c4' ... |
<<<<<<<
loggedIn : false,
disclaimerSeen : false
=======
walletMetadata: { currencies : [] },
loggedIn : false
>>>>>>>
walletMetadata: { currencies : [] },
loggedIn : false,
disclaimerSeen : false |
<<<<<<<
angular.module('omniwallet', [
'ngRoute',
'ui.bootstrap',
'ui.bootstrap.popover'
],
function($routeProvider, $locationProvider) {
=======
var app = angular.module('omniwallet', ['ngRoute'],
function($routeProvider, $locationProvider, $httpProvider) {
$httpProvider.defaults.headers.p... |
<<<<<<<
// Quick regexp-escaping function, because JS doesn't have RegExp.escape().
var escapeRegExp = function(s) { return s.replace(/([.*+?^${}()|[\]\/\\])/g, '\\$1'); };
=======
// Save bytes in the minified (but not gzipped) version:
var ArrayPrototype = Array.prototype;
>>>>>>>
// Quick regexp-esc... |
<<<<<<<
MSP.send_message(MSPCodes.MSP_BF_CONFIG, false, false, load_serial_config);
}
function load_serial_config() {
var next_callback = load_rc_map;
if (semver.lt(CONFIG.apiVersion, "1.6.0")) {
MSP.send_message(MSPCodes.MSP_CF_SERIAL_CONFIG, false, false, next_callback);
... |
<<<<<<<
(util.isFunction(list.listener) && list.listener === listener)) {
this._events[type] = undefined;
=======
(typeof list.listener === 'function' && list.listener === listener)) {
delete this._events[type];
>>>>>>>
(util.isFunction(list.listener) && list.listener === listener)) {
d... |
<<<<<<<
return (this[offset] * 0x1000000) +
((this[offset + 1] << 16) |
(this[offset + 2] << 8) |
(this[offset + 3]) >>> 0);
};
=======
return (this[offset] * 0x1000000) +
((this[offset + 1] << 16) |
(this[offset + 2] << 8) |
this[offset + 3]);
};
>>>>>>>
return (this[offset... |
<<<<<<<
assert.ok(os.hostname().length > 0);
assert.ok(os.loadavg().length > 0);
assert.ok(os.uptime() > 0);
assert.ok(os.freemem() > 0);
assert.ok(os.totalmem() > 0);
assert.ok(os.cpus().length > 0);
assert.ok(os.type().length > 0);
assert.ok(os.release().length > 0);
var interfaces = os.getNetworkInterfaces();
cons... |
<<<<<<<
expect: 'undefined\r\n' + prompt_unix,
chakracore: 'skip' },
=======
expect: 'undefined\n' + prompt_unix },
>>>>>>>
expect: 'undefined\n' + prompt_unix },
chakracore: 'skip' }, |
<<<<<<<
errExec('throws_error4.js', function(err, stdout, stderr) {
if (!common.isChakraEngine) { // chakra does not output source line
assert.ok(/\/\*\*/.test(stderr));
}
=======
errExec('throws_error4.js', common.mustCall(function(err, stdout, stderr) {
assert.ok(/\/\*\*/.test(stderr));
>>>>>>>
errExec('... |
<<<<<<<
assert.equal(util.inspect({}), '{}');
assert.equal(util.inspect({a: 1}), '{ a: 1 }');
assert.equal(util.inspect({a: function() {}}), common.engineSpecificMessage({
v8: '{ a: [Function: a] }',
chakracore: '{ a: [Function: a] }'
}));
assert.equal(util.inspect({a: 1, b: 2}), '{ a: 1, b: 2 }');
assert.equal(uti... |
<<<<<<<
testPBKDF2('password', 'salt', 2, 20,
'\xea\x6c\x01\x4d\xc7\x2d\x6f\x8c\xcd\x1e\xd9\x2a' +
'\xce\x1d\x41\xf0\xd8\xde\x89\x57');
testPBKDF2('password', 'salt', 4096, 20,
'\x4b\x00\x79\x01\xb7\x65\x48\x9a\xbe\xad\x49\xd9\x26' +
'\xf7\x21\xd0\x65\xa4\x29\xc1');
testPBK... |
<<<<<<<
if (common.isChakraEngine) {
console.log('1..0 # Skipped: This test is disabled for chakra engine ' +
'because debugger support is not implemented yet.');
return;
}
const PORT_MIN = common.PORT + 1337;
=======
const PORT_MIN = common.PORT;
>>>>>>>
if (common.isChakraEngine) {
console.log('1..0 # Ski... |
<<<<<<<
{
client: client_unix, send: 'a = 3.5e',
expect: /^SyntaxError: Invalid or unexpected token/
},
].filter((v) => !common.engineSpecificMessage(v)));
=======
{ client: client_unix, send: 'a = 3.5e',
expect: /^SyntaxError: Invalid or unexpected token/ },
// Mitigate https://gi... |
<<<<<<<
if (!common.isChakraEngine) { // chakra does not show script/source
assert(/bad_syntax\.js:1/.test(arrowMessage));
}
const args = [
'--expose-internals',
'-e',
"require('internal/util').error('foo %d', 5)"
];
const result = spawnSync(process.argv[0], args, { encoding: 'utf8' });
assert.strictEqual(res... |
<<<<<<<
var SDCARD = {
supported: false,
state: 0,
filesystemLastError: 0,
freeSizeKB: 0,
totalSizeKB: 0,
};
var BLACKBOX = {
supported: false,
blackboxDevice: 0,
blackboxRateNum: 1,
blackboxRateDenom: 1
};
=======
var RC_deadband = {
deadband: 0,
yaw_deadba... |
<<<<<<<
var crypto= require("crypto");
=======
var dns = require('dns');
>>>>>>>
var crypto= require("crypto");
var dns = require('dns');
<<<<<<<
if (this.forceClose) this.forceClose(e);
=======
self.destroy(e);
>>>>>>>
if (this.forceClose) this.forceClose(e);
self.destroy(e);
<<<<<<<
... |
<<<<<<<
// Mark a constructor not supporting @@species
function markNoSpeciesConstructor(constructor) {
if (Symbol.species) {
Object.defineProperty(constructor, Symbol.species, {
get: function() { return undefined; },
configurable: true,
});
}
}
function Buffer(arg, encoding) {
=======
/**
*... |
<<<<<<<
expect: common.engineSpecificMessage({
v8: /^SyntaxError: Unexpected end of input/,
chakracore: /^SyntaxError: Expected '}'/})
},
=======
expect: /\bSyntaxError: Unexpected end of input/ },
>>>>>>>
expect: common.engineSpecificMessage({
v8: /\bSyntaxError: Unexpe... |
<<<<<<<
xmin = Number.MAX_VALUE,
ymin = Number.MAX_VALUE,
xmax = Number.MIN_VALUE,
ymax = Number.MIN_VALUE,
v, vx, vy;
=======
xmin = Infinity,
ymin = Infinity,
xmax = -Infinity,
ymax = -Infinity;
>>>>>>>
xmin = Infinity,
ymin = ... |
<<<<<<<
import DatabaseClient from '../lib/DatabaseClient';
=======
import {ACTIONS} from '../lib/Constants';
>>>>>>>
import {ACTIONS} from '../lib/Constants';
import DatabaseClient from '../lib/DatabaseClient'; |
<<<<<<<
if (compareVersions(migratedVersion, '0.66.0') && !compareVersions(configuration.apiVersion, '1.15.0')) {
// api 1.14 exposes deadband and yaw_deadband
for (var profileIndex = 0; profileIndex < configuration.profiles.length; profileIndex++) {
if (co... |
<<<<<<<
PostsRoute = AuthenticatedRoute.extend(ShortcutsRoute, styleBody, loadingIndicator, PaginationRouteMixin, {
titleToken: '博文列表',
=======
PostsRoute = AuthenticatedRoute.extend(ShortcutsRoute, styleBody, PaginationRouteMixin, {
titleToken: 'Content',
>>>>>>>
PostsRoute = AuthenticatedRoute.extend(Short... |
<<<<<<<
// NOTE: Must be ES5 for now, Electron's `remote` does not like ES6 Classes!
/* eslint-disable no-var, object-shorthand, prefer-arrow-callback */
=======
/**
* Unicorn: FileServer - Respond to a FileClient over IPC, sharing our access to
* the Node/io.js layer of filesystem, so client can CRUD files.
*
... |
<<<<<<<
* Get all/queried MetricDatas records.
=======
* Get all/queried MetricData records
>>>>>>>
* Get all/queried MetricData records
<<<<<<<
DatabaseServer.prototype.putFiles = function (files, callback) {
const table = this.dbh.sublevel('file');
=======
DatabaseServer.prototype.putFileBatch = function (... |
<<<<<<<
};
var SENSOR_ALIGNMENT = {
align_gyro: 0,
align_acc: 0,
align_mag: 0
};
=======
};
var RX_CONFIG = {
serialrx_provider: 0,
maxcheck: 0,
midrc: 0,
mincheck: 0,
spektrum_sat_bind: 0,
... |
<<<<<<<
import {ModelServer} from './ModelServer';
=======
import { ModelServer } from './ModelServer';
import UserError from './UserError';
>>>>>>>
import {ModelServer} from './ModelServer';
import UserError from './UserError';
<<<<<<<
throw new Error(`Unknown model command ${command}`);
=======
... |
<<<<<<<
=======
// Active models and their event handlers
let activeModels = new Map();
/**
* Initialize the application populating local data on first run
*/
function initializeApplicationData() {
// Check if running for the first time
let initialized = config.get('initialized');
if (!initialized) {
le... |
<<<<<<<
var nominatim = "https://nominatim.openstreetmap.org/search";
var nominatim_reverse = "https://nominatim.openstreetmap.org/reverse";
=======
//var nominatim = "http://open.mapquestapi.com/nominatim/v1/search.php";
//var nominatim_reverse = "http://open.mapquestapi.com/nominatim/v1/reverse.php";
var nominatim ... |
<<<<<<<
import { settingsActions, appActions, ipfsActions } from '../../actions';
import { getShowSplashScreen, getShowAnalyticsTrackingDialog } from '../../selectors/settings';
=======
import { appActions } from '../../actions';
import { getShowAnalyticsTrackingDialog } from '../../selectors/settings';
>>>>>>>
impo... |
<<<<<<<
...ipfsEpics,
...settingsEpics
=======
...settingsEpics,
...sidePanelsEpics
>>>>>>>
...ipfsEpics,
...settingsEpics
...settingsEpics,
...sidePanelsEpics |
<<<<<<<
Version: 0.1.1
Date: Tue Aug 16 13:28:16 2011 -0400
*/
var __slice = Array.prototype.slice;
=======
Version: 0.2
Date: Fri Jul 29 16:41:36 2011 -0400
*/
var __slice = Array.prototype.slice;
>>>>>>>
Version: 0.2
Date: Tue Aug 16 13:28:16 2011 -0400
*/
var __slice = Array.prototype.slice;
<<<<<<<
Synapse.ve... |
<<<<<<<
import 'babel-polyfill';
import app from './server-index';
=======
import 'babel/polyfill';
import app from './server-init';
import log4js from 'log4js';
log4js.configure({
appenders: [
{ type: "console" }
],
replaceConsole: true
});
>>>>>>>
import 'babel-polyfill';
import app from './server-ini... |
<<<<<<<
this.paths.cache =
join(this.paths.meteorApp.root, '.meteor', 'local', 'desktop-cache');
=======
this.paths.electronApp.extractedNodeModules =
join(this.paths.meteorApp.root, '.meteor', '.desktop_extracted_node_modules');
this.paths.electronApp.extractedNodeMod... |
<<<<<<<
if (!noTransitLegs) {
let firstDeparture = false;
if (
data.legs[1] != null &&
!(data.legs[1].rentedBike || data.legs[0].transitLeg)
) {
firstDeparture = data.legs[1].startTime;
}
if (data.legs[0].transitLeg && !data.legs[0].rentedBike) {
firstDe... |
<<<<<<<
color: React.PropTypes.string,
vehicles: React.PropTypes.array,
stop: React.PropTypes.object,
mode: React.PropTypes.string,
className: React.PropTypes.string,
distance: React.PropTypes.number,
currentTime: React.PropTypes.number.isRequired,
first: React.PropTypes.bool,
last: ... |
<<<<<<<
import ViaPointSelector from './ViaPointSelector';
=======
import WalkLeg from './WalkLeg';
import WaitLeg from './WaitLeg';
import BicycleLeg from './BicycleLeg';
import EndLeg from './EndLeg';
import AirportCheckInLeg from './AirportCheckInLeg';
import AirportCollectLuggageLeg from './AirportCollectLuggageL... |
<<<<<<<
=======
const transferMarginSliderValues =
CustomizeSearch.getSliderStepsArray(60, 720, 180).map(num => Math.round(num));
const initVal = this.context.location.query.minTransferTime ?
mapToSlider(this.context.location.query.minTransferTime, transferMarginSliderValues) :
1... |
<<<<<<<
<input id={this.props.id} {...p} />
=======
<input onClick={this.inputClicked} {...p} />
>>>>>>>
<input id={this.props.id} onClick={this.inputClicked} {...p} /> |
<<<<<<<
intl: intlShape.isRequired,
viaPointName: PropTypes.string,
setViaPointName: PropTypes.func,
=======
tab: PropTypes.string,
>>>>>>>
intl: intlShape.isRequired,
viaPointName: PropTypes.string,
setViaPointName: PropTypes.func,
tab: PropTypes.string,
<<<<<<<
refPoint={... |
<<<<<<<
const FavouritesPanel = (
{ origin, routes, currentTime, favouriteLocations, favouriteStops },
context,
) => (
=======
const FavouritesPanel = ({
origin,
routes,
currentTime,
favouriteLocations,
breakpoint,
}) => (
>>>>>>>
const FavouritesPanel = ({
origin,
routes,
currentTime,
favourit... |
<<<<<<<
componentDidUpdate(prevProps) {
// send tracking calls when visiting a new stop or route
const oldLocation = prevProps.location.pathname;
const newLocation = this.props.location.pathname;
const newContext = newLocation.slice(1, newLocation.indexOf('/', 1));
switch (newContext) {
case... |
<<<<<<<
const links = config.topNaviLinks.map(link =>
(<div className="offcanvas-section">
=======
let links = config.topNaviLinks.map(link =>
(<div key={link.name} className="offcanvas-section">
>>>>>>>
const links = config.topNaviLinks.map(link =>
(<div key={link.name} className="offcanvas-sectio... |
<<<<<<<
// // zone-related configuration, to be enabled on or after 2019-04-27
// fares: [
// 'HSL:AB',
// 'HSL:BC',
// 'HSL:CD',
// 'HSL:D',
// 'HSL:ABC',
// 'HSL:BCD',
// 'HSL:ABCD',
// ],
// // zone-related configuration, to be enabled on or after 2019-04-27
// // mapping (str... |
<<<<<<<
<div key={i} className="leg">
{props.breakpoint === 'large' &&
=======
<div key={`${leg.mode}_${leg.startTime}`} className="leg">
{breakpoint === 'large' &&
>>>>>>>
<div key={`${leg.mode}_${leg.startTime}`} className="leg">
{props.breakpoint === 'large' &... |
<<<<<<<
// Needs config for citybike network names
export const getCityBikeNetworkName = (network, config) => {
return config.citybikeModes.find(
o => o.networkName.toLowerCase() === network.toLowerCase(),
);
};
export const getDefaultNetworks = config => {
return config.citybikeModes.map(mode => mode.networ... |
<<<<<<<
stoptimes: stoptimesWithoutPatterns(omitCanceled: false) {
pickupType
realtimeState
stop {
gtfsId
}
trip {
gtfsId
routeShortName
tripHeadsign
... |
<<<<<<<
const { retryFetch } = require('../app/util/fetchUtils');
=======
const config = require('../app/config').getConfiguration();
>>>>>>>
const { retryFetch } = require('../app/util/fetchUtils');
const config = require('../app/config').getConfiguration(); |
<<<<<<<
{startTime.format('HH:mm')}
=======
<LocalTime time={startTime} />
{firstLegStartTime}
>>>>>>>
<LocalTime time={startTime} /> |
<<<<<<<
const { token, user } = this.props;
await SDK.sendMessage({ msg, token, rid });
await SDK.notifyVisitorTyping(rid, user.username, false);
=======
const { alerts, dispatch, token } = this.props;
try {
const message = await SDK.sendMessage({ msg, token, rid });
console.log(message);
// TODO: ... |
<<<<<<<
<div className={`leg-before-circle circle ${this.props.modeClassName}`} >
<svg
xmlns="http://www.w3.org/2000/svg"
width={28}
height={28}
style={{ fill: this.props.color, stroke: this.props.color }}
>
<circle stroke="white" strokeWidth="2" w... |
<<<<<<<
'canceled-itineraries-amount':
'Additional {itineraryAmount, plural, =1 {1 canceled itinerary} other {{itineraryAmount} canceled itineraries}}',
'canceled-itineraries-amount-hide':
'Hide canceled itineraries ({itineraryAmount})',
=======
'canceled-legs': 'Canceled departures on the rou... |
<<<<<<<
import { insert, createToken, asyncForEach } from 'components/helpers';
=======
import { insert, createToken } from '../components/helpers';
>>>>>>>
import { insert, createToken, asyncForEach } from '../components/helpers'; |
<<<<<<<
'ticket-type-none': 'No fare zone limits',
'tickets': 'Tickets',
'time': 'Time',
'timetable': 'Timetable',
=======
tickets: 'Tickets',
time: 'Time',
timetable: 'Timetable',
>>>>>>>
'ticket-type-none': 'No fare zone limits',
tickets: 'Tickets',
time: 'Time',
timetab... |
<<<<<<<
<Header.Avatar><Avatar src={src} /></Header.Avatar>
=======
<Header.Picture><Avatar /></Header.Picture>
>>>>>>>
<Header.Picture><Avatar src={src} /></Header.Picture> |
<<<<<<<
this.replaceParams({
walkSpeed: defaultSettings.walkSpeed,
walkReluctance: defaultSettings.walkReluctance,
walkBoardCost: defaultSettings.walkBoardCost,
minTransferTime: defaultSettings.minTransferTime,
accessibilityOption: defaultSettings.accessibilityOption,
modes: Mode... |
<<<<<<<
>
<DTAutosuggestPanel
origin={this.props.origin}
destination={this.props.destination}
tab={this.props.tab}
originSearchType="all"
originPlaceHolder="search-origin"
/>
<div key="foo" className="fpccontainer">
... |
<<<<<<<
layers: PropTypes.array,
=======
isFocused: PropTypes.func,
>>>>>>>
layers: PropTypes.array,
isFocused: PropTypes.func, |
<<<<<<<
import FavouritesPanel from './component/favourites/FavouritesPanel';
import NearbyRoutesPanel from './component/front-page/NearbyRoutesPanel';
=======
import SummaryTitle from './component/summary/SummaryTitle';
import ItineraryTab from './component/itinerary/ItineraryTab';
import ItineraryPageMap from './co... |
<<<<<<<
isFocused: PropTypes.func,
=======
refPoint: dtLocationShape.isRequired,
>>>>>>>
isFocused: PropTypes.func,
refPoint: dtLocationShape.isRequired, |
<<<<<<<
onChange={onChangeText}
=======
placeholder={I18n.t('Type your message here')}
ref={this.handleInputRef}
>>>>>>>
onChange={onChangeText}
placeholder={I18n.t('Type your message here')}
ref={this.handleInputRef} |
<<<<<<<
<DTEndpointAutosuggest
id="origin"
autoFocus={
// Disable autofocus if using IE11
navigator.userAgent.indexOf('Trident') !== -1
? false
: this.context.breakpoint === 'large' && !this.props.origin.ready
}
refPoint={this.props.origi... |
<<<<<<<
id: React.PropTypes.string,
viewBox: React.PropTypes.string,
color: React.PropTypes.string,
className: React.PropTypes.string,
img: React.PropTypes.string.isRequired,
=======
id: PropTypes.string,
viewBox: PropTypes.string,
className: PropTypes.string,
img: PropTypes.string.isRequired,
>>>>... |
<<<<<<<
import SummaryRow from '../component/summary/SummaryRow';
=======
import SelectedStopPopupContent from '../component/stop/SelectedStopPopupContent';
>>>>>>>
import SelectedStopPopupContent from '../component/stop/SelectedStopPopupContent';
import SummaryRow from '../component/summary/SummaryRow';
<<<<<<<
... |
<<<<<<<
import SummaryTitle from './component/summary/SummaryTitle';
import ItineraryPageMap from './component/itinerary/ItineraryPageMap';
=======
import FavouritesPanel from './component/favourites/FavouritesPanel';
import NearbyRoutesPanel from './component/front-page/NearbyRoutesPanel';
>>>>>>>
import SummaryTit... |
<<<<<<<
'public-transport': 'Public transport',
=======
'print-timetable': 'Timetable',
>>>>>>>
'print-timetable': 'Timetable',
'public-transport': 'Public transport',
<<<<<<<
'public-transport': 'Joukkoliikenne',
=======
'print-timetable': 'Aikataulu',
>>>>>>>
'print-timetable': 'Aik... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.