conflict_resolution stringlengths 27 16k |
|---|
<<<<<<<
duck.Bill = (function() {
function Bill(duck) {
this.duck = duck;
this.navigation = new duck.Navigation(this.duck);
this.success = new duck.Success(this.duck);
}
return Bill;
})();
duck.Brain = (function() {
function Brain(duck) {
this.duck = duck;
$(this... |
<<<<<<<
sdk.loadSkin(require('../component-index'));
sdk.loadModule(require('../modules/VectorConferenceHandler'));
=======
sdk.loadSkin(require('../skins/vector/skindex'));
var VectorConferenceHandler = require('../VectorConferenceHandler');
var configJson = require("../../config.json");
>>>>>>>
sdk.loadSkin(requir... |
<<<<<<<
skin['rooms.MemberList'] = require('matrix-react-sdk/lib/components/views/rooms/MemberList');
=======
skin['rooms.MessageComposer'] = require('matrix-react-sdk/lib/components/views/rooms/MessageComposer');
skin['rooms.EventTile'] = require('matrix-react-sdk/lib/components/views/rooms/EventTile');
>>>>>>>
ski... |
<<<<<<<
// new for vector
require('../skins/base/views/organisms/LeftPanel');
require('../skins/base/views/organisms/RightPanel');
require('../skins/base/views/molecules/RoomCreate');
require('../skins/base/views/molecules/RoomDropTarget');
require('../skins/base/views/molecules/DirectoryMenu');
=======
require('../... |
<<<<<<<
{ homeButton }
<div className="mx_BottomLeftMenu_people" onClick={ this.onPeopleClick } onMouseEnter={ this.onPeopleMouseEnter } onMouseLeave={ this.onPeopleMouseLeave } >
=======
<AccessibleButton className="mx_BottomLeftMenu_people" onClick={ this.... |
<<<<<<<
case 'startSSOFlow':
recordSSOSession(args[0]);
break;
=======
case 'navigateBack':
if (mainWindow.webContents.canGoBack()) {
mainWindow.webContents.goBack();
}
break;
case 'navigateForward':
if (ma... |
<<<<<<<
var topic = this.props.room.currentState.getStateEvents('m.room.topic', '');
=======
var header;
if (this.props.simpleHeader) {
header =
<div className="mx_RoomHeader_wrapper">
<div className="mx_RoomHeader_simpleHeader">
... |
<<<<<<<
import Modal from 'matrix-react-sdk/lib/Modal';
import Resend from "matrix-react-sdk/lib/Resend";
import SettingsStore from "matrix-react-sdk/lib/settings/SettingsStore";
import {makeEventPermalink} from 'matrix-react-sdk/lib/matrix-to';
=======
const Modal = require('matrix-react-sdk/lib/Modal');
const Resen... |
<<<<<<<
const vectorMenu = require('./vectormenu');
=======
const VectorMenu = require('./vectormenu');
const webContentsHandler = require('./webcontents-handler');
>>>>>>>
const vectorMenu = require('./vectormenu');
const webContentsHandler = require('./webcontents-handler');
<<<<<<<
function safeOpenURL(target) ... |
<<<<<<<
};
/**
* Allow dynamic config values through
* the native ES6 template string function.
*/
const regex = /\$\{[^()]*\}/g;
const templateConfigurations = function (obj) {
// Allow values which looks like such as
// an ES6 literal string without parenthesis inside (aka function call).
return Object.keys... |
<<<<<<<
React.PropTypes.func.isRequired,
React.PropTypes.bool.isRequired,
]).isRequired,
sections: React.PropTypes.array.isRequired,
=======
React.PropTypes.func,
React.PropTypes.bool,
]),
resetToggleDefaultConnection: React.PropTypes.func,
sections: React.PropTypes.array,
>>>>>>>
React... |
<<<<<<<
precision: 10,
=======
>>>>>>>
precision: 10,
<<<<<<<
},
=======
},<% if (ieSupport) { %>
serverPrint: {
options: {
outputStyle: 'compressed',
sourceMap: 'true',
includePaths: [
... |
<<<<<<<
import FiltersPicker from '../../components/FiltersPicker';
import FiltersList from '../../components/FiltersList';
import List from '../../components/List';
=======
import Filters from '../../components/Filters';
// import List from '../../components/List';
>>>>>>>
import Filters from '../../components/Filt... |
<<<<<<<
if (association.dominant) {
const arrayOfIds = obj[association.alias].map(related => {
return related[ref.primaryKey] || related;
});
// Where.
queryOpts.query = strapi.utils.models.convertPa... |
<<<<<<<
targetUid,
mainTypeName,
editTarget,
firstLoopComponentName,
firstLoopComponentUid,
secondLoopComponentName,
secondLoopComponentUid,
=======
isSub,
>>>>>>>
targetUid,
mainTypeName,
editTarget,
firstLoopComponentName,
firstLoopComponentUid,
secondLoopComponentName,
secondLoopComp... |
<<<<<<<
const input = placeholder
? this.renderFormattedInput(handleBlur, inputValue, placeholder)
: (
<input
name={this.props.target}
id={this.props.name}
onBlur={handleBlur}
onFocus={this.props.handleFocus}
onChange={this.props.handleChange}
... |
<<<<<<<
import { HeaderModalTitle, InputsIndex as Input } from 'strapi-helper-plugin';
=======
import {
GlobalContextProvider,
InputsIndex as Input,
} from 'strapi-helper-plugin';
>>>>>>>
import {
GlobalContextProvider,
HeaderModalTitle,
InputsIndex as Input,
} from 'strapi-helper-plugin'; |
<<<<<<<
import { isEmpty, merge } from 'lodash';
=======
import { isEmpty, isObject, merge } from 'lodash';
import Loadable from 'react-loadable';
>>>>>>>
import { isEmpty, isObject, merge } from 'lodash';
<<<<<<<
import WysiwygWithErrors from 'components/WysiwygWithErrors';
=======
import InputJSONWithErrors f... |
<<<<<<<
`${originInfo.model.databaseName}.${assoc.tableCollectionName} AS ${joinTableAlias}`,
`${joinTableAlias}.${singular(originInfo.model.collectionName)}_${
=======
`${assoc.tableCollectionName} AS ${joinTableAlias}`,
`${joinTableAlias}.${singular(originInfo.model.globalId.toLowerC... |
<<<<<<<
<div className="col-xs-12 col-md-6 col-xl-3" key={id}>
<Card checked={checked} {...item} url={`${strapi.backendURL}${url}`}>
<CardControlsWrapper leftAlign className="card-control-wrapper">
<Checkbox name={`${id}`} onChange={onChange} v... |
<<<<<<<
case 'manyMorphToOne': {
returned[association.alias] = returned[association.alias].map(obj =>
refToStrapiRef(obj)
);
=======
case 'manyMorphToOne':
returned[association.alias] = returned[association.alias].map(obj =... |
<<<<<<<
=======
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {
if (process.env.NODE_ENV === 'production') {
module.exports = __webpack_require__(8);
} else {
module.exports = __webpack_require__(9);
}
/* WEBPACK VAR INJECTION */}.call(expor... |
<<<<<<<
import { cloneDeep, get, isEmpty, size } from 'lodash';
=======
import { FormattedMessage } from 'react-intl';
import { cloneDeep, get, has, isArray, isEmpty, isObject, size } from 'lodash';
>>>>>>>
import { get, has, isArray, isEmpty, size } from 'lodash';
<<<<<<<
imgURL: get(this.props.files, ['0', ... |
<<<<<<<
},
addRelation: async function (params) {
const association = this.associations.filter(x => x.via === params.foreignKey)[0];
if (!association) {
// Resolve silently.
return Promise.resolve();
}
switch (association.nature) {
case 'oneToOne':
case 'oneToMany':
... |
<<<<<<<
height: calc(100vh - (6rem + 3rem));
=======
height: calc(100vh - (${props => props.theme.main.sizes.leftMenu.height} + 10.2rem));
>>>>>>>
height: calc(100vh - (${props => props.theme.main.sizes.leftMenu.height} + 3rem)); |
<<<<<<<
const grant = new Grant(grantConfig);
=======
const Grant = require('grant-koa');
const grant = new Grant(strapi.plugins['users-permissions'].config.grant);
>>>>>>>
const Grant = require('grant-koa');
const grant = new Grant(grantConfig); |
<<<<<<<
const formattedError = _.get(ctx.body, 'isBoom') ? ctx.body || error.message : Boom.wrap(error, error.status, ctx.body || error.message);
=======
strapi.log.error(error);
const formattedError = _.get(ctx.body, 'isBoom') ? ctx.body : Boom.wrap(error, error.status, ctx.body);
>>>>>>>
strapi.log... |
<<<<<<<
'/3.0.0-beta.x/guides/custom-data-response',
=======
'/3.0.0-beta.x/guides/custom-admin',
>>>>>>>
'/3.0.0-beta.x/guides/custom-data-response',
'/3.0.0-beta.x/guides/custom-admin', |
<<<<<<<
width: 100%;
height: 0;
padding-top: ${({ isSmall }) =>
isSmall ? 'calc(156 / 245 * 100%)' : 'calc(397 / 431 * 100%)'};
=======
position: relative;
height: ${({ isSmall }) => (isSmall ? '127px' : '156px')};
min-width: ${({ isSmall }) => (isSmall ? '100%' : '245px')};
>>>>>>>
position: relat... |
<<<<<<<
if (process.env.NODE_ENV === 'development' && server.reload === true) {
const restart = path => {
if (strapi.reload.isWatching && cluster.isWorker && !strapi.reload.isReloading) {
strapi.reload.isReloading = true;
strapi.log.info(`File changed: ${path}`);
strapi.r... |
<<<<<<<
// Exports must appear outside a function, but will only be defined in main thread (below)
export var LeafletLayer;
export function leafletLayer(options) {
return new LeafletLayer(options);
}
// Leaflet layer functionality is only defined in main thread
Utils.inMainThread(() => {
=======
import log from ... |
<<<<<<<
<Carret isUp={!isOpen} />
</DropdownButton>
<DropdownSection isOpen={isOpen}>
<SortList list={orders} selected={value} onClick={handleChange} />
</DropdownSection>
=======
</SortButton>
<SortList
isShown={isOpen}
list={orders}
selectedItem=... |
<<<<<<<
import InputDateWithErrors from 'components/InputDateWithErrors';
=======
import InputCheckboxWithErrors from 'components/InputCheckboxWithErrors';
>>>>>>>
import InputCheckboxWithErrors from 'components/InputCheckboxWithErrors';
import InputDateWithErrors from 'components/InputDateWithErrors';
<<<<<<<
da... |
<<<<<<<
function Row({ canDelete, canUpdate, isBulkable, row, headers }) {
const { entriesToDelete, onChangeBulk, onClickDelete } = useListView();
const { emitEvent } = useGlobalContext();
const emitEventRef = useRef(emitEvent);
=======
function Row({ canCreate, canDelete, canUpdate, isBulkable, row, headers, g... |
<<<<<<<
const [user, error] = await strapi.plugins['users-permissions'].services.providers.connect(provider, access_token);
if (error) {
return ctx.badRequest(null, (error === 'array') ? (ctx.request.admin ? error[0] : error[1]) : error);
}
=======
const user = await strapi.plugins['u... |
<<<<<<<
if (!_.get(strapi.plugins['users-permissions'].config.grant['email'], 'enabled') && !ctx.request.admin) {
return ctx.badRequest(null, 'This provider is disabled.');
}
=======
if (!_.get(strapi.plugins['users-permissions'].config.grant[provider], 'enabled') && !ctx.request.admin) {
... |
<<<<<<<
const { id, model } = ctx.params;
=======
const contentManagerService =
strapi.plugins['content-manager'].services.contentmanager;
const { model } = ctx.params;
>>>>>>>
const { id, model } = ctx.params;
const contentManagerService =
strapi.plugins['content-manager'].services... |
<<<<<<<
// Update config (in case JS objects were manipulated directly)
this.config_serialized = Utils.serializeWithFunctions(this.config);
=======
// Profiling
if (this.profile_geometry_build) {
console.profile('main thread: rebuildGeometry');
this.workers.forE... |
<<<<<<<
await deleteComponents(entry, { transacting: trx });
await model.forge(params).destroy({ transacting: trx, require: false });
=======
await deleteGroups(entry, { transacting: trx });
await model.where(params).destroy({ transacting: trx, require: false });
>>>>>>>
await deleteCom... |
<<<<<<<
import InputSelectWithErrors from 'components/InputSelectWithErrors';
=======
import InputPasswordWithErrors from 'components/InputPasswordWithErrors';
>>>>>>>
import InputSelectWithErrors from 'components/InputSelectWithErrors';
import InputPasswordWithErrors from 'components/InputPasswordWithErrors';
<<<<... |
<<<<<<<
return (
<Wrapper className={showLoaders && 'load-container'}>
{showLoaders ? (
<LoadingIndicator />
) : (
<div>
<div className="row">
<Input
inputDescription={{
id: 'users-permissions.EditForm.inputSelect.description.role',
... |
<<<<<<<
=======
// Local helpers.
const utils = require('./utils/');
const relations = require('./relations');
>>>>>>>
<<<<<<<
},
manageRelations: async function (model, params) {
const models = _.assign(_.clone(strapi.models), Object.keys(strapi.plugins).reduce((acc, current) => {
_.assign(... |
<<<<<<<
<Touchable onPress={() => props.onPhotoPressed(props.photo)}>
=======
<TouchableNativeFeedback onPress={() => openMoreDetails(photo) }>
>>>>>>>
<Touchable onPress={() => openMoreDetails(photo) }>
<<<<<<<
</Touchable>
<SharedView... |
<<<<<<<
+ (this.props.marginTop ? ' ' + styles.marginTop : '')
=======
+ (this.props.centered ? ' ' + styles.centered : '')
>>>>>>>
+ (this.props.marginTop ? ' ' + styles.marginTop : '')
+ (this.props.centered ? ' ' + styles.centered : '') |
<<<<<<<
import { selectIndependentVariable, selectRegressionType, createInteractionTerm } from '../../../actions/RegressionActions';
=======
import { selectIndependentVariable, selectRegressionType } from '../../../actions/RegressionActions';
import { createURL } from '../../../helpers/helpers.js';
>>>>>>>
import {... |
<<<<<<<
const { specs, filters, filteredVisualizationTypes, gallerySelector, selectSortingFunction } = this.props;
=======
const { specs, filters, gallerySelector, exportedSpecs, selectSortingFunction } = this.props;
const selectedVisualizationTypes = filters.visualizationTypes
.filter((filter) => ... |
<<<<<<<
Components.utils.import("resource://scriptish/scriptdownloader.js");
=======
Components.utils.import("resource://scriptish/utils/GM_newUserScript.js");
>>>>>>>
Components.utils.import("resource://scriptish/scriptdownloader.js");
Components.utils.import("resource://scriptish/utils/GM_newUserScript.js"); |
<<<<<<<
=======
GM_BrowserUI.manageMenuItemClicked = function() {
GM_openUserScriptManager();
};
GM_BrowserUI.managePageMenuItemClicked = function() {
var attempts = 20;
BrowserOpenAddonsMgr('userscripts');
// wait a bit for the window to open
function tryToSetFilterLater() {
if (0 > attempts--) ret... |
<<<<<<<
const metaRegExp = /\/\/ (?:==\/?UserScript==|\@\S+(?:\s+(?:[^\n]+))?)/g;
const scope = (typeof AddonManager != 'undefined') ? AddonManager.SCOPE_PROFILE : null;
=======
const metaRegExp = /\/\/ (?:==\/?UserScript==|\@\S+(?:\s+(?:[^\r\f\n]+))?)/g;
>>>>>>>
const metaRegExp = /\/\/ (?:==\/?UserScript==|\@\S+(?... |
<<<<<<<
document.addEventListener("DOMContentLoaded", DOMContentLoaded, false);
function DOMContentLoaded() {
document.removeEventListener("DOMContentLoaded", DOMContentLoaded, false);
function $(aID) document.getElementById(aID);
=======
const {classes: Cc, interfaces: Ci, utils: Cu} = Components;
(function()... |
<<<<<<<
let page, xhrEvent, logEvent, framePromises, frameNavigationPromise;
=======
const { createJsDialogEventName } = require('./util');
let page, xhrEvent, logEvent, framePromises = {}, frameNavigationPromise = {};
>>>>>>>
const { createJsDialogEventName } = require('./util');
let page, xhrEvent, logEvent, frame... |
<<<<<<<
let { openBrowser,closeBrowser, client } = require('../../lib/taiko');
=======
let { openBrowser,closeBrowser } = require('../../lib/taiko');
let { openBrowserArgs } = require('./test-util');
>>>>>>>
let { openBrowser,closeBrowser, client } = require('../../lib/taiko');
let { openBrowserArgs } = require('./t... |
<<<<<<<
this.anchor = Array.isArray(this.layout.anchor) ? this.layout.anchor[0] : this.layout.anchor; // initial anchor
this.placed = null;
=======
this.offset = options.offset;
>>>>>>>
this.anchor = Array.isArray(this.layout.anchor) ? this.layout.anchor[0] : this.layout.anchor; // in... |
<<<<<<<
import {useState} from 'react';
import dayjs from 'dayjs'
=======
import React, {useState} from 'react';
import moment from 'moment'
>>>>>>>
import React, {useState} from 'react';
import dayjs from 'dayjs' |
<<<<<<<
goog.exportProperty(vjs.Player.prototype, 'enterFullWindow', vjs.Player.prototype.enterFullWindow);
goog.exportProperty(vjs.Player.prototype, 'exitFullWindow', vjs.Player.prototype.exitFullWindow);
goog.exportProperty(vjs.Player.prototype, 'preload', vjs.Player.prototype.preload);
goog.exportProperty(vjs.Player... |
<<<<<<<
player.on('volumechange', vjs.bind(this, this.updateARIAAttributes));
player.ready(vjs.bind(this, this.updateARIAAttributes));
=======
setTimeout(vjs.bind(this, this.update), 0); // update when elements is in DOM
>>>>>>>
player.on('volumechange', vjs.bind(this, this.updateARIAAttributes));
player.... |
<<<<<<<
assert.ok(playbackRate.el().className.indexOf('vjs-hidden') >= 0, 'playbackRate is not hidden');
=======
ok(playbackRate.el().className.indexOf('vjs-hidden') >= 0, 'playbackRate is not hidden');
});
QUnit.test('Fullscreen control text should be correct when fullscreenchange is triggered', function() {
... |
<<<<<<<
if (parentNode._ljView && !$.hasAttributeLJ(parentNode, 'helper')) {
=======
// layer helper divs are special; ignore them; ignoring means to pass the parent state as current state
if (parentNode._ljView && !parentNode.hasAttribute('data-lj-helper')) {
>>>>>>>
// layer helper divs are... |
<<<<<<<
/**
* Will return if the layer allows dragging
*
* @return {Boolean} the value of the lj-draggable attribute
*/
draggable: function() {
var draggable = this.getAttributeLJ('draggable');
return draggable === 'true' ? true : false;
},
=======
/**
* returns the value for lj-auto-he... |
<<<<<<<
/**
* returns the value for lj-timer which is used for auto trigger transitions.
*
* @param {Type} Name - Description
* @returns {Type} Description
*/
timer: function() {
return this.getAttributeLJ('timer');
},
=======
/**
* Will return if the layer allows dragging
*
* @ret... |
<<<<<<<
event.preventDefault();
=======
if (-1 !== href.indexOf('#')) {
var url = href;
var queryParameters = '';
var hash = '';
if (href.indexOf('?') > 0) {
var queryStart = href.indexOf('?');
url = href.substr(0, queryStart);
... |
<<<<<<<
var StageView = CGroupView.extend({
constructor: function(dataModel, options) {
options = options || {};
CGroupView.call(this, dataModel, Kern.Base.extend({}, options, {
noRender: true
}));
=======
var StageView = CGroupView.extend({ constructor: function (dataModel, options) {
opt... |
<<<<<<<
// import mergeObjects from './utils/merge';
import {StyleManager} from './styles/style_manager';
import {StyleParser} from './styles/style_parser';
=======
import mergeObjects from './utils/merge';
>>>>>>>
import {StyleParser} from './styles/style_parser';
import mergeObjects from './utils/merge'; |
<<<<<<<
=======
this._fixedDimensions();
>>>>>>>
this._fixedDimensions();
<<<<<<<
if (!options.noRender && (options.forceRender || !options.el))
this.render();
this._observeElement();
=======
if (!options.noRender && (options.forceRender || !options.el))
this.render();
},
_fi... |
<<<<<<<
export function hangupCall(call) {
=======
function answeredIncomingCall(callId) {
return {
type: ANSWERED_INCOMING_CALL,
payload: {
callId
}
};
}
export function hangupCall({call, locusUrl}) {
>>>>>>>
function answeredIncomingCall(callId) {
return {
type: ANSWERED_INCOMING_CALL... |
<<<<<<<
<IntlProvider locale="en" messages={enTranslationMessages}>
<Message
onEvent={onEvent}
spark={spark}
toPersonEmail={toPersonEmail}
toPersonId={toPersonId}
/>
</IntlProvider>
=======
<MessageWidgetWithIntl
spark={spark}
t... |
<<<<<<<
@autobind
handleStartSendingAudio() {
this.props.media.get(`call`).startSendingAudio();
}
@autobind
handleStartSendingVideo() {
this.props.media.get(`call`).startSendingVideo();
}
@autobind
handleStopSendingAudio() {
this.props.media.get(`call`).stopSendingAudio();
}
@autobind... |
<<<<<<<
function constructSpace(space) {
const lastSeenActivityDate = space.get(`lastSeenActivityDate`);
const lastActivityTimestamp = space.get(`lastReadableActivityDate`);
const isUnread = lastSeenActivityDate ? moment(lastSeenActivityDate).isBefore(lastActivityTimestamp) : true;
=======
function constructS... |
<<<<<<<
import '@ciscospark/internal-plugin-search';
=======
import '@ciscospark/internal-plugin-team';
>>>>>>>
import '@ciscospark/internal-plugin-search';
import '@ciscospark/internal-plugin-team'; |
<<<<<<<
Utils.inMainThread(() => { findBaseLibraryURL(); }); // on main thread only (skip in web worker)
=======
Utils.runIfInMainThread(() => {
// On main thread only (skip in web worker)
findBaseLibraryURL();
Utils.requestAnimationFramePolyfill();
});
>>>>>>>
Utils.inMainThread(() => {
// On main ... |
<<<<<<<
=======
let callFrom, callInstance, callIsActive, callIsIncoming, callIsRinging, callState, isDismissed;
>>>>>>>
<<<<<<<
=======
({callState, instance: callInstance, isDismissed} = call);
>>>>>>>
<<<<<<<
callProps = {
isRinging,
isCall,
callInstance: call.instanc... |
<<<<<<<
.find(/[0-9]{2}\.[0-9]/)
.store( (returnMessage) => {
console.log(returnMessage);
console.log('errors: ', returnMessage.errors.length, 'data: ', returnMessage.data.length);
})
.retries(2)
=======
.find(/Scraper/)
.store( (returnMessage) => { console.log(returnMessage) })
>>>>>>>
.find(/[0-9]{2}\.[0-9]/)
... |
<<<<<<<
=======
const setWorkers = require('./publicMethods/setWorkers');
>>>>>>>
const setWorkers = require('./publicMethods/setWorkers');
<<<<<<<
setWorkers
=======
setWorkers,
>>>>>>>
setWorkers |
<<<<<<<
=======
/**
* @description Optionally allows use of fully rendered DOM for more complex scraping
* @param {String} browser - Can choose 'chrome' or 'firefox' instances
* @param {Function} callback - Provides space for custom selenium logic
* @return {Object} The siphon object to allow method chaining
*/
>>>>... |
<<<<<<<
if (config.authentication === true){
app.use(require('basic-auth-connect')(config.credentials.username, config.credentials.password));
}
=======
app.post("/rn-edit", function(req, res, next){
var filePath = path.normalize(raneto.config.content_dir + req.body.file);
if(!fs.existsSync(filePath)) fi... |
<<<<<<<
export const SET_POST = 'post/setFromFirebase';
export const SET_POST_TO_NULL = 'post/setToNull';
export const DELETE_POST = 'post/delete';
export const CUSTOM_DELETE_POST = '/post/custom/delete';
export const PUBLISHED_EVENTS = 'events/published';
export const DRAFT_EVENTS = 'events/draft';
export const GET_P... |
<<<<<<<
const {
getAspectRatio,
getBase64,
getImageURL,
} = require('./get-image-objects/get-shared-image-data');
=======
const {
getDisplayDimensions,
} = require('./get-image-objects/get-display-dimensions');
// todo: for fluid images when original width and height is not set, use width and height of image ... |
<<<<<<<
fieldsToSelect,
=======
defaultTracedSVG,
>>>>>>>
fieldsToSelect,
defaultTracedSVG,
<<<<<<<
fieldsToSelect,
=======
defaultTracedSVG,
>>>>>>>
fieldsToSelect,
defaultTracedSVG, |
<<<<<<<
fieldsToSelect: ['base64'],
=======
defaultTracedSVG: 'defaultTracedSVG',
>>>>>>>
fieldsToSelect: ['base64'],
defaultTracedSVG: 'defaultTracedSVG',
<<<<<<<
it('does not return base64 if base64 is not a field to select', async () => {
const options = getDefaultOptions();
get... |
<<<<<<<
const analytics = coalesce(options.analytics, platform.env('DD_TRACE_ANALYTICS'))
const dogstatsd = options.dogstatsd || {}
const runtimeMetrics = coalesce(options.runtimeMetrics, platform.env('DD_RUNTIME_METRICS_ENABLED'), false)
=======
const analytics = coalesce(
options.analytics,
... |
<<<<<<<
.kendoAutoComplete()
.kendoBarcode()
=======
>>>>>>>
.kendoBarcode() |
<<<<<<<
kendoSplitter(): KendoConfigBuilder {
this.resources.push('splitter/splitter');
=======
kendoSpreadsheet(): KendoConfigBuilder {
this.resources.push('spreadsheet/spreadsheet');
return this;
}
kendoSlider(): KendoConfigBuilder {
this.resources.push('slider/slider');
>>>>>>>
kendoSpr... |
<<<<<<<
"aurelia-binding": "github:aurelia/binding@0.9.1",
"aurelia-bootstrapper": "github:aurelia/bootstrapper@0.17.0",
"aurelia-dependency-injection": "github:aurelia/dependency-injection@0.10.1",
"aurelia-logging": "github:aurelia/logging@0.8.0",
"aurelia-metadata": "github:aurelia/metadata@0.8.0... |
<<<<<<<
.kendoLinearGauge()
.kendoPivotGrid()
.kendoRadialGauge()
=======
.kendoMap()
.kendoLinearGauge()
.kendoRadialGauge()
>>>>>>>
.kendoMap()
.kendoLinearGauge()
.kendoPivotGrid()
.kendoRadialGauge() |
<<<<<<<
.kendoQRCode()
=======
.kendoPivotGrid()
>>>>>>>
.kendoPivotGrid()
.kendoQRCode() |
<<<<<<<
}
function extractPackages (req, res, next) {
req.params.packages = req.params['0'];
if (!utils.isValidPackages(req.params.packages)) {
res.sendStatus(404);
} else {
next();
}
}
function extractAndBundle (req, res) {
var packages = req.params.packages.split('+');
=======
>>>>>>> |
<<<<<<<
if (i === 0 && depth > -1) arr.push(html);
=======
if (i == 0 && depth > -1) {
arr.push(html);
html = '';
}
>>>>>>>
if (i === 0 && depth > -1) {
arr.push(html);
html = '';
} |
<<<<<<<
await hexo.init();
const output = await Post.insert(posts);
await Promise.each([
['foo'],
['baz'],
['baz']
], (tags, i) => output[i].setCategories(tags));
await hexo.locals.invalidate();
listCategories();
expect(console.log.calledWith(sinon.match('Name'))).to.be.tr... |
<<<<<<<
// test offset returns are correct
var b = new Buffer(16);
assert.equal(4, b.writeUInt32LE(0, 0));
assert.equal(6, b.writeUInt16LE(0, 4));
assert.equal(7, b.writeUInt8(0, 6));
assert.equal(8, b.writeInt8(0, 7));
assert.equal(16, b.writeDoubleLE(0, 8));
=======
// test unmatched surrogates not producing inval... |
<<<<<<<
EventEmitter.prototype.setMaxListeners = function(n) {
if (!util.isNumber(n) || n < 0 || isNaN(n))
=======
var defaultMaxListeners = 10;
EventEmitter.prototype.setMaxListeners = function setMaxListeners(n) {
if (typeof n !== 'number' || n < 0 || isNaN(n))
>>>>>>>
EventEmitter.prototype.setMaxListeners = ... |
<<<<<<<
'Halftone': 'halftone',
=======
'Dots': 'dots',
'Wood': 'wood',
'B&W Halftone': 'halftone',
'Color Halftone': 'color_halftone',
>>>>>>>
'Halftone': 'halftone',
<<<<<<<
=======
'colorbleed': {
setup: functio... |
<<<<<<<
if (startup.lazyConstants()[sig]) {
err = process._kill(pid, startup.lazyConstants()[sig]);
=======
if (startup.lazyConstants()[sig] &&
sig.slice(0, 3) === 'SIG') {
r = process._kill(pid, startup.lazyConstants()[sig]);
>>>>>>>
if (startup.lazyConstants(... |
<<<<<<<
if (!util.isNumber(n) || n < 0)
=======
if (typeof n !== 'number' || n < 0 || isNaN(n))
>>>>>>>
if (!util.isNumber(n) || n < 0 || isNaN(n)) |
<<<<<<<
testPBKDF2('password', 'salt', 2, 20,
'\xea\x6c\x01\x4d\xc7\x2d\x6f\x8c\xcd\x1e\xd9\x2a' +
'\xce\x1d\x41\xf0\xd8\xde\x89\x57');
testPBKDF2('password', 'salt', 4096, 20,
'\x4b\x00\x79\x01\xb7\x65\x48\x9a\xbe\xad\x49\xd9\x26' +
'\xf7\x21\xd0\x65\xa4\x29\xc1');
testPBK... |
<<<<<<<
metric.title = 'Requests';
metric.yDataSets[0].color = '#000000';
=======
metric.title = 'API Requests'
metric.yDataSets[0].color = '#000000'
>>>>>>>
metric.title = 'API Requests';
metric.yDataSets[0].color = '#000000';
<<<<<<<
metric.title = 'Errors -... |
<<<<<<<
// Global configuration for all styles
StyleManager.init = function () {
// GLProgram.removeTransform('globals');
// // Layer re-ordering function
// GLProgram.addTransform('globals', shaderSources['modules/reorder_layers']);
// // Spherical environment map
// GLProgram.addTransform('globa... |
<<<<<<<
constructor(options) {
super(options)
}
=======
>>>>>>>
constructor(options) {
super(options)
}
<<<<<<<
return Object.assign({}, session, {
accounts
})
=======
return {
...session,
accounts,
expir... |
<<<<<<<
exports.config = setup({
modules: {
definition: false,
wrapper: false
},
=======
>>>>>>> |
<<<<<<<
window.htmlToDraft = require('html-to-draftjs').default
window.draftJs = draftJs;
window.axios = axios
window.juice = juice
window.currentDriver = localDriver
var logWatchers = []
var rawLogFun = console.log
console.log = function (message) {
rawLogFun.apply(null, arguments)
try {
var args = [].slic... |
<<<<<<<
=======
// Helper functions passed to dynamic style functions
Style.helpers = {
Style: Style,
Geo: Geo
};
>>>>>>>
// Helper functions passed to dynamic style functions
Style.helpers = {
Style: Style,
Geo: Geo
};
<<<<<<<
// Interactivity (selection map)
var interactive = false;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.