conflict_resolution stringlengths 27 16k |
|---|
<<<<<<<
api.stop = function (sound_id) {
=======
obj.stop = function (sound_id, instance_id) {
>>>>>>>
api.stop = function (sound_id, instance_id) {
<<<<<<<
api.pause = function (sound_id) {
=======
obj.pause = function (sound_id, instance_id) {
>>>>>>>
api.pause =... |
<<<<<<<
it('should always follow openKeys when mode is switched', () => {
const wrapper = mount(
<Menu defaultOpenKeys={['1']} mode="inline">
<Menu.Item key="menu1">
<Icon type="inbox" />
<span>Option</span>
</Menu.Item>
<SubMenu key="1" title="submenu1">
... |
<<<<<<<
import { sleep } from '../../../tests/utils';
=======
import rtlTest from '../../../tests/shared/rtlTest';
>>>>>>>
import rtlTest from '../../../tests/shared/rtlTest';
import { sleep } from '../../../tests/utils'; |
<<<<<<<
it('props#linkRender and props#nameRender do not warn anymore', () => {
const linkRender = jest.fn();
const nameRender = jest.fn();
mount(
<Breadcrumb linkRender={linkRender} nameRender={nameRender}>
<Breadcrumb.Item />
<Breadcrumb.Item>xxx</Breadcrumb.Item>
</Breadcru... |
<<<<<<<
it('Descriptions support colon', () => {
const wrapper = mount(
<Descriptions colon={false}>
<Descriptions.Item label="Product">Cloud Database</Descriptions.Item>
</Descriptions>,
);
expect(wrapper).toMatchSnapshot();
});
=======
it('Descriptions support style', () => {... |
<<<<<<<
await delay(1000);
wrapper.update();
=======
jest.runAllTimers();
>>>>>>>
jest.runAllTimers();
wrapper.update();
<<<<<<<
await delay(1000);
=======
jest.runAllTimers();
>>>>>>>
jest.runAllTimers(); |
<<<<<<<
it('vertical layout', () => {
// eslint-disable-next-line global-require
const wrapper = mount(
<Descriptions layout="vertical">
<Descriptions.Item label="Product">Cloud Database</Descriptions.Item>
<Descriptions.Item label="Billing">Prepaid</Descriptions.Item>
<Descript... |
<<<<<<<
* @param {Number}
* [volume=1.0] Float specifying volume (0.0 - 1.0 values accepted).
=======
* @param {Number} [volume=default] Float specifying volume (0.0 - 1.0 values accepted).
>>>>>>>
* @param {Number} [volume=1.0] Float specifying volume (0.0 - 1.0 values accepted).
<<<<<<<
obj.pla... |
<<<<<<<
// TODO write comment, put it in a module.
var restartWatcher = {
watchers: [],
trigger: function () {
restartWatcher.watchers.forEach(function(cb){
cb();
});
},
on: function (cb) {
restartWatcher.watchers.push(cb);
},
off: function (cb) {
var index = restartWatcher.watchers.in... |
<<<<<<<
=======
>>>>>>>
console.log(home);
<<<<<<<
template += '<h2>Resources</h2><p>Occupied memory: ' +
memoryUsage + 'MB</p>';
template += ' \
</body> \
</html> \
';
res.send(template);
=======
res.send({
apps: applications,
plugins: plugins,
resou... |
<<<<<<<
var $ = cheerio.load(html);
$('span.comhead').each(function(i, element){
var a=$(this).prev(); //selects previous data
var rank=a.parent().parent().text(); //gets ranks by parsing text two elements higher
var title=a.text(); // parses link title
var url=a.attr('href'); // p... |
<<<<<<<
console.log('In app_controller:openJsaonDocument');
SC.Benchmark.start('app_controller:openJsonDocument');
var kMemoryDataSource = 'DG.MemoryDataSource',
// kRESTDataSource = 'DG.RESTDataSource',
kDefaultDataSource = /*kRESTDataSource*/ kMemoryDataSource;
=======
>>>>>>>
... |
<<<<<<<
iconExtent: { width: 27, height: 20 },
classNames: ['dg-table-button']
=======
>>>>>>>
classNames: ['dg-table-button']
<<<<<<<
iconExtent: { width: 22, height: 20 },
classNames: ['dg-graph-button']
=======
>>>>>>>
classNames: ['dg-graph-button']
<<<<<<<
iconExtent: { width: 2... |
<<<<<<<
useNativeDriver: this.props.useNativeDriver
}).start(() => {
// Keyboard.dismiss(); // make this optional. Easily user defined in .onClosed() callback
this.setState({
isAnimateClose: false,
animClose
});
if (this.props.onClosed)... |
<<<<<<<
=======
// applies the settings initially
this._updateAnimationProperties();
this._updateToggleOnScroll();
this._updateWindowGeometry();
this._bindShortcut();
>>>>>>> |
<<<<<<<
this._interfaceSettings = new Gio.Settings({schema_id: "org.gnome.desktop.interface"});
=======
this._interfaceSettings = new Gio.Settings({schema_id: "org.gnome.desktop.interface"});
// applies the settings initially
this._updateFont();
this._updateOpacityAndScrollbar... |
<<<<<<<
this.iconCanvas = me.video.createCanvas(this.width, this.height, false);
=======
this.iconCanvas = me.video.createCanvas(
me.utils.nextPowerOfTwo(this.width),
me.utils.nextPowerOfTwo(this.height),
false);
>>>>>>>
this.iconCanvas... |
<<<<<<<
var self = this;
jQuery(this.parent).find('a.switcher-choice.owner').unbind('click').click(function (evt) {
=======
jQuery(self.parent).find("a.switcher-choice.owner").off('click').on('click', function (evt) {
>>>>>>>
var self = this;
jQuery(self.parent).find("a.switcher-choice.owner").o... |
<<<<<<<
draw: function (renderer) {
renderer.setGlobalAlpha(this.hover ? 1.0 : 0.5);
this._super(me.ObjectEntity, 'draw', [renderer]);
renderer.setGlobalAlpha(1.0);
=======
draw: function (context) {
context.globalAlpha = this.hover ? 1.0 : 0.5;
this._super(me.Entity, '... |
<<<<<<<
const s3 = new AWS.S3({
region: config.get("storage_region")
});
=======
>>>>>>>
<<<<<<<
var s3 = new AWS.S3({
region: config.get("storage_region")
});
=======
>>>>>>>
<<<<<<<
const url = config.get("storage_cdn") + "/" + fileName;
=======
const u... |
<<<<<<<
* Returns boolean if request is part of new session
* @public
* @return {boolean}
*/
isNewSession() {
return this.getPlatform().isNewSession();
}
/**
=======
* Returns timestamp of a user's request
* @public
* @return {string} timestamp
*/
getTi... |
<<<<<<<
export function addSubItem(pageId, questionId, index) {
return { type: C.ADD_SUB_ITEM, pageId, questionId, index };
}
export function addLogicVariable(pageId) {
return { type: C.ADD_LOGIC_VARIABLE, pageId };
=======
export function addLogicalVariable(pageId) {
return { type: C.ADD_LOGICAL_VARIABLE, page... |
<<<<<<<
import { Col, FormGroup, ControlLabel, Radio, Checkbox, FormControl, InputGroup } from 'react-bootstrap';
import ItemEditor from './ItemEditor';
import SubItemEditor from './SubItemEditor';
import QuestionHtmlEditor from './QuestionHtmlEditor';
=======
import { Col, FormGroup, ControlLabel, Checkbox, FormCont... |
<<<<<<<
/** subItemのindexを取得する */
findSubItemIndex(questionId, itemId) {
const question = this.findQuestion(questionId);
return question.getSubItems().findIndex(item => item.getId() === itemId);
}
findLogicVariableIndex(logicVariableId) {
return this.getLogicVariables().findIndex(lv => lv.getId() =... |
<<<<<<<
/** @scope me.Ellipse.prototype */ {
=======
/** @scope me.Ellipse.prototype */
{
/**
* center point of the Ellipse
* @public
* @type {me.Vector2d}
* @name pos
* @memberOf me.Ellipse
*/
pos : new me.Vector2d(),
/*... |
<<<<<<<
changeSystemSetting,
=======
changeSettings,
toggleTheme,
>>>>>>>
changeSystemSetting,
toggleTheme,
<<<<<<<
onChangeSettings: changeSystemSetting,
=======
onChangeSettings: changeSettings,
onChangeTheme: toggleTheme,
>>>>>>>
onChangeSettings: changeSystemSetting,
onChangeTheme: toggle... |
<<<<<<<
// calculate the sprite count (line, col)
if (!data.ignoreError && ((image.width - margin + spacing) % (data.framewidth + spacing) !== 0 ||
(image.height - margin + spacing) % (data.frameheight + spacing) !== 0)) {
throw new me.video.renderer.Texture.Erro... |
<<<<<<<
});
InstantFox.localeMap = {'%ls': 'en', '%ll': 'en-US', '%ld': 'com'}
InstantFox.preprocessPlugins()
//})();
=======
});
>>>>>>>
});
InstantFox.localeMap = {'%ls': 'en', '%ll': 'en-US', '%ld': 'com'} |
<<<<<<<
var calculateWidths = function () {
=======
priorityNav.calculateWidths = debounce(function () {
>>>>>>>
priorityNav.calculateWidths = debounce(function () {
<<<<<<<
toggleWidth = document.querySelector('.'+settings.navDropdownToggle).offsetWidth;
};
=======
//Check if dropdown button ... |
<<<<<<<
import { isString, isPlainObject, find, includes, get } from 'lodash';
import EventEmitter from 'events';
=======
import { isString, isPlainObject, isFunction, find, includes, get } from 'lodash';
>>>>>>>
import { isString, isPlainObject, isFunction, find, includes, get } from 'lodash';
import EventEmitter f... |
<<<<<<<
datasourceRequests[dataSource.id].request[key] = inViz._eventValues[key];
datasourceRequests[dataSource.id].request[key + _CHANGED] = inViz === context;
=======
>>>>>>> |
<<<<<<<
context.tooltipShow(dataRow, context.columns(), d.idx);
=======
context.tooltipShow(d.row, context._columns, d.idx);
>>>>>>>
context.tooltipShow(d.row, context.columns(), d.idx);
<<<<<<<
context.tooltipShow(dataR... |
<<<<<<<
server.log(['info', 'trace'], 'Request into hello world')
=======
request.logger.info('In handler %s', request.path)
>>>>>>>
server.log(['info', 'trace'], 'Request into hello world')
request.logger.info('In handler %s', request.path) |
<<<<<<<
* @Last Modified time: 2020-02-12 19:22:21
=======
* @Last Modified time: 2020-02-13 00:45:23
>>>>>>>
* @Last Modified time: 2020-02-13 00:57:13
<<<<<<<
require('../log')
function requireCesium() {
=======
let requireCesium = () => {
>>>>>>>
require('../log')
let requireCesium = () => { |
<<<<<<<
* @Last Modified time: 2020-01-21 17:07:04
=======
* @Last Modified time: 2020-01-31 15:09:00
>>>>>>>
* @Last Modified time: 2020-01-31 15:12:20
<<<<<<<
}) // 初始化 viewer
new MouseEvent(this) // 注册全局鼠标事件
this._style = new ViewerStyle(this) // 设置viewer样式
this._viewerEvent = new ViewerEvent(... |
<<<<<<<
* @Last Modified time: 2020-01-21 16:59:50
=======
* @Last Modified time: 2020-01-31 15:03:45
>>>>>>>
* @Last Modified time: 2020-01-31 15:11:35
<<<<<<<
ADD_BASE_LAYER: 'addBaseLayer',
CHANGE_BASE_LAYER: 'changeBaseLayer',
=======
>>>>>>> |
<<<<<<<
=======
mode: PropTypes.string,
>>>>>>>
mode: PropTypes.string, |
<<<<<<<
a11yTitle={id ? `${id}-icon` : 'link next'}
a11yTitleId={id ?
`${id}-icon` :
'anchor-next-title-id'
}
/>
=======
a11yTitle={this.props.id ? `${this.props.id}-icon` : 'link next'} />
>>>>>>>
a11yTitle={id ? `${id}-icon` : 'link ... |
<<<<<<<
this.hammer = new Hammer(this.refs.carousel);
this.hammer.get('swipe').set({
direction: Hammer.DIRECTION_HORIZONTAL
});
this.hammer.on('panend', (event) => {
if (event.direction === 4) {
this._slidePrev();
} else if (event.direction === 2) {
this._slideNext();
... |
<<<<<<<
<pre><code className="html">{"<Anchor href=\"\" primary={true} onClick={this._onClick}>Text</Anchor>"}</code></pre>
<h3>Target</h3>
<div className="example">
<Anchor href="" target="_blank" onClick={this._onClick}>Text</Anchor>
</div>
<pre><code cla... |
<<<<<<<
import {COMMON} from '../constants'
import sx from '../sx'
=======
import {COMMON, get} from '../constants'
>>>>>>>
import {COMMON, get} from '../constants'
import sx from '../sx' |
<<<<<<<
<Link
nounderline
className="text-white"
href="/components"
px={4}
fontWeigt={router.pathname === '/components' ? 'bold' : null}
>
=======
<Link color="white" href="/components" px={4}>
>>>>>>>
... |
<<<<<<<
}
/**
* console.error() is ugly af in jest; mock it with a noop,
* and return the mock so that you can restore it:
*
* ```js
* const mock = silenceConsoleError(jest)
* // do stuff that calls console.error()
* mock.mockRestore() // restore console.error()
* ```
*
* Note: we need to pass `jest` as a re... |
<<<<<<<
function DonutSlice(props) {
const {children, d, state, fill = fillForState[state] || defaultFill, value} = props
=======
const DonutSlice = props => {
const {children, d, fill, state, value} = props
const color = fill || getStateColors(props)[state] || defaultColor
>>>>>>>
function DonutSlice(props) =... |
<<<<<<<
icon: PropTypes.oneOfType([PropTypes.node, PropTypes.func]),
=======
icon: PropTypes.elementType.isRequired,
>>>>>>>
icon: PropTypes.oneOfType([PropTypes.node, PropTypes.func]),
icon: PropTypes.elementType.isRequired, |
<<<<<<<
/*
* Note: Prefixing assets with the fully qualified deployment URL
* makes them available even when the site is served from a path alias, as in
* <https://primer.style/components>
*/
assetPrefix: process.env.NOW_URL,
pageExtensions,
publicRuntimeConfig: {
pageMap
=======
assetPrefix... |
<<<<<<<
it('respects the "as" prop', () => {
expect(render(<Flash as="span" />).type).toEqual('span')
})
it('respects the "variant" prop', () => {
expect(render(<Flash variant="warning" theme={theme} />)).toHaveStyleRule('background-color', colors.yellow[1])
expect(render(<Flash variant="danger" them... |
<<<<<<<
}
export function withoutPropTypes(Component, props) {
for (const prop of props) {
delete Component.propTypes[prop]
}
return Component
=======
}
function guardDoubleRender(Component) {
function render(props) {
const {is, ...rest} = props
if (is === Component || is === render) {
ret... |
<<<<<<<
Details,
=======
Flash,
>>>>>>>
Details,
Flash, |
<<<<<<<
<ThemeProvider theme={theme}>
<div className='text-dark-gray'>
{children}
</div>
</ThemeProvider>
=======
<body>
<ThemeProvider theme={theme}>
<Box color='bodytext'>
{props.children}
</Box>
</ThemeProvider>
</body>
>>>>>>>
<body>
... |
<<<<<<<
import {render, rendersClass} from '../utils/testing'
=======
import {render, mount} from '../utils/testing'
>>>>>>>
import {render, mount, rendersClass} from '../utils/testing'
<<<<<<<
it('respects margin utility prop', () => {
expect(rendersClass(<TextInput m={4} />, 'm-4')).toEqual(true)
})
i... |
<<<<<<<
// import { EXTENSIONS } from '../constants';
=======
import { installPackageDependencies } from '../systemManager/npmUtils';
import { EXTENSIONS } from '../constants';
>>>>>>>
import { installPackageDependencies } from '../systemManager/npmUtils'; |
<<<<<<<
get isRenativeProject() {
return this.config?.paths?.project?.configExists || false;
}
=======
get program() {
return this.config.program;
}
get paths() {
return this.config.paths;
}
// RNV CONFIG
getConfigValueSeparate(key, global = false) {
... |
<<<<<<<
var Anonymous = function (value, index, currentFileInfo, mapLines) {
=======
tree.Anonymous = function (value, index, currentFileInfo, mapLines, rulesetLike) {
>>>>>>>
var Anonymous = function (value, index, currentFileInfo, mapLines, rulesetLike) {
<<<<<<<
eval: function () {
return new Anonymo... |
<<<<<<<
await cleanPlatformIfRequired(c, platform);
await configureIfRequired(c, platform);
await startBundlerIfRequired(c);
await runXcodeProject(c, platform, target);
return waitForBundlerIfRequired();
=======
if (!c.program.only) {
await cleanPlatformIfRe... |
<<<<<<<
// FONTS
let fontsObj = 'export default [';
parseFonts(c, (font, dir) => {
if (font.includes('.ttf') || font.includes('.otf')) {
const key = font.split('.')[0];
const { includedFonts } = c.buildConfig.common;
if (includedFonts)... |
<<<<<<<
=======
}
const isStatic = getFlavouredProp(c, pluginPlat, 'isStatic');
if (isStatic === true) {
if (!c.pluginConfigiOS.staticFrameworks.includes(podName)) {
c.pluginConfigiOS.staticFrameworks.push(`'${podName}'`);
}
}
});
>>>>>>>
... |
<<<<<<<
module.exports = function UgridContext(grid, worker) {
this.randomSVMData = function(N, D, seed, P) {
=======
module.exports = UgridContext;
function UgridContext(arg) {
if (!(this instanceof UgridContext))
return new UgridContext(arg);
var grid = new UgridClient({host: arg.host, port: arg.port, data: ... |
<<<<<<<
this.mongo = function (query) {
var a = new UgridArray(grid, worker, [], 'narrow', 'mongo', [query]);
a.getArgs = function() {
return {args: [query]};
}
return a;
}
this.init = thunkify(this.init_cb);
=======
>>>>>>>
this.mongo = function (query) {
var a = new UgridArray(grid, worker, [],... |
<<<<<<<
ncpu = Number(ncpu);
=======
var sshUser = process.env.USER;
var sshPrivateKey = fs.readFileSync(process.env.HOME + '/.ssh/id_rsa');
var ssh = {};
var sftp = {};
var transferQueue = []; // File transfer queue, on controller, to serialize concurrent worker requests during init
var ftid = 0; // File transfe... |
<<<<<<<
function union(v1_in, v2_in) {
var v1 = JSON.parse(JSON.stringify(v1_in));
var v2 = JSON.parse(JSON.stringify(v2_in));
return v1.concat(v2);
}
=======
function arrayEqual(a1, a2) {
return JSON.stringify(a1) === JSON.stringify(a2);
}
module.exports.randomSVMData = randomSVMData;
>>>>>>>
function uni... |
<<<<<<<
var ws3 = wb.WorkSheet('Departmental Spending Report')
=======
var seriesWS = wb.WorkSheet('Series with frozen Row');
>>>>>>>
var ws3 = wb.WorkSheet('Departmental Spending Report')
var seriesWS = wb.WorkSheet('Series with frozen Row');
<<<<<<<
/*
Begin Departmental Spending report
*/
ws3.Settings.Outline.S... |
<<<<<<<
WorkSheet.prototype.printArea = printArea;
WorkSheet.prototype.printTitles = printTitles;
WorkSheet.prototype.printScaling = printScaling;
=======
WorkSheet.prototype.headerFooter = headerFooter;
>>>>>>>
WorkSheet.prototype.printArea = printArea;
WorkSheet.prototype.printTitles = printTitles;
WorkSheet.proto... |
<<<<<<<
var OauthView = require('./oauth-screen.js')
=======
var TweetsList = require('./tweetsList.js')
>>>>>>>
var OauthView = require('./oauth-screen.js')
var TweetsList = require('./tweetsList.js')
<<<<<<<
const OauthViewID = 'oauth-screen-identifier'
=======
const tweetsListID = 'tweets-list-identifier'
>>>... |
<<<<<<<
var html = '<h1 style="font-family:Comic Sans MS">#enews ' + formattedTodaysDate + '</h1>'
html += '<p style="font-family:Comic Sans MS"><i>External news from the past 7 days!</i></p>';
html += '<br><table style="width:100%" cellspacing="20">';
=======
var html = '<h1 style="font-family:serif">#enews ... |
<<<<<<<
<Button
style={styles.button}
styleDisabled={styles.button_disabled}
onPress={this.pushOauth}>Oauth</Button>
=======
<Button
style={styles.button}
styleDisabled={styles.button_disabled}
onPress={this.pushTweetsList}>Tweets Lis... |
<<<<<<<
},
stats: {
interval: 1000,
historyMax: 1800
=======
},
logging: {
enable: true,
verboseEvents: false
>>>>>>>
},
stats: {
interval: 1000,
historyMax: 1800
},
logging: {
enable: true,
verboseEvents: false |
<<<<<<<
import {waitForValue, WebexPlugin} from '@webex/webex-core';
=======
import {requestWithRetries} from './retry';
import {waitForValue, SparkPlugin} from '@webex/webex-core';
>>>>>>>
import {requestWithRetries} from './retry';
import {waitForValue, WebexPlugin} from '@webex/webex-core'; |
<<<<<<<
import Events from '../events';
=======
import MeetingCollection from '../meetings/collection';
import Events from '../common/events';
>>>>>>>
import Events from '../common/events'; |
<<<<<<<
type: `boolean`
},
refreshTimer: {
default: undefined,
type: `any`
=======
type: 'boolean'
>>>>>>>
type: 'boolean'
},
refreshTimer: {
default: undefined,
type: 'any'
<<<<<<<
this.logger.warn(`credentials: failed to clear supertoken`, err);
===... |
<<<<<<<
i = j = currentPos = furthest = 0;
str = str.replace(/\r\n/g, '\n');
=======
i = j = current = furthest = 0;
vars = vars ? less.Parser.serializeVars(vars) + '\n' : '';
input = (vars + str).replace(/\r\n/g, '\n');
>>>>>>>
i = j = current... |
<<<<<<<
isTyping
=======
activities,
currentUserId,
isLoadingHistoryUp,
isTyping,
onActivityDelete
>>>>>>>
isLoadingHistoryUp,
isTyping
<<<<<<<
<ActivityList {...props} />
=======
{spinnerUp}
<ActivityList
activities={activities}
currentUserId={cur... |
<<<<<<<
_MEETING_,
LOCUSINFO
=======
_WEBEX_MEETING_,
LOCUSINFO,
LOCUS
>>>>>>>
_MEETING_,
LOCUSINFO,
LOCUS
<<<<<<<
=======
else if (this.parsedLocus.info.type === _WEBEX_MEETING_) {
if (this.fullState && this.fullState.state === LOCUS.STATE.INACTIVE) {
// TODO: update the meeting... |
<<<<<<<
import {SparkTrackingIdInterceptor} from '../../..';
=======
import sinon from '@ciscospark/test-helper-sinon';
import {SparkTrackingIdInterceptor} from '@ciscospark/spark-core';
>>>>>>>
import {SparkTrackingIdInterceptor} from '@ciscospark/spark-core'; |
<<<<<<<
import Events from '../common/events';
import {EVENTS, LOCUSEVENT, USER, ONE_ON_ONE, MEETING_STATE, WEBEX_MEETING, LOCUSINFO} from '../constants';
=======
import Events from '../events';
import {EVENTS, LOCUSEVENT, USER, CALL, MEETING_STATE, WEBEX_MEETING, LOCUSINFO} from '../constants';
>>>>>>>
import Event... |
<<<<<<<
Metrics.sendMediaRequest({meetingId: callFlowId});
return this.spark
=======
return this.webex
>>>>>>>
Metrics.sendMediaRequest({meetingId: callFlowId});
return this.webex |
<<<<<<<
=======
console.log('NO participants found ', participants);
>>>>>>>
<<<<<<<
this.emitScoped(LOCUSINFO.EVENTS.MEETING_UPDATE, {partner});
=======
this.updateMeeting({partner});
console.log('ISMEETINGACTIVE', partner);
>>>>>>>
this.emitScoped(LOCUSINFO.EVENTS.MEETING_UPDAT... |
<<<<<<<
console.log(event);
// const {transceiver} = event;
const streams = event.streams[0];
this.mediaProperties.remoteStream = streams;
this.trigger(EVENT_TRIGGERS.MEDIA_READY, {
type: EVENT_TYPES.REMOTE_AUDIO,
stream: MediaUtil.createMediaStream([
this.medi... |
<<<<<<<
import ReconnectionError from '../common/errors/reconnection';
import {MEETINGS, EVENT_TRIGGERS, EVENT_TYPES, EVENTS, FLOOR_ACTION, BUSY, INCOMING, ONLINE, ONE_ON_ONE, CONTENT, _JOIN_, LOCUSINFO, MEETING_STATE, MEETING_STATE_MACHINE} from '../constants';
=======
import IntentToJoinError from '../errors/intent... |
<<<<<<<
analize(content);
};
=======
var result = pasteTool.callbacks.analize(content);
if (result) {
event.preventDefault();
event.stopImmediatePropagation();
}
},
>>>>>>>
var result = analize(content);
if (result) {
event... |
<<<<<<<
/**
* We need to save caret before we change the block,
* so that we could return it to original position in a new tag.
* We save caret offset in a text and index of child node.
*/
saveCaretPosition () {
var selection = window.getSelection();
var previousElement = select... |
<<<<<<<
name: gettext('Terminate'),
disabled: true,
=======
name: gettext('Terminate Instance'),
disabled: false,
>>>>>>>
name: gettext('Terminate'),
disabled: false, |
<<<<<<<
=======
// This is the maximum amount of time ALL before/after/it's must execute in
const timeout = 40000
>>>>>>>
// This is the maximum amount of time ALL before/after/it's must execute in
const timeout = 40000;
<<<<<<<
allScriptsTimeout: 30000,
suites: {
e2e: [
'./src/test-e2e/login/*-e2e... |
<<<<<<<
=======
/**
* @function isAdmin
* @memberOf app.view.ServiceRegistrationController
* @description Return whether current user account is admin
* @returns {boolean} Whether user account is admin
*/
isAdmin: function () {
return this.currentUserAccount.isAdmin();
},
... |
<<<<<<<
if (tag === 'postgresql') {
=======
if (tag === 'stratos_postgresql') {
var instance = vcapServices.postgresql[0];
>>>>>>>
if (tag === 'stratos_postgresql') {
<<<<<<<
output += exportString('DB_DATABASE_NAME', DB_DATABASE_NAME);
=======
output += exportString('DB... |
<<<<<<<
=======
/** @const {string} */
const appsRegexDelimeter = '\\;';
>>>>>>>
<<<<<<<
fetch('vendors.json').then(function (response) {
response.json().then(function (data) {
=======
fetch('apps.json')
.then(response => {
return response.json().then(data => {
if (response.ok) {
>>>>>>>
... |
<<<<<<<
const { winWidth, winHeight } = windowBounds()
=======
const { winHeight, winWidth } = windowBounds()
const [svg] = this.$shadow.children
const [rect,line1,line2,line3,line4] = svg.children
>>>>>>>
const { winHeight, winWidth } = windowBounds()
const [svg] = this.$shadow.children
... |
<<<<<<<
PaddingHotkeys, SelectionHandles, SelectionLabel,
HoverGridlines, Metatip, Ally
=======
HotkeyMap, Handles, Label, Overlay, Gridlines,
Metatip, Ally,
>>>>>>>
Handles, Label, Overlay, Gridlines,
PaddingHotkeys, Metatip, Ally, |
<<<<<<<
'tool.tooltip': require('./tool.tooltip/'),
=======
'tool.fisheye': require('./tool.fisheye/'),
>>>>>>>
'tool.tooltip': require('./tool.tooltip/'),
'tool.fisheye': require('./tool.fisheye/'), |
<<<<<<<
const layoutController = new Controller.Layout(this);
this.set({ eventController, viewController, modeController,
itemController, stateController, layoutController });
=======
// 实例化customGroup
const customGroupControll = new Controller.CustomGroup(this);
this.set({
eventContr... |
<<<<<<<
Fruchterman: require('./fruchterman'),
=======
Mds: require('./mds'),
>>>>>>>
Fruchterman: require('./fruchterman'),
Mds: require('./mds'), |
<<<<<<<
var STEPS = 15;
=======
//@todo I would like to make this animation a setting. How?
var STEPS = 10;
>>>>>>>
var STEPS = 10; |
<<<<<<<
if (this.popup && this.popup.isOpen) {
this.gatherCompletionsId = this.gatherCompletionsId + 1;
}
=======
>>>>>>>
if (this.popup && this.popup.isOpen) {
this.gatherCompletionsId = this.gatherCompletionsId + 1;
}
<<<<<<<
=======
n... |
<<<<<<<
/**
* Ajax.org Code Editor (ACE)
*
* @copyright 2010, Ajax.org Services B.V.
* @license LGPLv3 <http://www.gnu.org/licenses/lgpl-3.0.txt>
* @author Fabian Jakobs <fabian AT ajax DOT org>
*/
require.def("ace/layer/Marker", [], function() {
=======
require.def("ace/layer/Marker", ["ace/Range"], function(R... |
<<<<<<<
var JavaMode = require("ace/mode/java").Mode;
=======
var RubyMode = require("ace/mode/ruby").Mode;
>>>>>>>
var JavaMode = require("ace/mode/java").Mode;
var RubyMode = require("ace/mode/ruby").Mode;
<<<<<<<
php: new PhpMode(),
java: new JavaMode()
=======
php: new ... |
<<<<<<<
var lineRange = new Range(row, range.start.column, row, this.session.getLine(row).length);
this.drawSingleLineMarker(stringBuilder, lineRange, clazz, layerConfig, 1);
=======
var lineRange = new Range(row, range.start.column,
row, this.doc.getScreenLas... |
<<<<<<<
this.$textLayer.checkForSizeChanges();
=======
// update scrollbar first to not loose scroll position when gutter calls resize
this.$updateScrollBar();
>>>>>>>
this.$textLayer.checkForSizeChanges();
// update scrollbar first to not loose scroll posi... |
<<<<<<<
new Mode("c_cpp", "C/C++", require("ace/mode/c_cpp").Mode, ["c", "cpp", "cxx", "h", "hpp"]),
new Mode("clojure", "Clojure", require("ace/mode/clojure").Mode, ["clj"]),
new Mode("coffee", "CoffeeScript", require("ace/mode/coffee").Mode, ["coffee"]),
new Mode("coldfusion", "ColdFusion", require("a... |
<<<<<<<
// prepare custom preload function for current session
const preloadAndReturn = returnData => {
preloadCallback( returnData.results, localeOpts, function( err ) {
if( err ) { return callback( err ); }
if ( !req.query.only_id ) {
returnData.results = _.map( returnData.resu... |
<<<<<<<
constructor( attrs, options ) {
super( attrs );
options = options || { };
if ( options.forObs ) {
if ( this.taxon && !this.taxon_id ) {
this.taxon_id = this.taxon.id;
}
delete this.taxon;
delete this.observation;
delete this.current_taxon;
}
}
=======
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.