conflict_resolution stringlengths 27 16k |
|---|
<<<<<<<
var getClone = function(templateName){
return cloneHtmlObjs[templateName];
};
return {
get:getClone
};
=======
};
});
treeherder.factory('BrowserId', function($http, $q, $log, thServiceDomain){
/*
* BrowserId is a wrapper for the persona authentication ... |
<<<<<<<
"Result": $scope.job.result,
"Job GUID": $scope.job.job_guid,
// TODO: this needs to be a directive!!
"Machine Name": "<a href='https://secure.pub.build.mozilla.org/builddata/reports/slave_health/slave.html?name=" + $scope.job.machi... |
<<<<<<<
* @author dexy, amethystlei, ananthhh, flytoj2ee
* @version 1.20
=======
* Changes in version 1.21 (Web Arena - Leaderboard Performance Improvement):
* - Added functions leaderboardViewChangeHandler, leaderboardRefreshHandler and
* injectLeaderboardRefresher to $rootScope to handle the updates of the le... |
<<<<<<<
controllers.matchScheduleCtrl = require('./controllers/matchScheduleCtrl');
controllers.memberFeedbackCtrl = require('./controllers/memberFeedbackCtrl');
=======
controllers.leaderboardCtrl = require('./controllers/leaderboardCtrl');
>>>>>>>
controllers.matchScheduleCtrl = require('./controllers/matchSchedul... |
<<<<<<<
tcHostName: '@@TC_HOSTNAME',
maxLiveLearderBoard: '@@MAX_LIVE_LEADERBOARD'
=======
tcHostName: '@@TC_HOSTNAME',
autoSavingCodeInterval: '@@AUTO_SAVING_CODE_INTERVAL',
leaderboardRefreshTimeGap: '@@LEADERBOARD_REFRESH_TIME_GAP',
activeMatchesSummaryTopcoderCount: '@@ACTIVE_MATCHES_SUMMA... |
<<<<<<<
coderInfoUsername = name;
=======
$scope.numCoderRequest = 1;
>>>>>>>
coderInfoUsername = name; $scope.numCoderRequest = 1; |
<<<<<<<
var camera, scene, sceneAtmosphere, renderer, w, h;
=======
var camera, scene, sceneAtmosphere, renderer, w, h;
>>>>>>>
var camera, scene, sceneAtmosphere, renderer, w, h;
<<<<<<<
// geometry = new THREE.Cube(0.75, 0.75, 1);
geometry = new THREE.Cube(0.75, 0.75, 1, 1, 1, 1, null, false, { px:... |
<<<<<<<
/*! amdclean - v2.0.0 - 2014-03-17
=======
/*! amdclean - v1.5.0 - 2014-03-17
>>>>>>>
/*! amdclean - v2.0.0 - 2014-03-17
<<<<<<<
'VERSION': '2.0.0',
=======
'VERSION': '1.5.0',
>>>>>>>
'VERSION': '2.0.0',
<<<<<<<
while(++iterator < depLength) {... |
<<<<<<<
date: new Date('2018-05-21'),
changes: <React.Fragment>Added <ItemLink id={ITEMS.ZANDALARI_LOA_FIGURINE.id} /> to trinkets.</React.Fragment>,
contributors: [Fyruna],
},
{
=======
date: new Date('2018-05-25'),
changes: 'Changed to WoWDB tooltips because they provide better tooltips.',
... |
<<<<<<<
ipcMain.on('JIRA-AddSubtask', requireArgParams(addSubtask, ['key', 'name']));
=======
ipcMain.on('JIRA-SearchIssues', requireArgParams(searchIssues, ['jql']));
>>>>>>>
ipcMain.on('JIRA-AddSubtask', requireArgParams(addSubtask, ['key', 'name']));
ipcMain.on('JIRA-SearchIssues', requireArgParams(searchIssues, ... |
<<<<<<<
import { checkIfCan } from '../../lib/scopes';
=======
import { traverseStory } from '../../lib/story.utils';
>>>>>>>
import { checkIfCan } from '../../lib/scopes';
import { traverseStory } from '../../lib/story.utils';
<<<<<<<
checkIfCan('stories:w', story.projectId);
const { _id, indices,... |
<<<<<<<
=======
require.alias("component-clone/index.js", "analytics/deps/clone/index.js");
require.alias("component-type/index.js", "component-clone/deps/type/index.js");
>>>>>>> |
<<<<<<<
...conversationResolvers,
...nluResolvers,
=======
conversationsResolver,
botResponsesResolver,
>>>>>>>
...conversationResolvers,
...nluResolvers,
botResponsesResolver,
<<<<<<<
export const typeDefs = mergeTypes([
...conversationTypes,
...nluTypes,
...activityTypes,
... |
<<<<<<<
var self = this;
each(links, function (el) {
bind(el, 'click', function (e) {
var ev = is.function(event) ? event(el) : event;
var props = is.function(properties) ? properties(el) : properties;
self.track(ev, props);
if (el.href && el.target !== '_blank' && !isMeta(e)) {
... |
<<<<<<<
this.load();
};
=======
// anonymize after initializing, otherwise a warning is shown
// in google analytics debugger
if (options.anonymizeIp) window.ga('set', 'anonymizeIp', true);
// track a pageview with the canonical url
if (options.initialPageview) {
var path, canon = canonical();
i... |
<<<<<<<
workingLanguage: 'en',
workingDeploymentEnvironment: 'development',
=======
workingLanguage: null,
>>>>>>>
workingDeploymentEnvironment: 'development',
workingLanguage: null, |
<<<<<<<
// Test for a `created` property that's a valid date string and convert it.
if (traits && traits.created && type (traits.created) === 'string' &&
Date.parse(traits.created)) {
traits.created = new Date(traits.created);
=======
// Test for a `created` that's a valid date string or numbe... |
<<<<<<<
stepperTemplateType: '@?'
=======
stepperTemplateType:'@?',
versions: '=?'
>>>>>>>
stepperTemplateType: '@?',
versions: '=?'
<<<<<<<
if (angular.isUndefined($scope.stepperTemplateType)) {
=======
... |
<<<<<<<
define(["require", "exports", "angular", "../module-name", "../../services/OpsManagerFeedService", "../../services/OpsManagerDashboardService", "../../services/TabService", "../../services/AlertsService", "underscore"], function (require, exports, angular, module_name_1, OpsManagerFeedService_1, OpsManagerDashb... |
<<<<<<<
if (CategoriesService.model.feedRoleMemberships == undefined) {
CategoriesService.model.feedRoleMemberships = this.model.feedRoleMemberships = [];
}
/**
* Indicates if the properties may be edited.
*/
self.allowEdit = fals... |
<<<<<<<
} catch (error) {
userMap.not_signed.push(user.name)
logger.info(`could not get signature of ${user.name} for repoId ${repoId}`)
}
})
await Promise.all(promises)
return {
signed: userMap.not_signed.length === 0,
... |
<<<<<<<
all: function(done) {
Repo.find({}, function(err, repos){
done(err, repos);
});
=======
all: function (done) {
Repo.find({}, function (err, repos) {
done(err, repos);
});
>>>>>>>
all: function (done) {
Repo.find({}, function (err, repos) {
done(err, repos);
});
<<<<<<<
getPRCommitte... |
<<<<<<<
getAll: function(req, done){
=======
getAll: function (req, done) {
>>>>>>>
getAll: function (req, done) {
<<<<<<<
revokeAllSignatures: function(req, done){
cla.revokeAllSignatures(req.args, done);
},
sign: function(req, done) {
var args = {repo: req.args.repo, owner: req.args.owner, user: req.us... |
<<<<<<<
const host = req.headers['x-forwarded-host'] || req.headers.host
res.setHeader('location', 'https://' + host + req.url)
res.statusCode = 301
res.end()
})
app.use(require('x-frame-options')())
app.use(require('body-parser').json({
limit: '5mb'
}))
app.use(require('cookie-parser')())
app.use... |
<<<<<<<
var LodashModuleReplacementPlugin = require('lodash-webpack-plugin');
var purify = require("purifycss-webpack-plugin");
=======
//var purify = require("purifycss-webpack-plugin");
>>>>>>>
var LodashModuleReplacementPlugin = require('lodash-webpack-plugin');
//var purify = require("purifycss-webpack-plugin"); |
<<<<<<<
it('passes instanceOf test', function () {
assert(new TestableClock() instanceof TestableClock);
});
it('should be of type `function`', function () {
=======
it('is a function', function () {
>>>>>>>
it('should be of type `function`', function () { |
<<<<<<<
this.onKeysExport = this.onKeysExport.bind(this)
this.onKeysImport = this.onKeysImport.bind(this)
this.handleSettingsChange = this.handleSettingsChange.bind(this)
=======
this.handleRCSettingsChange = this.handleRCSettingsChange.bind(this)
this.handleDeltaSettingsChange = this.handleDeltaS... |
<<<<<<<
=======
const {
H5,
Card,
Intent,
Alignment,
Navbar,
NavbarGroup,
NavbarHeading,
Button
} = require('@blueprintjs/core')
const ScreenContext = require('./contexts/ScreenContext')
const NavbarWrapper = require('./components/NavbarWrapper')
>>>>>>>
const ScreenContext = require('./contexts/Scr... |
<<<<<<<
const { promisify } = require('util')
const windows = require('../windows')
=======
>>>>>>>
const { promisify } = require('util')
const windows = require('../windows') |
<<<<<<<
headerComponent,
=======
dismissKeyboardOnMessageTouch = true,
>>>>>>>
<<<<<<<
=======
const { t } = useContext(TranslationContext);
const { client, isOnline } = useContext(ChatContext);
const {
Attachment,
clearEditingState,
editing,
emojiData,
loadMore: mainLoadMore,
... |
<<<<<<<
import React from 'react';
=======
import React, { useContext } from 'react';
import styled from '@stream-io/styled-components';
>>>>>>>
import React, { useContext } from 'react'; |
<<<<<<<
export { ChannelPreviewMessenger } from './ChannelPreviewMessenger';
export { CloseButton } from './CloseButton';
=======
export { ChannelPreviewMessenger } from './ChannelPreviewMessenger';
export { IconBadge } from './IconBadge';
>>>>>>>
export { ChannelPreviewMessenger } from './ChannelPreviewMessenger';
... |
<<<<<<<
import { View } from 'react-native';
=======
import { View, Text, FlatList, TouchableOpacity } from 'react-native';
>>>>>>>
import { View, TouchableOpacity } from 'react-native';
<<<<<<<
<ListContainer
ref={(fl) => (this.flatList = fl)}
data={messagesWithGroupPositions}
... |
<<<<<<<
import React, { useContext, useEffect, useRef, useState } from 'react';
import styled from 'styled-components/native';
=======
import React, { useContext, useEffect, useRef } from 'react';
import styled from '@stream-io/styled-components';
>>>>>>>
import React, { useContext, useEffect, useRef } from 'react';... |
<<<<<<<
static themePath = 'messageContent';
static propTypes = {
/** enabled reactions, this is usually set by the parent component based on channel configs */
reactionsEnabled: PropTypes.bool.isRequired,
/** enabled replies, this is usually set by the parent component based on channel confi... |
<<<<<<<
import React from 'react';
import styled from 'styled-components/native';
=======
import React, { useContext } from 'react';
import styled from '@stream-io/styled-components';
>>>>>>>
import React, { useContext } from 'react';
import styled from 'styled-components/native'; |
<<<<<<<
</Single>
<Modal visible={this.state.viewerModalOpen} transparent={true}>
<SafeAreaView style={{ flex: 1, backgroundColor: 'transparent' }}>
<ImageViewer
imageUrls={images}
onCancel={() => {
this.setState({ viewerMod... |
<<<<<<<
'storyGroups.insert'(storyGroup) {
checkIfCan('stories:w', storyGroup.projectId);
=======
async 'storyGroups.insert'(storyGroup) {
>>>>>>>
async 'storyGroups.insert'(storyGroup) {
checkIfCan('stories:w', storyGroup.projectId);
<<<<<<<
auditLogIfOnServer('Updated a sto... |
<<<<<<<
=======
const intents = tracker.events.filter( event => event.event === 'user').map((event => event.parse_data.intent.name))
const actions = tracker.events.filter( event => event.event === 'action').map((event => event.name))
const dialogues = db.get('conversa... |
<<<<<<<
import PropTypes from 'prop-types';
import styled from 'styled-components';
=======
import styled from '@stream-io/styled-components';
import PropTypes from 'prop-types';
import DefaultMessage from '../Message/Message';
import DefaultMessageInput from '../MessageInput/MessageInput';
import DefaultMessageList... |
<<<<<<<
import PropTypes from 'prop-types';
import styled from 'styled-components';
import { CommandsItem, MentionsItem } from '../AutoCompleteInput';
=======
import styled from '@stream-io/styled-components';
import PropTypes from 'prop-types';
import CommandsItem from '../AutoCompleteInput/CommandsItem';
import Me... |
<<<<<<<
import React from 'react';
import styled from 'styled-components/native';
=======
import React, { useContext, useEffect, useRef } from 'react';
import styled from '@stream-io/styled-components';
>>>>>>>
import React, { useContext, useEffect, useRef } from 'react';
<<<<<<<
display: flex;
flex-direction: ... |
<<<<<<<
sgtExchanger = await SGTExchanger.new(sgt.address, snt.address, statusContribution.address);
dynamicCeiling = await DynamicCeiling.new();
=======
sgtExchanger = await SGTExchanger.new(sgt.address, snt.address);
dynamicCeiling = await DynamicCeiling.new(accounts[0], statusContri... |
<<<<<<<
lim = 3;
cur = 0;
await snt.sendTransaction({ value: web3.toWei(1), gas: 300000 });
=======
await snt.sendTransaction({ value: web3.toWei(1), gas: 300000, gasPrice: "20000000000" });
>>>>>>>
lim = 3;
cur = 0;
await snt.sendTransaction({ value: web3.to... |
<<<<<<<
multisigSecundarySell.address,
sgt.address,
=======
multisigSecondarySell.address,
>>>>>>>
multisigSecondarySell.address,
sgt.address, |
<<<<<<<
import { flattenStory, extractDomain, getAllTemplates } from '../../lib/story.utils';
=======
import { flattenStory, extractDomain } from '../../lib/story.utils';
import BotResponses from '../graphql/botResponses/botResponses.model';
>>>>>>>
import { flattenStory, extractDomain, getAllTemplates } from '../..... |
<<<<<<<
// Reversed
=======
// Fast-path at this particular point because the "no change" case that this covers
// is orders of magnitude more common than the others
if (nStartIdx === nextLen && pStartIdx === prevLen) {
return
}
// List tail is the same
while (pEndIdx >= pStartIdx && nEndIdx >= nSt... |
<<<<<<<
story: 1, title: 1, branches: 1, errors: 1, checkpoints: 1, storyGroupId: 1, rules: 1,
=======
story: 1,
title: 1,
branches: 1,
errors: 1,
checkpoints: 1,
storyGroupId: 1,
>>>>>>>
s... |
<<<<<<<
const referenceB = Web3Utils.sha3(rawRefB) //hash our reference
const leafB = joinIonLinkData(withdrawReceiver,tokenB.address,ionLockB.address,valueB,referenceB)
console.log(leafB)
=======
const leafB = joinIonLinkData(withdrawReceiver,tokenB.address,ionLockB.address,valueB,ref)
>>>>>>>
c... |
<<<<<<<
it('should be able to access nlu model menu tabs, activity, training-data and evaluation,', function() {
cy.visit(`/project/${this.bf_project_id}/nlu/models`);
cy.contains('English').click();
cy.get('.cards>:first-child button.primary').click();
=======
it('should be able to ac... |
<<<<<<<
return value;
}
var t = ActiveSupport.trim(String(value));
return (t.length > 0 && !(/[^0-9.]/).test(t) && (/\.\d/).test(t)) ? parseFloat(new Number(value)) : parseInt(new Number(value), 10);
=======
return String(str).replace(/^\s+|\s+$/g,""... |
<<<<<<<
angular.module('rhqm.services')
.factory('metricDataService', ['$q', '$rootScope', '$http', '$log', '$localStorage', 'BASE_URL', function ($q, $rootScope, $http, $log, $localStorage, BASE_URL) {
function makeBaseUrl() {
var baseUrl = 'http://' + $rootScope.$storage.server + ':' + $root... |
<<<<<<<
/**
* @ngdoc controller
* @name ChartController
* @description This controller is responsible for handling activity related to the Chart tab.
* @param $scope
* @param $rootScope
* @param $interval
* @param $log
* @param metricDataService
*/
function ChartController($scope, $rootScope, $interval, $log,... |
<<<<<<<
const { stories, domain } = await getStoriesAndDomain(projectId, language, env);
=======
>>>>>>>
<<<<<<<
auditLog('Evaluated nlu data', {
user: Meteor.user(),
projectId,
type: 'execute',
operation: 'nlu-model-evaluat... |
<<<<<<<
slides = document.querySelectorAll('.slide'),
progress = document.querySelector('div.progress div'),
=======
slides = [],
progress = [],
slideList = [],
>>>>>>>
slides = [],
progress = [],
<<<<<<<
timing = 0,
isHistoryApiSupported = !!(window.history && history.pushState),
l = slides.len... |
<<<<<<<
'config:context:dashboard',
'config:s3:access_key',
'config:s3:secret_key',
'config:s3:bucket_name',
'config:s3:path',
'config:s3:region'
=======
'config:context:dashboard',
'config:clip:render_height',
'config:clip:render_width',
'config:clip:render_timeout',
'config:clip:canvas_height',
'config:... |
<<<<<<<
var reqParse = url.parse(req.url);
var reqPath = reqParse.pathname;
var reqQuery = reqParse.search;
self.log("info", "Handling "+req.method+" on "+req.url);
=======
this.context = {};
this.context.http_headers = req.headers;
>>>>>>>
this.context = {};
this.context.http_head... |
<<<<<<<
TestUtils.renderIntoDocument(<LineChart />);
}).to.throw(Error);
=======
TestUtils.renderIntoDocument(
<LineChart />
);
}).to.throw(TypeError);
>>>>>>>
TestUtils.renderIntoDocument(
<LineChart />
);
}).to.throw(... |
<<<<<<<
const advancedFilters = ['eq', 'neq', 'gt', 'lt', 'gte', 'lte', 'like', 'ilike', 'is', 'in']
=======
const advancedFilters = [
'eq',
'gt',
'lt',
'gte',
'lte',
'like',
'ilike',
'is',
'in',
'not',
'cs',
'cd',
'ov',
'sl',
'sr',
'nxr',
'nxl',
'adj',
]
>>>>>>>
const advancedFil... |
<<<<<<<
import { checkIfCan } from '../roles/roles';
import { StoryGroups } from '../storyGroups/storyGroups.collection';
=======
>>>>>>>
import { checkIfCan } from '../roles/roles';
<<<<<<<
import { Deployments } from '../deployment/deployment.collection';
=======
import { getStoriesAndDomain } from '../../lib/s... |
<<<<<<<
var inFunction, inGenerator, inAsync, labels, strict,
inXJSChild, inXJSTag, inXJSChildExpression;
=======
var inFunction, inGenerator, labels, strict,
inXJSChild, inXJSTag;
>>>>>>>
var inFunction, inGenerator, inAsync, labels, strict,
inXJSChild, inXJSTag, inXJSChildExpression;
<<<<<<<
... |
<<<<<<<
if (options.strictMode) {
strict = true;
}
isKeyword = options.ecmaVersion >= 6 ? isEcma6Keyword : isEcma5AndLessKeyword;
=======
if (options.ecmaVersion >= 7) {
isKeyword = isEcma7Keyword;
} else if (options.ecmaVersion === 6) {
isKeyword = isEcma6Keyword;
} else {
... |
<<<<<<<
})(function (exports, module, _foo, _fooBar, _directoryFooBar) {
=======
})(function (exports, _foo, _fooBar, _directoryFooBar) {
"use strict";
>>>>>>>
})(function (exports, module, _foo, _fooBar, _directoryFooBar) {
"use strict"; |
<<<<<<<
var _ltSlash = {type: "</"};
=======
var _ellipsis = {type: "...", prefix: true, beforeExpr: true};
>>>>>>>
var _ellipsis = {type: "...", prefix: true, beforeExpr: true};
var _ltSlash = {type: "</"};
<<<<<<<
arrow: _arrow, bquote: _bquote, dollarBraceL: _dollarBraceL,
... |
<<<<<<<
if (options.strictMode) {
strict = true;
}
isKeyword = options.ecmaVersion >= 6 ? isEcma6Keyword : isEcma5AndLessKeyword;
=======
if (options.ecmaVersion >= 7) {
isKeyword = isEcma7Keyword;
} else if (options.ecmaVersion === 6) {
isKeyword = isEcma6Keyword;
} else {
... |
<<<<<<<
// remove consequenceless expressions such as local variables and literals
// note: will remove directives
=======
// remove consequence-less expressions such as local variables and literals
>>>>>>>
// remove consequence-less expressions such as local variables and literals
// note: will remove dir... |
<<<<<<<
var driver = require("./driver.js");
require("./tests.js");
require("./tests-harmony.js");
require("./tests-jsx.js");
var testsRun = 0, failed = 0;
function report(state, code, message) {
if (state != "ok") {++failed; console.log(code, message);}
++testsRun;
}
var t0 = +new Date;
driver.runTests(report);
... |
<<<<<<<
var q_tmpl = {token: "`", isExpr: true};
var j_oTag = {token: "<tag", isExpr: false}, j_cTag = {token: "</tag", isExpr: false}, j_expr = {token: "<tag>...</tag>", isExpr: true};
function curTokContext() {
return tokContext[tokContext.length - 1];
}
=======
var q_tmpl = {token: "`", isExpr: true... |
<<<<<<<
var oldParenL = ++metParenL;
if (tokType !== _parenR) {
val = parseExpression();
exprList = val.type === "SequenceExpression" ? val.expressions : [val];
} else {
exprList = [];
}
expect(_parenR);
// if '=>' follows '(...)', convert contents to argument... |
<<<<<<<
var driver = require("./driver.js");
require("./tests.js");
require("./tests-harmony.js");
require("./tests-jsx.js");
var testsRun = 0, failed = 0;
function report(state, code, message) {
if (state != "ok") {++failed; console.log(code, message);}
++testsRun;
}
var t0 = +new Date;
driver.runTests(report);
... |
<<<<<<<
if (options.locations) lastEndLoc = new Position;
inFunction = inGenerator = inAsync = strict = false;
=======
if (options.locations) lastEndLoc = curPosition();
inFunction = inGenerator = strict = false;
>>>>>>>
if (options.locations) lastEndLoc = new Position;
inFunction = inGenerat... |
<<<<<<<
t.ensureBlock(node);
node.body.body.unshift(util.template(templateName, {
=======
util.ensureBlock(node);
var template = util.template(templateName, {
>>>>>>>
t.ensureBlock(node);
var template = util.template(templateName, { |
<<<<<<<
case _num: case _string: case _regexp: case _xjsText:
=======
case _regexp:
var node = startNode();
node.regex = {pattern: tokVal.pattern, flags: tokVal.flags};
node.value = tokVal.value;
node.raw = input.slice(tokStart, tokEnd);
next();
return finishNode(no... |
<<<<<<<
fs.readdirSync(fixtureLoc).forEach(testName => {
=======
fs.readdirSync(fixtureLoc).forEach((testName) => {
if (testName.slice(0, 1) === ".") return;
>>>>>>>
fs.readdirSync(fixtureLoc).forEach(testName => {
if (testName.slice(0, 1) === ".") return; |
<<<<<<<
node.value = -this.state.value;
this.addExtra(node, "rawValue", node.value);
this.addExtra(node, "raw", this.input.slice(this.state.start, this.state.end));
this.next();
return this.finishNode(node, "NumberLiteralTypeAnnotation");
=======
return this.parseLitera... |
<<<<<<<
query retreiveConversations($projectId: String!,$skip: Int, $limit: Int, $env: String) {
conversations(projectId: $projectId, skip: $skip, limit: $limit, status: ["new", "read", "flagged"], sort: updatedAt_DESC, env: $env) {
_id
updatedAt
status
projectId
=======
query retr... |
<<<<<<<
t.ensureBlock(node.value);
=======
console.error("Object getter memoization is deprecated and will be removed in 5.0.0");
var value = node.value;
t.ensureBlock(value);
>>>>>>>
console.error("Object getter memoization is deprecated and will be removed in 5.0.0");
t.ensureBlock(node.value); |
<<<<<<<
version: '0.6.25',
=======
version: '0.7.1',
>>>>>>>
version: '0.7.1',
<<<<<<<
=======
//container.append("path").datum(graticule.outline).attr("class", "outline");
setClip(proj.clip);
>>>>>>>
setClip(proj.clip);
<<<<<<<
//Background
setClip(proj.clip);
container.append("path").... |
<<<<<<<
=======
if (typeof self.background !== 'undefined') {
coverCanvas.getContext('2d').drawImage(bgCanvas, 0, 0);
}
coverCanvas.getContext('2d').drawImage(coverImage, padding, padding, imageSize - padding * 2, imageSize - padding * 2);
>>>>>>> |
<<<<<<<
actionLoadEvergreen
=======
actionLoadEvergreen,
actionLoadWatchdog,
setAnnounceOptOut,
setAllowEnriched
>>>>>>>
actionLoadEvergreen,
setAnnounceOptOut,
setAllowEnriched
<<<<<<<
loadEvergreen: () => dispatch(actionLoadEvergreen(ownProps.t))
=======
loadEvergreen: (a... |
<<<<<<<
path: '/finder',
component: 'src/containers/FinderRedirect'
},
{
path: '/find',
component: 'src/containers/FinderRedirect'
},
{
path: '/team',
component: 'src/containers/Team'
},
{
path: '/start',
component: 'src/containers/Start'
},
... |
<<<<<<<
cy.dataCy('toggle-md').click({ force: true });
=======
cy.dataCy('intro-story-group').click({ force: true });
>>>>>>>
cy.dataCy('toggle-md').click({ force: true });
cy.dataCy('intro-story-group').click({ force: true }); |
<<<<<<<
=======
this.emitHostDidDisconnect()
this.notificationManager.addInfo('Portal closed', {
description: 'Your host stopped sharing their editor.',
dismissable: true
})
>>>>>>>
this.emitHostDidDisconnect() |
<<<<<<<
$.div({className: 'HostPortalComponent-status'},
$.div({className: 'PortalParticipants'},
this.renderParticipants(),
$.button({className: 'btn PortalParticipants-guests-add'})
),
$.div({className: 'HostPortalComponent-share-toggle'},
$.la... |
<<<<<<<
this.sharedEditorsByEditor = null
=======
this.sharedEditorsByEditor = new WeakMap()
this.statusBarTilesByPortalId = new Map()
>>>>>>>
this.sharedEditorsByEditor = null
this.statusBarTilesByPortalId = new Map()
<<<<<<<
this.hostPortalDisposables.add(activeTextEditorDisposable)
th... |
<<<<<<<
const normalizeURI = require('./normalize-uri')
const path = require('path')
=======
const NOOP = () => {}
>>>>>>>
const normalizeURI = require('./normalize-uri')
const path = require('path')
const NOOP = () => {}
<<<<<<<
if (this.editorBindingsByEditorProxyId.size === 0) {
=======
this.sh... |
<<<<<<<
if (target === this.FRAMEBUFFER) {
const gl = GlobalContext.proxyContext;
this.state.framebuffer[gl.READ_FRAMEBUFFER] = fbo;
this.state.framebuffer[gl.DRAW_FRAMEBUFFER] = fbo;
=======
const gl = GlobalContext.proxyContext;
if (hasWebGL2 && target === gl.FRAMEBUFFER) {
this.state.framebuf... |
<<<<<<<
checkboxText='React Native'
=======
checkboxText="React Native"
extensions={null}
>>>>>>>
checkboxText='React Native'
extensions={null} |
<<<<<<<
getTransformedValue: Function
}
=======
getTransformedValue: Function,
extensions: ?(string[])
};
>>>>>>>
getTransformedValue: Function,
extensions: ?(string[])
}
<<<<<<<
fetchButtonText: 'Fetch JSON from URL'
}
=======
fetchButtonText: "Fetch JSON from URL",
extensions: [".json"]
... |
<<<<<<<
switch (current.jsonData.insertType) {
case 'html':
$(current.target).html(insertContent.toString());
break;
default:
eval("$(current.target).{0}(insertContent.toString())".f(current.jsonData.insertType));
}
var target = current.target;
=======
... |
<<<<<<<
getScopeParam(scope) {
if (scope === undefined) {
return null;
}
if (Array.isArray(scope)) {
return {
scope: scope.join(' '),
};
}
return {
scope,
};
},
=======
/**
* Encode a single {value} using the application/x-www-form-urlencoded media t... |
<<<<<<<
// FIXME: We should check for errors here?
// Perform backward tick on rounds
// WARNING: DB_WRITE
modules.rounds.backwardTick(oldLastBlock, previousBlock, function () {
// Delete last block from blockchain
// WARNING: Db_WRITE
=======
if (err) {
// Fatal error, memory ... |
<<<<<<<
blocksModule.lastBlock.set(previousBlockArgs);
var newBlock = blockLogic.create({
=======
blocksModule.lastBlock.set(previousBlock);
const newBlock = blockLogic.create({
>>>>>>>
blocksModule.lastBlock.set(previousBlockArgs);
const newBlock = blockLogic.create({
<<<<<<<
var auxPreviousBlock = valid... |
<<<<<<<
const Rounds = rewire(
'../../../../../../src/modules/chain/submodules/rounds.js'
);
const Round = rewire('../../../../../../src/modules/chain/logic/round.js'); // eslint-disable-line no-unused-vars
=======
const Rounds = rewire('../../../../../../src/modules/chain/submodules/rounds');
const Round = rewire('... |
<<<<<<<
transactionPool: scope.modules.transactionPool,
delegates: scope.modules.delegates,
=======
transactions: scope.modules.transactions,
rounds: scope.modules.rounds,
>>>>>>>
transactionPool: scope.modules.transactionPool,
rounds: scope.modules.rounds, |
<<<<<<<
return setImmediate(cb, null);
})
.catch(reason => {
modules.blocks.isActive.set(false);
block = null;
return setImmediate(cb, reason);
});
});
=======
return setImmediate(cb, null);
})
.catch(reason => {
modules.blocks.isActive.set(false);
block = null;
// Finish h... |
<<<<<<<
import { Roles } from 'meteor/modweb:roles';
import { sortBy } from 'lodash';
=======
import { sortBy, isEqual } from 'lodash';
import { safeDump, safeLoad } from 'js-yaml';
>>>>>>>
import { Roles } from 'meteor/modweb:roles';
import { sortBy, isEqual } from 'lodash';
import { safeDump, safeLoad } from 'js-y... |
<<<<<<<
expect(_.map(res.body.data.votes, 'balance').sort()).to.to.be.eql(_.map(res.body.data.votes, 'balance'));
}));
=======
expect(_(res.body.data.votes).map('balance').sortNumbers()).to.be.eql(_.map(res.body.data.votes, 'balance'));
});
});
>>>>>>>
expect(_(res.body.data.vot... |
<<<<<<<
const getMappingTriggers = policies => policies
.filter(policy => policy.name.includes('BotfrontMappingPolicy'))
.map(policy => (policy.triggers || []).map((trigger) => {
if (!trigger.extra_actions) return [trigger.action];
return [...trigger.extra_actions, trigger.action];
}))
.... |
<<<<<<<
var test = require('../../test');
var _ = test._;
var accountFixtures = require('../../fixtures/accounts');
=======
var accountFixtures = require('../../fixtures/accounts');
var application = require('../../common/application');
>>>>>>>
var accountFixtures = require('../../fixtures/accounts');
<<<<<<<
var ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.