conflict_resolution stringlengths 27 16k |
|---|
<<<<<<<
import MatrixClientPeg from '../../../MatrixClientPeg';
import sdk from '../../../index';
=======
import {MatrixClientPeg} from '../../../MatrixClientPeg';
import {verificationMethods} from 'matrix-js-sdk/src/crypto';
import * as sdk from '../../../index';
import Modal from "../../../Modal";
>>>>>>>
import {... |
<<<<<<<
invitedEmail={invitedEmail}
=======
room={this.state.room}
>>>>>>>
invitedEmail={invitedEmail}
room={this.state.room}... |
<<<<<<<
{ id: "pinMentionedRooms" },
{ id: "pinUnreadRooms" },
=======
{ id: "showDeveloperTools" },
>>>>>>>
{ id: "pinMentionedRooms" },
{ id: "pinUnreadRooms" },
{ id: "showDeveloperTools" }, |
<<<<<<<
const UpdateCheckBar = sdk.getComponent('globals.UpdateCheckBar');
=======
const PasswordNagBar = sdk.getComponent('globals.PasswordNagBar');
>>>>>>>
const UpdateCheckBar = sdk.getComponent('globals.UpdateCheckBar');
const PasswordNagBar = sdk.getComponent('globals.PasswordNag... |
<<<<<<<
static getRoomWidgets(room: Room) {
=======
static getRoomWidgets(room) {
// TODO: Enable support for m.widget event type (https://github.com/vector-im/riot-web/issues/13111)
>>>>>>>
static getRoomWidgets(room: Room) {
// TODO: Enable support for m.widget event type (https://githu... |
<<<<<<<
"feature_mjolnir": {
isFeature: true,
displayName: _td("Try out new ways to ignore people (experimental)"),
supportedLevels: LEVELS_FEATURE,
default: false,
},
"mjolnirRooms": {
supportedLevels: ['account'],
default: [],
},
"mjolnirPersonalRoom... |
<<<<<<<
selectedOptions,
filteredOptions,
isOpen
=======
selectedWords: this.state.selectedWords,
filteredWords: this.state.filteredWords,
isSuggestionsOpened: this.state.isSuggestionsOpened,
highlightedOptionIndex: this.state.highlightedOptionIndex,
maxSelections: this... |
<<<<<<<
// $FlowFixMe
import type { Ref, ComponentType, SyntheticKeyboardEvent, SyntheticMouseEvent, SyntheticEvent, Element } from 'react';
// internal components
import { withTheme } from './HOC/withTheme';
=======
import type {
ComponentType,
// $FlowFixMe
SyntheticKeyboardEvent,
// $FlowFixMe
Synthetic... |
<<<<<<<
"m.room.encryption": _td("Enable room encryption"),
=======
"m.room.tombstone": _td("Upgrade the room"),
>>>>>>>
"m.room.tombstone": _td("Upgrade the room"),
"m.room.encryption": _td("Enable room encryption"),
<<<<<<<
"m.room.encryption": {isState: true},
=======
"m.room.tombstone"... |
<<<<<<<
const crossSigningReady = await cli.isCrossSigningReady();
=======
const secretStorageKeyNeedsUpgrade = await cli.secretStorageKeyNeedsUpgrade();
>>>>>>>
const crossSigningReady = await cli.isCrossSigningReady();
const secretStorageKeyNeedsUpgrade = await cli.secretStorageKeyN... |
<<<<<<<
import createRoom from "../../../createRoom";
import {inviteMultipleToRoom} from "../../../RoomInvite";
=======
import {humanizeTime} from "../../../utils/humanize";
>>>>>>>
import {humanizeTime} from "../../../utils/humanize";
import createRoom from "../../../createRoom";
import {inviteMultipleToRoom} from ... |
<<<<<<<
import {containsEmoji} from "../elements/effects/effectUtilities";
import effects from '../elements/effects';
=======
import SettingsStore from "../../../settings/SettingsStore";
import CountlyAnalytics from "../../../CountlyAnalytics";
>>>>>>>
import {containsEmoji} from "../elements/effects/effectUtilities... |
<<<<<<<
const lists = this.getRoomLists();
let totalRooms = 0;
for (const l of Object.values(lists)) {
totalRooms += l.length;
}
this.setState({
lists: this.getRoomLists(),
totalRoomCount: totalRooms,
});
=======
this... |
<<<<<<<
=======
_initialiseMessagePanel: function() {
var messagePanel = ReactDOM.findDOMNode(this.refs.messagePanel);
this.refs.messagePanel.initialised = true;
this.updateTint();
},
componentDidUpdate: function() {
// we need to initialise the messagepanel if we've just ... |
<<<<<<<
if (this.props.roomId) {
Invite.inviteToRoom(this.props.roomId, addr).catch(function(err) {
var ErrorDialog = sdk.getComponent("dialogs.ErrorDialog");
Modal.createDialog(ErrorDialog, {
title: "Failure to invite user",
de... |
<<<<<<<
onScroll: function(ev) {
if (this.props.resizeNotifier.isResizing) return; // skip scroll events caused by resizing
=======
onScroll = ev => {
>>>>>>>
onScroll = ev => {
if (this.props.resizeNotifier.isResizing) return; // skip scroll events caused by resizing
<<<<<<<
onResiz... |
<<<<<<<
function getDaysArray() {
return [
_t('Sun'),
_t('Mon'),
_t('Tue'),
_t('Wed'),
_t('Thu'),
_t('Fri'),
_t('Sat'),
];
}
function getMonthsArray() {
return [
_t('Jan'),
_t('Feb'),
_t('Mar'),
_t('Apr'),
_t('M... |
<<<<<<<
can: {
...defaultPerms.can,
...await this._calculateCanPermissions(me, them, powerLevels.getContent()),
},
=======
can: await this._calculateCanPermissions(
me, them, powerLevels.getContent(),
),
>>>>>>>
... |
<<<<<<<
const {request} = this.props;
if (request.ready || request.started || request.done || request.cancelled || request.observeOnly) {
this.props.dismiss();
=======
if (!this.props.requestObserver.pending) {
ToastStore.sharedInstance().dismissToast(this.props.toastKe... |
<<<<<<<
import {RoomListStoreTempProxy} from "../../../stores/room-list/RoomListStoreTempProxy";
import {DefaultTagID} from "../../../stores/room-list/models";
=======
import {Action} from "../../../dispatcher/actions";
>>>>>>>
import {Action} from "../../../dispatcher/actions";
import {RoomListStoreTempProxy} from ... |
<<<<<<<
}, [urlsIndex]);
useEventEmitter(cli, "sync", onClientSync);
const imageUrl = imageUrls[urlsIndex];
return [imageUrl, imageUrl === defaultImageUrl, onError];
};
const BaseAvatar = (props) => {
const {
name,
idName,
title,
url,
urls,
width=40,... |
<<<<<<<
isAlone: false,
=======
isPeeking: false,
>>>>>>>
isAlone: false,
isPeeking: false, |
<<<<<<<
uploadNewState: function(new_name, new_topic, new_join_rule, new_history_visibility, new_power_levels, new_color_scheme) {
=======
uploadNewState: function(newVals) {
>>>>>>>
uploadNewState: function(newVals) {
<<<<<<<
if (old_name != new_name && new_name != undefined) {
=======
... |
<<<<<<<
summary: this._groupStore.getSummary(),
isGroupPublicised: this._groupStore.getGroupPublicity(),
isUserPrivileged: this._groupStore.isUserPrivileged(),
=======
summary,
>>>>>>>
summary,
isGroupPublicised: this._gr... |
<<<<<<<
const store = SetupEncryptionStore.sharedInstance();
let recoveryKeyPrompt;
if (store.keyInfo && keyHasPassphrase(store.keyInfo)) {
recoveryKeyPrompt = _t("Use Recovery Key or Passphrase");
} else if (store.keyInfo) {
recoveryKeyPro... |
<<<<<<<
"feature_custom_tags": {
isFeature: true,
displayName: _td("Group & filter rooms by custom tags (refresh to apply changes)"),
supportedLevels: LEVELS_FEATURE,
default: false,
},
"feature_lazyloading": {
isFeature: true,
displayName: _td("Increase perfo... |
<<<<<<<
import PlatformPeg from "../../../../../PlatformPeg";
import MatrixClientPeg from "../../../../../MatrixClientPeg";
import sdk from "../../../../..";
import Modal from "../../../../../Modal";
import dis from "../../../../../dispatcher";
=======
import {THEMES} from "../../../../../themes";
const PlatformPeg =... |
<<<<<<<
room: React.PropTypes.object.isRequired,
userId: React.PropTypes.string.isRequired,
showApps: React.PropTypes.bool, // Render apps
hideAppsDrawer: React.PropTypes.bool, // Do not display apps drawer and content (may still be rendered)
=======
room: PropTypes.object.isRe... |
<<<<<<<
if (firstScreen === 'login' ||
firstScreen === 'register' ||
firstScreen === 'forgot_password') {
this.props.onLoadCompleted();
this._showScreenAfterLogin();
return;
}
=======
// if the user has followed a login or... |
<<<<<<<
case 'view_user':
// FIXME: ugly hack to expand the RightPanel and then re-dispatch.
if (this.state.collapsedRhs) {
setTimeout(()=>{
dis.dispatch({
action: 'show_right_panel',
... |
<<<<<<<
showTopUnreadMessagesBar: false,
=======
auxPanelMaxHeight: undefined,
>>>>>>>
showTopUnreadMessagesBar: false,
auxPanelMaxHeight: undefined,
<<<<<<<
<div className="mx_RoomView_auxPanel" ref="auxPanel">
{ fileDropTarget... |
<<<<<<<
const Tweet = () => <SimpleIcon name="twitter" size={20} />
=======
const Gist = () => <B>GIST</B>
>>>>>>>
const Tweet = () => <SimpleIcon name="twitter" size={20} />
const Gist = () => <B>GIST</B>
<<<<<<<
},
{
title: 'Insert Tweet',
Icon: Tweet,
command: 'insertTweet',
nodeType: 'tweet'... |
<<<<<<<
import Tweet from './Tweet'
=======
import Gist from './Gist'
>>>>>>>
import Tweet from './Tweet'
import Gist from './Gist'
<<<<<<<
const insertTweet = editor => {
editor.insertJSXBlock('tweet', {
tweetId: ''
})
}
=======
const insertGist = editor => {
editor.insertJSXBlock('Gist', {
id: ''... |
<<<<<<<
onChange={e => onPropChange(key, e)}
id={title}
=======
onChange={e => onPropChange(key, e, ControlType.Number)}
>>>>>>>
onChange={e => onPropChange(key, e, ControlType.Number)}
id={title} |
<<<<<<<
wymeditor.rawHtml(getSelectedListItemsHtml);
$body = jQuery(wymeditor._doc).find('body.wym_iframe');
=======
wymeditor._html(getSelectedListItemsHtml);
$body = wymeditor.$body();
>>>>>>>
wymeditor.rawHtml(getSelectedListItemsHtml);
$body = wymeditor.$body();
<<<<<<<
wymeditor.... |
<<<<<<<
wym._exec(WYMeditor.EXEC_COMMANDS.BOLD);
e.preventDefault();
=======
wym._exec(WYMeditor.BOLD);
evt.preventDefault();
>>>>>>>
wym._exec(WYMeditor.EXEC_COMMANDS.BOLD);
evt.preventDefault();
<<<<<<<
wym._exec(WYMeditor.EXEC_CO... |
<<<<<<<
if (a.testUndoRedo === true) {
wymeditor.undoRedo.reset();
}
if (typeof a.manipulationFunc === 'function') {
a.manipulationFunc(wymeditor);
}
if (typeof a.expectedResultHtml === 'string') {
expect(expect() + 1);
wymEqual(
... |
<<<<<<<
/*
* Extend the Chart object with interaction
*/
=======
// Extend the Chart object with interaction.
>>>>>>>
/*
* Extend the Chart object with interaction
*/
<<<<<<<
=======
/*= } =*/
>>>>>>> |
<<<<<<<
=======
* Update the point with new options (typically x/y data) and optionally redraw the series.
*
* @param {Object} options Point options as defined in the series.data array
* @param {Boolean} redraw Whether to redraw the chart or wait for an explicit call
* @param {Boolean|Object} animation Whet... |
<<<<<<<
H.hasTouch = document.documentElement.ontouchstart !== undefined;
=======
hasTouch = doc && doc.documentElement.ontouchstart !== UNDEFINED;
>>>>>>>
H.hasTouch = doc && doc.documentElement.ontouchstart !== undefined;
<<<<<<<
// common IE normalizing
e = e || window.event;
// Framework specific normali... |
<<<<<<<
* @constructor Series
* @param {Object} chart - The chart instance.
* @param {Object} options - The series options.
* @optionparent plotOptions.line
=======
* Configuration options for the series are given in three levels. Options for
* all series in a chart are given in the {@link https://api.highchart... |
<<<<<<<
return format;
=======
>>>>>>> |
<<<<<<<
Math.round(pos.x),
Math.round(pos.y),
=======
mathRound(pos.x),
mathRound(pos.y || 0), // can be undefined (#3977)
>>>>>>>
Math.round(pos.x),
Math.round(pos.y || 0), // can be undefined (#3977)
<<<<<<<
timeUnits = H.timeUnits,
lastN;
=======
lastN = 'millisecond'; // for s... |
<<<<<<<
defaultDataGroupingUnits = H.defaultDataGroupingUnits = [[
=======
defaultDataGroupingUnits = [
[
>>>>>>>
defaultDataGroupingUnits = H.defaultDataGroupingUnits = [
[ |
<<<<<<<
size * { left: 0, center: 0.5, right: 1 }[axis.labelAlign] - labelOptions.x :
=======
labelOptions.x - size * { left: 0, center: 0.5, right: 1 }[axis.labelAlign] :
0,
rightSide = horiz ?
size + leftSide :
>>>>>>>
labelOptions.x - size * { left: 0, center: 0.5, right: 1 }[axis.labelAli... |
<<<<<<<
* @license Highstock JS v3.0-dev (2015-10-07)
=======
* @license Highstock JS v2.1.9-modified ()
>>>>>>>
* @license Highstock JS v3.0-dev (2015-10-07)
<<<<<<<
var SVG_NS = 'http://www.w3.org/2000/svg',
svg = !!document.createElementNS && !!document.createElementNS(SVG_NS, 'svg').createSVGRect,
isIE ... |
<<<<<<<
var seriesType = H.seriesType,
=======
var defined = H.defined,
isObject = H.isObject,
merge = H.merge,
seriesType = H.seriesType,
pick = H.pick,
>>>>>>>
var defined = H.defined,
isObject = H.isObject,
merge = H.merge,
seriesType = H.seriesType,
pick = H.pick,
<<<<<<<
*... |
<<<<<<<
H.isNumber = function (n) {
return typeof n === 'number';
};
H.log2lin = function (num) {
return Math.log(num) / Math.LN10;
};
H.lin2log = function (num) {
return Math.pow(10, num);
};
=======
var isNumber = Highcharts.isNumber = function isNumber(n) {
return typeof n === 'number' && !isNaN(n);
};
>>>>>... |
<<<<<<<
* @sample {highstock} stock/tooltip/split-positioner/
* Split tooltip with fixed positions
* @since 2.2.4
* @apioption tooltip.positioner
=======
*
* @type {Function}
* @since 2.2.4
* @apioption tooltip.positioner
>>>... |
<<<<<<<
if (this.hasZoom || this.followTouchMove) {
H.css(chart.container, {
'-ms-touch-action': 'none',
'touch-action': 'none'
=======
if (this.hasZoom) { // #4014
css(chart.container, {
'-ms-touch-action': NONE,
'touch-action': NONE
>>>>>>>
if (this.hasZoom) { // #4014
H.css(chart.co... |
<<<<<<<
import '../Series/Waterfall/WaterfallSeries.js';
import '../Series/PolygonSeries.js';
=======
import '../Series/WaterfallSeries.js';
import '../Series/Polygon/PolygonSeries.js';
>>>>>>>
import '../Series/Waterfall/WaterfallSeries.js';
import '../Series/Polygon/PolygonSeries.js'; |
<<<<<<<
innerCorrection = (innerRadius && 0.25 / innerRadius) || 0;
=======
innerCorrection = (innerRadius && 0.1 / innerRadius) || 0,
ret;
>>>>>>>
innerCorrection = (innerRadius && 0.1 / innerRadius) || 0,
ret;
<<<<<<<
// Set the new position, and show or hide
if (show) {
label[tick.i... |
<<<<<<<
import AST from './Renderer/HTML/AST.js';
var addEvent = U.addEvent, animate = U.animate, createElement = U.createElement, css = U.css, defined = U.defined, erase = U.erase, error = U.error, extend = U.extend, fireEvent = U.fireEvent, isArray = U.isArray, isNumber = U.isNumber, isObject = U.isObject, isString =... |
<<<<<<<
$('#width').bind('input', function () {
chart.setSize(this.value, 400, false);
=======
$('#width').on('input', function () {
$('#container').highcharts().setSize(this.value, 400, false);
>>>>>>>
$('#width').on('input', function () {
chart.setSize(this.value, 400, false); |
<<<<<<<
chart.mouseIsDown = hasDragged = false;
=======
chart.cancelClick = hasDragged; // #370
chart.mouseIsDown = mouseIsDown = hasDragged = false;
>>>>>>>
chart.cancelClick = hasDragged; // #370
chart.mouseIsDown = hasDragged = false;
<<<<<<<
// issue #295, dragging not always working in Firefo... |
<<<<<<<
gulp.task('tsc', () => require('./tools/gulptasks/tsc')());
gulp.task('tslint', gulp.series('tsc', () => require('./tools/gulptasks/tslint')()));
/* *
*
* Core Functionality
*
* */
=======
>>>>>>>
gulp.task('tsc', () => require('./tools/gulptasks/tsc')());
gulp.task('tslint', gulp.series('tsc', () => ... |
<<<<<<<
if ((e.pointerType === 'touch' || e.pointerType === e.MSPOINTER_TYPE_TOUCH) && charts[H.hoverChartIndex]) {
callback(e);
p = charts[H.hoverChartIndex].pointer;
=======
if ((e.pointerType === 'touch' || e.pointerType === e.MSPOINTER_TYPE_TOUCH) && charts[hoverChartIndex]) {
func(e);
p = c... |
<<<<<<<
=======
// Preliminary code in prepraration for HC5 that uses pointAttribs for all series
pointAttribs = series.pointAttribs(point);
point.pointAttr = {
'': pointAttribs,
'hover': series.pointAttribs(point, 'hover'),
'select': {}
};
// Crisp correction
if (point.sh... |
<<<<<<<
if (xhr.status != 200) {
cb({status: xhr.status, response: xhr.response}, null);
=======
// .status will be 0 when requests are filled via app cache on at least iOS 4.x
if (xhr.status != 200 && xhr.status != 0) {
cb(xhr.response, null);
>>>>>>>
// .status will be 0 when requests are filled via app ca... |
<<<<<<<
drawTracker: PointTrackerMixin.drawTracker, // was columnSeries.prototype.drawTracker before
=======
takeOrdinalPosition: false, // #2342
drawTracker: ColumnSeries.prototype.drawTracker,
>>>>>>>
takeOrdinalPosition: false, // #2342
drawTracker: PointTrackerMixin.drawTracker, |
<<<<<<<
this.renderer.addTree(this.getTableTree(), this.dataTableDiv);
=======
this.isDataTableVisible = true;
>>>>>>>
this.isDataTableVisible = true;
this.renderer.addTree(this.getTableTree(), this.dataTableDiv); |
<<<<<<<
=======
correctFloat = H.correctFloat,
each = H.each,
>>>>>>>
correctFloat = H.correctFloat, |
<<<<<<<
createSettings = require('./features/create-settings');
enableImagePreview = require('./features/image-preview').enablePreview;
=======
createSettings = require('./features/create-settings'),
enableTheatreMode = require('./features/auto-theatre-mode');
>>>>>>>
createSettings = require('./... |
<<<<<<<
var SVG_NS = 'http://www.w3.org/2000/svg',
svg = !!document.createElementNS && !!document.createElementNS(SVG_NS, 'svg').createSVGRect,
isIE = /(msie|trident)/i.test(userAgent) && !window.opera,
useCanVG = !svg && !isIE && !!document.createElement('canvas').getContext,
userAgent = navigator.userAgent,
... |
<<<<<<<
);
QUnit.test('The lastPrice color, #15074.', function (assert) {
const chart = Highcharts.stockChart('container', {
stockTools: {
gui: {
enabled: true,
buttons: ['currentPriceIndicator']
}
},
series... |
<<<<<<<
=======
/*= if (build.classic) { =*/
>>>>>>>
<<<<<<<
=======
/*= } =*/
>>>>>>>
<<<<<<<
=======
/*= if (build.classic) { =*/
>>>>>>>
<<<<<<<
if (!chart.styledMode) {
css(innerMenu, extend({
MozBoxShadow: '3px 3px 10px #888',
... |
<<<<<<<
htmlGroup = parentGroup.div = parentGroup.div || createElement('div', cls, {
position: 'absolute',
left: (parentGroup.translateX || 0) + 'px',
top: (parentGroup.translateY || 0) + 'px',
=======
htmlGroup = parentGroup.div = parentGroup.div || createElement(DIV, cls, {
... |
<<<<<<<
// Note: in spite of JSLint's complaints, window == window.top is required
/*jslint eqeq: true*/
if ((!svg && (window == window.top && document.readyState !== 'complete')) || (useCanVG && !window.canvg)) {
/*jslint eqeq: false*/
=======
// Note: win == win.top is required
if ((!hasSVG && (win == w... |
<<<<<<<
SVG_NS: SVG_NS,
urlSymbolRX: /^url\((.*?)\)$/,
=======
>>>>>>>
SVG_NS: SVG_NS,
<<<<<<<
if (words.length) {
tspan = doc.createElementNS(renderer.SVG_NS, 'tspan');
=======
if (words.length && !noWrap) {
softLineNo++;
tspan = doc.createElem... |
<<<<<<<
H.isArray = function (obj) {
return Object.prototype.toString.call(obj) === '[object Array]';
};
=======
function isArray(obj) {
var str = Object.prototype.toString.call(obj);
return str === '[object Array]' || str === '[object Array Iterator]';
}
>>>>>>>
H.isArray = function (obj) {
var str = Object.pro... |
<<<<<<<
// emulate VML's dashstyle implementation
} else if (key === 'dashstyle') {
key = 'stroke-dasharray';
value = value && value.toLowerCase();
if (value === 'solid') {
value = NONE;
} else if (value) {
value = value
.replace('shortdashdotdot', '3,1,1,1,1,1,')... |
<<<<<<<
/**
* With line type charts with a single tracker, get the point closest to the mouse
*/
onmousemove: function (e) {
var mouseTracker = this,
chart = mouseTracker.chart,
series = chart.series,
point,
points,
hoverPoint = chart.hoverPoint,
hoverSeries = chart.hoverSeries,
i,
j,
... |
<<<<<<<
},
scrollbar: {
//enabled: true
height: isTouchDevice ? 20 : 14,
// trackBorderRadius: 0,
barBorderRadius: 0,
buttonBorderRadius: 0,
liveRedraw: svg && !isTouchDevice,
minWidth: 6,
/*= if (build.classic) { =*/
barBackgroundColor: '#bfc8d1',
barBorderColor: '#bfc8d1',
barBorderWidth: 1,
... |
<<<<<<<
type: 'arearange'
=======
renderTo: 'container',
type: 'arearange',
zoomType: 'x'
>>>>>>>
type: 'arearange',
zoomType: 'x' |
<<<<<<<
shader.setUniform('xAxisIsLog', axis.isLog);
=======
shader.setUniform('xAxisReversed', !!axis.reversed);
>>>>>>>
shader.setUniform('xAxisIsLog', axis.isLog);
shader.setUniform('xAxisReversed', !!axis.reversed);
<<<<<<<
shader.setUniform('yAxisIsLog', axis.isLog);
==... |
<<<<<<<
series.createGroup(doClip);
=======
if (!series.group) {
group = series.group = renderer.g('series');
group.attr({
visibility: series.visible ? VISIBLE : HIDDEN,
zIndex: options.zIndex
})
.translate(series.xAxis.left, series.yAxis.top)
.add(chart.seriesGroup);
}
>>>>>>>
s... |
<<<<<<<
htmlGroup = parentGroup.div = parentGroup.div || createElement('div', cls, {
position: 'absolute',
left: (parentGroup.translateX || 0) + 'px',
top: (parentGroup.translateY || 0) + 'px'
=======
htmlGroup = parentGroup.div = parentGroup.div || createElement(DIV, cls, {
... |
<<<<<<<
import { LIBRARY_MIN_WIDTH, LIBRARY_MAX_WIDTH, INSPECTOR_MIN_WIDTH, INSPECTOR_MAX_WIDTH, HEADER_HEIGHT } from '../../constants';
import DropZoneProvider from '../../components/dropzone/dropZoneProvider';
=======
import { ADMIN_TOOLBAR_HEIGHT, LIBRARY_MIN_WIDTH, LIBRARY_MAX_WIDTH, INSPECTOR_MIN_WIDTH, INSPECTO... |
<<<<<<<
/*global HighchartsAdapter*/
=======
/*global clearTimeout, document, Highcharts, HighchartsAdapter, setInterval, setTimeout, window */
(function (Highcharts) {
>>>>>>>
/*global clearTimeout, document, Highcharts, HighchartsAdapter, setInterval, setTimeout, window */ |
<<<<<<<
=======
// If the parameter 'old' is set, the current call will be followed
// by another call, therefore do not do any animations this time
if (!old && gridLine && gridLinePath) {
gridLine[tick.isNew ? 'attr' : 'animate']({
d: gridLinePath
});
}
>>>>>>> |
<<<<<<<
if (yBottom === 0) {
yBottom = Highcharts.pick(threshold, yAxis.min);
=======
if (yBottom === stackThreshold) {
yBottom = pick(threshold, yAxis.min);
>>>>>>>
if (yBottom === stackThreshold) {
yBottom = Highcharts.pick(threshold, yAxis.min);
<<<<<<<
pointAttr[''] = series.conv... |
<<<<<<<
import { useMedia3pApi } from '../../../../../app/media/media3p/api';
import { getSmallestUrlForWidth } from '../../../../../elements/media/util';
=======
import getThumbnailUrl from '../../../../../elements/media/util';
>>>>>>>
import { getSmallestUrlForWidth } from '../../../../../elements/media/util'; |
<<<<<<<
H.defaultOptions = {
/*= if (build.classic) { =*/
colors: ['#7cb5ec', '#434348', '#90ed7d', '#f7a35c',
=======
defaultOptions = {
colors: ['#7cb5ec', '#434348', '#90ed7d', '#f7a35c',
>>>>>>>
H.defaultOptions = {
/*= if (build.classic) { =*/
colors: ['#7cb5ec', '#434348', '#90ed7d', '#f7a35c',
<<<<<<<... |
<<<<<<<
retVal = '<b>' + (point.name || point.category) + '</b>';
=======
dateRowStart = '<span style="font-size: 0.8em">',
dateRowEnd = '</span><br/>',
retVal = '<b>' + (point.name || point.yCategory) + '</b>';
>>>>>>>
retVal = '<b>' + ... |
<<<<<<<
QUnit.test('Ticks were drawn in break(#4485)', function (assert) {
$('#container').highcharts({
title: {
text: 'Sample of a simple break'
},
subtitle: {
text: 'Line should be interrupted between 5 and 10'
},
xAxis: {
type: 'datetim... |
<<<<<<<
QUnit.test('Show last label hiding interrupted by animation (#5332)', function (assert) {
var done = assert.async();
var chart = Highcharts.chart('container', {
chart: {
animation: {
duration: 1
},
width: 300,
height: 300
... |
<<<<<<<
var ALIGN_FACTOR,
ALLOWED_SHAPES,
Chart = Highcharts.Chart,
defined = Highcharts.defined,
extend = Highcharts.extend,
isArray = Highcharts.isArray,
isNumber = Highcharts.isNumber,
each = Highcharts.each;
ALLOWED_SHAPES = ["path", "rect", "circle"];
ALIGN_FACTOR = {
top: 0,
left: 0,
center: 0.5,
mid... |
<<<<<<<
QUnit.test('Gantt using the keys feature #13768', function (assert) {
var chart = Highcharts.ganttChart('container', {
series: [{
keys: ['start', 'end'],
data: [
[Date.UTC(2014, 10, 20), Date.UTC(2014, 10, 25)]
]
... |
<<<<<<<
createElement(nodeName) :
document.createElementNS(wrapper.SVG_NS, nodeName);
=======
createElement(nodeName) :
doc.createElementNS(SVG_NS, nodeName);
>>>>>>>
createElement(nodeName) :
document.createElementNS(wrapper.SVG_NS, nodeName);
<<<<<<<
// this again with new IE release. In ... |
<<<<<<<
=======
//showFull: true,
margin: 10,
minWidth: 6,
>>>>>>>
<<<<<<<
=======
zIndex: 3,
step: 0.2,
//size: null,
>>>>>>>
<<<<<<<
function Scrollbar(renderer, options, chart) { // docs
this.init(renderer, options, chart);
}
=======
function Scrollbar(renderer, options, chart) {
this.scrollbarButt... |
<<<<<<<
=======
globalAnimation = renderer.globalAnimation;
>>>>>>>
/*= if (build.classic) { =*/
globalAnimation = renderer.globalAnimation;
<<<<<<<
HighchartsAdapter.fireEvent(this, eventType, eventArgs, defaultFunction);
}
};
return H;
}(Highcharts));
(function (H) {
var addEvent = H.addEvent,
ar... |
<<<<<<<
handles[index][scroller.rendered ? 'animate' : 'attr']({
translateX: scroller.scrollerLeft + scroller.scrollbar.size + parseInt(x, 10),
=======
handles[index][scroller.rendered && !scroller.hasDragged ? 'animate' : 'attr']({
translateX: scroller.scrollerLeft + scroller.scrollbarHeight + parseInt(x, ... |
<<<<<<<
PanelTypes.MEDIA_STYLE,
=======
PanelTypes.BACKGROUND_DISPLAY,
>>>>>>>
PanelTypes.BACKGROUND_DISPLAY,
PanelTypes.MEDIA_STYLE, |
<<<<<<<
=======
/*= if (build.classic) { =*/
>>>>>>>
<<<<<<<
=======
/*= } =*/
>>>>>>>
<<<<<<<
/**
* Postprocess mapping between options and SVG attributes
*/
=======
/*= if (build.classic) { =*/
// Postprocess mapping between options and SVG attributes
>>>>>>>
// Postpro... |
<<<<<<<
setState: function (state, move) {
H.Point.prototype.setState.call(this, state, move);
if (state === 'hover') {
if (this.dataLabel) {
this.dataLabel.attr({ zIndex: 1002 });
}
} else {
if (this.dataLabel) {
this.dataLabel.attr({ zIndex: this.node.zIndex + 1 });
}
... |
<<<<<<<
=======
>>>>>>>
<<<<<<<
=======
tpl = tpl.replace(/___doublequote___/g, '"');
tpl = tpl.replace(/___rep3___/g, '/[ ,]/');
tpl = tpl.replace(/___rep4___/g, '/[ ,]+/');
>>>>>>>
tpl = tpl.replace(/___doublequote___/g, '"');
tpl = tpl.replace(/___rep3___/g, '/[ ,]/... |
<<<<<<<
var nodeLookup = {},
chart = this.chart;
H.Series.prototype.generatePoints.call(this);
if (!this.nodes) {
this.nodes = []; // List of Point-like node items
}
this.colorCounter = 0;
// Reset links from previous run
this.nodes.forE... |
<<<<<<<
export const panels = [
PanelTypes.ELEMENT_ALIGNMENT,
...MEDIA_PANELS,
PanelTypes.LINK,
];
=======
export const panels = [
...MEDIA_PANELS,
PanelTypes.LINK,
PanelTypes.IMAGE_ACCESSIBILITY,
];
>>>>>>>
export const panels = [
PanelTypes.ELEMENT_ALIGNMENT,
...MEDIA_PANELS,
PanelTypes.LINK,
P... |
<<<<<<<
styleRegex,
hrefRegex,
=======
styleRegex = /<.*style="([^"]+)".*>/,
hrefRegex = /<.*href="(http[^"]+)".*>/,
>>>>>>>
styleRegex,
hrefRegex,
<<<<<<<
attribs = isObject(x) ? x : {
=======
attr = isObject(x) ? x : x === UNDEFINED ? {} : {
>>>>>>>
attribs = isObject(x) ? x : x === ... |
<<<<<<<
// Always Remove group if exists
removeElement(this.legendProxyGroup);
=======
this.updateProxies();
},
/**
* @private
*/
updateProxies: function () {
this.removeElement(this.legendProxyGroup);
>>>>>>>
this.updateProxies();
},
/**
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.