conflict_resolution stringlengths 27 16k |
|---|
<<<<<<<
it('correctly handles floats as single tokens', () => {
const result = sqlFormatter.format('SELECT 1e-9 AS a, 1.5e-10 AS b, 3.5E12 AS c, 3.5e12 AS d;');
expect(result).toBe(dedent`
SELECT
1e-9 AS a,
1.5e-10 AS b,
3.5E12 AS c,
3.5e12 AS d;
`);
});
=======
... |
<<<<<<<
if (!opt_message) {
opt_message = '';
}
var win =
/** @type {Window} */ (goog.window.open('', opt_options, opt_parentWin));
goog.dom.safe.documentWrite(
win.document, goog.html.SafeHtml.htmlEscape(opt_message));
return win;
=======
if (!opt_message) {
opt_message = '';
}
va... |
<<<<<<<
var on = function on(elem, eventname, selector, handler, onceOnly){
=======
function on(elem, eventname, selector, handler){
>>>>>>>
function on(elem, eventname, selector, handler, onceOnly){
<<<<<<<
var once = function(elem, eventname, selector, handler){
return Event.on(elem, event... |
<<<<<<<
function propagateChange(newName) {
console.log('now update all instances too');
var source = wb.closest(nameSpan, '.block');
var instances = wb.findAll(wb.closest(source, '.context'), '[data-local-source="' + source.dataset.localSource + '"]');
instances.forEach(function(elem){
wb.find(... |
<<<<<<<
debug("React Rendering");
// standardize to an array of EarlyPromises of ReactElements
var elementPromises = PageUtil.standardizeElements(page.getElements());
// TODO: deal with the timeouts.
// I learned how to chain an array of promises from http://bahmutov.calepin.co/chaining-promises.html
return ele... |
<<<<<<<
longTermCaching: true,
=======
timingLogLevel: "none",
gaugeLogLevel: "no",
>>>>>>>
longTermCaching: true,
timingLogLevel: "none",
gaugeLogLevel: "no", |
<<<<<<<
describe('#connect.core.initRingtoneEngines()', function () {
describe('with default settings', function () {
before(function () {
this.params.ringtone = {
voice: {
ringtoneUrl: ""
},
queu... |
<<<<<<<
this.cancelNextTimeout();
/* TODO: I dunno what else should be cleaned. */
=======
this.pause();
this.clearPerFrameHandlers();
>>>>>>>
this.cancelNextTimeout();
this.clearPerFrameHandlers();
<<<<<<<
this.scheduleNextStep();
=======
th... |
<<<<<<<
* enum Configuration Events
*/
var ConfigurationEvents = connect.makeNamespacedEnum('configuration', [
'configure',
'set_speaker_device',
'set_microphone_device',
'set_ringer_device',
'speaker_device_changed',
'microphone_device_changed',
'ringer_device_changed'
]);
/**-... |
<<<<<<<
beforeEach(function () {
sinon.stub(connect.Agent.prototype, "getContacts").returns([]);
this.ringtoneEngine = new connect.VoiceRingtoneEngine(ringtoneObj);
this.ringtoneSetup = sinon.stub(this.ringtoneEngine, "_ringtoneSetup");
assert.doesNotT... |
<<<<<<<
returns: {
blocktype: 'expression',
label: 'digital_input##',
script: 'digital_input##',
type: 'string'
}
=======
locals: [
{
blocktype: 'expression',
lab... |
<<<<<<<
const enrichMessages = () => {
const messageWithDates = insertDates(messages, lastRead, client.userID);
=======
const enrichedMessages = useMemo(() => {
const messageWithDates =
disableDateSeparator || threadList
? messages
: insertDates(messages, lastRead, client.userID, hid... |
<<<<<<<
require('./null.spec');
=======
require('./get.cache.spec');
>>>>>>>
require('./null.spec');
require('./get.cache.spec'); |
<<<<<<<
partiallyReadSequences: {
type: Array,
canRead: [Users.owns],
canUpdate: [Users.owns],
optional: true,
hidden: true,
},
"partiallyReadSequences.$": {
type: partiallyReadSequenceItem,
optional: true,
},
=======
// ReCaptcha v3 Integration
signUpReCaptchaRating: {
... |
<<<<<<<
export { default as withMutation } from './containers/withMutation.js';
export { default as withIdle } from './containers/withIdle.jsx';
export { default as withIdlePollingStoper } from './containers/withIdlePollingStopper.jsx';
=======
export { default as withMutation } from './containers/withMutation.js';
e... |
<<<<<<<
'click .invite-link': function(e, instance){
e.preventDefault();
var user = Meteor.users.findOne(instance.data._id);
Meteor.users.update(user._id,{
$set:{
isInvited: true
}
}, {multi: false}, function(error){
if(error){
throwError();
}else{
Meteor.call('createNotification','acco... |
<<<<<<<
// schema utils
import { generateIdResolverMulti, generateIdResolverSingle } from './modules/schemaUtils.js'
=======
// Permissions
import './modules/permissions.js';
// Head tags
import './modules/headtags.js'
>>>>>>>
// schema utils
import { generateIdResolverMulti, generateIdResolverSingle } from './mo... |
<<<<<<<
version: "0.27.4-nova",
git: "https://github.com/TelescopeJS/Telescope.git"
=======
version: "0.27.5-nova",
git: "https://github.com/TelescopeJS/telescope.git"
>>>>>>>
version: "0.27.5-nova",
git: "https://github.com/TelescopeJS/Telescope.git" |
<<<<<<<
import '../components/common/SubscribeLinks.jsx';
=======
import '../components/common/ErrorBoundary.jsx';
>>>>>>>
import '../components/common/SubscribeLinks.jsx';
import '../components/common/ErrorBoundary.jsx'; |
<<<<<<<
=======
import '../components/posts/PostsEdit.jsx';
import '../components/posts/PostsBody/PostsBody.jsx';
import '../components/posts/PostsHighlight.jsx';
import '../components/posts/LinkPostMessage.jsx';
import '../components/posts/CategoryDisplay.jsx';
>>>>>>> |
<<<<<<<
'click input[type=submit]': function(e, instance){
e.preventDefault();
if(!Meteor.user()) throw i18n.t('You must be logged in.');
var selectedCommentId=Session.get('selectedCommentId');
var selectedPostId=Comments.findOne(selectedCommentId).post;
var content = cleanUp(instance.editor.exportFile());
... |
<<<<<<<
import './2019-01-04-voteSchema';
import './2019-01-21-denormalizeVoteCount';
import './2019-01-24-karmaChangeSettings';
=======
import './2019-01-04-voteSchema';
import './2019-01-24-karmaChangeSettings';
import './2019-01-30-migrateEditableFields'
import './2019-02-04-testCommentMigration'
import './2019-... |
<<<<<<<
options.limit = (terms.limit < 1 || terms.limit > 100) ? 100 : terms.limit;
options.skip = terms.offset;
// keep only fields that should be viewable by current user
=======
options.limit = (limit < 1 || limit > 100) ? 100 : limit;
options.skip = offset;
>>>>>>>
opti... |
<<<<<<<
import { createDummyUser, createDummyPost, createDummyComment, createDummyConversation, createDummyMessage } from '../../../testing/utils.js'
import { performSubscriptionAction } from '../subscriptions/mutations.js';
=======
import { createDummyUser, createDummyPost, createDummyConversation, createDummyMessag... |
<<<<<<<
// getPostCategories = function(post){
// var postCategories = _.map(post.categories, function(categoryId){
// return Categories.findOne(categoryId);
// });
// // put resulting array through a filter to remove empty values in case
// // some of the post's categories weren't found in the database
// ... |
<<<<<<<
import '../components/common/SubscribeWidget.jsx';
import '../components/common/SubscribeDialog.jsx';
import '../components/linkPreview/HoverPreviewLink.jsx';
import '../components/linkPreview/PostLinkPreview.jsx';
import '../components/users/AccountsVerifyEmail.jsx';
import '../components/users/EnrollAccount... |
<<<<<<<
version: "0.27.4-nova",
git: "https://github.com/TelescopeJS/Telescope.git"
=======
version: "0.27.5-nova",
git: "https://github.com/TelescopeJS/telescope.git"
>>>>>>>
version: "0.27.5-nova",
git: "https://github.com/TelescopeJS/Telescope.git" |
<<<<<<<
shareWithUsers
enableCollaboration
=======
group {
_id
name
}
>>>>>>>
shareWithUsers
enableCollaboration
group {
_id
name
} |
<<<<<<<
},
promised: function() {
var v = new Variable(new Promise(function (r) {
setTimeout(function() { r('a') }, 100)
}))
assert.equal(v.valueOf(), undefined)
return new Promise(setTimeout).then(function () {
// still initial/undefined value
assert.equal(v.valueOf(), undefined)
retur... |
<<<<<<<
version: "0.27.4-nova",
git: 'https://github.com/TelescopeJS/Telescope.git'
=======
version: "0.27.5-nova",
git: 'https://github.com/TelescopeJS/telescope.git'
>>>>>>>
version: "0.27.5-nova",
git: 'https://github.com/TelescopeJS/Telescope.git' |
<<<<<<<
// 2. Notify users who are subscribed to the post (which may or may not include the post's author)
const post = await Posts.findOne(comment.postId);
const usersSubscribedToPost = await getSubscribedUsers({
documentId: comment.postId,
collectionName: "Posts",
type: subscription... |
<<<<<<<
karmaChangeNotifierSettings
karmaChanges {
totalChange
updateFrequency
startDate
endDate
posts {
scoreChange
post {
title
pageUrlRelative
}
}
comments {
scoreChange
comment {
plaintextExcerpt
pageUrlRelative
}
... |
<<<<<<<
import '../components/posts/TableOfContents.jsx';
=======
import '../components/posts/ShowOrHideHighlightButton.jsx';
import '../components/posts/PostsUserAndCoauthors.jsx';
import '../components/questions/NewQuestionDialog.jsx';
>>>>>>>
import '../components/posts/TableOfContents.jsx';
import '../component... |
<<<<<<<
version: "0.27.4-nova",
git: "https://github.com/TelescopeJS/Telescope.git"
=======
version: "0.27.5-nova",
git: "https://github.com/TelescopeJS/telescope.git"
>>>>>>>
version: "0.27.5-nova",
git: "https://github.com/TelescopeJS/Telescope.git" |
<<<<<<<
=======
enableMarkDownEditor: true,
hintText: (
<div>
<div>Write here. Select text for formatting options.</div>
<div>We support LaTeX: Cmd-4 for inline, Cmd-M for block-level (Ctrl on Windows).</div>
<div>You can switch between rich text and markdown in your user settings.</div>
... |
<<<<<<<
import '../components/users/EmailTokenPage.jsx';
=======
import '../components/users/UserNameDeleted.jsx';
>>>>>>>
import '../components/users/EmailTokenPage.jsx';
import '../components/users/UserNameDeleted.jsx'; |
<<<<<<<
editableBy: ['alignmentForum'],
insertableBy: ['alignmentForum'],
=======
editableBy: ['alignmentForum', 'alignmentVoters', 'admins'],
insertableBy: ['alignmentForum', 'alignmentVoters', 'admins'],
>>>>>>>
editableBy: ['alignmentForum', 'admins'],
insertableBy: ['alignment... |
<<<<<<<
'vulcan:core@1.4.0',
'vulcan:posts@1.4.0',
'vulcan:comments@1.4.0',
'vulcan:events@1.4.0',
'vulcan:users@1.4.0',
=======
'vulcan:core@1.5.0',
'vulcan:posts@1.5.0',
'vulcan:comments@1.5.0',
'vulcan:events@1.5.0',
>>>>>>>
'vulcan:core@1.5.0',
'vulcan:posts@1.5.0',
... |
<<<<<<<
if (ts < 0) return locale.unableToVisit;
var date = new Date(ts),
days = [locale.sun, locale.mon,
locale.tue, locale.wed, locale.thu, locale.fri, locale.sat
=======
// Note: failed ads will have a negative time-stamp
var date = new Date(Math.abs(ts)),
days = ["Sund... |
<<<<<<<
options.limit = (terms.limit < 1 || terms.limit > 100) ? 100 : terms.limit;
options.skip = terms.offset;
// keep only fields that should be viewable by current user
=======
options.limit = (limit < 1 || limit > 100) ? 100 : limit;
options.skip = offset;
>>>>>>>
opti... |
<<<<<<<
version: "0.27.3-nova",
git: "https://github.com/TelescopeJS/Telescope.git"
=======
version: "0.27.4-nova",
git: "https://github.com/TelescopeJS/telescope.git"
>>>>>>>
version: "0.27.4-nova",
git: "https://github.com/TelescopeJS/Telescope.git" |
<<<<<<<
=======
import './fragments.js'
import './permissions.js'
const options = {
editCheck: (user, document) => {
if (!user || !document) return false;
return Users.owns(user, document) ? Users.canDo(user, 'sequences.edit.own') : Users.canDo(user, `sequences.edit.all`)
},
removeCheck: (user, docum... |
<<<<<<<
version: "0.27.3-nova",
git: "https://github.com/TelescopeJS/Telescope.git"
=======
version: "0.27.4-nova",
git: "https://github.com/TelescopeJS/telescope.git"
>>>>>>>
version: "0.27.4-nova",
git: "https://github.com/TelescopeJS/Telescope.git" |
<<<<<<<
version: "0.27.3-nova",
git: "https://github.com/TelescopeJS/Telescope.git"
=======
version: "0.27.4-nova",
git: "https://github.com/TelescopeJS/telescope.git"
>>>>>>>
version: "0.27.4-nova",
git: "https://github.com/TelescopeJS/Telescope.git" |
<<<<<<<
import { debug, debugGroup, debugGroupEnd, runCallbacksAsync, runCallbacks, addCallback } from 'meteor/vulcan:core';
=======
import { Connectors, getSetting, debug, debugGroup, debugGroupEnd /* runCallbacksAsync, runCallbacks, addCallback */ } from 'meteor/vulcan:core';
>>>>>>>
import { Connectors, getSettin... |
<<<<<<<
const { collection, pollInterval = 20000, stopPollingIdleStatus = "INACTIVE" } = options,
=======
const { collection, pollInterval = getSetting('pollInterval', 20000), enableCache = false, extraQueries } = options,
>>>>>>>
const { collection, pollInterval = getSetting('pollInterval', 20000), ena... |
<<<<<<<
// if the email is already in the Mailchimp list, no need to throw an error
if (error.code === 214) {
return {result: 'already-subscribed'};
=======
console.log(error)
let name, message;
if (error.code == 212) {
name = 'has_unsubscribed';
} e... |
<<<<<<<
import '../lib/modules/alignment-forum/posts/tests.js';
import '../server/emails/tests.jsx';
=======
import '../lib/modules/alignment-forum/posts/tests.js';
import '../lib/modules/alignment-forum/users/tests.js';
>>>>>>>
import '../lib/modules/alignment-forum/posts/tests.js';
import '../lib/modules/alignmen... |
<<<<<<<
extendFragment('UsersCurrent', `
...UsersMinimumInfo
voteBanned
banned
isReviewed
nullifyVotes
hideIntercom
hideNavigationSidebar
currentFrontpageFilter
allPostsTimeframe
allPostsSorting
allPostsFilter
allPostsShowLowKarma
allPostsOpenSettings
lastNotificationsCheck
groups
banned... |
<<<<<<<
controller('ProjectDetailCtrl', function($rootScope, $modal, $scope, $timeout, $routeParams, $route, $location, $q, appConfig, Project, Graph, GraphTransform) {
$rootScope.projectId = $routeParams.projectId;
=======
controller('ProjectDetailCtrl', function($rootScope, $modal, $scope, $timeout,... |
<<<<<<<
export { middleware as idleMiddleware, reducer as idleReducer, actions as idleActions, IDLE_STATUSES} from './redux-idle-monitor';
=======
export * from './startup.js';
>>>>>>>
export { middleware as idleMiddleware, reducer as idleReducer, actions as idleActions, IDLE_STATUSES} from './redux-idle-monitor';
e... |
<<<<<<<
import { foreignKeyField, addFieldsDict, resolverOnlyField, denormalizedCountOfReferences, denormalizedField, googleLocationToMongoLocation } from '../../modules/utils/schemaUtils'
=======
import { foreignKeyField, addFieldsDict, resolverOnlyField, denormalizedCountOfReferences, arrayOfForeignKeysField, denor... |
<<<<<<<
=======
algoliaMetaInfo.authorFullName = postAuthor.fullName;
algoliaMetaInfo.authorUserName = postAuthor.username;
>>>>>>>
algoliaMetaInfo.authorFullName = postAuthor.fullName; |
<<<<<<<
version: "0.27.3-nova",
git: 'https://github.com/TelescopeJS/Telescope.git'
=======
version: "0.27.4-nova",
git: 'https://github.com/TelescopeJS/telescope.git'
>>>>>>>
version: "0.27.4-nova",
git: 'https://github.com/TelescopeJS/Telescope.git' |
<<<<<<<
import './server/migrations';
=======
>>>>>>>
import './server/migrations';
<<<<<<<
import './server/votingCron.js';
import './server/votingGraphQL.js';
import './server/updateScores.js';
=======
import './server/siteAdminMetadata.js';
>>>>>>>
import './server/votingCron.js';
import './server/votingGra... |
<<<<<<<
if (this._particles.length > 0 || this.props.needsRedraw) {
this._window.requestAnimationFrame(this._drawFrame);
}
this.props.needsRedraw = this._particles.length === 0;
=======
window.requestAnimationFrame(this._drawFrame);
>>>>>>>
if (this._particles.length > 0 || this... |
<<<<<<<
displayLongNames: false,
displayTpe: 'detail',
logoHeaderText: 'Cryptocurrencies'
=======
displayLongNames: false,
headers: ['change1h', 'change24h', 'change7d']
>>>>>>>
displayLongNames: false,
displayTpe: 'detail',
logoHeaderText: 'Cryptocurre... |
<<<<<<<
import {connect} from 'react-redux';
import { selectHero, loadHeroes } from './hero.actions';
import { putHeroesApi, postHeroesApi, deleteHeroApi } from './hero.api';
=======
>>>>>>>
import {connect} from 'react-redux';
import { selectHero, loadHeroes } from './hero.actions';
<<<<<<<
// this.setState(... |
<<<<<<<
function testValue(field, value) {
expect(blackberry.app[field]).toBeDefined();
expect(blackberry.app[field]).toEqual(value);
}
function testReadOnly(field) {
var before = blackberry.app[field];
blackberry.app[field] = "MODIFIED";
expect(blackberry.app[field]).toEqual(before);
}
=======
... |
<<<<<<<
var _self = {};
=======
/*
* Copyright 2010-2011 Research In Motion Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*... |
<<<<<<<
function requireLocal(id) {
return !!require.resolve ? require("../../" + id) : window.require(id);
}
var config = requireLocal("lib/config");
=======
/*
* Copyright 2010-2011 Research In Motion Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file e... |
<<<<<<<
=======
// Define navigator events callbacks which get invoked by native code
registerNavigatorEvents();
// Workaround for executeJavascript doing nothing for the first time
webview.executeJavascript("1 + 1");
>>>>>>>
// Define naviga... |
<<<<<<<
if (i < ls.length) {
ls[i] = undefined;
while (ls.length > 1 && !ls[ls.length - 1]) {
ls.pop();
}
} else {
console.warn('listener unknown: ', repl._id);
//TODO ??? throw new Error("listene... |
<<<<<<<
await this.p2pServer.listen(this.config.p2p.port);
=======
this.p2pServer = new P2PServer(this.p2p);
await this.p2pServer.listen(this.config.p2p.peerPort);
>>>>>>>
this.p2pServer = new P2PServer(this.p2p);
await this.p2pServer.listen(this.config.p2p.port); |
<<<<<<<
// use key inputs for focus
$(document).on("keydown", (evt) => {
if (evt.altKey || evt.ctrlKey || evt.shiftKey)
return true;
=======
>>>>>>>
<<<<<<<
ko.applyBindings(view, $(document.body)[0]);
// listen for the server providing the population count
window.reader = ... |
<<<<<<<
optionViews.push(this._renderRowSeparator(i));
=======
optionViews.push(<View key={`separator-${i}`} style={styles.rowSeparator} />);
>>>>>>>
optionViews.push(this._renderRowSeparator(i));
<<<<<<<
{this._renderTitle()}
{this._renderMessage()}
{optionViews}
==... |
<<<<<<<
this.conn = conn;
this.send = function(to, message) {
=======
this.send = function(to, message, group) {
>>>>>>>
this.conn = conn;
this.send = function(to, message, group) {
<<<<<<<
conn.send(new xmpp.Element('presence'));
}, 1000 * 10);
=======
... |
<<<<<<<
, adjust_targets_when_high: true
// create maxCOB and default it to 120 because that's the most a typical body can absorb over 4 hours.
// (If someone enters more carbs or stacks more; OpenAPS will just truncate dosing based on 120.
// Essentially, this just limits AMA as a safety cap against we... |
<<<<<<<
model_input = params.model ? params.params._.slice(5, 6).pop() : false;
var carbratio_input = params._.slice(6, 7).pop()
var temptargets_input = params._.slice(7, 8).pop()
=======
model_input = params.model ? params._.slice(5, 6).pop() : false;
carbratio_input = params._.slice(6,... |
<<<<<<<
eg.module("flicking", ["jQuery", eg, eg.MovableCoord, window, document], function ($, ns, MC, global, doc) {
"use strict";
=======
eg.module("flicking", ["jQuery", eg, window, document, eg.MovableCoord], function ($, ns, global, doc, MC) {
>>>>>>>
eg.module("flicking", ["jQuery", eg, window, document, eg.M... |
<<<<<<<
//require('../basal-set-temp');
var determine_basal = function determine_basal(glucose_status, currenttemp, iob_data, profile, autosens_data, meal_data, tempBasalFunctions) {
=======
var round_basal = require('../round-basal')
// Rounds value to 'digits' decimal places
function round(value, digits)
{
... |
<<<<<<<
if (hoursBeforeMeal > 6 || hoursBeforeMeal < 0) {
continue;
}
}
// only consider last hour of data in CI mode
// this allows us to calculate deviations for the last ~45m
if (typeof ciTime) {
hoursAgo = (ciTime-bgTime)/(60*60*100... |
<<<<<<<
editor.focus(function () {
toolbarElement.css({
"display" : "inline-block",
"bottom" : -25
});
currentCallback = callback;
container.prepend(toolbarElement);
toolbarElement.css("visibility", "visible");
=======
editor.mousedown(function () {
mouseupCallback = function () {
c... |
<<<<<<<
this.setState({buttonDisabled: true})
=======
if (this.props.onStart) this.props.onStart()
>>>>>>>
this.setState({buttonDisabled: true})
if (this.props.onStart) this.props.onStart()
<<<<<<<
=======
let rotation = 0
const {originalRotation} = response
if (this.p... |
<<<<<<<
outputCoder.decodeNote = (note) => {
=======
/**
* Decode a note
*
* @method decodeNote
* @param {note} note - AZTEC note
* @returns {Object[]} note variables - extracted variables: noteType, owner,
* noteHash, gamma, sigma, ephemeral
*/
outputCoder.decodeNote = (note) => {
const length = parseInt... |
<<<<<<<
function($q, $meteorSubscribe, $meteorUtils, $rootScope, $timeout, diffArray) {
var deepCopyChanges = diffArray.deepCopyChanges;
var deepCopyRemovals = diffArray.deepCopyRemovals;
function AngularMeteorCollection(curDefFunc, collection, diffArrayFunc, autoClientSave) {
=======
function ($q, $... |
<<<<<<<
it ('Should not run getReactively for cursors', function() {
$reactive(context).attach(testScope);
expect(testScope.$$watchersCount).toBe(0);
context.helpers({
myHelper: function() {
return bigCollection.find({});
}
});
expect(tes... |
<<<<<<<
=======
>>>>>>> |
<<<<<<<
import { useNotifyContext } from 'contexts/NotifyContext';
import { notifyHandler } from 'helpers/notifyHelper';
=======
import { getRedirectToTrade, setRedirectToTrade } from 'ducks/ui';
>>>>>>>
import { useNotifyContext } from 'contexts/NotifyContext';
import { notifyHandler } from 'helpers/notifyHelper';
... |
<<<<<<<
<PageTitle>{t('error.pageTitle')}</PageTitle>
{transactionError.code ? (
<PLarge>
{t('error.pageSubtitle')} {transactionError.code}
</PLarge>
) : null}
<PLarge>{transactionError.message}</PLarge>
=======
<PageTitle>Something went wrong...</PageTitle>
{transacti... |
<<<<<<<
const [transaction, setTransaction] = useState(null); // eslint-disable-line
=======
const [transaction, setTransaction] = useState(null);
const [error, setError] = useState(null);
>>>>>>>
const [transaction, setTransaction] = useState(null);
const [error, setError] = useState(null);
<<<<<<<
... |
<<<<<<<
<PageTitle>{t('error.pageTitle')}</PageTitle>
{transactionError.code ? (
<PLarge>
{t('error.pageSubtitle')} {transactionError.code}
</PLarge>
) : null}
<PLarge>{transactionError.message}</PLarge>
=======
<PageTitle>Something went wrong...</PageTitle>
{transacti... |
<<<<<<<
<WalletStatusButton>0x3e...bAe0</WalletStatusButton>
<DashboardHeaderButton>{t('header.support')}</DashboardHeaderButton>
=======
<WalletStatusButton>1111dfljhsdfdf111</WalletStatusButton>
<DashboardHeaderButton>
{t('dashboard.header.support')}
</DashboardHeaderButton>
>... |
<<<<<<<
<DataHeaderLarge>
{t('mintrActions.burn.confirmation.subActionDescription')}
</DataHeaderLarge>
<Amount>
{issuanceRatio
? formatCurrency(burnAmount / issuanceRatio / SNXPrice)
: '--'}{' '}
SNX
... |
<<<<<<<
lines.push('extension ' + struct.baseName + ' {');
if (createDecoder) {
lines.push(' static func decodeJson' + decodeArguments(struct) + ' -> ' + struct.baseName + '? {');
lines.push(' guard let dict = json as? [String : AnyObject] else {');
lines.push(' assertionFailure... |
<<<<<<<
this.route('editable-field');
=======
this.route('form-controls');
this.route('institutions-widget');
>>>>>>>
this.route('editable-field');
this.route('form-controls');
this.route('institutions-widget'); |
<<<<<<<
=======
initialize:function() {
this.parent();
if (base.dictionary.currentLanguage()=='es') {
var esDict = {
'Tool':'Herramienta',
'Selected tool':'Herramienta seleccionada',
'this track does not contain any item':'esta pista no contiene ningún elemento',
'Click on timeline outside a... |
<<<<<<<
showPlaybackBar() {
if (!this.controls) {
this.controls = new paella.ControlsContainer(this.playerId + '_controls');
this.mainContainer.appendChild(this.controls.domElement);
this.controls.onresize();
paella.events.trigger(paella.events.loadPlugins,{pluginManager:paella.pluginManager});
... |
<<<<<<<
showIcon:true,
=======
firstPlay:false,
>>>>>>>
showIcon:true,
firstPlay:false,
<<<<<<<
if ((this.enabled && this.isPlaying) || !this.enabled || !this.showIcon) {
=======
if (this.firstPlay || (this.enabled && this.isPlaying) || !this.enabled) {
>>>>>>>
if ((this.enabled && this.isPlaying) || !... |
<<<<<<<
// Onboarding flow
$('.panel-link').off().on('click', function(){
$('.panel').addClass('hidden');
$('#panel-' + $(this).data('panel')).removeClass('hidden');
$('li.step-' + ($(this).data('panel')-1)).html("<span class='glyphicon glyphicon-ok'></span>").addClass('filled-circle');
});
======... |
<<<<<<<
maintenance: 'maintenance',
=======
cookieConsent: 'osf_cookieconsent',
>>>>>>>
cookieConsent: 'osf_cookieconsent',
maintenance: 'maintenance', |
<<<<<<<
let idCounter = 0
class SubscriptionRegistry {
=======
module.exports = class SubscriptionRegistry {
>>>>>>>
let idCounter = 0
module.exports = class SubscriptionRegistry {
<<<<<<<
const subscription = this._subscriptions.get(name)
if (!subscription) {
=======
if (socket !== C.SOURCE_MESSA... |
<<<<<<<
this._connectionEndpoint.onMessages = this._messageProcessor.process.bind(this._messageProcessor)
=======
>>>>>>> |
<<<<<<<
import * as Logger from "/common/modules/Logger/Logger.js";
import * as QrError from "./QrError.js";
=======
>>>>>>>
import * as QrError from "./QrError.js";
<<<<<<<
Logger.logInfo("generated new qr kjua code", kjuaOptions);
try {
return kjua(kjuaOptions);
} catch (err) {
thro... |
<<<<<<<
* @private
* @returns {void}
=======
* @function
* @returns {Promise}
>>>>>>>
* @private
* @returns {Promise}
<<<<<<<
* @private
* @returns {void}
=======
* @function
* @returns {Promise}
>>>>>>>
* @private
* @returns {Promise} |
<<<<<<<
const browsers = [
{ name: 'chrome',
version: '36.0.1985.125',
type: 'chrome',
command: 'google-chrome' },
{ name: 'chromium',
version: '36.0.1985.125',
type: 'chrome',
command: 'chromium-browser' },
{ name: 'firefox',
version: '31.0',
type: 'firefox... |
<<<<<<<
componentWillMount() {
this.setState({
=======
constructor(props) {
super(props);
this.onClick = this.onClick.bind(this);
this.state = {
>>>>>>>
constructor(props) {
super(props);
this.onClick = this.onClick.bind(this);
this.setState({
<<<<<<<
return <div className="mai... |
<<<<<<<
it('adds a slash to `newUrl` when the url has no path and no slash at the end', function() {
const url = 'foo.com/bar/baz';
const newUrl = 'foo.com';
const isLocal = false;
const isActive = true;
urlMapper.set(
url,
newUrl,
isLocal,
isActive
... |
<<<<<<<
=======
_filterRequests(str) {
if(str === '') {
str = null;
}
this.setState({
filter: str
});
}
>>>>>>>
<<<<<<<
let {
requestData,
config,
services,
activeWindow,
setFromIndex,
setFilter
} = this.props;
=======
let {requests... |
<<<<<<<
async findNewPdrs(pdrs) {
let newPdrs = await super.findNewPdrs(pdrs);
if (this.limit) newPdrs = newPdrs.slice(0, this.limit);
return Promise.all(newPdrs.map((p) => queue.queuePdr(this.event, p)));
=======
async findNewPdrs(_pdrs) {
let pdrs = _pdrs;
pdrs = await super.findNewPdrs(pdrs... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.