conflict_resolution stringlengths 27 16k |
|---|
<<<<<<<
// We keep track of which Fibers have been reported as unmounted by React
// during this commit phase so that we don't try to "hide" them or their
// children when Suspense flips to fallback. These Fibers won't have IDs.
let fibersUnmountedInThisCommitPhase: WeakSet<Fiber> = new WeakSet();
function p... |
<<<<<<<
node = ((renderer.getNativeFromInternal(id): any): HTMLElement);
=======
nodes = ((renderer.findNativeByFiberID(id): any): ?Array<HTMLElement>);
>>>>>>>
nodes = ((renderer.getNativeFromInternal(id): any): ?Array<HTMLElement>); |
<<<<<<<
showOverlay(target);
this._lastInspectedNode = target;
};
_selectFiberForLastInspectedNode = () => {
const node = this._lastInspectedNode;
if (node !== null) {
const id = this.getIDForNode(node);
if (id !== null) {
this._bridge.send('selectFiber', id);
}
}
===... |
<<<<<<<
} else if(tagsinput[arg1] !== undefined) {
// Invoke function on existing tags input
var retVal = tagsinput[arg1](arg2);
if (retVal !== undefined)
results.push(retVal);
=======
} else {
// tagsinput already exists
if (!arg1 && !arg2)
// n... |
<<<<<<<
/**
* Typeahead
*/
var elt = $('.example_typeahead > > input');
elt.tagsinput();
elt.tagsinput('input').typeahead(null, {
name: 'citynames',
displayKey: 'name',
source: citynames.ttAdapter()
}).bind('typeahead:selected', $.proxy(function (obj, datum) {
this.tagsinput('add', datum.name);
this.tagsinput... |
<<<<<<<
exports.openNewInstance = openNewInstance;
=======
exports.openFacebook = openFacebook;
exports.openTwitter = openTwitter;
exports.openGooglePlus = openGooglePlus;
exports.suggestNewFeatures = suggestNewFeatures;
exports.reportIssues = reportIssues;
exports.whatsNew = whatsNew;
exports.showDoc... |
<<<<<<<
voteReply,
=======
reset,
>>>>>>>
voteReply,
reset, |
<<<<<<<
result: $toByteArray(this$static.c.output).slice(0)
});
=======
result: this$static.c.output.toByteArray().slice(0)
}, "*");
>>>>>>>
result: $toByteArray(this$static.c.output).slice(0)
}, "*");
<<<<<<<
result: decode($toByteArray(this$static.d.output))
});
=======
result: d... |
<<<<<<<
var metaFileExt = "json";
var metaFolder = ".ts";
var thumbFileExt = "png";
var tsMetadataFile = 'tsm.json';
=======
>>>>>>>
<<<<<<<
var metaFolderPath = TSCORE.currentPath + TSCORE.dirSeparator + metaFolder;
TSCORE.IO.getDirectoryMetaInformation(metaFolderPath, function() {
r... |
<<<<<<<
<Notification isFullWidth>
<div>Ne sont répertoriés que les jeux de données référencés sur <a href='https://www.data.gouv.fr'>data.gouv.fr</a> provenant d’une organisation certifiée et comportant le tag <div className='tag'>base-adresse-locale</div>.</div>
=======
<Notification fullW... |
<<<<<<<
tolerance: 'touch',
=======
tolerance: 'pointer',
stop: function() {
$(self.workspace.el).find('.workspace_fields').slideUp( {queue: false });
},
>>>>>>>
tolerance: 'touch',
tolerance: 'pointer',
stop: functio... |
<<<<<<<
$('#aboutDialogBack').click(function() {
=======
function reloadAboutContent() {
>>>>>>>
function reloadAboutContent() {
<<<<<<<
=======
}
$('#aboutDialogBack').click(function() {
reloadAboutContent();
});
$('#dialogAboutTS').on('show.bs.modal', function() {
reload... |
<<<<<<<
import "../../codeMap/codeMap.js";
import "angularjs-slider";
=======
>>>>>>>
import "../../codeMap/codeMap.js";
import "angularjs-slider";
<<<<<<<
["app.codeCharta.ui", "app.codeCharta.core", "app.codeCharta.codeMap", "rzModule"]
=======
["app.codeCharta.ui", "app.codeCharta.core"]
>>>>>>>
[... |
<<<<<<<
let defaultSettings = new Settings(this.settingsService.settings.map, defaultRange, "rloc", "mcc", "mcc", true, false,1, new Scale(1,1,1));
=======
let defaultSettings = new Settings(this.settingsService.settings.map, defaultRange, "rloc", "mcc", "mcc", false,1, new Scale(1,1,1), new Scale(0,3... |
<<<<<<<
if(data.metrics.length >= 3){
this.settings.map = data.referenceMap;
=======
this.settings.map = data.currentmap;
>>>>>>>
this.settings.map = data.referenceMap;
<<<<<<<
* Checks if the given metricName is in the metricsArray. If it is in there, we return it, else we ... |
<<<<<<<
var area = s.areaMetric;
var height = s.heightMetric;
var color = s.colorMetric;
var map = s.map;
var range = s.neutralColorRange;
if (area && height && color && map && map.root && range) {
this.drawFromData(map, area, height, color, s.neutralColorRang... |
<<<<<<<
constructor(settingsService, dataService, codeMapService, $scope, treeMapService) {
=======
constructor(settingsService, dataService, $scope) {
>>>>>>>
constructor(settingsService, dataService, $scope, treeMapService) {
<<<<<<<
/**
*
* @type {{x: number, y: number, z: n... |
<<<<<<<
let defaultRange = new Range(2,4,false);
let defaultSettings = new Settings(this.settingsService.settings.map, defaultRange, "RLOC", "MCC", "MCC", true, false,1);
return new Scenario("RLOC/MCC/MCC(2,4)", defaultSettings);
=======
let defaultRange = new Range(20,40,false);
... |
<<<<<<<
// Save user settings
var autoCompleteButton = document.getElementById('toglAutocomplete');
=======
$('.node-editor').transition({ opacity: 0 }, 250);
$('.node-editor .form').transition({ y: '-100' }, 250, function(e) {
self.editing(null);
});
const autoCompleteBut... |
<<<<<<<
if (app.editingVisualStudioCodeFile()) {
// if we're editing a file in the VSCode extension, it handles
// saving the file on its end so we do nothing here
return;
}
if (self.editingPath())
self.trySaveCurrent();
=======
if (data.editingPath())
data.trySaveCu... |
<<<<<<<
jetty = new org.mortbay.jetty.Server();
xmlconfig = new XmlConfiguration(jettyConfig.inputStream);
=======
jetty = new org.eclipse.jetty.server.Server();
xmlconfig = new XmlConfiguration(jettyconfig.inputStream);
>>>>>>>
jetty = new org.eclipse.jetty.server.Server();
xmlconfig = new X... |
<<<<<<<
this.presetManager.on("bind", function (e, options) {
console.log("bind", options);
});
this.presetManager.on("bindlist", function (e, options) {
console.log("bindlist", options);
})
=======
>>>>>>>
this.presetManager.on("bind", function (e, options) {
consol... |
<<<<<<<
// Open Audio Recording Dialog
function showAudioRecordingDialog(){
$('#audioRecordingDialog').modal({
backdrop: 'static',
show: true
});
$('#audioRecordingDialog').draggable({
handle: ".modal-header"
});
}
=======
function showLicenseDialog() {
if (TSCORE.PRO) {... |
<<<<<<<
import SequenceTransforms from '../../../sequence/lib/sequence_transforms';
import {optimalPrimer4, _getSequenceToSearch} from '../lib/primer_calculation';
import SequenceModel from '../../../sequence/models/sequence';
=======
import SequenceTransforms from 'gentle-sequence-transforms';
import {optimalPrimer4... |
<<<<<<<
// runs the calls to registerAssociation
import plugin from '../plugin';
import SequenceTransforms from '../../../sequence/lib/sequence_transforms';
import {getPcrProductAndPrimers, calculatePcrProductFromPrimers} from '../lib/pcr_primer_design';
import Primer from '../lib/primer';
import PcrPrimer from '../li... |
<<<<<<<
=======
this.features = [];
this.sequence =[];
>>>>>>>
this.features = [];
this.sequence =[];
<<<<<<<
type: feature._type.toLowerCase(),
feature: feature,
sequence: _this.model.get('id')
=======
_type: feature._type.toLowerCase()... |
<<<<<<<
var _assertion = function(test, message, value=undefined) {
if(!test && arguments.length === 3) message += (' ' + JSON.stringify(value, null, 2));
console.assert(test, message);
if(window.TESTS_RUNNING && !test) throw new Error(message);
=======
var _assertion = function(test, message) {
// console.as... |
<<<<<<<
exports.getSearchKeyBinding = getSearchKeyBinding;
exports.setSearchKeyBinding = setSearchKeyBinding;
=======
exports.getDefaultLocation = getDefaultLocation;
exports.setDefaultLocation = setDefaultLocation;
>>>>>>>
exports.getSearchKeyBinding = getSearchKeyBinding;
exports.setSearchKeyBinding = ... |
<<<<<<<
test('hour select with relationship', function() {
var field = createView({showHourSelect: true, valueAttr: 'my_date', relationship: 'author'});
var m = moment([2014, 1, 1, 12]);
var model = new Post(ExampleData.POST_DATA_WITH_RELATED);
model.getRelated('author').set('my_date', m.valueOf());... |
<<<<<<<
import { AppLogicProvider } from './app-logic'
import { Order } from './constants'
=======
import CollateralError from './screens/CollateralError'
import { AppLogicProvider, useAppLogic } from './app-logic'
>>>>>>>
import { AppLogicProvider } from './app-logic'
import { Order } from './constants'
import Coll... |
<<<<<<<
<Text as="p" style={{ paddingRight: '12px' }}>
{adjustedAllocation} DAI / month
=======
<Text as="p" css="padding-right: 1.5rem; font-weight: bold;">
{round(toMonthlyAllocation(allocation, decimals))} DAI / month
>>>>>>>
<Text as="p" c... |
<<<<<<<
var paypalCheckout = require('braintree-web/paypal-checkout');
=======
var paypal = require('braintree-web/paypal');
var constants = require('../../src/constants');
>>>>>>>
var paypalCheckout = require('braintree-web/paypal-checkout');
var constants = require('../../src/constants'); |
<<<<<<<
merchantConfiguration: {}
=======
merchantOptions: {
authorization: clientToken
}
>>>>>>>
merchantConfiguration: {
authorization: clientToken
} |
<<<<<<<
// TODO: initialize -> _initialize
Dropin.prototype.initialize = function (callback) {
=======
Dropin.prototype._initialize = function (callback) {
>>>>>>>
Dropin.prototype._initialize = function (callback) {
<<<<<<<
Dropin.prototype.getVaultedPaymentMethods = function (callback) {
if (isGuestCheckout(thi... |
<<<<<<<
context["root_url"] = "#search/" + this.search.category + "/" + this.search.query + "/" + this.search.since;
=======
context["root_url"] = "#search/" + this.search.category + "/" + escape(this.search.query) + "/" + this.search.since;
context["pager_unit"] = "dataset";
>>>>>>>
... |
<<<<<<<
$scope.$root.state.go('^.general', {id: record.id});
}).catch(function (err) {
=======
$scope.$root.go('^.general', {id: record.id});
}).catch(function (error) {
>>>>>>>
$scope.$root.go('^.general', {id: record.id});
}).catch(function (err) { |
<<<<<<<
$('.modal-trigger').leanModal();
=======
$('.tooltipped').tooltip();
$('.materialboxed').materialbox();
>>>>>>>
$('.modal-trigger').leanModal();
$('.tooltipped').tooltip();
$('.materialboxed').materialbox(); |
<<<<<<<
InsertFieldValueBlock.prototype.set = function(field, value, options) {
if (options == null) {
options = {};
}
return this._set(field, value, options);
};
InsertFieldValueBlock.prototype.setFields = function(fields, options) {
return this._setFields(fields, options);... |
<<<<<<<
if (isSilent && type === 'hash') {
=======
if (isSilent) {
>>>>>>>
if (isSilent && type === 'hash') {
<<<<<<<
=======
history.replaceState({url: prevUrl, index: index}, '', prevUrl.replace(origin, ''));
>>>>>>> |
<<<<<<<
navigator.clipboard.writeText(self.getLinkToCoords(self.mouseCoords.x, self.mouseCoords.y));
=======
navigator.clipboard.writeText(location.origin + `/#x=${Math.floor(self.mouseCoords.x)}&y=${Math.floor(self.mouseCoords.y)}`);
... |
<<<<<<<
try {
Notification.requestPermission();
} catch(e) {
console.log('Notifications not available');
}
=======
setInterval(function () {
if (document.autoPxlsScriptRevision) this.banMe();
if (window.Botnet) this.banMe();
... |
<<<<<<<
=======
var chalk = require('chalk')
var xtend = require('xtend')
>>>>>>>
var chalk = require('chalk')
<<<<<<<
else msg += 'Sharing data on port ' + swarm.address().port + ', connected to ' + count + ' sources\n'
=======
else msg += chalk.green('Sharing data on port ' + chalk.bold(swarm.port) + ', con... |
<<<<<<<
const distDir = './dist';
const publicDir = path.join(distDir, 'public');
const cacheDir = path.join(distDir, 'cache');
const workerFilename = 'offline-worker.js';
const workerPath = path.join(publicDir, workerFilename);
const indexHtmlFilename = 'index.html';
const indexHtmlPath = path.join(publicDir, indexH... |
<<<<<<<
import cssNested from 'postcss-nested';
import cssExtend from 'postcss-simple-extend';
import cssSimpleVars from 'postcss-simple-vars';
import cssReporter from 'postcss-reporter';
=======
import mkdirp from 'mkdirp';
>>>>>>>
import cssNested from 'postcss-nested';
import cssExtend from 'postcss-simple-extend... |
<<<<<<<
import { shouldUseNative, loadAllNative } from "./lazyload.native";
import { getElements } from "./lazyload.getElements";
=======
import { setOnlineCheck } from "./lazyload.online";
>>>>>>>
import { shouldUseNative, loadAllNative } from "./lazyload.native";
import { getElements } from "./lazyload.getElements... |
<<<<<<<
import {intersectionObserverSupport, isIntersecting} from "./lazyload.intersectionObserver";
=======
import {runningOnBrowser, supportsIntersectionObserver} from "./lazyload.environment";
>>>>>>>
import {intersectionObserverSupport, isIntersecting} from "./lazyload.intersectionObserver";
import {runningOnBro... |
<<<<<<<
};
setPath(dataJson);
linePathAry.push(dataJson);
bipatiteView(fromNodeData.outputJson,toNodeData.inputJson,dataJson);
=======
});
linePathAry.push({
pipelineLineViewId: "pipeline-line-view",
startData: f... |
<<<<<<<
to = to.zoomTo(x);
=======
to = map.enforceZoomLimits(to.zoomTo(x));
>>>>>>>
to = map.enforceZoomLimits(to.zoomTo(x));
<<<<<<<
=======
var fastFrame = function(callback) {
window.setTimeout(function () {
callback(+new Date());
... |
<<<<<<<
/*globals _ Spinner Handlebars Backbone jQuery Gatekeeper Quill */
=======
var Util = require('../utils.js');
>>>>>>>
var Util = require('../utils.js');
<<<<<<<
(function(S, $, console, Quill){
S.PlaceFormView = Backbone.View.extend({
=======
module.exports = Backbone.View.extend({
>>>>>>>
mod... |
<<<<<<<
var path = function (a, b, t, static_coord) {
=======
var oldpath = path;
path = function (a, b, t) {
>>>>>>>
var oldpath = path;
path = function (a, b, t, static_coord) { |
<<<<<<<
var Gatekeeper = require('../../libs/gatekeeper.js');
=======
var GeocodeAddressPlaceView = require('mapseed-geocode-address-place-view');
>>>>>>>
var Gatekeeper = require('../../libs/gatekeeper.js');
var GeocodeAddressPlaceView = require('mapseed-geocode-address-place-view'); |
<<<<<<<
type: 'state'
}, function () {
if (!(--count)) adapter.stop();
=======
type: 'state',
native: {}
>>>>>>>
type: 'state',
native: {}
}, function () {
if (!(--count)) adapter.s... |
<<<<<<<
.replace(/[.,\/#!?$%\^&\*;:{}=_`\"~()]/g, '')
=======
.replace(/[.,\/#!$%\^&\*;:{}=_`\"~()]/g, ' ')
.replace(/\s\s+/g, ' ')
.trim()
>>>>>>>
.replace(/[.,\/#!?$%\^&\*;:{}=_`\"~()]/g, ' ')
.replace(/\s\s+/g, ' ')
.trim() |
<<<<<<<
import themeColors from '../styles/themes/default';
import {ExpensifyCashLogoIcon} from '../components/Expensicons';
=======
import logo from '../../assets/images/expensify-logo-round.png';
>>>>>>>
import {ExpensifyCashLogoIcon} from '../components/Expensicons';
<<<<<<<
import variables from '../styles/vari... |
<<<<<<<
/**
* Adds a request to networkRequestQueue
*
* @param {string} command
* @param {mixed} data
* @returns {Promise}
*/
function queueRequest(command, data) {
return new Promise((resolve, reject) => {
// Add the write request to a queue of actions to perform
networkRequestQueue.push({
... |
<<<<<<<
import {show as showSidebar} from '../../libs/actions/Sidebar';
=======
import HeaderGap from '../../components/HeaderGap';
>>>>>>>
import {show as showSidebar} from '../../libs/actions/Sidebar';
import HeaderGap from '../../components/HeaderGap';
<<<<<<<
<HeaderView onNavigationMenu... |
<<<<<<<
render() {
return (
<ScreenWrapper>
{() => (
<>
<HeaderWithCloseButton
title="Change Password"
shouldShowBackButton
onBackButtonPress={() => Nav... |
<<<<<<<
import uiColors from './themes/default';
=======
import fontWeightBold from './fontWeight/bold';
>>>>>>>
import uiColors from './themes/default';
import fontWeightBold from './fontWeight/bold';
<<<<<<<
=======
const colors = {
arsenic: '#39444B',
componentBG: '#FFFFFF',
background: '#FAFAFA',
... |
<<<<<<<
return [major, minor, patch, Number.isInteger(Number(build)) ? Number(build) : 0];
=======
return [major, minor, patch, build ? Number(build) : 0];
>>>>>>>
return [major, minor, patch, Number.isInteger(Number(build)) ? Number(build) : 0];
<<<<<<<
if (minor < MAX_INCREMENTS) {
retur... |
<<<<<<<
Dimensions.addEventListener('change', this.onChange);
StatusBar.setBackgroundColor(styles.appContentStatusBar.color, styles.appContentStatusBar.animated);
=======
Dimensions.addEventListener('change', this.toggleHamburgerBasedOnDimensions);
>>>>>>>
Dimensions.addEventListener(... |
<<<<<<<
return new Promise((resolve, reject) => {
Network.post(command, parameters, type)
.then((response) => {
// Handle expired auth tokens properly by making sure to pass the resolve and reject down to the
// new promise created when calling handleExpiredAuthTo... |
<<<<<<<
import styles, {getSafeAreaPadding} from '../../styles/StyleSheet';
import variables from '../../styles/variables';
=======
import styles, {getSafeAreaPadding} from '../../styles/styles';
>>>>>>>
import styles, {getSafeAreaPadding} from '../../styles/styles';
import variables from '../../styles/variables'; |
<<<<<<<
// Setup the default handlers to work with different response codes
return Network.post(command, parameters, type)
.then((response) => {
// Handle expired auth tokens properly
if (response.jsonCode === 407) {
handleExpiredAuthToken(response, command, param... |
<<<<<<<
body: '**Release Version:** `1.0.1-48`\r\n**Compare Changes:** https://github.com/Expensify/Expensify.cash/compare/1.0.1-0...1.0.1-48\r\n\r\n**This release contains changes from the following pull requests:**\r\n- [ ] https://github.com/Expensify/Expensify.cash/pull/21\r\n- [x] https://githu... |
<<<<<<<
* Only store the minimal amount of data in Ion that needs to be stored
* because space is limited
*
* @param {object} report
* @param {number} report.reportID
* @param {string} report.reportName
* @param {object} report.reportNameValuePairs
* @param {string} accountID
* @returns {object}
*/
function g... |
<<<<<<<
* @param {string} [mapping.path] a specific path of the store object to map to the state
* @param {mixed} [mapping.defaultValue] Used in conjunction with mapping.path to return if the there is
* nothing at mapping.path
* @param {boolean} [mapping.addAsCollect... |
<<<<<<<
import Notification from '../Notification';
=======
import * as PersonalDetails from './PersonalDetails';
>>>>>>>
import Notification from '../Notification';
import * as PersonalDetails from './PersonalDetails'; |
<<<<<<<
import ROUTES from '../ROUTES';
import {registerSocketEventCallback} from './Pusher/pusher';
=======
import redirectToSignIn from './actions/ActionsSignInRedirect';
>>>>>>>
import ROUTES from '../ROUTES';
import {registerSocketEventCallback} from './Pusher/pusher';
import redirectToSignIn from './actions/Act... |
<<<<<<<
import Timing from '../../../libs/actions/Timing';
import CONST from '../../../CONST';
=======
import CONST from '../../../CONST';
import themeColors from '../../../styles/themes/default';
>>>>>>>
import Timing from '../../../libs/actions/Timing';
import CONST from '../../../CONST';
import themeColors from '... |
<<<<<<<
import Activity from './Activity';
import PushNotification from './Notification/PushNotification';
// Holds all of the callbacks that need to be triggered when the network reconnects
const reconnectionCallbacks = [];
=======
>>>>>>>
import PushNotification from './Notification/PushNotification'; |
<<<<<<<
icons: report ? report.icons : [personalDetail.avatarURL],
tooltipText,
=======
icons: report ? report.icons : [personalDetail.avatar],
>>>>>>>
icons: report ? report.icons : [personalDetail.avatar],
tooltipText, |
<<<<<<<
import TrashIcon from './TrashIcon';
=======
import PlusIcon from './PlusIcon';
>>>>>>>
import PlusIcon from './PlusIcon';
import TrashIcon from './TrashIcon';
<<<<<<<
TrashIcon,
=======
PlusIcon,
>>>>>>>
PlusIcon,
TrashIcon, |
<<<<<<<
EXPENSIFY: {
PARTNER_NAME: IS_IN_PRODUCTION ? 'chat-expensify-com' : 'android',
PARTNER_PASSWORD: IS_IN_PRODUCTION ? 'e21965746fd75f82bb66' : 'c3a9ac418ea3f152aae2',
API_ROOT: IS_IN_PRODUCTION ? 'https://www.expensify.com/api?' : 'https://www.expensify.com.dev/api?',
},
REPOR... |
<<<<<<<
this.toggleNavigationMenu = this.toggleNavigationMenu.bind(this);
this.dismissNavigationMenu = this.dismissNavigationMenu.bind(this);
this.showNavigationMenu = this.showNavigationMenu.bind(this);
this.toggleNavigationMenuBasedOnDimensions = this.toggleNavigationMenuBasedOnDimensi... |
<<<<<<<
iconSizeNormal: 20,
=======
iconSizeExtraSmall: 12,
iconSizeSmall: 16,
iconSizeNormal: 20,
iconSizeLarge: 24,
>>>>>>>
iconSizeSmall: 12,
iconSizeNormal: 20, |
<<<<<<<
// Callback method to handle pasting a file
onPasteFile: PropTypes.func,
=======
// A ref to forward to the text input
forwardedRef: PropTypes.func.isRequired,
// General styles to apply to the text input
// eslint-disable-next-line react/forbid-prop-types
style: PropTypes.any,
... |
<<<<<<<
// When the URL is at the root of the site, go to sign-in, otherwise add the exitTo
const urlWithExitTo = currentURL === '/'
? ROUTES.SIGNIN
: `${ROUTES.SIGNIN}/exitTo${currentURL}`;
Ion.merge(IONKEYS.APP_REDIRECT_TO, urlWithExitTo);
=======
// When the URL is at the ro... |
<<<<<<<
var wid_id = $('#' + that.activeWidgets[0]).attr('id');
that.inspectWidgets();
var $target = $('#' + wid_id);
var $clone = $target.clone();
$clone.wrap('<div>');
var html = $clone.parent().html();
html = html
.... |
<<<<<<<
import UnreadIndicatorUpdater from '../../lib/UnreadIndicatorUpdater';
=======
import ROUTES from '../../ROUTES';
import NetworkConnection from '../../lib/NetworkConnection';
>>>>>>>
import UnreadIndicatorUpdater from '../../lib/UnreadIndicatorUpdater';
import ROUTES from '../../ROUTES';
import NetworkConnec... |
<<<<<<<
margin: 0,
alignItems: 'center',
justifyContent: 'flex-end',
marginRight: windowDimensions.width - variables.sideBarWidth,
marginBottom: 100,
=======
...modalStyle,
...{
alignIte... |
<<<<<<<
* Returns a generated report title based on the participants
*
* @param {array} sharedReportList
* @return {string}
*/
function getChatReportName(sharedReportList) {
return _.chain(sharedReportList)
.map(participant => participant.email)
.filter(participant => participant !== currentUse... |
<<<<<<<
import {
View,
Keyboard,
AppState,
ActivityIndicator,
} from 'react-native';
=======
import {
Animated,
View,
Keyboard,
AppState,
} from 'react-native';
>>>>>>>
import {
Animated,
View,
Keyboard,
AppState,
ActivityIndicator,
} from 'react-native';
<<<<<<<
... |
<<<<<<<
import Account from '../libs/actions/Account';
import Icon from '../components/Icon';
import {DownArrow} from '../components/Icon/Expensicons';
import CONST from '../CONST';
=======
import HeaderGap from '../components/HeaderGap';
>>>>>>>
import Account from '../libs/actions/Account';
import Icon from '../co... |
<<<<<<<
// Handle the drag events
if (this.textInput) {
this.textInput.addEventListener('dragenter', this.handleDragEnter.bind(this));
this.textInput.addEventListener('dragleave', this.handleDragLeave.bind(this));
this.textInput.addEventListener('drop', this.handleDr... |
<<<<<<<
import addStorageEventHandler from './addStorageEventHandler';
=======
import Str from './Str';
import IONKEYS from '../IONKEYS';
>>>>>>>
import addStorageEventHandler from './addStorageEventHandler';
import Str from './Str';
import IONKEYS from '../IONKEYS';
<<<<<<<
* When a key change happens, search for... |
<<<<<<<
<View>
{this.props.session && !_.isEmpty(this.props.session.error) && (
<Text style={[styles.formError]}>
{this.props.session.error}
</Text>
... |
<<<<<<<
if (!props.reportName) {
return null;
}
const paramsReportID = parseInt(props.match.params.reportID, 10);
const isReportActive = paramsReportID === props.reportID;
=======
const reportIDInUrl = parseInt(props.match.params.reportID, 10);
const isReportActive = reportIDInUrl ===... |
<<<<<<<
// What the active route is for our navigator. Global route that determines what views to display.
=======
// When this key is changed, the active page changes (see Expensify.js and `redirect` in actions/App.js)
APP_REDIRECT_TO: 'appRedirectTo',
NETWORK_REQUEST_QUEUE: 'networkRequestQueue',
... |
<<<<<<<
import ROUTES from '../../ROUTES';
=======
import NetworkConnection from '../../lib/NetworkConnection';
>>>>>>>
import ROUTES from '../../ROUTES';
import NetworkConnection from '../../lib/NetworkConnection'; |
<<<<<<<
showTitleTooltip
=======
disableFocusOptions={this.props.isSmallScreenWidth}
>>>>>>>
showTitleTooltip
disableFocusOptions={this.props.isSmallScreenWidth} |
<<<<<<<
import CONST from '../../../CONST';
import MultipleAvatars from '../../../components/MultipleAvatars';
=======
import Avatar from '../../../components/Avatar';
>>>>>>>
import MultipleAvatars from '../../../components/MultipleAvatars'; |
<<<<<<<
import {redirect} from './App';
=======
import Timing from './Timing';
>>>>>>>
import {redirect} from './App';
import Timing from './Timing'; |
<<<<<<<
ipcMain.on(ELECTRON_EVENTS.REQUEST_VISIBILITY, (event) => {
=======
// Flag to determine is user is trying to quit the whole application altogether
let quitting = false;
// Closing the chat window should just hide it (vs. fully quitting the application)
... |
<<<<<<<
* @param {object} [mapping.reactComponent] whose setState() method will be called with any changed data
* @param {object} [mapping.callback] An alternative to using mapping.reactComponent so that a method can be bound to
* Ion without having to be a react component
=======
* @param {object} mapping.withI... |
<<<<<<<
import {fetchChatReport} from '../../../lib/actions/Report';
import {redirect} from '../../../lib/actions/App';
=======
import {fetchOrCreateChatReport} from '../../../lib/actions/Report';
>>>>>>>
import {fetchOrCreateChatReport} from '../../../lib/actions/Report';
import {redirect} from '../../../lib/action... |
<<<<<<<
// TODO: Fix hard coded values
API_ROOT: 'https://www.expensify.com.dev/api?',
PARTNER_NAME: 'android',
PARTNER_PASSWORD: 'c3a9ac418ea3f152aae2',
=======
API_ROOT: Config.EXPENSIFY_API_ROOT,
SITE_ROOT: Config.EXPENSIFY_SITE_ROOT,
PARTNER_NAME: Config.EXP... |
<<<<<<<
navigationSceneContainer: {
backgroundColor: themeColors.appBG,
},
navigationScreenCardStyle: {
backgroundColor: themeColors.appBG,
},
=======
profilePageContainer: {
justifyContent: 'space-between',
width: '100%',
flex: 1,
},
profilePage... |
<<<<<<<
=======
// Keeps track of the last read for each report
const lastReadActionIDs = {};
// List of reportIDs that we define in .env
const configReportIDs = CONFIG.REPORT_IDS.split(',').map(Number);
>>>>>>>
// Keeps track of the last read for each report
const lastReadActionIDs = {};
<<<<<<<
isUnrea... |
<<<<<<<
// Check the reportAction for a clientGUID and remove the temporary action
// since we are about to merge in the real action with accurate sequenceNumber
const clientGUID = reportAction.clientGUID;
if (clientGUID) {
// Delete this item from the report since we are about to replace it at ... |
<<<<<<<
},
LOGIN: {
PARTNER_USER_ID: Config.PARTNER_USER_ID,
PARTNER_USER_SECRET: Config.PARTNER_USER_SECRET,
},
=======
}
>>>>>>>
}, |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.