conflict_resolution stringlengths 27 16k |
|---|
<<<<<<<
let url: string;
if (id.startsWith("ds-")) {
url =
config.registryApiUrl +
`records/${encodeURIComponent(id)}?${parameters}`;
} else if (
// lookup CKAN UUIDs
id.match(
/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4... |
<<<<<<<
</h3>
{/* <CrappyChat
=======
</h2>
<CrappyChat
>>>>>>>
</h2>
{/*
<CrappyChat |
<<<<<<<
<div className="container container-mobile">
<SearchBox
location={props.location}
isMobile={true}
isHome={props.theme === "home"}
/>
=======
<div className="container... |
<<<<<<<
const displayName = BaseMap.displayName || 'BaseMap';
const containerWrapper = css`
height: 100vh;
min-height: 500px;
`;
=======
>>>>>>>
const displayName = BaseMap.displayName || 'BaseMap';
const containerWrapper = css`
height: 100vh;
min-height: 500px;
`; |
<<<<<<<
'preloadSpreadsheet', 'mxmlc:prod',
=======
'buildSwf:prod',
>>>>>>>
'mxmlc:prod',
<<<<<<<
'preloadSpreadsheet', 'mxmlc:dev',
=======
'buildSwf:dev',
>>>>>>>
'mxmlc:dev',
<<<<<<<
'preloadSpreadsheet', 'mxmlc:prod'
=======
'buildSwf:prod'
>>>>>>>
'... |
<<<<<<<
channel: m.channel,
=======
type: type,
>>>>>>>
channel: m.channel,
type: type, |
<<<<<<<
define(['/customize/languageSelector.js',
'/customize/translations/messages.js',
'/customize/translations/messages.es.js',
'/customize/translations/messages.fr.js',
// 1) additional translation files can be added here...
'/customize/translations/messages.pl.js',
'/bo... |
<<<<<<<
=======
'/common/sframe-common.js',
'/common/media-tag.js',
>>>>>>>
'/common/media-tag.js',
<<<<<<<
=======
if (!readOnly && !initializing) {
userDocStateDom.setAttribute("contenteditable", "true"); // lol wtf
} else if (readOnly) {
userD... |
<<<<<<<
data[attr] = clone(value);
=======
data[attr] = value;
cb(null);
>>>>>>>
data[attr] = clone(value);
cb(null); |
<<<<<<<
out.button_newoodoc = 'Nouveau texte OnlyOffice';
out.button_newooslide = 'Nouvelle présentation OnlyOffice';
out.button_newoocell = 'Nouveau tableur OnlyOffice';
=======
out.button_newkanban = 'Nouveau kanban';
>>>>>>>
out.button_newoodoc = 'Nouveau texte OnlyOffice';
out.button_newo... |
<<<<<<<
export { default as IconMap } from './IconMap/IconMap';
=======
export { default as PathMap } from './PathMap/PathMap';
>>>>>>>
export { default as PathMap } from './PathMap/PathMap';
export { default as IconMap } from './IconMap/IconMap'; |
<<<<<<<
// 1.7.0 - Hodag
out.comingSoon = "Próximamente..."; // "Coming soon..."
out.newVersion = ["<b>CryptPad ha sido actualizado!</b>",
"Puedes ver lo que ha cambiada aquí (en inglés):",
"<a href=\"https://github.com/xwiki-labs/cryptpad/releases/tag/{0}\" targe... |
<<<<<<<
var id;
//= Math.floor(Math.random()*100000);
=======
/* jshint ignore:start */
var id = Math.floor(Math.random()*100000);
>>>>>>>
/* jshint ignore:start */
var id;
//= Math.floor(Math.random()*100000); |
<<<<<<<
href: data.href,
password: newPass
=======
href: data.href || data.roHref,
password: $(newPassword).find('input').val()
>>>>>>>
href: data.href || data.roHref,
passw... |
<<<<<<<
// New support message from the admins
handlers['SUPPORT_MESSAGE'] = function (common, data) {
var content = data.content;
content.getFormatText = function () {
return Messages.support_notification;
};
content.handler = function () {
common.openURL... |
<<<<<<<
'/bower_components/chainpad/chainpad.dist.js',
=======
'/common/common-interface.js',
'/customize/messages.js',
>>>>>>>
'/bower_components/chainpad/chainpad.dist.js',
'/common/common-interface.js',
'/customize/messages.js',
<<<<<<<
ChainPad,
=======
UI,
Messages,
>>>>... |
<<<<<<<
migrateAttributes(el, id, parsed);
if ((loggedIn || config.testMode) && rootFiles.indexOf(id) === -1) {
=======
if ((Cryptpad.isLoggedIn() || config.testMode) && rootFiles.indexOf(id) === -1) {
>>>>>>>
if ((loggedIn || config.te... |
<<<<<<<
config.availablePadTypes = ['drive', 'pad', 'code', 'slide', 'poll', 'kanban', 'whiteboard',
'oodoc', 'ooslide', 'oocell', 'file', 'todo', 'contacts'];
config.registeredOnlyTypes = ['file', 'contacts', 'oodoc', 'ooslide', 'oocell'];
=======
config.availablePadTypes ... |
<<<<<<<
'css!/bower_components/components-font-awesome/css/font-awesome.min.css',
=======
'less!/bower_components/components-font-awesome/css/font-awesome.min.css',
'less!/customize/src/less/loading.less',
>>>>>>>
'less!/bower_components/components-font-awesome/css/font-awesome.min.css', |
<<<<<<<
storiesOf('Welcome', module).add('to Storybook', () => (
<Welcome showApp={linkTo('Button')} />
));
=======
storiesOf('Welcome', module)
.addDecorator(checkA11y)
.add('to Storybook', () => (
<Welcome showApp={linkTo('Button')} />
));
>>>>>>>
storiesOf('Welcome', module)
.addDecorator(checkA11y)... |
<<<<<<<
CivicCardLayoutVisualizationOnly,
CivicCardLayoutSideBySide,
RadioButtonGroup
=======
CivicCardLayoutVisualizationOnly,
CivicCardLayoutFullWithDescriptions
>>>>>>>
CivicCardLayoutVisualizationOnly,
CivicCardLayoutSideBySide,
RadioButtonGroup
CivicCardLayoutFullWithDescriptions |
<<<<<<<
// const sourceMappingURL = sourceMapBaseUrl && (f => `${sourceMapBaseUrl}/${f.relative}.map`);
return function (cb) {
var jsFilter = filter('**/*.js', { restore: true });
var cssFilter = filter('**/*.css', { restore: true });
=======
const sourceMappingURL = sourceMapBaseUrl ? ((f... |
<<<<<<<
copyEmoji: "native",
emojiMart: {},
emojiSearch: true
});
=======
pickerResult: {
automaticInsert: true,
emojiCopy: true,
// emojiCopyOnlyFallback MUST NOT be true, as optional clipboardWrite
// permission is required for this
// (As it leads to an error... |
<<<<<<<
export { default as CivicSandboxMap } from './CivicSandboxMap/CivicSandboxMap';
export { default as PackageSelectorBox } from './PackageSelectorBox/PackageSelectorBox';
=======
export { default as CivicSandboxMap } from './CivicSandboxMap/CivicSandboxMap';
export { default as Collapsable } from './Collapsable... |
<<<<<<<
const {
activeMarket, authToken, getLastVersion, currentPage,
getSettings,
} = this.props
=======
const {
activeMarket, authToken, getLastVersion, currentPage,
} = this.props
>>>>>>>
const {
activeMarket, authToken, getLastVersion, currentPage, getSettings,
} =... |
<<<<<<<
border-top: 15px;
border-top-style: solid;
border-top-color: #EE495C;
=======
::before {
content: '';
width: 100%;
border-bottom: solid 8px #ef495c;
position: absolute;
left: 0;
top: 0px;
z-index: 1;
}
@media (max-width: 1024px) {
max-width: 270px;
right: 6%;
... |
<<<<<<<
setFiltredValueWithKey,
=======
recvNotification,
>>>>>>>
setFiltredValueWithKey,
recvNotification, |
<<<<<<<
let safeImageProps = {...StyleSheet.flatten(image.props.style)};
delete safeImageProps.tintColor;
delete safeImageProps.overflow;
delete safeImageProps.resizeMode;
=======
// Get rid of any unused styles to avoid warnings
let imageStyle = StyleSheet.flatten(image.props.style);
del... |
<<<<<<<
it('throws when <IntlProvider> is missing from ancestry', () => {
const FormattedMessage = mockContext(null);
expect(() => shallowDeep(<FormattedMessage />, 2)).toThrow(
=======
it('throws when <IntlProvider> is missing from ancestry and there is no defaultMessage', () => {
exp... |
<<<<<<<
import PropTypes from "prop-types";
import * as d3 from "d3";
=======
import { scaleQuantize, extent, format } from "d3";
>>>>>>>
import PropTypes from "prop-types";
import { scaleQuantize, extent, format } from "d3";
<<<<<<<
=======
const createEqualBins = (data, color, getPropValue) => {
const sca... |
<<<<<<<
=======
import pullQuoteStory from './PullQuote.story';
import screenGridMapStory from './ScreenGridMap.story';
import pathMapStory from './PathMap.story';
import iconMapStory from './IconMap.story';
import boundaryMapStory from './BoundaryMap.story';
import { checkA11y } from '@storybook/addon-a11y';
>>>>>>... |
<<<<<<<
import "../assets/constants.css";
=======
import { SSL_OP_TLS_BLOCK_PADDING_BUG } from 'constants'
import '@hackoregon/component-library/assets/constants.css'
>>>>>>>
import "../assets/constants.css";
<<<<<<<
// The display area for components
main: {
backgroundColor: "white",
margin: 15,
... |
<<<<<<<
myAppController.controller('ElementHistoryController', function($scope, dataFactory, dataService, _) {
=======
myAppController.controller('ElementHistoryController', function ($scope, $window, $timeout, dataFactory, dataService, _) {
>>>>>>>
myAppController.controller('ElementHistoryController', function ($s... |
<<<<<<<
dataFactory.putApiWithHeaders('profiles', input.id, profile, headers).then(function(response) {
var _profile = _.omit(response.data.data, 'dashboard', 'hide_single_device_events', 'rooms', 'salt');
=======
dataFactory.putApiWithHeaders('profiles', inputAuth.id, profile, headers).then(function(respon... |
<<<<<<<
import Errors from '../../components/Errors';
=======
import { HotKeys } from 'react-hotkeys';
>>>>>>>
import { HotKeys } from 'react-hotkeys';
<<<<<<<
const { editorChanged, onEditorChange, config, updated, errors } = this.props;
const { raw_content } = config;
=======
const { editorChanged, ... |
<<<<<<<
export function putDataFile(directory, filename, data, new_path = '') {
=======
export function putDataFile(filename, data, source = "editor") {
>>>>>>>
export function putDataFile(directory, filename, data, new_path = '', source = "editor") {
<<<<<<<
datafileAPIUrl(directory, filename),
JSON.st... |
<<<<<<<
import { getLeaveMessage } from '../../constants/lang';
=======
import { injectDefaultFields } from '../../utils/metadata';
import {
getLeaveMessage, getDeleteMessage, getNotFoundMessage
} from '../../constants/lang';
>>>>>>>
import { getLeaveMessage } from '../../constants/lang';
import { injectDefaultFie... |
<<<<<<<
import { getFilenameFromPath } from '../../utils/helpers';
=======
import { preventDefault } from '../../utils/helpers';
>>>>>>>
import { preventDefault, getFilenameFromPath } from '../../utils/helpers';
<<<<<<<
getDirectoryfromPath(path) {
let directory = path.split("/");
directory.pop();
re... |
<<<<<<<
import { injectDefaultFields } from '../../utils/metadata';
=======
import { preventDefault } from '../../utils/helpers';
>>>>>>>
import { injectDefaultFields } from '../../utils/metadata';
import { preventDefault } from '../../utils/helpers';
<<<<<<<
const metafields = injectDefaultFields(config, direc... |
<<<<<<<
import { getLeaveMessage } from '../../constants/lang';
=======
import { getFilenameFromPath } from '../../utils/helpers';
import { injectDefaultFields } from '../../utils/metadata';
import {
getLeaveMessage, getDeleteMessage, getNotFoundMessage
} from '../../constants/lang';
>>>>>>>
import { getLeaveMessa... |
<<<<<<<
import { StoryCard, Chart, ChartData, PieChart } from '../src';
import { getRandomValuesArray, colors, objectRandomizer, wallOfRichText } from './shared';
=======
import { StoryCard, Chart, ChartData, Pie } from '../src';
import { getRandomValuesArray, getColors, randomizer, wallOfRichText } from './shared';
... |
<<<<<<<
/*
* The contents of this file are licenced. You may obtain a copy of
* the license at https://github.com/thsmi/sieve/ or request it via
* email from the author.
*
* Do not remove or change this comment.
*
* The initial author of the code is:
* Thomas Schmid <schmid-thomas@gmx.net>
*
*/
/*... |
<<<<<<<
/*
* The contents of this file are licenced. You may obtain a copy of
* the license at https://github.com/thsmi/sieve/ or request it via
* email from the author.
*
* Do not remove or change this comment.
*
* The initial author of the code is:
* Thomas Schmid <schmid-thomas@gmx.net>
*
*/
/... |
<<<<<<<
}
return skips;
}
_computeDiffClass(panelFloatingDisabled) {
if (panelFloatingDisabled) {
return 'noOverflow';
}
}
/**
* @param {!Object} patchRangeRecord
*/
_computeEditMode(patchRangeRecord) {
const patchRange = patchRangeRecord.base || {};
return this.patchNum... |
<<<<<<<
/*
* The contents of this file are licenced. You may obtain a copy of
* the license at https://github.com/thsmi/sieve/ or request it via
* email from the author.
*
* Do not remove or change this comment.
*
* The initial author of the code is:
* Thomas Schmid <schmid-thomas@gmx.net>
*
*/
(f... |
<<<<<<<
/*
* The content of this file is licensed. You may obtain a copy of
* the license at https://github.com/thsmi/sieve/ or request it via
* email from the author.
*
* Do not remove or change this comment.
*
* The initial author of the code is:
* Thomas Schmid <schmid-thomas@gmx.net>
*/
/* globals ... |
<<<<<<<
/*
* The contents of this file are licenced. You may obtain a copy of
* the license at https://github.com/thsmi/sieve/ or request it via
* email from the author.
*
* Do not remove or change this comment.
*
* The initial author of the code is:
* Thomas Schmid <schmid-thomas@gmx.net>
*
*/
/*... |
<<<<<<<
/*
* The contents of this file are licenced. You may obtain a copy of
* the license at https://github.com/thsmi/sieve/ or request it via
* email from the author.
*
* Do not remove or change this comment.
*
* The initial author of the code is:
* Thomas Schmid <schmid-thomas@gmx.net>
*
*/
/*... |
<<<<<<<
=======
* Copies the material design icons into the build directory.
*
* @param {string} destination
* where to place the material design sources
*
* @returns {Stream}
* a stream to be consumed by gulp
*/
function packageMaterialIcons(destination) {
"use strict";
return src([
BASE_DIR_MAT... |
<<<<<<<
showCookieWarning: true,
selectedUserTypes: []
=======
showCookieWarning: true,
firstPageVisited: null
>>>>>>>
showCookieWarning: true,
selectedUserTypes: [],
firstPageVisited: null
<<<<<<<
},
getSelectedUserTypes: state => [...state.selectedUserTypes]
=======
},
getFirstPageVisited... |
<<<<<<<
})
test("lazy observable pending", done => {
const lo = utils.lazyObservable(sink => new Promise(resolve => {
setTimeout(resolve, 100)
}).then(sink))
expect(lo.pending).toBeFalsy()
lo.current()
expect(lo.pending).toBeTruthy()
setTimeout(() => {
expect(lo.pending).toBe... |
<<<<<<<
(function(exports) {
"use strict";
// Define the `firebase` module under which all AngularFire
// services will live.
angular.module("firebase", [])
.value("Firebase", exports.Firebase)
// used in conjunction with firebaseUtils.debounce function, this is the
// amount of time we will wait for ... |
<<<<<<<
'$q', '$firebaseUtils', function($q, $firebaseUtils) {
=======
'$q', '$log', function($q, $log) {
>>>>>>>
'$q', '$firebaseUtils', '$log', function($q, $firebaseUtils, $log) {
<<<<<<<
var auth = new FirebaseAuth($q, $firebaseUtils, ref);
=======
var auth = new FirebaseAuth($q, $... |
<<<<<<<
this.$id = $firebase.$ref().name();
this.$priority = null;
=======
self.$id = $firebase.$ref().ref().name();
self.$priority = null;
>>>>>>>
this.$id = $firebase.$ref().ref().name();
this.$priority = null; |
<<<<<<<
this._fRef = ref;
}
=======
};
>>>>>>>
this._fRef = ref;
};
<<<<<<<
=======
if (type === undefined) {
type = [];
}
>>>>>>>
<<<<<<<
=======
self._remoteValue = type;
if (snap && snap.val()) {
var val = snap.val();
// If the remote type doesn't match what... |
<<<<<<<
// These are private config props and functions used internally
// they are collected here to reduce clutter in console.log and forEach
this.$$conf = {
=======
// IDE does not understand defineProperty so declare traditionally
// to avoid lots of IDE warnings about inva... |
<<<<<<<
render() {
const html = _.get(this, 'props.data.markdownRemark.html', '');
=======
render() {
const { markdownRemark } = this.props.data;
const html = markdownRemark && markdownRemark.html ? markdownRemark.html : '';
>>>>>>>
render() {
const { markdownRemark } = this.props.data;
... |
<<<<<<<
var defs = {
spo: ["subject", "predicate", "object"],
sop: ["subject", "object", "predicate"],
pso: ["predicate", "subject", "object"],
pos: ["predicate", "object", "subject"],
ops: ["object", "predicate", "subject"],
osp: ["object", "subject", "predicate"]
};
=======
var CallbackStream = require(... |
<<<<<<<
version: "1.X.X", //Added in 1.8.8
=======
version: "1.9", //Added in 1.8.8
>>>>>>>
version: "1.9", //Added in 1.8.8
<<<<<<<
<option value="0" selected>Is Bot?</option>
<option value="2">Is Kickable?</option>
<option value="1">Is Bannable?</option>
<option value="4">Is In Voice Channel?</option>... |
<<<<<<<
import Layout from '~components/layout'
import VolunteersList from '~components/common/volunteers-list'
=======
import ContentfulContent from '~components/common/contentful-content'
import Layout from '../../components/layout'
import VolunteersList from '../../components/common/volunteers-list'
>>>>>>>
impor... |
<<<<<<<
const SocialSharing = ({ shares, url, text }) => {
=======
export default ({ shares, url, text, twitterText }) => {
>>>>>>>
const SocialSharing = ({ shares, url, text, twitterText }) => { |
<<<<<<<
centered
=======
hero={hero}
>>>>>>>
centered
hero={hero} |
<<<<<<<
/* eslint jsx-a11y/label-has-associated-control: 0 */
import React, { useState } from 'react'
import { graphql } from 'gatsby'
import {
Combobox,
ComboboxInput,
ComboboxPopover,
ComboboxList,
ComboboxOption,
} from '@reach/combobox'
import '@reach/combobox/styles.css'
import { Flex, Box } from '../..... |
<<<<<<<
const [menuState, setShowSubMenu] = useState()
const ref = useRef()
useOnClickOutside(ref, () => setShowSubMenu(menuState))
// Call hook passing in the ref and a function to call on outside click
const toggleSubMenu = index => {
setShowSubMenu(menuState === index ? '' : index)
}
=======
... |
<<<<<<<
const data = useMemo(() => {
const nodes = query.allCovidUsDaily.nodes
.map(node => [
{
date: parseDate(node.date),
label: 'Deaths',
value: node.deathIncrease,
},
])
.reduce((acc, val) => acc.concat(val), [])
return nodes.sort((a, b) => ... |
<<<<<<<
annotations = false,
=======
longTermCare,
>>>>>>>
longTermCare,
annotations = false, |
<<<<<<<
<Layout title="Search results" textHeavy narrow>
<Form
=======
<Layout title="Search results" narrow>
<form
>>>>>>>
<Layout title="Search results" narrow>
<Form |
<<<<<<<
function buildDate(argument) {
dt = DateTime.fromObject({ zone: 'America/New_York' })
meridiem = dt.hour > 11 ? 'p' : 'a'
return `${dt.toFormat('h:mm')} ${meridiem}m ET`
}
=======
>>>>>>>
<<<<<<<
resolve: 'gatsby-source-covid-tracking-api',
options: {
file: './_data/v1/volunteers.... |
<<<<<<<
import Layout from '~components/layout'
=======
import ContentfulContent from '~components/common/contentful-content'
import Layout from '../components/layout'
>>>>>>>
import Layout from '~components/layout'
import ContentfulContent from '~components/common/contentful-content' |
<<<<<<<
const groupedRaceNotes = [...new Set(Object.values(raceNotes))]
.filter(value => value && value)
.reverse()
=======
const groupedRaceNotes = [...new Set(Object.values(raceNotes))].filter(
value => value && value.trim().length && value,
)
>>>>>>>
const groupedRaceNotes = [...new Set(Object... |
<<<<<<<
<StateCharts history={data.allCovidUsDaily.nodes} />
<DetailText>
<MarkdownContent
html={data.dataSummaryFootnote.content.childMarkdownRemark.html}
/>
</DetailText>
=======
<Container narrow>
<DetailText>
<MarkdownContent
html={d... |
<<<<<<<
createPage({
path: `/data/state/${slug}/hospital-facilities`,
component: path.resolve(`./src/templates/state/hospital-facilities.js`),
context: node,
})
=======
createRedirect({
fromPath: `/data/state/${slug}/screenshots`,
toPath: `https://screenshots.covidtracking.... |
<<<<<<<
<svg className={chartStyles.chart} viewBox={`0 0 ${width} ${height}`}>
<g transform={`translate(${marginLeft} ${marginTop})`}>
<g>
{yScale.ticks(yTicks).map((tick, i) => (
<g key={tick}>
{i < showTicks && (
<>
<text
... |
<<<<<<<
=======
<Hero />
<div className="homepage-press-logos-wrapper">
<Container>
<h2>Our data has been cited by</h2>
<PressLogos onlyFeatured />
</Container>
</div>
>>>>>>>
<Hero />
<div className="homepage-press-logos-wrapper">
<Container>
<h2>Our ... |
<<<<<<<
import { FormatDate } from '~components/utils/format'
=======
import { FormatDate, FormatNumber } from '~components/utils/format'
import Definitions from '~components/pages/data/definitions'
>>>>>>>
import { FormatDate } from '~components/utils/format'
import Definitions from '~components/pages/data/definiti... |
<<<<<<<
const { disableError, disableSpinner, errorSize, imageStyle, src, style, loadingSize, loadingStyle } = this.props
=======
const { color, disableSpinner, imageStyle, src, style, loadingSize, loadingStyle } = this.props
>>>>>>>
const { color, disableError, disableSpinner, errorSize, imageStyle, sr... |
<<<<<<<
this.rootComponentIds = this._gatherRootComponentIds(props.routes);
=======
this.currentOwner = null;
>>>>>>>
this.rootComponentIds = this._gatherRootComponentIds(props.routes);
this.currentOwner = null; |
<<<<<<<
import { Column, Input, Row } from '@reactackle/reactackle';
import { DataRowStyled } from './styles/DataRowStyled';
import { DataAdditionalStyled } from './styles/DataAdditionalStyled';
=======
import { Column, TextField, Row } from '@reactackle/reactackle';
import './ConstructionTool.scss';
>>>>>>>
import ... |
<<<<<<<
import React from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import ProjectRoute from '../../models/ProjectRoute';
// import { currentRouteSelector } from '../../selectors/index';
import { BlockContentViewButton } from '../../components';
import { toggleTreeViewMode ... |
<<<<<<<
import { ChildrenWrapperStyled } from './styles/ChildrenWrapperStyled';
=======
import { IconArrowChevronRight } from '../../icons';
>>>>>>>
import { ChildrenWrapperStyled } from './styles/ChildrenWrapperStyled';
import { IconArrowChevronRight } from '../../icons'; |
<<<<<<<
Package.onUse(function(api) {
api.versionsFrom('1.0');
api.use(['cfs:base-package@0.0.26', 'cfs:storage-adapter@0.0.0']);
api.addFiles([
=======
Package.on_use(function(api) {
api.use(['cfs:base-package@0.0.0', 'cfs:storage-adapter@0.0.0']);
api.add_files([
>>>>>>>
Package.onUse(function(api) {
... |
<<<<<<<
const { pointCursor, setPointCursor } = usePointCursor();
=======
>>>>>>>
<<<<<<<
const goToPoint = useCallback(() => {
goToPoints();
push(names.POINT);
}, [goToPoints, push, names]);
const goHome = useCallback(async () => {
const _wallet = need.wallet(wallet);
const _contracts =... |
<<<<<<<
import { MIN_PLANET, GAS_LIMITS, DEFAULT_GAS_PRICE_GWEI } from 'lib/constants';
=======
import { useSuggestedGasPrice } from 'lib/useSuggestedGasPrice';
import useArray from 'lib/useArray';
import { buildEmailInputConfig } from 'lib/useInputs';
import { MIN_PLANET, GAS_LIMITS } from 'lib/constants';
>>>>>>>
... |
<<<<<<<
let mounted = true;
=======
const gasPrice = parseInt(
fromWei(estimatedGasPrice.toString(), 'gwei'),
10
);
setSuggestedGasPrice(gasPrice);
setGasPrice(gasPrice);
}, [estimatedGasPrice]);
useEffect(() => {
>>>>>>>
const gasPrice = parseInt(
fromWei(estimatedGasP... |
<<<<<<<
import React, { useCallback, useState, useMemo } from 'react';
import { Just, Nothing } from 'folktale/maybe';
import * as azimuth from 'azimuth-js';
=======
import React, { useCallback, useState } from 'react';
>>>>>>>
import React, { useCallback, useState, useMemo } from 'react'; |
<<<<<<<
=======
import DownloadSigilButton from 'components/DownloadSigilButton';
>>>>>>>
import DownloadSigilButton from 'components/DownloadSigilButton';
<<<<<<<
<Passport
point={Just(point)}
address={Just(address)}
animationMode={'slide'}
/>
=======
<Passport point={Ju... |
<<<<<<<
? [
{ key: ROUTE_NAMES.LANDING },
{ key: ROUTE_NAMES.LOGIN },
{ key: ROUTE_NAMES.POINTS },
{ key: ROUTE_NAMES.POINT },
]
: [{ key: ROUTE_NAMES.LANDING }];
=======
? [{ key: ROUTE_NAMES.LANDING }, { key: ROUTE_NAMES.LOGIN }]
: hasDisclaimed()
? [{ key: ROUTE_NAMES.LANDING ... |
<<<<<<<
this.bustPreventDefault(this.el.find('#transcript'));
=======
$(window).scroll(this.scrollWindow);
// Bust through the div's click event to allow all links to work apart from
// the time link
this.el.find('#transcript > div').find('dt.speaker a, dd a').click... |
<<<<<<<
`
// #110
const Bla = styled.div`
${Button} {
${something}: blue;
}
background: ${bla};
${someValue}
`
=======
`
// Multi-line interpolations
const MultiLineDiv = styled.div`
color: ${
'red'
};
${
'long values'
}
`;
>>>>>>>
`
// #110
const Bla = styled.div`
${Button} {... |
<<<<<<<
populates.push(col);
return cb(null, [vals]);
=======
return cb(null, [vals[col]]);
>>>>>>>
populates.push(col);
return cb(null, [vals[col]]);
<<<<<<<
it('should populate all associations by default', function(done){
var person = new collection._m... |
<<<<<<<
import { pick, get } from 'lodash'
=======
import { pick } from 'lodash'
import urlJoin from 'url-join'
>>>>>>>
import { pick, get } from 'lodash'
import urlJoin from 'url-join'
<<<<<<<
const generateCombinationsFromArray = (array, property) => {
let results = []
for (let i = 0; i <= array.length - 1; ... |
<<<<<<<
// - otherLinks: an array of other links that you might want in the header (e.g., link github, twitter, etc).
// Defined by:
// - key: the key for the <dt> (e.g., "Bug Tracker"). Required.
// - value: The value that will appear in the <dd> (e.g., "GitHub").
// - href: a... |
<<<<<<<
it("should have the native-metrics package available", function() {
expect(function() {
require('@newrelic/native-metrics')
}).to.not.throw()
})
=======
it_native("should still gather native metrics when bound and unbound", function(done) {
sampler.start(agent)
sampler.stop()
... |
<<<<<<<
var attributes = {
agentAttributes: this.attributes.get(DESTINATIONS.TRANS_TRACE),
userAttributes: this.custom.get(DESTINATIONS.TRANS_TRACE),
=======
const serializedTrace = this._serializeTrace()
const trace = this
if (!this.transaction.agent.config.simple_compression) {
codec.encode(ser... |
<<<<<<<
shimmer.wrapMethod(memcached.prototype, 'memcached.prototype', 'command', function (command) {
=======
shimmer.wrapMethod(memcached && memcached.prototype,
'memcached.prototype',
'command',
function (original) {
>>>>>>>
shimmer.wrapMethod(m... |
<<<<<<<
shimmer.wrapMethod(mongodb.Collection.prototype, 'mongodb.Collection.prototype', operation, function (command) {
=======
shimmer.wrapMethod(mongodb && mongodb.Collection && mongodb.Collection.prototype,
'mongodb.Collection.prototype',
operation,
... |
<<<<<<<
test("Express 4 router introspection", function(t) {
t.plan(12)
=======
test("Express 4 router introspection", {skip: skip()}, function(t) {
t.plan(14)
>>>>>>>
test("Express 4 router introspection", function(t) {
t.plan(14) |
<<<<<<<
transaction.end(function() {
var segment = transaction.trace.root.children[0]
t.equals(
segment.getAttributes().key,
"\"foo\"",
"should have the get key as a parameter"
)
})
=======
transaction.end()
... |
<<<<<<<
} else if (endpointName === 'transaction_sample_data') {
aggregatorCheckOnEnd(agent.traces)
=======
} else if (endpointName === 'analytic_event_data') {
aggregatorCheckOnEnd(agent.transactionEventAggregator)
>>>>>>>
} else if (endpointName === 'transactio... |
<<<<<<<
agent.spanEventAggregator.reconfigure(agent.config)
=======
agent.transactionEventAggregator.reconfigure(agent.config)
>>>>>>>
agent.spanEventAggregator.reconfigure(agent.config)
agent.transactionEventAggregator.reconfigure(agent.config)
<<<<<<<
if (agent.config.distributed_t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.