conflict_resolution stringlengths 27 16k |
|---|
<<<<<<<
=======
// console.log(trackstpl(getJsonData()));
>>>>>>> |
<<<<<<<
if (
// IE 6 & 7 fail to recognise Content-Types ending +xml (eg application/rss+xml)
// as XML, so we create an XML object from the text here
( glow.env.ie < 8 && endsPlusXml.test(this.header("Content-Type")) )
// If the _forceXml option is set, we need to turn the response text into xm... |
<<<<<<<
if (fmc.flightPlanManager.getApproachRunway() || fmc.vfrLandingRunway) {
=======
if (fmc.flightPlanManager.getApproachRunway() && fmc.landingQnh > 28 && fmc.landingQnh < 32 && fmc.landingOat && fmc.landingWindDir >= 0 && fmc.landingWindDir <= 360) {
>>>>>>>
if (arrRunwayOu... |
<<<<<<<
SIGN_IN_WITH_HOSTEDUI_KEY: 'amplify-react-signin-with-hostedUI'
};
=======
SIGN_IN_WITH_HOSTEDUI_KEY: 'amplify-signin-with-hostedUI'
};
export default constants;
>>>>>>>
SIGN_IN_WITH_HOSTEDUI_KEY: 'amplify-signin-with-hostedUI'
}; |
<<<<<<<
=======
logger.debug(service_info);
>>>>>>>
logger.debug(service_info);
<<<<<<<
=======
logger.debug(request_str);
>>>>>>>
logger.debug(request_str); |
<<<<<<<
var tmpFolder = os.tmpdir();
var appsFolder = tmpFolder + '/matrix_app';
var updateFile = appsFolder + '/' + name + '-' + version + Math.round(Math.random() * 100000) + '.zip';
=======
var updateFile = '/tmp/matrix_app/' + name + '-' + version + Math.round(Math.random() * 100000) + '.zip';
>>>>>>>
... |
<<<<<<<
debug('Killing process for app ' + id);
=======
// id == app name
>>>>>>>
debug('Killing process for app ' + id);
// id == app name
<<<<<<<
//remove app from process list
Matrix.activeApplications = _.reject(Matrix.activeApplications, function(p) {
return (p.name === id);... |
<<<<<<<
function readLocalDeviceInfo(cb) {
if (!_.isUndefined(Matrix.deviceId) && !_.isUndefined(Matrix.deviceSecret)) {
console.log('Not using device data from db, using '.yellow + 'MATRIX_DEVICE_ID'.gray + ' and '.yellow + 'MATRIX_DEVICE_SECRET'.gray + ' instead!'.yellow);
cb();
} else {
Matrix.db.dev... |
<<<<<<<
require('prototypes');
=======
var path = require('path');
>>>>>>>
require('prototypes');
var path = require('path'); |
<<<<<<<
import StyledComponentsDocs from './styled-components.md';
import ChipDocs from '../Chip/chip.md';
=======
>>>>>>>
import ChipDocs from '../Chip/chip.md';
<<<<<<<
label: 'Library Integrations',
options: [
{
label: 'Styled Components',
url: `/styled-components`,
componen... |
<<<<<<<
[fixtures.findTimeEmail1, fixtures.findTimeEmail2],
fixtures.findTimeFuture,
fixtures.findTimeLength
).then(function(res) {
response = res;
=======
fixtures.findTime.emails,
fixtures.findTime.filters,
fixtures.findTime.future,
fixtures.findTime.lengthVar,
... |
<<<<<<<
//asserts., waits.
=======
>>>>>>>
//asserts., waits. |
<<<<<<<
var contents = require('./contents')
require('../index')(contents, {logo: 'logo.svg'})
=======
var contents = {
'overview': {
'about': 'about.md'
},
'animals': {
'furry': {
'sheep': 'sheep.md',
'puppy': 'puppy.md'
},
'pink': {
'pig': 'pig.md'
}
}
}
require('../in... |
<<<<<<<
this.log(index + ') ' + spec.fullName);
this.displayErrorMessages(spec);
=======
this.log(index + ') ' + this.getFullDescription(spec));
this.displayErrorMessages(spec, this.displaySummaryWithStacktrace);
>>>>>>>
this.log(index + ') ' + spec.fullName);
this.displayErrorMessages(spec, ... |
<<<<<<<
var result = template.render({list: list});
is(result, 'evaluated', '{{.}} lambda correctly evaluated');
});
test("Lambda expression in included partial templates", function() {
var lambda = function() {
return function(argument) {
return 'changed ' + argument;
}
}
... |
<<<<<<<
var appNameArgument = cliparse.argument("app-name", { description: "Application name" });
var appIdArgument = cliparse.argument("app-id", { description: "Application ID" });
var aliasArgument = cliparse.argument("app-alias", { description: "Application alias" });
var envVariableName = cliparse.argument(... |
<<<<<<<
=======
>>>>>>>
<<<<<<<
$(document).on('dblclick', '#' + leftID + ' li[class!="option_disabled"]', function(e){
=======
$('#' + leftID + ' li[class!="option_disabled"]').live('dblclick', function(e){
>>>>>>>
$('#' + leftID + ' li[class!="option_disabled"]').live('dblclick', functio... |
<<<<<<<
var stop = require("../src/stop.js");
=======
var status = require("../src/status.js");
>>>>>>>
var stop = require("../src/stop.js");
var status = require("../src/status.js");
<<<<<<<
// STOP COMMAND
var stopCommand = cliparse.command("stop", {
description: "Stop a running application on Clever-Clou... |
<<<<<<<
this.blackList = blackLists[Narcissus.options.version];
=======
this.blockComments = null;
>>>>>>>
this.blackList = blackLists[Narcissus.options.version];
this.blockComments = null; |
<<<<<<<
export const debug = (...message) => {
if (logLevel < logLevels.debug) {
return;
}
logger.log.apply(null, message);
};
export const info = (message, value) => {
if (logLevel < logLevels.info) {
return;
}
=======
const info = (message, value) => {
>>>>>>>
const debug = (...message) => {
i... |
<<<<<<<
import cliResolver from './paths/cliResolver';
import * as logger from './logger';
import { writeOutStoryLoader } from './storyWriterProcess';
import resolvePaths from './paths/multiResolver';
=======
const cliResolver = require('./paths/cliResolver');
const { info } = require('./logger');
const { writeOutSto... |
<<<<<<<
import AddCluster from './components/AddCluster';
=======
import Pods from './components/Pods';
>>>>>>>
import AddCluster from './components/AddCluster';
import Pods from './components/Pods';
<<<<<<<
Add: AddCluster
=======
Pods: Pods,
>>>>>>>
Add: AddCluster,
Pods: Pods |
<<<<<<<
webrtc.sendFile(connection, file);
=======
// TODO: currently sending file finishes almost instantly,
// so there's no point in listening for 'sending' progress.
// Need to somehow make it more accurate.
// peer.get('peer.connection').on('sending_pr... |
<<<<<<<
checkAssignee: () => {
return new Promise((resolve) => {
resolve({ status: 204 })
})
},
=======
addLabels: jest.fn(),
>>>>>>>
checkAssignee: () => {
return new Promise((resolve) => {
resolve({ status: 204 ... |
<<<<<<<
const renderFeatureCallback = stub().returns("feature rendered");
renderFeatureCallback.withArgs({a: 1}).returns("feature object 1");
renderFeatureCallback.withArgs(1).returns("feature number 1");
renderFeatureCallback.withArgs([1]).returns("feature array 1");
const renderDefaultCallback = stub().retu... |
<<<<<<<
=======
getinfo: function getInfo() {
actions.account.getInfo(PublicClient());
},
register: function register() {
actions.account.register(PublicClient());
},
login: function login() {
actions.account.login(program.url);
},
logout: function logout() {
actions.account.logout(Priva... |
<<<<<<<
}
const EmailRow = styled.form`
display: flex;
flex-direction: row;
`
const InputButton = styled.input`
padding: 0.25rem 0.75rem;
background-color: ${({ theme }) => theme.colors.link};
text-decoration: none;
color: ${({ theme }) => theme.invertedTextColor};
border-radius: 12px;
margin-right: 0... |
<<<<<<<
{ name: 'Voting Portal', link: 'https://app.uniswap.org/#/vote' }
=======
{ name: 'Voting Portal', link: 'https://app.uniswap.org/#/vote/' },
{ name: 'Documentation', link: '/docs/v2/governance/overview' }
>>>>>>>
{ name: 'Voting Portal', link: 'https://app.uniswap.org/#/vote' },
... |
<<<<<<<
=======
volume: 0,
>>>>>>>
volume: 0,
<<<<<<<
// @todo: here for later
// onVolumeChange: Ember.observer('volumeChange', function() {
// if (this.get('volume')) {
// this.send('play');
// } else {
// this.send('pause');
// }
// }),
=======
onVolumeChange: function() {
if (this.... |
<<<<<<<
// Change the mapUrl below to test!
,mapUrl = 'http://api.geosition.com/tile/lmv/{z}/{x}/{y}.png'
=======
,mapUrl = 'http://api.geosition.com/tilestache/gp/{z}/{x}/{y}.png'
>>>>>>>
,mapUrl = 'http://api.geosition.com/tile/lmv/{z}/{x}/{y}.png' |
<<<<<<<
import { useUIMode } from "../ThemeProvider";
import { DrawerTransition, DrawerOverlay, DrawerContent } from "./components";
=======
import CloseButton from "../CloseButton";
import { DrawerContent, DrawerOverlay, DrawerTransition } from "./components";
>>>>>>>
import { DrawerContent, DrawerOverlay, DrawerTr... |
<<<<<<<
/* If cacheOptions is truthy, then the loaded data will be cached. The cache
will remain until `cacheOptions` changes value. */
cacheOptions: any,
/* Same behaviour as for Select */
onInputChange: (string, InputActionMeta) => void,
/* Same behaviour as for Select */
=======
onInputChange?: (s... |
<<<<<<<
var getSelectControl = (instance) => {
return React.findDOMNode(instance).querySelector('.Select-control');
};
=======
function getSelectControl(instance) {
return ReactDOM.findDOMNode(instance).querySelector('.Select-control');
}
>>>>>>>
var getSelectControl = (instance) => {
return ReactDOM.find... |
<<<<<<<
const { children, cx, getStyles, className, isDisabled, isFocused, menuIsOpen, innerRef, innerProps } = props;
=======
const { children, cx, getStyles, className, isDisabled, isFocused, innerRef, innerProps, emotion } = props;
>>>>>>>
const { children, cx, getStyles, className, isDisabled, isFocused, i... |
<<<<<<<
import PropTypes from 'prop-types';
import React from 'react';
=======
import React from 'react';
import PropTypes from 'prop-types';
import createReactClass from 'create-react-class';
>>>>>>>
import React from 'react';
import PropTypes from 'prop-types';
<<<<<<<
const BGWASH = 'rgba(255,255,255,0.8)';
con... |
<<<<<<<
return function (window) {
if (!document) document = window.document;
=======
return function () {
search.resetIndex();
>>>>>>>
return function (window) {
if (!document) document = window.document;
search.resetIndex(); |
<<<<<<<
};
=======
};
>>>>>>>
};
<<<<<<<
if (_childCount === 0) {
isolate.renderNode.setFront(data.renderNode);
} else if (_childCount === 1) {
isolate.renderNode.setBack(data.renderNode);
=======
... |
<<<<<<<
client.request(url.parse(sourceUrl), function(response) {
logger.debug(req, 'Receiving download response');
=======
var download_options = url.parse(sourceUrl);
download_options.method = "GET";
download_options.agent = false;
var download_request = client.r... |
<<<<<<<
'click .js-received-date': Popup.open('editCardReceivedDate'),
=======
'click .js-custom-fields': Popup.open('cardCustomFields'),
>>>>>>>
'click .js-received-date': Popup.open('editCardReceivedDate'),
'click .js-custom-fields': Popup.open('cardCustomFields'), |
<<<<<<<
function storagePath(defaultPath) {
const storePath = process.env.ATTACHMENTS_STORE_PATH;
return storePath ? storePath : defaultPath;
}
=======
// XXX Enforce a schema for the Attachments CollectionFS
if (Meteor.isServer) {
Attachments.files.after.insert((userId, doc) => {
// If the attachment does... |
<<<<<<<
import runWebpack, { showStats } from '../lib/webpack/run-webpack';
=======
import webpackConfig from '../lib/webpack-config';
import getSslCert from '../lib/ssl-cert';
import runWebpack, { showStats } from '../lib/run-webpack';
>>>>>>>
import getSslCert from '../lib/ssl-cert';
import runWebpack, { showStats... |
<<<<<<<
const webpack = require('webpack');
const { resolve } = require('path');
const { existsSync } = require('fs');
const merge = require('webpack-merge');
const { filter } = require('minimatch');
const CopyWebpackPlugin = require('copy-webpack-plugin');
const SWPrecacheWebpackPlugin = require('sw-precache-webpack-p... |
<<<<<<<
'ssr-bundle.js': { size: 9450 },
'ssr-bundle.js.map': { size: 42461 },
'style.*.css': { size: 130 },
'style.*.css.map': { size: 360 },
=======
'ssr-bundle.js': { size: 16245 },
'ssr-bundle.js.map': { size: 31821 },
'style.css': { size: 130 },
'style.css.map': { size: 360 },
>>>>>>>
... |
<<<<<<<
import { setup, clean, fromSubject } from './lib/output';
import { normalize, expectedOutputs, sassPrerendered } from './build.snapshot';
=======
import { setup, clean } from './lib/output';
import expectedOutputs from './build.snapshot';
import filesMatchSnapshot from './lib/filesMatchSnapshot';
>>>>>>>
imp... |
<<<<<<<
const webpack = require('webpack');
const { resolve } = require('path');
const { readFileSync } = require('fs');
const autoprefixer = require('autoprefixer');
const ExtractTextPlugin = require('extract-text-webpack-plugin');
const ProgressBarPlugin = require('progress-bar-webpack-plugin');
const ReplacePlugin =... |
<<<<<<<
'src/style/index.css'
];
=======
'src/style/index.css',
'src/tests/__mocks__/browserMocks.js',
'src/tests/__mocks__/fileMocks.js',
'src/tests/header.test.js'
];
exports.full = exports.default;
>>>>>>>
'src/style/index.css',
'src/tests/__mocks__/browserMocks.js',
'src/tests/__mocks__/fileMocks.js',
... |
<<<<<<<
<div className={ CSS }>
<span className='preview-header'>Preview</span>
<div className='preview-content' ref={ this.saveCardContainer }></div>
=======
<div className={ CSS } { ...debug }>
<span className="preview-header">Preview</span>
... |
<<<<<<<
<BotChatEditor botId={ document.documentId } />
: contentType === constants.ContentType_Conversation ?
<ConversationEditor conversationId={ document.documentId } />
=======
<BotChatEditor botId={ document.documentId } />
: contentType ===... |
<<<<<<<
import * as constants from '../../../constants';
import ExpandCollapse from '../../layout/expandCollapse';
import { connect } from 'react-redux';
=======
import ExpandCollapse, { Controls as ExpandCollapseControls, Content as ExpandCollapseContent } from '../../layout/expandCollapse';
>>>>>>>
import * as co... |
<<<<<<<
var tableNameIndex = 5;
var partitionIndex = 4;
var hostIndex = 1;
var tupleCountIndex = 7;
=======
>>>>>>>
var tableNameIndex = 5;
var partitionIndex = 4;
var hostIndex = 1;
var tupleCountIndex = 7;
<<<<<<<
=======
>>>>>>>
<<<<<<<... |
<<<<<<<
},
streamNameRules: {
required: true,
regex: /^[a-zA-Z0-9_.]+$/
},
streamNameMessages: {
required: "This field is required",
regex: 'Only alphabets, numbers, _ and . are allowed.'
},
userNameRule: {... |
<<<<<<<
=======
}
VdmUI.isFirstStatusDisplay = false;
if (connection.Metadata['DATABASE_STATUS'].status == "errorNoMembers"){
$(".connectionFail").show();
$(".containerFail").html('');
$(".containerFail").html('<p>No server is availabl... |
<<<<<<<
=======
this.drEnabled = false;
this.drStatus = '';
>>>>>>>
this.drStatus = ''; |
<<<<<<<
this.shortApiCredentials = "";
=======
this.authorization = null;
>>>>>>>
this.shortApiCredentials = "";
this.authorization = null; |
<<<<<<<
var iterator = 1;
//Error: "Authentication rejected(-3)"
if (connection.Metadata['@SystemInformation_OVERVIEW_status'] == -3) {
VoltDbUI.hasPermissionToView = false;
if (!$("#loginWarningPopup").is(":visible")) {
... |
<<<<<<<
loadSQLQueryPage(serverName, portid, userName);
var loadSchemaTab = function () {
var templateUrl = window.location.protocol + '//' + window.location.host + '/catalog';
var templateJavascript = "js/template.js";
$.post(templateUrl, function (result) {
result = resul... |
<<<<<<<
=======
var setMemoryLimitValidation = function() {
$("#errorMemorySize").val("");
$("#errorMemorySize").hide();
$("#txtMemoryLimitSize").rules("remove");
var unit = $('#ddlMemoryLimitUnit').val();
if (unit == "%") {
$("#txtMemoryLimitSize").rules("add"... |
<<<<<<<
gulp.task('usemin-badbrowser', function() {
return gulp.src('app/badbrowser.html')
.pipe($.usemin({
html: [$.minifyHtml({empty: true})],
css: ['concat', $.minifyCss({compatibility: true, keepBreaks: true})],
}))
.pipe(gulp.dest('dist'));
});
gulp.task('usemin', ['templates', 'enable-p... |
<<<<<<<
background_image: "Enable background image"
=======
background_image: "Enable background image",
use_json_file: "Use config.json instead of this menu",
hide_gear_button: "Make gear button invisible"
>>>>>>>
background_image: "Enable background image",
hide_gear_button: "Make gear button invisible... |
<<<<<<<
$(this).text('');
add_loading_gif(this);
$.get('/xhr/log/pastebin', function(data){
=======
$.get(WEBROOT + '/xhr/log/pastebin', function(data){
>>>>>>>
$(this).text('');
add_loading_gif(this);
$.get(WEBROOT + '/xhr/log/pastebin', function(data){ |
<<<<<<<
if (dir) {
execArgs.push(
"-s", `${dir}`
);
}
=======
if (files) {
files.split(',').forEach(f => {
execArgs.push(
"-f", `${f}`
);
});
}
>>>>>>>
if (files) {
files.split(',').forEach(f => {
... |
<<<<<<<
import {FILTER_ALL} from './../services/filter';
import {getAll, createNew, updateStatus} from './../services/todo';
=======
import {FILTER_ACTIVE} from './../services/filter';
import {getAll, addToList, updateStatus} from './../services/todo';
>>>>>>>
import {FILTER_ALL} from './../services/filter';
import ... |
<<<<<<<
export function getItemById(itemId) {
return getAll().find(item => item.id === itemId);
}
export function updateStatus(items, itemId, completed) {
let index = items.findIndex(item => item.id === itemId);
// Returns a new list of data with updated item.
return update(items, {
[index]: {... |
<<<<<<<
'Indent/Outdent' : 'مسافة بادئة / مسافة خاتمة',
=======
'Indent/Outdent' : '',
>>>>>>>
'Indent/Outdent' : 'مسافة بادئة / مسافة خاتمة',
'Indent/Outdent' : '',
<<<<<<<
'Toggle display document structure' : 'إخفاء/ إظهار ',
=======
'Toggle display document structure' : '',
>>>>>>>
'Toggle display doc... |
<<<<<<<
var async = require('async');
var exec = require('child_process').exec;
var csv = require('csv');
var fs = require('fs');
var MongoClient = require('mongodb').MongoClient;
var path = require('path');
var request = require('request');
var unzip = require('unzip2');
var downloadDir = 'downloads';
var q;
// che... |
<<<<<<<
(function(){
/*global YUITest, CSSLint*/
var Assert = YUITest.Assert;
YUITest.TestRunner.add(new YUITest.TestCase({
name: "Compatible Vendor Prefix Warnings",
"Using -webkit-border-radius should warn to also include -moz-border-radius.": function(){
var result... |
<<<<<<<
editorOptions: {
usageStatistics: false,
hideModeSwitch: true,
initialEditType: 'markdown',
hooks: {
addImageBlobHook: self.addImageBlobHook
},
customHTMLRenderer: {
image(node, context) {
const { destinati... |
<<<<<<<
iframeWindow.addEventListener('digit1Pressed' , () => {
console.log('digit1Pressed');
annotationTools.createSpan();
});
=======
>>>>>>>
iframeWindow.addEventListener('digit1Pressed' , () => {
console.log('digit1Pressed');
annotationTools.createSpan();
});
<... |
<<<<<<<
@computed('mainMap.selected')
isSelectedBoundsOptions(selected) {
if (selected) {
const type = selected.constructor.modelName;
const el = this.$();
const height = el.height();
const width = el.width();
const fullWidth = window.innerWidth;
// width of content area on ... |
<<<<<<<
return carto.SQL(SQL('special_purpose_districts_v201809', geometry))
=======
@computed('model.value.geometry')
parentSpecialPurposeDistricts(geometry) {
return carto.SQL(SQL('special_purpose_districts_v201810', geometry))
>>>>>>>
return carto.SQL(SQL('special_purpose_districts_v201810', geome... |
<<<<<<<
this.route('data');
=======
this.route('features');
>>>>>>>
this.route('data');
this.route('features'); |
<<<<<<<
// TODO: want this at simply /country/{place} but need to make sure we don't
// interfere with other urls
app.get('/country/place/{place}/', function(req, res) {
res.render('country/place.html', {
place: place,
info: model.data.country.byplace[place]
});
});
=======
//This messes up URL arguments... |
<<<<<<<
=======
Logger.debug('Publishing poll', { meetingId });
>>>>>>>
<<<<<<<
Logger.debug(`Publishing Polls for ${meetingId} ${userId}`);
=======
Logger.debug('Publishing polls', { meetingId, requesterUserId });
>>>>>>>
Logger.debug('Publishing polls', { meetingId, userId }); |
<<<<<<<
=======
const dataSavingSetting = () => Settings.dataSaving.viewScreenshare;
>>>>>>>
const dataSavingSetting = () => Settings.dataSaving.viewScreenshare;
<<<<<<<
unshareScreen,
=======
dataSavingSetting,
>>>>>>>
unshareScreen,
dataSavingSetting, |
<<<<<<<
import '/imports/api/network-information/server';
=======
import '/imports/api/users-infos/server';
>>>>>>>
import '/imports/api/network-information/server';
import '/imports/api/users-infos/server'; |
<<<<<<<
import logger from '/imports/startup/client/logger';
=======
import { fetchStunTurnServers } from '/imports/utils/fetchStunTurnServers';
>>>>>>>
import logger from '/imports/startup/client/logger';
import { fetchStunTurnServers } from '/imports/utils/fetchStunTurnServers'; |
<<<<<<<
});
*/
//var g = new tracking.ConnectivityGraph(matchtable);
//var ts = g.getTracks();
//var tracks = tracking.track(matchtable);
//console.log(ts.length);
//console.log(ts[30]);
/*
hallsample
.promisePointTable([2,3,4,5,6])
.then(function(pointTable){
var matchtable = [[2,3],[3,4],[4,5],[5,... |
<<<<<<<
import getFromUserSettings from '/imports/ui/services/users-settings';
=======
import { makeCall } from '/imports/ui/services/api';
import { notify } from '/imports/ui/services/notification';
import { monitorVideoConnection } from '/imports/utils/stats';
import browser from 'browser-detect';
import getFromUse... |
<<<<<<<
clearUserInfoForRequester(meetingId, userId);
return Logger.info(`Ejected user id=${userId} meeting=${meetingId}`);
=======
return Logger.info(`Ejected user id=${userId} meeting=${meetingId} reason=${ejectedReason}`);
>>>>>>>
clearUserInfoForRequester(meetingId, userId);
return ... |
<<<<<<<
import { joinListenOnly } from '/imports/api/phone';
import { exitAudio } from '/imports/api/phone';
=======
>>>>>>> |
<<<<<<<
import clearSlides from '/imports/api/slides/server/modifiers/clearSlides';
import { clearPollCollection } from '/imports/api/polls/server/modifiers/clearPollCollection';
=======
import { clearSlidesCollection } from '/imports/api/slides/server/modifiers/clearSlidesCollection';
import clearPoll from '/imports... |
<<<<<<<
let UserConnectedToGlobalAudio =
require('./audio/UserConnectedToGlobalAudio.js')(Constants);
let UserDisconnectedFromGlobalAudio =
require('./audio/UserDisconnectedFromGlobalAudio.js')(Constants);
let UserConnectedToGlobalAudio2x =
require('./audio/UserConnectedToGlobalAudio2x.js')(Constants);
let ... |
<<<<<<<
// Deskshare's whiteboard variables
var deskshareWidth = 1280.0;
var deskshareHeight = 720.0;
var widthScale = 1;
var heightScale = 1;
var widthTranslate = 0;
var heightTranslate = 0;
function clearTransform() {
widthScale = 1;
heightScale = 1;
widthTranslate = 0;
heightTranslate = 0;
}
function setDe... |
<<<<<<<
let currentUserId = Auth.userID;
=======
let currentUserId = auth.getUser();
let currentUser = Users.findOne({ 'user.userid': currentUserId });
>>>>>>>
let currentUserId = Auth.userID;
let currentUser = Users.findOne({ 'user.userid': currentUserId }); |
<<<<<<<
return bridge.exitAudio();
=======
this.isEchoTest = false;
return this.bridge.exitAudio();
>>>>>>>
this.isEchoTest = false;
return bridge.exitAudio(); |
<<<<<<<
if (message.sender && message.sender.id !== SYSTEM_CHAT_TYPE) {
const sender = Users.findOne({ userId: message.sender.id }, { fields: { role: 1 } });
=======
if (message.sender && message.sender !== SYSTEM_CHAT_TYPE) {
const sender = Users.findOne({ userId: message.sender },
{
fields... |
<<<<<<<
import VertoBridge from '/imports/api/audio/client/bridge/verto';
=======
import {vertoWatchVideo} from '/imports/api/verto';
>>>>>>>
import VertoBridge from '/imports/api/audio/client/bridge/verto';
<<<<<<<
const vertoBridge = new VertoBridge();
=======
>>>>>>>
const vertoBridge = new VertoBridge();
... |
<<<<<<<
import handleUserEjected from './handlers/userEjected';
=======
import handleChangeRole from './handlers/changeRole';
>>>>>>>
import handleUserEjected from './handlers/userEjected';
import handleChangeRole from './handlers/changeRole';
<<<<<<<
RedisPubSub.on('GuestApprovedEvtMsg', handleGuestApproved);
Redi... |
<<<<<<<
getBreakoutUserIsIn,
=======
isUserInBreakoutRoom,
>>>>>>>
getBreakoutUserIsIn,
isUserInBreakoutRoom, |
<<<<<<<
import {clientConfig} from '/config';
import {getVoiceBridge} from '/imports/api/phone';
import {getInStorage} from '/imports/ui/components/app/service';
import Users from '/imports/api/users';
let vertoManager = null;
function vertoInitialize() {
console.log('verto initialized');
vertoManager = new Verto... |
<<<<<<<
import clearSlides from '/imports/api/slides/server/modifiers/clearSlides';
import { clearPollCollection } from '/imports/api/polls/server/modifiers/clearPollCollection';
=======
import { clearSlidesCollection } from '/imports/api/slides/server/modifiers/clearSlidesCollection';
import clearPoll from '/imports... |
<<<<<<<
let role = 'view';
let shared = false;
let iceQueue = {};
if (message.role == 'shared') {
role = 'share';
shared = true;
}
=======
let role = message.role? message.role : 'any';
let cameraId = message.cameraId;
>>>>>>>
let role = message.role? message.role : 'any';
let cameraId = ... |
<<<<<<<
createMediaElement (roomId, type, options) {
=======
async createMediaElement (roomId, type, options = {}) {
>>>>>>>
createMediaElement (roomId, type, options = {}) {
<<<<<<<
return new Promise(async (resolve, reject) => {
try {
const pipeline = await this._getMediaPipeline(roomId);... |
<<<<<<<
this.bbbGW.publish(JSON.stringify({
connectionId: this.sessionId,
type: 'video',
role: this.role,
id : 'playStart',
cameraId: this.id,
}), C.FROM_VIDEO);
// Record the video stream if it's the original being shared
... |
<<<<<<<
=======
if (this.reconnectOngoing) {
this.reconnectOngoing = false;
clearTimeout(this.reconnectTimeout);
}
resolve(this.callback({ status: this.baseCallStates.started }));
>>>>>>>
if (this.reconnectOngoing) {
this.reconnectOngoin... |
<<<<<<<
var archive = archiver(this.format || 'zip', this.archiverOpts || {})
=======
var self = this
var archive = archiver('zip')
>>>>>>>
var self = this
var archive = archiver(this.format || 'zip', this.archiverOpts || {}) |
<<<<<<<
getGroupChatPrivate,
=======
getEmojiList: () => EMOJI_STATUSES,
getEmoji: () => Users.findOne({ userId: Auth.userID }).emoji,
>>>>>>>
getGroupChatPrivate,
getEmojiList: () => EMOJI_STATUSES,
getEmoji: () => Users.findOne({ userId: Auth.userID }).emoji, |
<<<<<<<
import { redisPubSub } from '/imports/startup/server';
import { BREAK_LINE, CARRIAGE_RETURN, NEW_LINE } from '/imports/utils/lineEndings';
import WhiteboardMultiUser from '/imports/api/2.0/whiteboard-multi-user/';
export function appendMessageHeader(eventName, messageObj) {
const header = {
timestamp: ne... |
<<<<<<<
let session = new SdpSession(this.emitter, sdp, this.roomId, type, adapter, name);
this.emitter.emit(C.EVENT.NEW_SESSION+this.id, session.id);
session.on("SESSION_STOPPED", (sessId) => {
Logger.info("[mcs-sfu-user] Session ", sessId, "stopped, cleaning it...");
=======
let session = new ... |
<<<<<<<
const { meetingId, userId } = tokenValidation;
Logger.debug(`Publishing local settings for user=${userId}`);
=======
Logger.debug('Publishing local settings', { requesterUserId });
>>>>>>>
const { meetingId, userId } = tokenValidation;
Logger.debug('Publishing local settings', { userId }); |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.