conflict_resolution stringlengths 27 16k |
|---|
<<<<<<<
const SpanAggregator = require('./spans/aggregator')
const TransactionTraceAggregator = require('./transaction/trace/aggregator')
=======
const SpanEventAggregator = require('./spans/span-event-aggregator')
const TraceAggregator = require('./transaction/trace/aggregator')
>>>>>>>
const TransactionTraceAggreg... |
<<<<<<<
const stream = this._connectSpans(this._endpoint, this._licenseKey, this._runId)
this._setState(connectionStates.connected, stream)
// any future stream connect/disconnect after initial connection
// should have a 15 second backoff
this._setStreamBackoffAfterInitialStream... |
<<<<<<<
this.transactionEventAggregator = new TransactionEventAggregator(
{
periodMs: config.event_harvest_config.report_period_ms,
limit: config.event_harvest_config.harvest_limits.analytic_event_data
},
this.collector,
this.metrics
)
=======
this.customEventAggregator = new Custom... |
<<<<<<<
const TransactionTraceAggregator = require('./transaction/trace/aggregator')
=======
const TraceAggregator = require('./transaction/trace/aggregator')
const TransactionEventAggregator = require('./transaction/transaction-event-aggregator')
>>>>>>>
const TransactionTraceAggregator = require('./transaction/tra... |
<<<<<<<
=======
it('should be able to create a flat JSONifiable version', function() {
var pub = configuration.publicSettings()
// The object returned from Config.publicSettings
// should not have any values of type object
for (var key in pub) {
if (pub[key] !== null) {
... |
<<<<<<<
=======
t.plan(13)
>>>>>>>
t.plan(13)
<<<<<<<
})
}
)
=======
var pool = mysql.createPool(config)
helper.runInTransaction(agent, function transactionInScope(txn) {
pool.query('SELECT 1 + 1 AS solution', function(err) {
var seg = txn.tra... |
<<<<<<<
shimmer.wrapMethod(net.Server.prototype,
'net.Server.prototype',
'listen',
function (listen) {
=======
shimmer.wrapMethod(net && net.Server && net.Server.prototype,
'net.Server.prototype',
'listen',
... |
<<<<<<<
} else if (endpointName === 'span_event_data') {
aggregatorCheckOnEnd(agent.spanEventAggregator)
=======
} else if (endpointName === 'custom_event_data') {
aggregatorCheckOnEnd(agent.customEventAggregator)
>>>>>>>
} else if (endpointName === 'span_event_d... |
<<<<<<<
var start = segment.timer.startedRelativeTo(segment.transaction.trace.root.timer)
var duration = segment.getDurationInMillis()
=======
segment.addAttribute(
'nr_exclusive_duration_millis',
segment.getExclusiveDurationInMillis()
)
const start = segment.timer.startedRelativeTo(s... |
<<<<<<<
return original.apply(this, arguments)
}
})
=======
})
wrap(
process,
'process',
'emit',
function wrapEmit(original) {
return function wrappedEmit(ev, error, promise) {
// Check for unhandledRejections here so we don't change the
// beha... |
<<<<<<<
var path = require('path')
, chai = require('chai')
, expect = chai.expect
, should = chai.should()
, helper = require(path.join(__dirname, 'lib', 'agent_helper'))
;
function readstub(dirname, callback) {
process.nextTick(function () { // readdir is async
callback(null, []);
});
}
=====... |
<<<<<<<
const result = await client.player.addToQueue(message.guild.id, args[0]);
if(!result) {
message.member.voice.channel.leave()
return message.channel.send(`This song provider is not supported...`)
};
=======
const result = await cli... |
<<<<<<<
=======
nagged = parseInt(localStorage.nagged, 10);
if (g.season === g.startingSeason + 3 && g.lid > 3 && nagged === 0) {
localStorage.nagged = "1";
return dao.messages.add({
ot: tx,
value: {
... |
<<<<<<<
'GS': {
desc: 'Games Started',
sortSequence: ['desc', 'asc'],
sortType: 'number',
},
'GmSc': {
desc: 'Game Score',
sortSequence: ['desc', 'asc'],
sortType: 'number',
},
=======
'HOF': {},
>>>>>>>
'GS': {
desc: 'Games Started',
... |
<<<<<<<
this.id = id['$id'] || id['$oid'] || id;
=======
this.id = id;
}
},
thunkId: function(id) {
if (typeof id === 'object' && id['$genghisType'] == 'ObjectId') {
return id['$value'];
} else {
return id;
>>>>>>>
this.id = ... |
<<<<<<<
area_streamgraph: "Stream",
stream_year: "Year",
stream_doc_num: "Number of documents",
stream_docs: "Documents",
stream_total: "Total",
=======
empty_area_warning: "No matches found. Please reset your filter options above.",
>>>>>>>
... |
<<<<<<<
highlightTerms: function(full_string, term_array) {
let result_string = full_string;
for (let term of term_array) {
let re = new RegExp("\\b(" + term + ")\\b" ,"gi");
result_string = result_string.replace(re, "<span class=\"query_term_highlight\">$1</span>");
... |
<<<<<<<
const OAInfoTemplate = require("templates/info_modal_content/oa_info_modal.handlebars")
const CRISInfoTemplate = require("templates/info_modal_content/cris_info_modal.handlebars")
=======
const ViperInfoTemplate = require("templates/modals/viper_info_modal.handlebars")
>>>>>>>
const ViperInfoTemplate = requi... |
<<<<<<<
const listEntryTemplateCris = require("templates/list/cris/list_entry_cris.handlebars");
const listSubEntryTemplateCris = require("templates/list/cris/list_subentry_cris.handlebars");
const listSubEntryStatisticsTemplateCris = require("templates/list/cris/list_subentry_statistics_cris.handlebars");
const listSu... |
<<<<<<<
height,
disableClicks,
=======
>>>>>>>
disableClicks,
<<<<<<<
height: state.list.height,
disableClicks: state.list.disableClicks,
=======
>>>>>>>
disableClicks: state.list.disableClicks, |
<<<<<<<
height,
disableClicks,
=======
>>>>>>>
disableClicks,
<<<<<<<
height: state.list.height,
disableClicks: state.list.disableClicks,
=======
>>>>>>>
disableClicks: state.list.disableClicks, |
<<<<<<<
if(config.highlight_query_terms) {
for (let field of config.highlight_query_fields) {
d[field] = _this.highlightTerms(d[field], _this.query_terms);
}
}
=======
d.comments_for_filtering = _this.cre... |
<<<<<<<
const editTemplate = require("templates/misc/viper_edit_modal.handlebars");
const embedTemplate = require("templates/misc/viper_embed_modal.handlebars");
=======
const scaleToolbarTemplate = require("templates/misc/scale_toolbar.handlebars");
>>>>>>>
const editTemplate = require("templates/misc/viper_edit_mo... |
<<<<<<<
filter_options: ["all", "open_access", "publication", "dataset"],
=======
sort_menu_dropdown: false,
>>>>>>>
filter_options: ["all", "open_access", "publication", "dataset"],
sort_menu_dropdown: false,
<<<<<<<
filter_by_label: 'show: ',
all: "any",
open_ac... |
<<<<<<<
failWith(`
Value of variable "k" violates contract.
Expected:
{ captureTime: number
}
Got:
{ x: number;
}
`, 'bug-107-type-alias', 123);
=======
okWithOptions('pragma-opt-in', { only: ['test'] }, 1);
failWithOptions('pragma-opt-in', { only: ['production'] }, 1);
okWit... |
<<<<<<<
module.exports = function () {
=======
function createArrayStream(arr) {
let i = 0;
const l = arr.length;
return new stream.Readable({
objectMode: true,
read() {
this.push(i < l ? arr[i++] : null);
}
});
}
describe('RdfStore', () => {
>>>>>>>
function createArrayStream(arr) {
let... |
<<<<<<<
// get(matchTerms, opts, cb) {
// if (_.isFunction(opts)) {
// cb = opts;
// opts = {};
// }
// if (_.isNil(matchTerms)) matchTerms = {};
// if (_.isNil(opts)) opts = {};
// assert(_.isObject(matchTerms), 'The "matchTerms" argument is not an object.');
// assert(_.isObject(... |
<<<<<<<
has_help:false,
=======
bamInfo:data.bamInfo,
has_help: true,
>>>>>>>
has_help:false,
bamInfo:data.bamInfo, |
<<<<<<<
var node, nodeName, obj, old, s, xpath, emptyStr;
=======
var cdata, node, nodeName, obj, old, s, xpath;
>>>>>>>
var cdata, emptyStr, node, nodeName, obj, old, s, xpath;
<<<<<<<
if (obj[charkey].match(/^\s*$/)) {
emptyStr = obj[charkey];
=======
if (obj[ch... |
<<<<<<<
$(function () {
var queryParams = getQueryParams();
var layout = queryParams.layout || '';
var config = null;
switch (layout.toLowerCase()) {
case 'responsive':
config = createResponsiveConfig();
break;
default:
config = createStandardConfig();
break;
}
window.myLayo... |
<<<<<<<
//Files
files(file_id) {
return files(_callService, account_id, file_id)
},
=======
//messages
messages(message_id) {
return messages(_callService, account_id, message_id);
},
//messages
sync() {
return sync(_callService, account_id);
},
//messages
... |
<<<<<<<
models.User.findById(userId)
.then(function(user) {
return user.validateCanUnLikePost(that.id)
})
.then(function() {
return database.sremAsync(mkKey(['post', that.id, 'likes']), userId)
})
=======
database.zremAsync(mkKey(['post', that.id, 'like... |
<<<<<<<
var textRun = new docx.TextRun("שלום עולם").rightToLeft();
var paragraph = new docx.Paragraph().bidirectional();
paragraph.addRun(textRun);
=======
>>>>>>> |
<<<<<<<
suite.hasTests = suite.tests.length > 0;
suite.hasSuites = suite.suites.length > 0;
=======
suite.skipped = skippedTests;
suite.isEmpty = suite.tests.length === 0;
suite.hasSkipped = suite.skipped.length > 0;
>>>>>>>
suite.skipped = skippedTests;
suite.hasTests = suite.tests.length > 0;
suite... |
<<<<<<<
group = select.find("optgroup[label='" + element.text + "']");
if (!group.size()) {
group = $("<optgroup />");
}
group.attr('label', element.text).appendTo(select);
return $.each(element.items, function(value, text) {
=======... |
<<<<<<<
function refreshToolbar() {
const saveButton = $('#save-log');
$.get(baseUrl + '/recording/status/' + conversationId).then((res) => {
if (res.status === 'on') {
recording = true;
$('#recording-toggle').prop("checked", true);
saveBut... |
<<<<<<<
clean() {
=======
componentDidMount() {
if (this.props.autoFocus) {
this.focus(0);
}
}
clean = () => {
>>>>>>>
componentDidMount() {
if (this.props.autoFocus) {
this.focus(0);
}
}
clean() { |
<<<<<<<
generateSelfAssignment: function() {
=======
generateJavaScriptFunction: function(buffer, scope) {
var self = this;
buffer.write("(");
self.generateJavaScript(buffer, scope);
return buffer.write(")");
},
... |
<<<<<<<
.map(function (stack) {
var millisOld = Date.now() - ((daysOld || 0) * ONE_DAY);
if (regex.test(stack.StackName) &&
moment(stack.CreationTime).valueOf() < millisOld) {
log('Cleaning up ' +... |
<<<<<<<
import BaseRenderer from "./BaseRenderer";
=======
import Subtitles from '../Subtitles';
import BaseRenderer from './BaseRenderer';
>>>>>>>
import BaseRenderer from './BaseRenderer';
<<<<<<<
if(newProps.subtitle!==this.props.subtitle) {
for (let item of this.vidRef.textTracks) {
if (item.i... |
<<<<<<<
// prevent redraw untill media items have been loaded
this.state.filters = filters;
=======
>>>>>>>
// prevent redraw untill media items have been loaded |
<<<<<<<
var EditorManager = brackets.getModule("editor/EditorManager"),
AppInit = brackets.getModule("utils/AppInit"),
ExtensionUtils = brackets.getModule("utils/ExtensionUtils");
// Lets make sure we have proper string polyfills needed by interactive linters
require("lintIndi... |
<<<<<<<
return pikabu;
});
})(Mobify.$);
=======
})(jQuery);
>>>>>>>
})(Mobify.$); |
<<<<<<<
const logMiddleware = require('../middleware/log-middleware')
=======
const JiraClient = require('../models/jira-client')
>>>>>>>
const logMiddleware = require('../middleware/log-middleware')
const JiraClient = require('../models/jira-client') |
<<<<<<<
return createValidator(vueTypes, name, { type }, getter, !!validate)
=======
// If we are inheriting from a custom type, let's ignore the type property
const extType = isPlainObject(type) && type.type ? null : type
return createValidator(vueTypes, name, getter, {
type: extType,
validate: valid... |
<<<<<<<
if(json.video_duration)
hash.videoDuration = json.video_duration;
if(json.filter_type)
hash.filterType = json.filter_type;
if(json.has_audio)
hash.hasAudio = json.has_audio;
=======
hash.webLink = "https://www.instagram.com/p/" + json.code + "/"
>>>>>>>
hash.webLi... |
<<<<<<<
export {default as FocusTrap} from './FocusTrap';
=======
export {default as withHotKeys} from './withHotKeys';
export {default as FocusTrap} from './FocusTrap';
export {default as HotKeyMapMixin} from './HotKeyMapMixin';
>>>>>>>
export {default as withHotKeys} from './withHotKeys';
export {default as FocusT... |
<<<<<<<
async componentDidMount(){
FCM.createNotificationChannel({
id: 'default',
name: 'Default',
description: 'used for example',
priority: 'high'
})
=======
async componentDidMount() {
>>>>>>>
async componentDidMount() {
FCM.createNotificationChannel({
id: 'default'... |
<<<<<<<
// Since we make rendr files AMD friendly on app setup stage
// we need to pretend that this code is pure commonjs
// means no AMD-style require calls
var requireAMD = require;
var AppView, Backbone, BaseRouter, BaseView, ClientRouter, extractParamNamesRe, firstRender, plusRe, _;
=======
var AppView, Backbon... |
<<<<<<<
var _ = require('underscore')
, Router = require('./router')
, ViewEngine = require('./viewEngine')
, middleware = require('./middleware');
=======
var Router = require('./router')
, RestAdapter = require('./data_adapter/rest_adapter')
, ViewEngine = require('./viewEngine');
>>>>>>>
var _ = require... |
<<<<<<<
=======
},
bower: {
install: {
options: {
targetDir: './public/lib',
layout: 'byComponent',
install: true,
verbose: true,
cleanBowerDir: true
}
... |
<<<<<<<
// console.log(this._script.moseySpeed , this.x , this.y);
=======
this.setPosition(cc.p(this.x,this.y)) ;
>>>>>>>
this.setPosition(cc.p(this.x,this.y)) ;
// console.log(this._script.moseySpeed , this.x , this.y); |
<<<<<<<
port: 443,
db: {
uri: process.env.MONGOHQ_URL || process.env.MONGOLAB_URI || 'mongodb://localhost/mean',
options: {
user: '',
pass: ''
}
},
=======
port: 8443,
db: process.env.MONGOHQ_URL || process.env.MONGOLAB_URI || 'mongodb://localhost/mean',
>>>>>>>
port: 8443,
db: {
uri: process.en... |
<<<<<<<
if (_history.routes.length > 0)
_history.forwardRoutes.push(_history.routes.pop());
console.log(_history.forwardRoutes);
=======
>>>>>>>
if (_history.routes.length > 0)
_history.forwardRoutes.push(_history.routes.pop()... |
<<<<<<<
window.addEventListener('contextmenu', event => {
=======
// Workaround for https://github.com/electron-userland/electron-webpack/issues/52
if (process.env.NODE_ENV !== "development") {
window.staticResourcesPath = require("path")
.join(remote.app.getAppPath(), "../static")
.replace(/\\/g, "\\\\");
... |
<<<<<<<
import * as ACTIONS from 'constants/action_types';
import { selectHistoryStack, selectHistoryIndex } from 'redux/selectors/navigation';
import { toQueryString } from 'util/query_params';
import amplitude from 'amplitude-js';
=======
import * as types from "constants/action_types";
import {
computePageFromPa... |
<<<<<<<
import Path from 'path';
import Url from 'url';
import Jayson from 'jayson';
import Semver from 'semver';
import Https from 'https';
import Keytar from 'keytar';
import ChildProcess from 'child_process';
import Assert from 'assert';
import { app, BrowserWindow, globalShortcut, ipcMain, Menu, Tray } from 'electr... |
<<<<<<<
selectCurrentModal,
} from 'redux/selectors/app';
import { doFetchDaemonSettings } from 'redux/actions/settings';
import { doBalanceSubscribe, doFetchTransactions } from 'redux/actions/wallet';
import { doAuthenticate } from 'redux/actions/user';
import { doFetchFileInfosAndPublishedClaims } from 'redux/actio... |
<<<<<<<
lbry.call = function(
method,
params,
callback,
errorCallback,
connectFailedCallback
) {
return jsonrpc.call(
lbry.daemonConnectionString,
method,
params,
callback,
errorCallback,
connectFailedCallback
);
};
=======
>>>>>>>
<<<<<<<
if (lbry._connectPromise === null) ... |
<<<<<<<
db: {
uri: process.env.MONGOHQ_URL || process.env.MONGOLAB_URI || 'mongodb://' + (process.env.DB_1_PORT_27017_TCP_ADDR || 'localhost') + '/mean',
options: {
user: '',
pass: ''
}
},
log: {
// Can specify one of 'combined', 'common', 'dev', 'short', 'tiny'
format: 'combined',
// Stream defaul... |
<<<<<<<
export const AUTHENTICATION_FAILURE = "auth_failure";
export const TRANSACTION_FAILED = "transaction_failed";
export const INSUFFICIENT_BALANCE = "insufficient_balance";
=======
export const AUTHENTICATION_FAILURE = "auth_failure";
export const CREDIT_INTRO = "credit_intro";
>>>>>>>
export const AUTHENTICATI... |
<<<<<<<
import doLogWarningConsoleMessage from './logWarningConsoleMessage';
=======
import { initContextMenu } from './util/contextMenu';
>>>>>>>
import doLogWarningConsoleMessage from './logWarningConsoleMessage';
import { initContextMenu } from './util/contextMenu'; |
<<<<<<<
=======
else if (cmd === "!help") {
let notice = new MatrixAction("notice",
`This is an IRC admin room for sending commands directly to IRC. Commands ` +
`can be sent in this format, but these will not produce a reply:\n`+
`\t!cmd [irc.server] COMMAND [arg0 [arg... |
<<<<<<<
db: {
uri: 'mongodb://localhost/mean-test',
options: {
user: '',
pass: ''
}
},
port: 3001,
=======
db: process.env.MONGOHQ_URL || process.env.MONGOLAB_URI || 'mongodb://' + (process.env.DB_1_PORT_27017_TCP_ADDR || 'localhost') + '/mean-test',
port: process.env.PORT || 3001,
>>>>>>>
db: {
... |
<<<<<<<
var DISCONNECT_PRESENCE_TIMEOUT_MS = 15 * 60 * 1000; // 15mins
=======
var Queue = require("../util/Queue.js");
>>>>>>>
var Queue = require("../util/Queue.js");
<<<<<<<
this._rejoinPromises = {
// '$nick $server.domain': Promise that resolves if the user joins a channel having quit
//... |
<<<<<<<
this._eventCache = new Map(); //eventId => {body, sender}
config = config || {}
this._eventCacheMaxSize = config.eventCacheSize === undefined ?
DEFAULT_EVENT_CACHE_SIZE : config.eventCacheSize;
=======
this.metrics = {
//domain => {"metricname" => value}
};
>>>>>>>
th... |
<<<<<<<
const timestampFn = function() {
return new Date().toISOString().replace(/T/, ' ').replace(/\..+/, '');
};
const formatterFn = function(opts) {
return opts.timestamp() + ' ' +
opts.level.toUpperCase() + ':' +
(opts.meta && opts.meta.loggerName ? opts.meta.loggerName : "") + ' ' +
(opts.meta ... |
<<<<<<<
Logger.info(messageToSend)
for (let player of sender.getServer().players.values()) {
=======
Logger.silly(messageToSend)
for (let player of sender.getServer().getOnlinePlayers()) {
>>>>>>>
Logger.info(messageToSend)
for (let player of sender.getServer().getOnli... |
<<<<<<<
if (_from === void 0) { _from = undefined; }
if (_gasPrice === void 0) { _gasPrice = undefined; }
if (_gasLimit === void 0) { _gasLimit = undefined; }
=======
var myThis = this;
>>>>>>>
<<<<<<<
if (_from === void 0) { _from = undefined; }
... |
<<<<<<<
html += '<input type="range" class="jspsych-slider" value="'+trial.slider_start+'" min="'+trial.min+'" max="'+trial.max+'" step="'+trial.step+'" id="jspsych-audio-slider-response-response"></input>';
html += '<div>'
=======
html += '<input type="range" value="'+trial.slider_start+'" min="'+trial.m... |
<<<<<<<
// add and remove data based on the save_trial_parameters option
if(typeof current_trial.save_trial_parameters == 'object'){
var keys = Object.keys(current_trial.save_trial_parameters);
for(var i=0; i<keys.length; i++){
var key_val = current_trial.save_trial_parameters[keys[i]];
... |
<<<<<<<
textAngularSetup.constant('taTranslations', {
// moved to sub-elements
//toggleHTML: "Toggle HTML",
//insertImage: "Please enter a image URL to insert",
//insertLink: "Please enter a URL to insert",
//insertVideo: "Please enter a youtube URL to embed",
html: {
buttontext: 'Toggle HTML',
tooltip: 'Togg... |
<<<<<<<
=======
/*
@license textAngular
Author : Austin Anderson
License : 2013 MIT
Version 1.3.7
See README.md or https://github.com/fraywing/textAngular/wiki for requirements and use.
*/
// tests against the current jqLite/jquery implementation if this can be an element
function validElementString(string){
try{... |
<<<<<<<
// This is the element selector string that is used to catch click events within a taBind, prevents the default and $emits a 'ta-element-select' event
// these are individually used in an angular.element().find() call. What can go here depends on whether you have full jQuery loaded or just jQLite with angul... |
<<<<<<<
=======
// Setup captions
function _setupCaptions() {
if (plyr.type !== 'video') {
return;
}
// Inject the container
if (!_getElement(config.selectors.captions)) {
plyr.videoContainer.insertAdjacentHTML('afterbegi... |
<<<<<<<
this.adsLoaderResolve = () => {};
this.adsLoaderPromise = new Promise(resolve => {
this.adsLoaderResolve = resolve;
=======
this.adsLoaderPromise = new Promise((resolve) => {
this.on('ADS_LOADER_LOADED', () => resolve());
>>>>>>>
this.adsLoaderPromise =... |
<<<<<<<
js: path.join(root, "docs/src/js/**/*"),
sprite: path.join(root, "docs/src/sprite/*.svg")
=======
js: path.join(root, "docs/src/js/**/*")
>>>>>>>
js: path.join(root, "docs/src/js/**/*")
<<<<<<<
.pipe(gulp.dest(paths[... |
<<<<<<<
// plyr.js v1.1.4
// https://github.com/selz/plyr
=======
// plyr.js v1.1.5
// https://github.com/selz/plyr
>>>>>>>
// plyr.js v1.1.5
// https://github.com/selz/plyr
<<<<<<<
return document.fullscreenElement == element;
=======
return document.fullscreenElem... |
<<<<<<<
this.blocked = false;
this.enabled = utils.is.url(player.config.ads.tag);
=======
>>>>>>>
this.blocked = false;
this.enabled = utils.is.url(player.config.ads.tag); |
<<<<<<<
if (!this.isStatic() || this.isStatic() && this.isDirty()) {
var pos = this.sceneGraph.pos;
var rotateMat = this.sceneGraph.getRotateMat();
var scaleVec = this.boundingVolume.scaleVec;
this.boundingVolume.set(pos,rotateMat,scaleVec);
scaleVec=[1,1,1];
//ModelView stack wi... |
<<<<<<<
this.position = c3dl.makeVector(0, 0, 0);
=======
this.position = [0, 0, 0];
this.center = [0, 0, 0];
>>>>>>>
this.position = c3dl.makeVector(0, 0, 0);
this.center = c3dl.makeVector(0, 0, 0);
<<<<<<<
this.position[0] = position[0];
this.position[1] = position[1];
this.position[2] = position[... |
<<<<<<<
axios.put(`${ROOT_URL}/player/assign`, reqBody)
.then(({data}) => {
dispatch({
type: ADD_PLAYER_TO_TEAM,
payload: { player: playerId, teamId },
=======
axios.put(`${ROOT_URL}/player/assign`, reqBody)
.then(() => {
dispatch({
type: ADD_PLAYER_TO_TEAM,
payload: { player: playerId, ... |
<<<<<<<
=======
//*************************************************************************************
//****************************** Theme Colors *****************************************
//*************************************************************************************
const theme_teal_pink = {
darkPrima... |
<<<<<<<
var emojilib = JSON.parse(localStorage.getItem('emojilib')) || require('emojilib').lib
var emojikeys = JSON.parse(localStorage.getItem('emojikeys')) || require('emojilib').ordered
=======
var emojilib = require('emojilib').lib
var emojikeys = require('emojilib').ordered
var modifiers = require('emojilib').fit... |
<<<<<<<
buttonClassName: React.PropTypes.string,
confirm: React.PropTypes.bool,
=======
buttonClassName: React.PropTypes.string,
>>>>>>>
buttonClassName: React.PropTypes.string,
confirm: React.PropTypes.bool,
<<<<<<<
changePassword: function(oldPassword, newPassword) {
... |
<<<<<<<
import FocusTrap from 'focus-trap-react';
=======
import PropTypes from 'prop-types';
>>>>>>>
import FocusTrap from 'focus-trap-react';
import PropTypes from 'prop-types';
<<<<<<<
=======
// callback to call when Enter is pressed
onEnterPressed: PropTypes.func,
// called when a ke... |
<<<<<<<
// value will not contain '.' if maxAfterDot is 0, return early
if (value && !value.includes('.')) { return value; }
=======
if (!value) { this.setState({ separatorsCount: 0 }); }
>>>>>>>
// value will not contain '.' if maxAfterDot is 0, return early
if (value && !value.includes('.')) { ... |
<<<<<<<
import { getUnknownDevicesForRoom } from './cryptodevices';
=======
import SettingsStore from "./settings/SettingsStore";
>>>>>>>
import { getUnknownDevicesForRoom } from './cryptodevices';
import SettingsStore from "./settings/SettingsStore"; |
<<<<<<<
useIRCLayout: SettingsStore.getValue("feature_irc_ui"),
=======
matrixClientIsReady: this.context && this.context.isInitialSyncComplete(),
>>>>>>>
useIRCLayout: SettingsStore.getValue("feature_irc_ui"),
matrixClientIsReady: this.context && this.context.isIni... |
<<<<<<<
//@flow
=======
/*
Copyright 2016 Aviral Dasgupta
Copyright 2017 Vector Creations Ltd
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
Unles... |
<<<<<<<
<span className="mx_RoomSettings_powerLevelKey">To remove messages, you must be a </span>
=======
<span className="mx_RoomSettings_powerLevelKey">{ _t('To redact other users\' messages') }, { _t('you must be a') } </span>
>>>>>>>
<span c... |
<<<<<<<
if (!room) return <div></div>;
var allUsers = MatrixClientPeg.get().getUsers();
=======
/* var allUsers = MatrixClientPeg.get().getUsers();
>>>>>>>
if (!room) return <div></div>;
/* var allUsers = MatrixClientPeg.get().getUsers(); |
<<<<<<<
nameNode = <input type="text"
value={this.state.profileForm.name}
onChange={this._onNameChange}
placeholder={_t('Community Name')}
tabIndex="1"
/>;
shortDescNode = <input type="text"
... |
<<<<<<<
collapsed={ self.props.collapsed }
alwaysShowHeader={ true }
startAsHidden={ true }
showSpinner={ self.state.isLoadingLeftRooms }
onHeaderClick= { self.onArchivedHeade... |
<<<<<<<
matrixClient: PropTypes.object,
=======
matrixClient: React.PropTypes.object,
room: React.PropTypes.object,
>>>>>>>
matrixClient: PropTypes.object,
room: PropTypes.object, |
<<<<<<<
import SettingsStore from "../../../settings/SettingsStore";
import WidgetEchoStore from "../../../stores/WidgetEchoStore";
=======
>>>>>>>
import SettingsStore from "../../../settings/SettingsStore";
import WidgetEchoStore from "../../../stores/WidgetEchoStore";
<<<<<<<
const widgets = WidgetEchoSt... |
<<<<<<<
import {isValid3pidInvite} from "../../../RoomInvite";
=======
import AutoHideScrollbar from "../../structures/AutoHideScrollbar";
>>>>>>>
import AutoHideScrollbar from "../../structures/AutoHideScrollbar";
import {isValid3pidInvite} from "../../../RoomInvite"; |
<<<<<<<
const Spinner = sdk.getComponent("elements.Spinner");
const modal = Modal.createDialog(Spinner, null, 'mx_Dialog_spinner');
try {
await accessSecretStorage();
await this._waitForCompletion();
} finally {
modal.close();
}
=======
... |
<<<<<<<
import { Select, Modal, Button } from '../source/components';
import { SelectSkin, ModalSkin, ButtonSkin } from '../source/skins/simple';
=======
import { Select } from '../source/components/Select';
import { SelectSkin } from '../source/skins/simple/SelectSkin';
>>>>>>>
import { Select, Modal, Button } from... |
<<<<<<<
// Here, we return undefined if the room is not in the map:
// the room ID you gave is not a DM room for any user.
=======
if (this.roomToUser == null) {
// we lazily populate roomToUser so you can use
// this class just to call getDMRoomsForUserId
/... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.