conflict_resolution stringlengths 27 16k |
|---|
<<<<<<<
/* DateInput */
if (kendo.ui.DateInput) {
kendo.ui.DateInput.prototype.options.messages =
$.extend(true, kendo.ui.DateInput.prototype.options.messages, {
"year": "Jahr",
"month": "Monat",
"day": "Tag",
"weekday": "Wochentag",
"hour": "Stunden",
"minute": "Minuten",
... |
<<<<<<<
var _ = require('lodash');
var Node = require('./');
var OrderByValueNode = require('./orderByValue');
var ParameterNode = require('./parameter');
var TextNode = require('./text');
=======
var ParameterNode = require(__dirname + '/parameter');
>>>>>>>
var OrderByValueNod... |
<<<<<<<
=======
let {Map} = require("immutable");
let Axios = require("axios");
>>>>>>>
<<<<<<<
=======
Actions.add.completed.preEmit = function(res) {
// We also can redirect to `/{res.data.id}/edit`
Router.transitionTo("robot-index"); // or use link = router.makePath("robot-index", params, query), concat an... |
<<<<<<<
=======
<div className="pull-right">
<div className="btn-group">
<Link to="robot-index"
withQuery={{page: {limit: 3}}}
className="btn btn-sm btn-secondary">
Perpage 3
</... |
<<<<<<<
<Link to="robot-edit" params={{id: model.get("id")}} className="btn btn-blue" title="Edit">
=======
<Link to="robot-edit" params={{id: model.id}} className="btn btn-orange" title="Edit">
>>>>>>>
<Link to="robot-edit" params={{id: model.get("id")}} classNa... |
<<<<<<<
pg : 'SELECT "post"."content" FROM "post" ORDER BY "post"."content", ("post"."userId" DESC)',
sqlite: 'SELECT "post"."content" FROM "post" ORDER BY "post"."content", "post"."userId" DESC',
=======
pg : 'SELECT "post"."content" FROM "post" ORDER BY "post"."content", "post"."userId" DESC',
>>>>>>>
... |
<<<<<<<
var https_opts = {};
var js_bundles = {};
var bug,
client_js_path,
writer,
server,
=======
var post_opts = https_opts = {};
var bug,
client_js_path,
post_opts,
server,
>>>>>>>
var https_opts = {};
var js_bundles = {};
var bug,
client_js_path,
post_opts,
server,
<<<<<... |
<<<<<<<
const [, mm, dd, yyyy] = /^(\d{2})-(\d{2})-(\d{4})$/.exec('12-25-1995');
const n = new Date(`${mm}, ${dd} ${yyyy}`);
=======
>>>>>>>
const [, mm, dd, yyyy] = /^(\d{2})-(\d{2})-(\d{4})$/.exec('12-25-1995');
const n = new Date(`${mm}, ${dd} ${yyyy}`);
expect(m.valueOf()).toBe(n.getTime())... |
<<<<<<<
if ( navigator && navigator.requestMIDIAccess ) {
navigator.requestMIDIAccess().then(onSuccessCallback, onErrorCallback);
}
=======
try {
navigator.requestMIDIAccess().then(onSuccessCallback, onErrorCallback);
}
catch(err) {
var text = "There was an error on this pag... |
<<<<<<<
/**
Change the playback speed of a Wad during playback.
inputSpeed is a value of 0 < speed, and is the rate of playback of the audio.
E.g. if input speed = 2.0, the playback will be twice as fast
**/
Wad.prototype.setSpeed = function(inputSpeed){
//Ch... |
<<<<<<<
import { Toggles } from 'utils/constants';
import lang from 'languages';
import useSidebar from 'hooks/useSidebar';
import useToggle from 'hooks/useToggle';
=======
>>>>>>>
import { Toggles } from 'utils/constants';
import useToggle from 'hooks/useToggle'; |
<<<<<<<
const CDPList = memo(function({ currentPath, currentQuery, address }) {
const { showType } = useModal();
=======
const CDPList = memo(function({ currentPath, currentQuery }) {
const { showByType } = useModal();
>>>>>>>
const CDPList = memo(function({ currentPath, currentQuery, address }) {
const { show... |
<<<<<<<
import { ETH, MDAI } from '@makerdao/dai-plugin-mcd';
=======
import { fromWei } from 'utils/units';
>>>>>>>
import { ETH, MDAI } from '@makerdao/dai-plugin-mcd';
import { fromWei } from 'utils/units';
<<<<<<<
export function getEventHistory(cdp) {
//return cdp.getEventHistory();
return mockHistoryDataF... |
<<<<<<<
import React, { useCallback, useContext, useEffect, useState } from 'react';
=======
import React, { useContext, useRef } from 'react';
>>>>>>>
import React, { useContext, useRef } from 'react';
<<<<<<<
import {
isOnlyEmojis,
renderText,
getReadByTooltipText,
smartRender,
} from '../../utils';
impor... |
<<<<<<<
}
export function getUnique(arr, comp) {
return arr
.map(e => e[comp])
.map((e, i, final) => final.indexOf(e) === i && i)
.filter(e => arr[e])
.map(e => arr[e]);
}
export function firstLetterLowercase(str) {
return str.charAt(0).toLowerCase() + str.slice(1);
}
export function cleanSymbol(... |
<<<<<<<
import LedgerType from 'components/LedgerType';
import LedgerAddresses from './LedgerAddresses';
import { Grid } from '@makerdao/ui-components-core';
=======
import { Grid, Flex, Box } from '@makerdao/ui-components-core';
>>>>>>>
import LedgerType from 'components/LedgerType';
import LedgerAddresses from './... |
<<<<<<<
>
<MakerSmall />
</NavbarItem>
{shownIlks.map((cdp, idx) => {
const linkPath = `/cdp/${cdp.slug}`;
=======
/>
{cdps.map((cdp, idx) => {
const linkPath = `/cdp/${cdp.id}/`;
>>>>>>>
>
<MakerSmall />
</NavbarItem>
{cdps.map((cdp, id... |
<<<<<<<
it('should not remove undefined', function() {
var objA = {
user: undefined
};
var objB = {
user: undefined
};
expect(jsonpatch.compare(objA, objB)).toReallyEqual([]);
})
=======
it("should r... |
<<<<<<<
if (obj === mirror) {
return;
}
=======
if (typeof obj.toJSON === "function") {
obj = obj.toJSON();
}
>>>>>>>
if (obj === mirror) {
return;
if (typeof obj.toJSON === "function") {
obj = obj.toJSON();
} |
<<<<<<<
Version 2.3.2 (sep 2, 2014):
- Add ttp:// -> http:// alia.
=======
Version 2.3.2 (sep 2, 2014):
- Use TLD list!
>>>>>>>
Version 2.3.2 (sep 2, 2014):
- Add ttp:// -> http:// alia.
- Use TLD list!
<<<<<<<
var urlRE = /\b(?:([-a-z*]+:\/\/)[\w\.]+|(?:([\w:\.]+)@)?(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}|[... |
<<<<<<<
this._parser = new Parser(this, this._stream, {protocols: supportedProtos});
this._parser.handshakeResponse(head);
=======
this._parser = new Parser(this);
var handshake = this._parser.handshakeResponse(head);
try { this._stream.write(handshake, 'binary') } catch (e) {}
>>>>>>>
this._parser = ... |
<<<<<<<
// Traverse in ascending order to make sure that inner circleMarkers are on top of further legs. Normal markers are re-ordered by newPosition.
// The reverse order trick no longer improves performance on modern browsers.
for (i = 0; i < childMarkers.length; i++) {
=======
group._ignoreMove = true;
... |
<<<<<<<
// Refresh bounds and weighted positions.
this._topClusterLevel._recalculateBounds();
=======
layer.off('move', this._childMarkerMoved, this);
>>>>>>>
// Refresh bounds and weighted positions.
this._topClusterLevel._recalculateBounds();
layer.off('move', this._childMarkerMoved, this);
<<<<<<... |
<<<<<<<
if (year && item.date.replace(year[0],"").indexOf(year[0]) !== -1)
item.date = item.date.replace(year[0],"");
=======
if (year && item.date.replace(year,"").indexOf(year) !== -1) {
item.date = item.date.replace(year,"");
}
>>>>>>>
if (year && item.date.replace(year[0],"").indexOf(year[0]) ... |
<<<<<<<
triangle: function(p1, p2, p3){
return new util.Shape(function(ctx){
ctx.beginPath();
ctx.moveTo(p1.x, p1.y);
ctx.lineTo(p2.x, p2.y);
ctx.lineTo(p3.x, p3.y);
ctx.lineTo(p1.x, p1.y);
... |
<<<<<<<
}
function checkBoundingVolume(innerBoundingVolume, outerBoundingVolume, innerTransform, outerTransform) {
var message;
var transformedInnerTile;
var transformedOuterTile;
if (defined(innerBoundingVolume.box) && defined(outerBoundingVolume.box)) {
// Box in Box check
transforme... |
<<<<<<<
var boxInsideBox = utility.boxInsideBox;
=======
var boxInsideSphere = utility.boxInsideSphere;
>>>>>>>
var boxInsideBox = utility.boxInsideBox;
var boxInsideSphere = utility.boxInsideSphere;
<<<<<<<
var contentBox = content.boundingVolume.box;
=======
var contentBox = content.bou... |
<<<<<<<
var gltfUpAxis = tileset.asset.gltfUpAxis;
if (defined(gltfUpAxis)) {
if (gltfUpAxis !== 'X' && gltfUpAxis !== 'Y' && gltfUpAxis !== 'Z') {
return 'gltfUpAxis should either be "X", "Y", or "Z".';
}
}
=======
if (!defined(tileset.asset)) {
return 'Tileset m... |
<<<<<<<
* @param {Array} [options.extensionsUsed] An array containing names of extensions used in the tileset.
* @param {Array} [options.extensionsRequired] An array containing names of extensions required by the tileset.
* @param {String} [options.gltfUpAxis] Specifies the up-axis of embedded glTF models.
=======
... |
<<<<<<<
var extractI3dm = require('../lib/extractI3dm');
=======
var fileExists = require('../lib/fileExists');
>>>>>>>
var extractI3dm = require('../lib/extractI3dm');
var fileExists = require('../lib/fileExists');
<<<<<<<
} else if (command === 'i3dmToGlb') {
// i3dmToGlb is not a pipeline tool, so handle it ... |
<<<<<<<
export default '1.1.2';
=======
module.exports = '1.1.3';
>>>>>>>
export default '1.1.3'; |
<<<<<<<
import { LOCALE_DATE_OPTIONS, ROUTES } from '../constants';
import { HeartIcon, StrengthIcon } from '../components/SvgIcons';
import CreateLinkIcon from '../components/CreateLinkIcon';
=======
import { ROUTES } from '../constants';
import ExerciseEntry from '../components/ExerciseEntry';
import { CreateIcon }... |
<<<<<<<
var value = cell.value
if (value === '?') {
value = 'OTHER'
}
return value + '<br/>' + (cell.stats['volume_difference'] * 100).toFixed(2) + '%'
=======
var vd = (cell.stats['volume_difference'] * 100).toFixed(2) + '%'
var ... |
<<<<<<<
const {width} = Dimensions.get('window');
=======
>>>>>>>
const {width} = Dimensions.get('window');
<<<<<<<
scrollsToTop: PropTypes.bool,
// Enable or disable paging on scroll
pagingEnabled: PropTypes.bool,
// Used when calendar scroll is horizontal, default is device width, paginatio... |
<<<<<<<
day: PropTypes.object,
markingExists: PropTypes.bool,
dotTypes: PropTypes.object
=======
day: PropTypes.object
>>>>>>>
day: PropTypes.object,
dotTypes: PropTypes.object
<<<<<<<
dot = this.renderDots(marked);
} else if (!this.props.markingExists) {
textStyle.push(this.... |
<<<<<<<
shape: {
fill: function(shapeArg){
console.log(shapeArg);
shapeArg.draw(ctx());
ctx().fill();
},
stroke: function(shapeArg){
shapeArg.draw(ctx());
ctx().stroke();
},
... |
<<<<<<<
// Should Keyboard persist taps
keyboardShouldPersistTaps: PropTypes.oneOf(['never', 'always', 'handled'])
};
=======
/** Style for the List item (the calendar) */
calendarStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.number, PropTypes.array]),
/** Whether to use static header... |
<<<<<<<
}else if(dom.matches(dragTarget, 'wb-context, wb-step')){
=======
deleteOriginalBlock(originalBlock, originalParent, nextElem);
}else if(dragTarget.matches('wb-context, wb-step')){
>>>>>>>
deleteOriginalBlock(originalBlock, originalParent, nextElem);
}else if(dom.matches(dragTarge... |
<<<<<<<
/**
* Recursively walks AST and extracts ES5 React component names, child components, props and state
* @returns {Object} Nested object containing name, children, props and state properties of components
*/
function getES5ReactComponents() {
=======
function getES5ReactComponents(ast) {
>>>>>>>
/**
* Rec... |
<<<<<<<
//If we've defined a validator, run it
if (def.validator) {
var err = def.validator(newVal, newType);
if (err) {
throw new TypeError('Property \'' + attr + '\' failed validation with error: ' + err);
}
}
// If we have a d... |
<<<<<<<
myBool: ['boolean', true, false],
good: {
type: 'string',
validator: function (newVal) {
if (newVal !== 'good') {
return "Value not good";
}
}
}
=======
myBool: ['boolean... |
<<<<<<<
it('overwrite doc with update validators (gh-3556)', function(done) {
var testSchema = new Schema({
name: {
type: String,
required: true
},
otherName: String
});
var Test = db.model('gh3556', testSchema);
var opts = { overwrite: true, runV... |
<<<<<<<
if (i === len-1) ref[piece] = type.initValue(self);
=======
if (!ref) ref = doc;
if (i === len-1) ref[piece] = type.getDefault(self);
>>>>>>>
if (i === len-1) ref[piece] = type.getDefault(self);
<<<<<<<
* Apply defaults middleware
*
* @param {Function} next
* @api private
*/
Do... |
<<<<<<<
if (typeof path != 'string'){
var prefix = val ? val + '.' : '';
for (var i in path){
if (path[i].constructor == Object)
this.set(path[i], prefix + i + '.');
else
this.set(prefix + i, path[i]);
}
} else {
// TODO: do actual checking to see if the value changed
... |
<<<<<<<
it('supports getting a list of populated docs (gh-9702)', function() {
const Child = db.model('Child', Schema({ name: String }));
const Parent = db.model('Parent', {
children: [{ type: ObjectId, ref: 'Child' }],
child: { type: ObjectId, ref: 'Child' }
});
return co(function*() {
... |
<<<<<<<
returns: {
blocktype: 'expression',
label: 'image##',
script: 'image##',
type: 'image'
},
=======
locals: [
{
blocktype: 'expression',
labels: ['image##'],
script: 'image##',
... |
<<<<<<<
var query = { _id: books[1]._id };
var update = { title: 'Professional AngularJS' };
Book.update(query, update, function(error) {
assert.equal(error.message, 'woops');
done();
});
=======
assert.equal(count, 1);
assert.equal(preCount, 1);
... |
<<<<<<<
s.plugins = Array.prototype.slice.call(this.plugins);
=======
s._plugins = utils.clone(this._plugins);
s._indexes = utils.clone(this._indexes);
>>>>>>>
s.plugins = Array.prototype.slice.call(this.plugins);
s._indexes = utils.clone(this._indexes); |
<<<<<<<
function makeLean(option) {
option.options || (option.options = {});
option.options.lean = true;
}
/*!
* Handle the `WriteOpResult` from the server
*/
exports.handleWriteOpResult = function handleWriteOpResult(callback) {
return function _handleWriteOpResult(error, res) {
if (error) {
return... |
<<<<<<<
var values, errorMessage;
=======
var values, len;
>>>>>>>
var values;
var errorMessage; |
<<<<<<<
function changeValueOnInputChange(evt){
=======
//toggle an inputs 'filter' selection
ValueProto.toggleSelect = function(){
if (this.getAttribute('selected') === 'true'){
BLOCK_MENU.removeAttribute('filtered');
this.deselect();
}else{
BLOCK_MENU.setAttribute('fi... |
<<<<<<<
describe('Document#getChanges(...) (gh-9096)', function() {
it('returns an empty object when there are no changes', function() {
return co(function*() {
const User = db.model('User', { name: String, age: Number, country: String });
const user = yield User.create({ name: 'Hafez', age... |
<<<<<<<
describe('mongoose.set(`strictQuery`, value); (gh-6658)', function() {
let strictQueryOriginalValue;
this.beforeEach(() => strictQueryOriginalValue = mongoose.get('strictQuery'));
this.afterEach(() => mongoose.set('strictQuery', strictQueryOriginalValue));
it('setting `strictQuery` on base ... |
<<<<<<<
describe('save failure', function() {
it('doesnt reset "modified" status for fields', function(done) {
var db = start();
var UniqueSchema = new Schema({
changer: String,
unique: {
type: Number,
unique: true
}
});
var Unique = db.model(... |
<<<<<<<
it('report error in pre hook (gh-5520)', function(done) {
var TestSchema = new Schema({ name: String });
var ops = [
'count',
'find',
'findOne',
'findOneAndRemove',
'findOneAndUpdate',
'replaceOne',
'update',
'updateOne',
'... |
<<<<<<<
describe('overwriteDiscriminatorKey', function() {
it('allows changing discriminator key in update (gh-6087)', function() {
const baseSchema = new Schema({}, { discriminatorKey: 'type' });
const baseModel = db.model('Test', baseSchema);
const aSchema = Schema({ aThing: Number }, { _id:... |
<<<<<<<
var matchValidator = function(v) {
var ret = ((null != v && '' !== v)
? regExp.test(v)
: true);
return ret;
};
=======
function matchValidator(v) {
if (!regExp) {
return false;
}
return null != v && '' !== v ?
regExp.test(v) :
true;
}
>>>>>>>
var m... |
<<<<<<<
describe('Document#getChanges(...) (gh-9096)', function() {
it('returns an empty object when there are no changes', function() {
return co(function*() {
const User = db.model('User', { name: String, age: Number, country: String });
const user = yield User.create({ name: 'Hafez', age... |
<<<<<<<
=======
stage: {
stageWidth: function(){
return Event.stage.width;
},
stageHeight: function(){
return Event.stage.height;
},
centerX: function(){
return (Event.stage.width / 2);
},
... |
<<<<<<<
goose.connect(process.env.MONGOOSE_TEST_URI || uri);
db.on('open', function() {
db.close(function() {
done();
});
});
});
it('with options', function(done) {
const goose = new Mongoose;
const db = goose.connection;
goose.connect(process.en... |
<<<<<<<
yield Cat.update(cond, update);
const found = yield Cat.findOne(cond);
=======
yield Cat.updateOne(cond, update);
let found = yield Cat.findOne(cond);
>>>>>>>
yield Cat.updateOne(cond, update);
const found = yield Cat.findOne(cond);
<<<<<<<
describe('without... |
<<<<<<<
const doc = { name: 'task1', title: 'task999' };
Task.collection.insert(doc, function(error) {
=======
var doc = { name: 'task1', title: 'task999' };
Task.collection.insertOne(doc, function(error) {
>>>>>>>
const doc = { name: 'task1', title: 'task999' };
Task.collection.i... |
<<<<<<<
function Shape(pathArrayOrFunctionOrSAT){
if (type(pathArrayOrFunctionOrSAT) === 'function'){
this._draw = pathArrayOrFunctionOrSAT;
}else if (type(pathArrayOrFunctionOrSAT) === 'array'){
for(var i =0; i < pathArrayOrFunctionOrSAT.length; i++){
if(!(pa... |
<<<<<<<
var SchemaType = require('../schematype')
, ArrayType = require('./array')
, MongooseDocumentArray = require('../types/documentarray')
, Subdocument = require('../types/embedded')
, Document = require('../document');
var utils = require('../utils.js');
=======
var ArrayType = require('./array');
var D... |
<<<<<<<
, capped: false // { size, max, autoIndexId }
=======
, versionKey: '__v'
>>>>>>>
, capped: false // { size, max, autoIndexId }
, versionKey: '__v' |
<<<<<<<
it('supports cross-db populate with refPath (gh-6520)', function() {
return co(function*() {
const db2 = yield mongoose.createConnection(start.uri2);
const bookSchema = new Schema({ title: String });
const movieSchema = new Schema({ title: String });
const userSchema = new Schem... |
<<<<<<<
},
'Model#save should emit an error as its default error handler if a callback is not passed to it': function () {
var db = start();
var DefaultErrSchema = new Schema({});
DefaultErrSchema.pre('save', function (next, fn) {
next(new Error());
});
var DefaultErr = db.model('Defaul... |
<<<<<<<
exports.sessionNewDocuments = Symbol('mongoose:ClientSession#newDocuments');
=======
exports.scopeSymbol = Symbol('mongoose#Document#scope');
>>>>>>>
exports.sessionNewDocuments = Symbol('mongoose:ClientSession#newDocuments');
exports.scopeSymbol = Symbol('mongoose#Document#scope'); |
<<<<<<<
it('save() depopulates pushed arrays (gh-6048)', function() {
const blogPostSchema = new Schema({
comments: [{
type: mongoose.Schema.Types.ObjectId,
ref: 'gh6048_0'
}]
});
const BlogPost = db.model('gh6048', blogPostSchema);
const commentSchema =... |
<<<<<<<
it('does not apply toObject functions of subdocuments to root document', function( done ){
var subdocSchema = new Schema({
test: String,
wow: String
});
subdocSchema.options.toObject = {};
subdocSchema.options.toObject.transform = function (doc, ret, options) {
delete ret.w... |
<<<<<<<
describe('#remove()', function() {
let B;
=======
describe.skip('#remove()', function() {
var B;
>>>>>>>
describe.skip('#remove()', function() {
let B;
<<<<<<<
it('count()', function(done) {
const BlogPost = db.model('BlogPost' + random(), bpSchema);
=======
it.skip('count(... |
<<<<<<<
it('populate with Decimal128 as ref (gh-4759)', function(done) {
start.mongodVersion(function(err, version) {
if (err) {
done(err);
return;
}
var mongo34 = version[0] > 3 || (version[0] === 3 && version[1] >= 4);
if (!mongo34) {
... |
<<<<<<<
scratchpad = document.querySelector('.scratchpad');
=======
var scratchpad= document.querySelector('.scratchpad'); // <- WB
>>>>>>>
var scratchpad= document.querySelector('.scratchpad'); // <- WB
<<<<<<<
Event.on('.content', 'touchstart', '.block', initDrag);
Event.on('.content', 'touchmo... |
<<<<<<<
console.log('Inbox: ', pos);
var x = pos[0];
var z = pos[1];
engine.setMove(x, z);
var clickedSquare = new THREE.Vector3(x*sz, sz/2+0.1, z*sz);
engine.translateDir = clickedSquare.clone();
engine.translateDir.sub(engine.controls.target0);
engine.translateState ... |
<<<<<<<
import * as entityM from './entitybox.js';
=======
import * as textsprite from './textsprite.js';
>>>>>>>
import * as entityM from './entitybox.js';
import * as textsprite from './textsprite.js'; |
<<<<<<<
=======
if ( !title ) return;
>>>>>>>
if ( !title ) return;
<<<<<<<
=======
if( !name ) return;
>>>>>>>
if( !name ) return;
<<<<<<<
"suffix": "movement direction"
=======
"value": null
},
{
"name"... |
<<<<<<<
const quantity = (acc[current.sku]?.quantity ?? 0) + 1
const value = (acc[current.sku]?.value ?? 0) + current.price
const formattedValue = toCurrency({ value, currency, language })
=======
const quantity = (acc[current.sku]?.quantity ?? 0) + 1;
const value = (acc[current.sku]?.value ?? 0) ... |
<<<<<<<
let result;
beforeEach(() => {
const wrapper = createWrapper();
result = renderHook(() => useStripeCart(), { wrapper }).result;
});
=======
>>>>>>>
let result;
beforeEach(() => {
const wrapper = createWrapper();
result = renderHook(() => useStripeCart(), { wrapper }).result;
});
<<<<<<<
it('add... |
<<<<<<<
const [channels, setChannels] = useState(/** @type {Channel[]} */ ([]));
=======
const [channels, setChannels] = useState([]);
>>>>>>>
const [channels, setChannels] = useState(/** @type {Channel[]} */ ([]));
<<<<<<<
/**
* @param {string} [queryType]
*/
=======
>>>>>>>
/**
* @param {s... |
<<<<<<<
default_lifetime = 3600,
options = {
"debug": false
};
=======
default_lifetime = 3600,
>>>>>>>
default_lifetime = 3600,
options = {
"debug": false
},
<<<<<<<
/*
* ------ SECTION: Utilities
*/
/*
* Returns a random string used for state
*/
var uuid = function() {
return 'xx... |
<<<<<<<
status_stub = sinon.stub(status, 'get_status').callsFake((cb) => {
return cb(null, {});
});
=======
server_stub = sinon.stub(server, 'create_server').callsFake(() => {
return;
});
>>>>>>>
status_stub = sinon.stub(status, 'get_status').callsFake((cb) => {
return cb(null, ... |
<<<<<<<
"INCLUDE_INSTRUCTIONS": "Les polices Edge Web Fonts sont chargées dans le navigateur de l’utilisateur via JavaScript. Pour vérifier que les polices sont correctement chargées, vous devez ajouter une balise de script à votre document HTML. Copiez la balise de script qui suit, et collez-la dans tous les fichiers... |
<<<<<<<
=======
// use the emitter to emit the appropriate events
>>>>>>>
// use the emitter to emit the appropriate events
<<<<<<<
'are json': function(error, result) {
assert.isObject(result);
},
'have the right structure': function(err... |
<<<<<<<
const fs = require('fs');
=======
const prereleaseRegex = /\d+\.\d+\.\d+-pre-b\d+/;
>>>>>>>
const fs = require('fs');
const prereleaseRegex = /\d+\.\d+\.\d+-pre-b\d+/; |
<<<<<<<
modulus.commands.addons = require('./commands/addOn');
=======
modulus.commands.mongo = require('./commands/mongo');
modulus.commands.config = require('./commands/config')
>>>>>>>
modulus.commands.addons = require('./commands/addOn');
modulus.commands.mongo = require('./commands/mongo');
modulus.commands.con... |
<<<<<<<
// http://www.graphicsmagick.org/GraphicsMagick.html#details-flatten
proto.flatten = function flatten () {
return this.out("-flatten");
}
=======
// http://www.graphicsmagick.org/GraphicsMagick.html#details-background
proto.background = function background (color) {
return this.out("-backg... |
<<<<<<<
import {
types as CompanyTypes,
queries as CompanyQueries,
mutations as CompanyMutations,
} from './company';
import { types as ChannelTypes, queries as ChannelQueries } from './channel';
=======
import {
types as ChannelTypes,
queries as ChannelQueries,
mutations as ChannelMutations,
} from './c... |
<<<<<<<
};
export const MESSENGER_KINDS = {
CHAT: 'chat',
NOTE: 'note',
POST: 'post',
ALL_LIST: ['chat', 'note', 'post'],
};
export const SENT_AS_CHOICES = {
BADGE: 'badge',
SNIPPET: 'snippet',
FULL_MESSAGE: 'fullMessage',
ALL_LIST: ['badge', 'snippet', 'fullMessage'],
};
export const MESSAGE_KINDS =... |
<<<<<<<
import { types as InsightTypes, queries as InsightQueries } from './insight';
=======
import { types as KnowledgeBaseTypes, queries as KnowledgeBaseQueries } from './knowledgeBase';
>>>>>>>
import { types as InsightTypes, queries as InsightQueries } from './insight';
import { types as KnowledgeBaseTypes, ... |
<<<<<<<
import conversations from './conversations';
=======
import conversation from './conversation';
import tags from './tags';
import engages from './engages';
>>>>>>>
import conversations from './conversations';
import tags from './tags';
import engages from './engages';
<<<<<<<
...conversations,
=======
... |
<<<<<<<
import Random from 'meteor-random';
import { COC_CONTENT_TYPES } from '../../data/constants';
=======
import { INTERNAL_NOTE_CONTENT_TYPES } from '../../data/constants';
import { field } from './utils';
>>>>>>>
import { field } from './utils';
import { COC_CONTENT_TYPES } from '../../data/constants';
<<<<<<<... |
<<<<<<<
export const FACEBOOK_DATA_KINDS = {
FEED: 'feed',
MESSENGER: 'messenger',
ALL_LIST: ['feed', 'messenger'],
};
=======
export const MESSENGER_KINDS = {
CHAT: 'chat',
NOTE: 'note',
POST: 'post',
ALL_LIST: ['chat', 'note', 'post'],
};
export const SENT_AS_CHOICES = {
BADGE: 'badge',
SNIPPET:... |
<<<<<<<
InternalNotes,
Customers,
=======
ConversationMessages,
Conversations,
Integrations,
Tags,
Segments,
EngageMessages,
>>>>>>>
InternalNotes,
Customers,
ConversationMessages,
Conversations,
Integrations,
Tags,
Segments,
EngageMessages,
<<<<<<<
export const segmentFactory = (par... |
<<<<<<<
import {
Users,
Brands,
EmailTemplates,
ResponseTemplates,
ConversationMessages,
Conversations,
} from './models';
import { CONVERSATION_STATUSES } from '../data/constants';
=======
import {
Users,
Integrations,
Brands,
EmailTemplates,
ResponseTemplates,
Tags,
Forms,
FormFields,
... |
<<<<<<<
import insights from './insights';
=======
import knowledgeBase from './knowledgeBase';
>>>>>>>
import insights from './insights';
import knowledgeBase from './knowledgeBase';
<<<<<<<
...insights,
=======
...knowledgeBase,
>>>>>>>
...insights,
...knowledgeBase, |
<<<<<<<
=======
Tags,
Segments,
>>>>>>>
<<<<<<<
ConversationMessages,
Conversations,
Integrations,
Tags,
=======
EngageMessages,
Integrations,
>>>>>>>
ConversationMessages,
Conversations,
Integrations,
Tags,
Segments,
EngageMessages, |
<<<<<<<
var on = function on(elem, eventname, selector, handler, onceOnly){
=======
function on(elem, eventname, selector, handler){
>>>>>>>
function on(elem, eventname, selector, handler, onceOnly){
<<<<<<<
var once = function(elem, eventname, selector, handler){
return Event.on(elem, event... |
<<<<<<<
import { useChannelHiddenListener } from './hooks/useChannelHiddenListener';
=======
import { useChannelVisibleListener } from './hooks/useChannelVisibleListener';
>>>>>>>
import { useChannelHiddenListener } from './hooks/useChannelHiddenListener';
import { useChannelVisibleListener } from './hooks/useChanne... |
<<<<<<<
try {
augur.web.importAccount(name, password, keystore, (loginAccount) => {
const importedAccount = { ...loginAccount, id: loginAccount.address, loginID: account.loginID || account.secureLoginID };
if (!importedAccount || !importedAccount.keystore) {
return;
}
if (rememberMe && localSt... |
<<<<<<<
=======
import authForm from 'modules/auth/selectors/auth-form';
import topics from 'modules/topics/selectors/topics';
>>>>>>>
import topics from 'modules/topics/selectors/topics'; |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.