conflict_resolution stringlengths 27 16k |
|---|
<<<<<<<
export const createResource = (resource, {
onSuccess: onSuccess = noop,
onError: onError = noop
} = {}) => {
if (onSuccess !== noop || onError !== noop) {
console.warn('onSuccess/onError callbacks are deprecated. Please use returned promise: https://github.com/dixieio/redux-json-api/issues/17');
}
... |
<<<<<<<
this.state = { domain: props.initialDomain || this.domain };
=======
this.state = { domain: this.getDataDomain() };
>>>>>>>
this.state = { domain: props.initialDomain || this.getDataDomain() };
<<<<<<<
const nextXDomain = ZoomHelpers.pan(this.lastDomain.x, this.domain.x, calculated... |
<<<<<<<
import {VictoryBar, VictoryChart, VictoryGroup, VictoryStack, VictoryEvents} from "../../src/index";
import { random, range } from "lodash";
=======
import { assign, random, range } from "lodash";
import {VictoryBar, VictoryChart, VictoryGroup, VictoryStack} from "../../src/index";
>>>>>>>
import {VictoryBar... |
<<<<<<<
import { PropTypes as CustomPropTypes, Helpers, Style, Log } from "../victory-util/index";
import { default as VictoryPortal } from "../victory-portal/victory-portal";
=======
import CustomPropTypes from "../victory-util/prop-types";
import Helpers from "../victory-util/helpers";
import Style from "../victory... |
<<<<<<<
const container = modifiedProps.standalone && this.getContainer(modifiedProps, calculatedProps);
let newChildren = this.getNewChildren(modifiedProps, childComponents, calculatedProps);
if (this.props.modifyChildren) {
newChildren = this.props.modifyChildren(newChildren, modifiedProps);
}
... |
<<<<<<<
import omit from "lodash/omit";
import range from "lodash/range";
import SvgTestHelper from "../../../../svg-test-helper";
=======
import { omit, range } from "lodash";
>>>>>>>
import { omit, range } from "lodash";
import SvgTestHelper from "../../../../svg-test-helper"; |
<<<<<<<
const min = Collection.containsDates(domain) ?
Helpers.retainDate(Math.min(...domain, 0)) :
Math.min(...domain, 0);
const max = Collection.containsDates(domain) ?
Helpers.retainDate(Math.max(...domain, 0)) :
Math.max(...domain, 0);
return isDependent ? [min, max... |
<<<<<<<
const { dataComponent, labelComponent, groupComponent } = props;
=======
const { role } = VictoryBar;
const { dataComponent, labelComponent } = props;
>>>>>>>
const { dataComponent, labelComponent, groupComponent } = props;
const { role } = VictoryBar; |
<<<<<<<
import { sortBy, defaults } from "lodash";
=======
import { defaults, last } from "lodash";
>>>>>>>
import { defaults } from "lodash";
<<<<<<<
=======
const dataSegments = this.getDataSegments(dataset);
>>>>>>>
<<<<<<<
=======
},
getDataSegments(dataset) {
const segments = [];
let se... |
<<<<<<<
import PolarDemo from "./components/victory-polar-chart-demo";
=======
import DebugDemo from "./components/debug-demo";
>>>>>>>
import PolarDemo from "./components/victory-polar-chart-demo";
import DebugDemo from "./components/debug-demo";
<<<<<<<
case "/polar": Child = PolarDemo; break;
=======
c... |
<<<<<<<
const { horizontal, polar, startAngle, endAngle } = props;
const minDomain = this.getMinFromProps(props, axis);
const maxDomain = this.getMaxFromProps(props, axis);
const currentAxis = Helpers.getCurrentAxis(axis, horizontal);
if (dataset.length < 1) {
const scaleDomain = Scale.getBase... |
<<<<<<<
import { includes, defaults, isFunction, range, without } from "lodash";
import { Helpers, Scale, Domain } from "victory-core";
=======
import { includes, defaults, defaultsDeep, isFunction, range, without } from "lodash";
import Scale from "../../helpers/scale";
import Axis from "../../helpers/axis";
import ... |
<<<<<<<
const y1 = scale.y(datum.high);
const y2 = scale.y(datum.low);
const candleHeight = Math.abs(scale.y(datum.open) - scale.y(datum.close));
const y = scale.y(Math.max(datum.open, datum.close));
const size = this.getSize(datum, modifiedProps, calculatedValues);
const dataStyle =... |
<<<<<<<
import { last } from "lodash";
import { Helpers, Log } from "victory-core";
=======
import { assign, last } from "lodash";
import { Helpers } from "victory-core";
>>>>>>>
import { assign, last } from "lodash";
import { Helpers, Log } from "victory-core";
<<<<<<<
let data = Data.getData(props);
if (... |
<<<<<<<
EventEmitter = require('events').EventEmitter,
Device = require('./device');
=======
path = require('path'),
EventEmitter = require('events').EventEmitter;
>>>>>>>
EventEmitter = require('events').EventEmitter,
path = require('path'),
Device = require('./device'); |
<<<<<<<
=======
import take from "lodash/array/take";
import uniq from "lodash/array/uniq";
import isDate from "lodash/lang/isDate";
import defaults from "lodash/object/defaults";
>>>>>>>
import isDate from "lodash/lang/isDate"; |
<<<<<<<
this.baseProps = ScatterHelpers.getBaseProps(this.props,
defaultStyles, defaultWidthHeight);
=======
this.setupEvents(this.props);
>>>>>>>
this.setupEvents(this.props);
<<<<<<<
this.baseProps = ScatterHelpers.getBaseProps(newProps,
defaultStyles, defaultWidthHeight);
=======
... |
<<<<<<<
clipWidth: props.width,
clipHeight: props.height,
=======
domainPadding: child.props.domainPadding ||
props.domainPadding || calculatedProps.defaultDomainPadding,
>>>>>>>
clipWidth: props.width,
clipHeight: props.height,
domainPadding: child.props.dom... |
<<<<<<<
template: `
<h1 cp-style="{color: $ctrl.numberOne == 70 ? 'red' : 'green'}"> [[ $ctrl.numberOne + $ctrl.numberTwo ]] </h1>
<p cp-style="{ background: 'red', padding: '10px'}">Exemplo 1</p>
<p id="p1" cp-style="{ background: $ctrl.blue, padding: '10px'}">Exemplo 2<... |
<<<<<<<
collectCoverageFrom: ['src/**/*.{ts,tsx}', 'plugins/**/*.{ts,tsx}', '!src/app/src/icons/**/*.{ts,tsx}'],
projects: ['<rootDir>/src/*', '<rootDir>/plugins/*'],
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
testPathIgnorePatterns: ['node_modules'],
modulePathIgnorePatterns: ['dist', 'lib']
=======
... |
<<<<<<<
} else if ( nodeName === "input" && rcheckableType.test( src.type ) ) {
=======
// This path appears unavoidable for IE9. When cloning an object
// element in IE9, the outerHTML strategy above is not sufficient.
// If the src has innerHTML and the destination does not,
// copy the src.innerHTML into ... |
<<<<<<<
});
test("jQuery(<tag>) & wrap[Inner/All]() handle unknown elems (#10667)", function() {
expect(2);
var $wraptarget = jQuery( "<div id='wrap-target'>Target</div>" ).appendTo( "#qunit-fixture" ),
$section = jQuery( "<section>" ).appendTo( "#qunit-fixture" );
$wraptarget.wrapAll("<aside style='background... |
<<<<<<<
equals( jQuery("#empty").css("opacity"), "0", "Assert opacity is accessible via filter property set in stylesheet in IE" );
jQuery("#empty").css({ opacity: "1" });
equals( jQuery("#empty").css("opacity"), "1", "Assert opacity is taken from style attribute when set vs stylesheet in IE with filters" );
======... |
<<<<<<<
});
test( "animate properties missing px w/ opacity as last (#9074)", 2, function() {
expect( 6 );
stop();
var div = jQuery( "<div style='position: absolute; margin-left: 0; left: 0px;'></div>" )
.appendTo( "#qunit-fixture" );
function cssInt( prop ) {
return parseInt( div.css( prop ), 10 );
}
equal(... |
<<<<<<<
if (typeof(this.octree) !== 'undefined' && (typeof(use_octree) === 'undefined' || use_octree === "true")) {
this.octree.insert(sceneObj);
this.sceneObjectsById[sceneObj.id] = sceneObj;
}
=======
if (typeof(this.octree) !== 'undefined' && (typeof(use_octree) === 'undefined' || use_octree === "tru... |
<<<<<<<
function OcTreeWorkerProxy(worker, camera, octree, scene)
{
this.worker = worker;
this.scene = scene;
this.worker.send({type:"init", data:{size: octree._size, max_depth:octree._max_depth}});
this.worker.send({type:"set_camera", data:camera});
var that = this;
this.onmessage = function(e)
{
sw... |
<<<<<<<
//add path of CSS files to inject last into the HTML file
var injectLastCss=[
//example: src/css/somefile.css
];
=======
//add path of CSS files to inject last into the HTML file
var injectLastCss=[
//example: src/css/somefile.css
'src/css/login-custom.css'
];
>>>>>>>
//add path of CSS files to i... |
<<<<<<<
=======
this.state.daysLoaded = 1
this.state.daysToLoad = 4 // how many days to load in the future?
>>>>>>>
<<<<<<<
addDay (blocks, block = 0) {
if (blocks.length == 0) return
console.log('add day' , block)
let group = new THREE.Group()
=======
buildBlocks (blocks, index, group, sp... |
<<<<<<<
// animation loop
this.animate()
})
=======
this.moveCamera()
// animation loop
this.animate()
>>>>>>>
this.moveCamera()
// animation loop
this.animate()
})
<<<<<<<
//TWEEN.update()
// Interpolate camPos toward targetPos
this.cam... |
<<<<<<<
this.currentBlock = block
=======
>>>>>>>
<<<<<<<
/*new TWEEN.Tween( blockObject.material )
=======
/* new TWEEN.Tween( blockObject.material )
>>>>>>>
/*new TWEEN.Tween( blockObject.material )
<<<<<<<
// document.getElementById('loading').style.display = 'none'
=======
this... |
<<<<<<<
import {getBlocksOnDay, getTransactionsForBlock, getBlock} from '../api/btc'
=======
import {getBlocksSince, getTransactionsForBlock, getBlock, getHashRateforDay} from '../api/btc'
>>>>>>>
import {getBlocksOnDay, getTransactionsForBlock, getBlock, getHashRateforDay} from '../api/btc'
<<<<<<<
this.clock ... |
<<<<<<<
this.currentBlockObject = null
this.crystalOpacity = 0.5
=======
this.crystalOpacity = 0.7
>>>>>>>
this.currentBlockObject = null
this.crystalOpacity = 0.5
<<<<<<<
console.log('Root hash: ' + tree.root)
=======
// console.log('Root hash: ' + tree.root)
//... |
<<<<<<<
=======
toggleBlocks (visibility) {
/* this.state.dayGroups.forEach((group) => {
group.visible = visibility
}, this)
this.state.lineGroups.forEach((group) => {
group.visible = visibility
}, this) */
}
>>>>>>>
<<<<<<<
=======
/*new TWEEN.Tween( blockObject.material )
... |
<<<<<<<
=======
var $color = $('header').css('background-color');
>>>>>>>
var $color = $('header').css('background-color'); |
<<<<<<<
}
// Replace p tags by br
export function formatLineBreak(text) {
return text
.replace(/<\/p>\n<p>/g, '<br>')
.replace(/<p>/g, '')
.replace(/<\/p>/g, '');
=======
}
// parse an integer/float and returns null if it's not an integer
export function toInt(number) {
if (number === '0') return 0;... |
<<<<<<<
/* Component: header shadow toggle */
new Material.Event.MatchMedia("(min-width: 1220px)",
new Material.Event.Listener(window, [
"scroll", "resize", "orientationchange"
], new Material.Header.Shadow("[data-md-component=container]")))
/* Component: tabs visibility toggle */
new Material.Ev... |
<<<<<<<
for (var i = 0; i < matches.length; i++) {
var leadingWhitespaceMatch = matches[i].match(/^\s*/);
var leadingWhitespace = null;
if (leadingWhitespaceMatch) {
leadingWhitespace = leadingWhitespaceMatch[0].replace("\n", "");
}
// Remove beginnings, endings and trim.
... |
<<<<<<<
it("should work with html-comments", function(done) {
var file = new gutil.File({
base: "test/fixtures/",
path: "test/fixtures/html/basic-include.html",
contents: fs.readFileSync("test/fixtures/html/basic-include.html")
});
testInclude = include();
testInclude.on("data", ... |
<<<<<<<
//Constants
this.NETWORK_ID = 'loopback';
this.USER_ID = 'Test User'; //My userId
this.CLIENT_ID = 'Test User.0'; //My clientId
console.log("Loopback Social Provider");
var STATUS_CLIENT = freedom.social().STATUS_CLIENT;
=======
console.log("Loopback Social provider");
this.client_codes... |
<<<<<<<
'login': {type: 'method', value: [{
'agent': 'string', //Name of the application
'version': 'string', //Version of application
'url': 'string', //URL of application
'interactive': 'bool', //If true, always prompt for login. If false, try with cached credentials
'rememberLogin': 'b... |
<<<<<<<
var providers = {
// "core": freedom.core(),
// "storage.shared": freedom.storageShared(),
// "storage.isolated": freedom.storageIsolated(),
// "transport.webrtc": freedom.transportWebrtc()
};
// We need to keep track of want events we are already listening for
// so that we don't send duplicate notifcation... |
<<<<<<<
var oauth = require('../../providers/core/core.oauth');
require('../../providers/oauth/oauth.localpageauth').register(oauth);
require('../../providers/oauth/oauth.remotepageauth').register(oauth);
providers.push(oauth);
=======
>>>>>>> |
<<<<<<<
this.seq++;
var opcode = 0x0E;
var serialized = this.serializer.serialize(opcode, value, '');
var request = makeRequestBuffer(opcode, key, serialized.extras, serialized.value, this.seq);
=======
this.incrSeq();
var request = makeRequestBuffer(0x0E, key, '', value, this.seq);
>>>>>>>
this.incrS... |
<<<<<<<
import * as doc from './doc.tests.js'
=======
>>>>>>>
import * as doc from './doc.tests.js'
<<<<<<<
map, array, text, xml, doc, encoding, undoredo, compatibility
=======
doc, map, array, text, xml, consistency, encoding, undoredo, compatibility
>>>>>>>
doc, map, array, text, xml, encoding, undoredo... |
<<<<<<<
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 = ... |
<<<<<<<
assert.equal(0xe6, b[19]);
// Test custom decode
function demoDecode(str) {
return str + str;
}
assert.deepEqual(
qs.parse('a=a&b=b&c=c', null, null, { decodeURIComponent: demoDecode }),
{ aa: 'aa', bb: 'bb', cc: 'cc' });
// Test custom encode
function demoEncode(str) {
return str[0];
}
var obj = { ... |
<<<<<<<
return new Cipher(cipher, password);
this._binding = new binding.CipherBase(true);
=======
return new Cipher(cipher, password, options);
this._binding = new binding.Cipher;
>>>>>>>
return new Cipher(cipher, password, options);
this._binding = new binding.CipherBase(true);
<<<<<<<
retur... |
<<<<<<<
applyTransactions()
=======
applyTransactions(0.5)
yield users[0].connector.flushAll()
>>>>>>>
applyTransactions(0.5)
<<<<<<<
yield g.garbageCollectAllUsers(users)
=======
// TODO: gc here????
yield wait(100)
>>>>>>>
yield wait(100)
<<<<<<<
yield wait(100)
=======
yield wait()
>>>... |
<<<<<<<
// url: '//localhost:1234',
url: 'https://yjs-v13.herokuapp.com/',
// options: { transports: ['websocket'], upgrade: false }
=======
url: 'https://yjs-v13.herokuapp.com/'
>>>>>>>
// url: '//localhost:1234',
url: 'https://yjs-v13.herokuapp.com/'
// options: { transports: ['websocke... |
<<<<<<<
=======
const checked_animation_delta_state = ({key, start_state, end_state, delta_state}) => {
// TODO: is it inconceivable that an animation could be defined
// with a tick that defines a transition from a
// numeric -> non-numeric type?
// e.g. Become does this
if (start_state !== und... |
<<<<<<<
lockDuration?: number = 5000,
lockRenewTime?: number = lockDuration / 2,
stalledInterval?: number = 5000,
=======
lockDuration?: number = 30000,
lockRenewTime?: number = lockDuration / 2,
stalledInterval?: number = 30000,
>>>>>>>
lockDuration?: number = 30000,
... |
<<<<<<<
// if (shouldAnimate(animations.queue, new_timestamp, this.time.speed)) {
this.ticker(::this.tick)
// } else {
// this.animating = false
// }
=======
>>>>>>> |
<<<<<<<
var publishHappened = false;
client.on('ready', function () {
client.on("message", function(channel, message) {
expect(parseInt(message, 10)).to.be.a('number');
publishHappened = true;
});
client.subscribe(queue.toKey("jobs"));
});
=======
>>>>>>... |
<<<<<<<
var paused = queue.getJobCountByTypes(['paused','wait', 'delayed']).then(function (count) {
expect(count).to.be.eql(10);
=======
var paused = queue.getJobCountByTypes(['paused','wait','delayed']).then(function (count) {
expect(count).to.be(10);
>>>>>>>
... |
<<<<<<<
clearInterval(this.refreshTheme)
=======
eventEmitter.off('dispatch:push', this.changeRoutePush.bind(this))
}
changeRoutePush(event, destination) {
const { dispatch } = this.props
dispatch(push(destination))
>>>>>>>
eventEmitter.off('dispatch:push', this.changeRoutePush.bind(this))
... |
<<<<<<<
app.post('/:org/:repo/collaborators/', middleware.requireParams(['email']), api_collaborators.post);
app.delete('/:org/:repo/collaborators/', middleware.requireParams(['email']), api_collaborators.del);
=======
app.post('/:org/:repo/collaborators/', middleware.requireBody(['email']), api_collaborators.p... |
<<<<<<<
it('should not return error if uploadId exists on multipart abort call',
done => {
_createAndAbortMpu(false, err => {
assert.strictEqual(err, null, `Expected no error, got ${err}`);
=======
it('should not return error if mpu exists with uploadId and at least ' +
'one part',... |
<<<<<<<
log.debug('routing request', {
method: 'routeBackbeat',
url: request.url,
});
_normalizeBackbeatRequest(request);
const requestContexts = prepareRequestContexts('objectReplicate', request);
// proxy api requests to Backbeat API server
if (request.resourceType === 'api') ... |
<<<<<<<
router.route('/password')
.post(function(req, res) {
if (req.user !== undefined) {
console.log("password change by " + req.user.email);
}
var password = req.param('password');
if (password.length < 6) {
return res.status(400).json({
status:"error",
errors:[{"messa... |
<<<<<<<
function _storeInMDandDeleteData(bucketName, objMD, dataGetInfo, cipherBundle,
=======
function _storeInMDandDeleteData(bucketName, dataGetInfo,
>>>>>>>
function _storeInMDandDeleteData(bucketName, dataGetInfo, cipherBundle,
<<<<<<<
services.metadataStoreObject(bucketName, objMD, dataGetInfo,
ci... |
<<<<<<<
const objectLockValidationError
= validateHeaders(bucket, headers, log);
if (objectLockValidationError) {
return next(objectLockValidationError);
}
=======
writeContinue(request, request._response);
>>>>>>... |
<<<<<<<
// TODO push metric for objectPutCopyPart
// pushMetric('putObjectCopyPart', log, {
// bucket: destBucketName,
// keys: [objectKey],
// });
monitoring.promMetrics(
'PUT', destBucketName, '200', 'putObjectCopyPart');
=======
pushMetr... |
<<<<<<<
const invalidMultiObjectDelReq = request.query.delete !== undefined
&& request.bucketName === undefined;
if (invalidMultiObjectDelReq) {
return routesUtils.responseNoBody(errors.MethodNotAllowed, null,
response, null, log);
}
request.post = '';
=======
>>>>>>>
... |
<<<<<<<
require('arsenal').storage.metadata.file.MetadataFileServer;
=======
require('arsenal').storage.metadata.MetadataFileServer;
const logger = require('./lib/utilities/logger');
process.on('uncaughtException', err => {
logger.fatal('caught error', {
error: err.message,
st... |
<<<<<<<
const { isBucketAuthorized } = require('./apiUtils/authorization/aclChecks');
const monitoring = require('../utilities/monitoringHandler');
=======
>>>>>>>
const monitoring = require('../utilities/monitoringHandler'); |
<<<<<<<
const monitoring = require('../utilities/monitoringHandler');
const requestUtils = require('../utilities/requestUtils');
=======
const { config } = require('../Config');
const requestUtils = policies.requestUtils;
>>>>>>>
const monitoring = require('../utilities/monitoringHandler');
const { config } = requir... |
<<<<<<<
const utapiConfig = _config.utapi &&
Object.assign({}, _config.utapi, { redis: _config.redis });
const utapi = new UtapiClient(utapiConfig); // setup utapi client
=======
// setup utapi client
let utapiConfig;
if (utapiVersion === 1 && _config.utapi) {
utapiConfig = Object.assign({}, _config.utapi)... |
<<<<<<<
* @param {WebsiteConfiguration} [websiteConfiguration] - website
* configuration
=======
* @param {string} locationConstraint - locationConstraint for bucket
>>>>>>>
* @param {WebsiteConfiguration} [websiteConfiguration] - website
* configuration
* @param {string} locationConstraint -... |
<<<<<<<
const monitoring = require('../utilities/monitoringHandler');
const { data } = require('../data/wrapper');
const applyZenkoUserMD = require('./apiUtils/object/applyZenkoUserMD');
=======
const { config } = require('../Config');
const multipleBackendGateway = require('../data/multipleBackendGateway');
const ch... |
<<<<<<<
=======
const { ds } = require('../../../lib/data/in_memory/backend');
const metastore = require('../../../lib/metadata/in_memory/backend');
>>>>>>> |
<<<<<<<
const { auth, errors } = require('arsenal');
const async = require('async');
=======
const { auth, errors, policies } = require('arsenal');
>>>>>>>
const { auth, errors, policies } = require('arsenal');
const async = require('async');
<<<<<<<
if (tagAuthResults) {
const checkedRe... |
<<<<<<<
// hierarchy
require('./src/transform/hierarchy/treemap');
=======
require('./src/transform/geo/region');
>>>>>>>
require('./src/transform/geo/region');
// hierarchy
require('./src/transform/hierarchy/treemap'); |
<<<<<<<
locationConstraint, log, err => {
if (err) {
return callback(err);
}
pushMetric('createBucket', log, {
bucket: bucketName,
});
return callback();
});
=======
locationConstraint, config.usEastBeh... |
<<<<<<<
const { isManagementAgentUsed } = require('./agentClient');
=======
const { reshapeExceptionError } = arsenal.errorUtils;
>>>>>>>
const { reshapeExceptionError } = arsenal.errorUtils;
const { isManagementAgentUsed } = require('./agentClient'); |
<<<<<<<
const { config } = require('../Config');
const monitoring = require('../utilities/monitoringHandler');
=======
const { getPartCountFromMd5 } = require('./apiUtils/object/partInfo');
>>>>>>>
const { config } = require('../Config');
const monitoring = require('../utilities/monitoringHandler');
const { getPartC... |
<<<<<<<
it('should add the Accept-Ranges header', () => {
const headers = collectResponseHeaders({});
assert.strictEqual(headers['Accept-Ranges'], 'bytes');
});
=======
it('should return an undefined value when x-amz-website-redirect-location' +
' is empty', () => {
const ... |
<<<<<<<
handleScroll (e) {
if (this.props.onScroll) {
this.props.onScroll(e)
}
}
=======
handlePasteUrl (e, editor, pastedTxt) {
e.preventDefault()
const taggedUrl = `<${pastedTxt}>`
editor.replaceSelection(taggedUrl)
fetch(pastedTxt, {
method: 'get'
}).then((response) ... |
<<<<<<<
nodeHeightSeperation: function(nodeWidth, nodeMaxHeight) {
return TreeBuilder._nodeHeightSeperation(nodeWidth, nodeMaxHeight);
},
=======
nodeRightClick: function(name, extra, id) {},
>>>>>>>
nodeRightClick: function(name, extra, id) {},
nodeHeightSeperation:... |
<<<<<<<
if (typeof _this.directionsService === 'undefined') {
_this.directionsService = new google.maps.DirectionsService;
}
=======
if (typeof _this.panel === 'undefined') {
_this.directionsDisplay.setPanel(null);
}
else {
... |
<<<<<<<
icsFormat += foldLine(`PRODID:${productId}`) + '\r\n'
=======
icsFormat += `PRODID:${productId}\r\n`
icsFormat += `METHOD:PUBLISH\r\n`
icsFormat += `X-PUBLISHED-TTL:PT1H\r\n`
>>>>>>>
icsFormat += foldLine(`PRODID:${productId}`) + '\r\n'
icsFormat += `METHOD:PUBLISH\r\n`
icsFormat ... |
<<<<<<<
import {setSearchResults} from './search.actions';
import _ from 'underscore';
=======
>>>>>>>
import _ from 'underscore'; |
<<<<<<<
export const setUserProjects = (userProjects) => ({
type: types.SET_USER_PROJECTS,
payload: userProjects
})
=======
export const toggleModal = (use) => ({
type: types.TOGGLE_MODAL,
payload: use
})
export const reset = () => ({
type: types.RESET
})
>>>>>>>
export const toggleModal = (use) => ({
... |
<<<<<<<
const aboutPattern = /\/about\/([^\/]+)\/index.html$/;
const readAboutTerm = input => {
const match = aboutPattern.exec(input);
return match != null ? match[1] : null;
}
const asAboutURI = uri => {
const base = getBaseURI();
const {origin, pathname} = new URI(uri);
const about = ba... |
<<<<<<<
(isSelected(webViewerCursor) ? ' selected' : ''),
style: {
backgroundImage: readThumbnailURI(webViewerCursor.get('location'))
},
onMouseOver: event => onSelect(webViewerCursor),
onMouseDown: event => onActivate(),
=======
(item.get('isSelected'... |
<<<<<<<
projectName = "haha";
db
=======
return db
>>>>>>>
return db
<<<<<<<
Project.findAll({
=======
return Project.findAll({
>>>>>>>
return Project.findAll({
<<<<<<<
{returning: true, where: {projectName, uid}}
).then(updatedRecord => console.log(updatedR... |
<<<<<<<
const {loader, page, progress, security} = WebView.get(webViews,
webViews.selected);
const id = loader && loader.id;
=======
const {loader, page, security} = WebView.get(webViews, webViews.selected);
>>>>>>>
const {loader, page, secu... |
<<<<<<<
prettifyMarkdown: 'Shift + F',
=======
insertDate: OSX ? 'Command + /' : 'Ctrl + /',
insertDateTime: OSX ? 'Command + Alt + /' : 'Ctrl + Shift + /',
>>>>>>>
prettifyMarkdown: 'Shift + F',
insertDate: OSX ? 'Command + /' : 'Ctrl + /',
insertDateTime: OSX ? 'Command + Alt + /' : 'Ctrl +... |
<<<<<<<
// 'react-redux',
'redux-use-mutable-source',
// 'reactive-react-redux',
// 'react-tracked',
// 'constate',
// 'zustand',
// 'react-sweet-state',
// 'storeon',
// 'react-hooks-global-state-1',
// 'react-hooks-global-state-2',
// 'use-context-selector',
// 'mobx-react-lite',
// 'use-sub... |
<<<<<<<
setNativeProps(nativeProps: any) {
this._root.setNativeProps(nativeProps);
}
_onReady(event: SyntheticEvent) {
return this.props.onReady && this.props.onReady(event.nativeEvent);
}
_onChangeState(event: SyntheticEvent) {
if (event.nativeEvent.state === 'ended' && this.props.loop) {
... |
<<<<<<<
_root: any;
constructor(props) {
=======
_root: any;
_exportedProps: any;
setNativeProps(nativeProps: any) {
this._root.setNativeProps(nativeProps);
}
constructor(props: any) {
>>>>>>>
_root: any;
_exportedProps: any;
constructor(props: any) {
<<<<<<<
setNativeProps(nativeProp... |
<<<<<<<
readFaviconURI(model),
style.favicon),
=======
model.page && model.page.faviconURI,
styles.favicon),
>>>>>>>
readFaviconURI(model),
styles.favicon),
<<<<<<<
style: style.title
}, [
// @TODO localize this string
readTitle(model... |
<<<<<<<
describe('#destroy', function() {
beforeEach(function() {
this.dropdownView.destroy();
});
it('should remove event listeners', function() {
expect($._data(this.$menu, 'events')).toBeUndefined();
});
it('should drop references to DOM elements', function() {
expect(this.d... |
<<<<<<<
var query, $candidate, data, payload, cancelMove, id;
=======
var query, $candidate, data, suggestion, datasetName, cancelMove;
>>>>>>>
var query, $candidate, data, suggestion, datasetName, cancelMove, id;
<<<<<<<
payload = data ? data.obj : null;
id = $candidate ? $candidate.a... |
<<<<<<<
grunt.loadNpmTasks('grunt-parallel');
grunt.loadNpmTasks('grunt-contrib-less');
=======
>>>>>>>
grunt.loadNpmTasks('grunt-parallel'); |
<<<<<<<
export { default as InputText } from "./InputText";
export { default as InputTextarea } from "./InputTextarea";
=======
>>>>>>>
export { default as InputText } from "./InputText";
export { default as InputTextarea } from "./InputTextarea"; |
<<<<<<<
primary: "#46515e",
secondary: "#7f91a8",
attention: "#171B1E",
error: "#D02228",
input: "#bac7d5",
};
export const fontSizes = {
small: "12px",
normal: "14px",
large: "16px",
=======
primary: colors.shuttle,
secondary: colors.polo,
attention: colors.smoke,
error: colors.red,
input:... |
<<<<<<<
import { setConfigValue, setUserActivity } from "../../shared/actions/app.js";
=======
import { setAutoLogin } from "../../shared/actions/autoLogin.js";
import { setConfigValue } from "../../shared/actions/app.js";
>>>>>>>
import { setConfigValue, setUserActivity } from "../../shared/actions/app.js";
import ... |
<<<<<<<
]),
downloadInBackground: React.PropTypes.bool
=======
]),
checkNetwork: React.PropTypes.bool,
networkAvailable: React.PropTypes.bool
>>>>>>>
]),
checkNetwork: React.PropTypes.bool,
networkAvailable: React.PropTypes.bool,
downloadInBackground: React.PropTypes.bool
<<<<<<<... |
<<<<<<<
var async = require('async');
=======
'use strict';
var RiakNode = require ('./riaknode');
var DefaultNodeManager = require('./defaultnodemanager');
>>>>>>>
'use strict';
var async = require('async'); |
<<<<<<<
it('should allow confirmGameEnded after claimTimeout', (done) => {
assert.doesNotThrow(() => {
Chess.claimTimeout(gameId, {from: player2, gas: 200000});
});
assert.doesNotThrow(() => {
Chess.confirmGameEnded(gameId, {from: player1, gas: 200000});
});
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.