conflict_resolution stringlengths 27 16k |
|---|
<<<<<<<
(function (lcovParse, Q, Joi, logger, util, path) {
=======
(function (lcovParse, Promise, Joi, logger, path) {
>>>>>>>
(function (lcovParse, Promise, Joi, logger, util, path) {
<<<<<<<
}(require('lcov-parse'), require('q'), require('joi'), require('../logger')(), require('../util'), require('path')));
===... |
<<<<<<<
var arrayClone = function(){return this.slice()}
// All our new methods, what they'll be called and their functions
var types = {
Array:{
findItem:findItem,
extend:extend,
contains:contains,
clone:arrayClone
},
Object:{
getKeys:getKeys,
getSize:getSi... |
<<<<<<<
scope.sfIdentifier = scope.sfIdentifier || 'Id';
scope.selectedItemIds = scope.selectedItemIds || [];
=======
scope.selectedItems = scope.selectedItems || [];
scope.hierarchy = {};
>>>>>>>
scope.selectedItems ... |
<<<<<<<
ctrl.removeUnselectedItems = function () {
if (ctrl.$scope.multiselect) {
var reoderedItems = [];
if (ctrl.$scope.selectedItemsViewData && ctrl.$scope.selectedItemsViewData.length > 0) {
... |
<<<<<<<
//For multiple selection
selectedItems: '=?',
selectedIds: '=?',
provider: '=?',
taxonomyId: '=?', /* flat-selector */
itemType: '@?' /* content-selector */
=======
pro... |
<<<<<<<
+ this.paths.reduce(function(str, path) {
return str + self._render(path);
}, '')
+ 'var exp = require(\'' + mod + '\');'
+ 'if ("undefined" != typeof module) module.exports = exp;'
+ 'else ' + (opt.global || opt.main) + ' = exp;\n'
=======
+ this.paths.sort().reduce(function... |
<<<<<<<
asNavFor: null,
=======
prevArrow: '<button type="button" class="slick-prev">Previous</button>',
nextArrow: '<button type="button" class="slick-next">Next</button>',
>>>>>>>
asNavFor: null,
prevArrow: '<button type="button" class... |
<<<<<<<
connection.once('ping', this._initialPing.bind( this ) );
connection.on('permissionQuery', this._permissionQuery.bind( this ) );
=======
connection.on('channelRemove', this._channelRemove.bind( this ));
connection.on('userRemove', this._userRemove.bind( this ) );
>>>>>>>
connection.once... |
<<<<<<<
* Fuel UX Utilities
=======
* Fuel UX Checkbox
* https://github.com/ExactTarget/fuelux
*
* Copyright (c) 2012 ExactTarget
* Licensed under the MIT license.
*/
define('fuelux/checkbox',['require','jquery'],function(require) {
var $ = require('jquery');
// CHECKBOX CONSTRUCTOR AND PROTOTYPE
... |
<<<<<<<
* Fuel UX Utilities
=======
* Fuel UX Checkbox
* https://github.com/ExactTarget/fuelux
*
* Copyright (c) 2012 ExactTarget
* Licensed under the MIT license.
*/
define('fuelux/checkbox',['require','jquery'],function(require) {
var $ = require('jquery');
// CHECKBOX CONSTRUCTOR AND PROTOTYPE
... |
<<<<<<<
if (this.$pagesize.hasClass('select')) {
this.$pagesize.select('selectByValue', this.options.dataOptions.pageSize);
=======
// Shim until v3 -- account for FuelUX select or native select for page size:
if (this.$pagesize.hasClass('select')) {
>>>>>>>
// Shim until v3 -- account for FuelUX select o... |
<<<<<<<
=======
import React, { useState, useEffect } from 'react'
import Layout from '../components/layout'
import queryString from 'query-string'
import { CopyToClipboard } from 'react-copy-to-clipboard'
import styled from 'styled-components'
import { parse } from 'orga'
import toHAST from 'oast-to-hast'
>>>>>>>
i... |
<<<<<<<
console.log('alex says that React Velocity is a great project name...');
=======
console.log('alex says...');
console.log('alex added from personal fork');
for (var i = 0; i < 2; i++) {
if (i === 0) {
console.log('alex is number 1');
}
}
>>>>>>>
console.log('alex says that React Velocity is a great ... |
<<<<<<<
=======
this.handleTextFieldChange = this.handleTextFieldChange.bind(this);
this.onButtonPress = this.onButtonPress.bind(this);
this.onKeyPress = this.onKeyPress.bind(this);
this.handleExport = this.handleExport.bind(this);
>>>>>>>
<<<<<<<
=======
buttonCall(){console.log('kausbdfka... |
<<<<<<<
flattenedArray: []
=======
error: '',
>>>>>>>
flattenedArray: []
error: '',
<<<<<<<
<Webpage
flattenedArray = {this.state.flattenedArray}
=======
<Webpage
error={this.state.error}
textFieldValue={this.state.textFieldValue}
>>>>>>>
... |
<<<<<<<
buttonCall(){console.log('kausbdfkasndfdlsinfas')};
=======
>>>>>>>
buttonCall(){console.log('kausbdfkasndfdlsinfas')}; |
<<<<<<<
import { paul, scott } from '../../generateContent';
import JSZip from 'jszip';
const zip = new JSZip();
=======
import Tree from './tree';
>>>>>>>
import { paul, scott } from '../../generateContent';
import JSZip from 'jszip';
const zip = new JSZip();
import Tree from './tree';
<<<<<<<
this.state = {o... |
<<<<<<<
},{"fz/events/Emitter":4,"fz/utils/timeout":10}],4:[function(require,module,exports){
=======
},{"fz/events/Emitter":4,"fz/utils/timeout":8}],4:[function(require,module,exports){
'use strict';
>>>>>>>
},{"fz/events/Emitter":4,"fz/utils/timeout":10}],4:[function(require,module,exports){
'use strict';
<<<<<<<... |
<<<<<<<
this._pixiLoader = new PIXI.loaders.Loader();
this._pixiLoader.add("img/default.jpg");
this._pixiLoader.add("img/sprites/sprites.json");
this._pixiLoader.add("img/sprites/roboto_regular.fnt");
this._pixiLoader.add("img/sprites/roboto_medium.fnt");
this._loaderOfLoader = new PIXI.loaders... |
<<<<<<<
resources: '#resourcesButton'
=======
ok_loc: '#ok_loc',
resources: '#resourcesButton',
sch_vc: '#schButton',
vis_ors: '#vis_ors',
vis_rdt: '#vis_rdt',
vis_vita: '#vis_vita',
vis_alb: '#vis_alb',
vis_bl... |
<<<<<<<
requires: ['Screener.store.Doctors', 'Screener.store.NewPatients', 'Screener.store.PatientList', 'Screener.store.NewPersons', 'Screener.store.IdentifierType', 'Screener.store.Location', 'Screener.view.PharmacyForm', 'Screener.view.PatientListView'],
models:['Screener.model.Person', 'Screener.mosel.PostL... |
<<<<<<<
=======
////////////////////////////
// Inventory
////////////////////////////
// Navigation bar
>>>>>>>
////////////////////////////
// Inventory
////////////////////////////
// Naviga... |
<<<<<<<
=======
requires: ['Registration.view.Home', 'Registration.view.RegistrationPart1', 'Registration.view.RegistrationPart2', 'Registration.view.ConfirmationScreen','Registration.view.SearchPart1','Registration.view.SearchPatientScreen', 'Registration.view.SearchPart2', 'Ext.tab.*', 'Ext.grid.*', 'Ext.data.... |
<<<<<<<
text: 'Add an Illness',
action: 'illnessAdd'
=======
text: Ext.i18n.appBundle.getMsg('RaxaEmr.view.textfield.newIllness'),
itemId: 'illnessAdd'
>>>>>>>
text: Ext.i18n.appBundle.getMsg('RaxaEmr.view.textfield.n... |
<<<<<<<
if (localStorage.getItem("host") == null) {
var HOST = 'http://test.raxa.org:8080/openmrs';
} else HOST = localStorage.getItem("host");
=======
var HOST;
var DEFAULT_HOST = 'http://test.raxa.org:8080/openmrs';
if (localStorage.getItem("host") === null) {
HOST = DEFAULT_HOST;
} else {
HOST = l... |
<<<<<<<
'Screener.store.AssignedPatientList',
'Screener.store.Doctors',
'Screener.store.drugConcept',
'Screener.store.drugEncounter',
'Screener.store.druglist',
'Screener.store.encounterpost',
'Screener.store.encounters',
'Screener.store.IdentifierType',
'Screener.store.Location',
... |
<<<<<<<
//Ext.getCmp('casteConfirm').setValue(Ext.getCmp('caste').value);
=======
// This was causing a bug, as none of the fields after this line were copied to confirmation page
// Ext.getCmp('casteConfirm').setValue(Ext.getCmp('caste').value);
>>>>>>>
// This was causing a bug, as none of the field... |
<<<<<<<
/**
* Copyright 2012, Raxa
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... |
<<<<<<<
const defaultProps = {
viewData: {},
};
=======
const polyfills = [
'default',
'fetch',
'HTMLCanvasElement.prototype.toBlob',
'Node.prototype.contains',
'Number.isNaN',
'Object.assign',
'Object.entries',
'Object.values',
'Promise',
'requestIdleCallback',
'String.prototype.includes',
'URL',
].joi... |
<<<<<<<
config.node = {
console: 'mock',
fs: 'empty',
net: 'empty',
tls: 'empty',
};
=======
config.node = {
...config.node,
fs: "empty",
}
>>>>>>>
config.node = {
...config.node,
fs: "empty",
}; |
<<<<<<<
const { locationData, loginData, communityData } = usePageContext();
=======
const renderHeader = (useFullHeader, modeProps) => {
const { collabData, historyData, pubData, updateLocalData } = modeProps;
if (useFullHeader) {
return (
<PubSuspendWhileTyping delay={1000}>
{() => (
<PubHea... |
<<<<<<<
import classNames from 'classnames';
import { Header, Footer, GdprBanner, AccentStyle, NavBar, Icon } from 'components';
=======
import { Header, Footer, GdprBanner, AccentStyle, NavBar, Icon, SkipLink } from 'components';
>>>>>>>
import classNames from 'classnames';
import { Header, Footer, GdprBanner, Acce... |
<<<<<<<
import Plugins from '../../components/EditorPlugins/index';
export function codeMirrorStyles(loginData) {
=======
export function codeMirrorStyles(loginData, parentClass) {
>>>>>>>
import Plugins from '../../components/EditorPlugins/index';
export function codeMirrorStyles(loginData, parentClass) {
<<<<<<... |
<<<<<<<
import {featurePub} from '../services/recommendations';
=======
const Firebase = require('firebase');
import {fireBaseURL, generateAuthToken} from '../services/firebase';
>>>>>>>
const Firebase = require('firebase');
import {fireBaseURL, generateAuthToken} from '../services/firebase';
import {featurePub} fro... |
<<<<<<<
const searchInputRef = useRef();
const [isExpanded, setIsExpanded] = useState();
=======
const [isExpanded, setIsExpanded] = useState(defaultExpanded);
>>>>>>>
const searchInputRef = useRef();
const [isExpanded, setIsExpanded] = useState(defaultExpanded); |
<<<<<<<
const scopeData = await getScope({
communityId: communityId,
loginId: userId,
});
const editProps = [
'title',
'subdomain',
'description',
'avatar',
'favicon',
'accentColorLight',
'accentColorDark',
'navigation',
'website',
'twitter',
'facebook',
'email',
'hideCreatePubButton',
... |
<<<<<<<
const validLicenseSlug =
!licenseSlug ||
scopeData.elements.activeCommunity.premiumLicenseFlag ||
licenseSlug === 'cc-by' ||
licenseSlug === 'cc-0';
const canManage = validLicenseSlug && scopeData.activePermissions.canManage;
const editProps = [
'slug',
'title',
'description',
'avatar',
'he... |
<<<<<<<
import { GridWrapper } from 'components';
import Icon from 'components/Icon/Icon';
=======
import PropTypes from 'prop-types';
import { GridWrapper, Icon } from 'components';
>>>>>>>
import { GridWrapper, Icon } from 'components'; |
<<<<<<<
import stickybits from 'stickybits';
import { usePageContext } from 'utils/hooks';
=======
import { useSticky } from 'utils/useSticky';
>>>>>>>
import { usePageContext } from 'utils/hooks';
import { useSticky } from 'utils/useSticky'; |
<<<<<<<
ManagerBase.prototype._create_comm = function(comm_target_name, model_id, metadata) {
return Promise.reject('No backend.');
=======
ManagerBase.prototype._create_comm = function(comm_target_name, model_id, data) {
return Promise.reject("No backend.");
>>>>>>>
ManagerBase.prototype._create_comm = func... |
<<<<<<<
// jupyter-js-widgets version
var version = '4.1.0dev';
var _ = require('underscore');
var Backbone = require('backbone');
var utils = require('./utils');
=======
var _ = require("underscore");
var Backbone = require("backbone");
var utils = require("./utils");
var semver = require("semver");
>>>>>>>
var _ ... |
<<<<<<<
},
=======
this._textAlign = this.defaultTextAlign;
>>>>>>>
this._textAlign = this.defaultTextAlign;
}, |
<<<<<<<
Crafty.c("Collision", {
=======
Crafty.c("collision", {
init: function() {
this.requires("2D");
},
>>>>>>>
Crafty.c("Collision", {
init: function() {
this.requires("2D");
}, |
<<<<<<<
_textFont: {
"type": "",
"weight": "",
"size": "",
"family": ""
},
defaultSize: "10px",
defaultFamily: "sans-serif",
=======
>>>>>>>
defaultSize: "10px",
defaultFamily: "sans-serif", |
<<<<<<<
this.hookCommand(new CommandStruct(null, { name: 'changelog', info: 'Shows the changelog.', func: this.commandChangelog }));
=======
this.hookCommand(new CommandStruct(null, { name: 'udiag', info: 'Generates and uploads a diagnostic file.', func: this.uDiagnostics.bind(this) }));
this.... |
<<<<<<<
change(date(2019, 9, 17), <>Added more information to the <SpellLink id={SPELLS.PURGE_THE_WICKED_BUFF.id} /> module.</>, [Khadaj]),
=======
change(date(2019, 8, 17), <>Updated cooldown of <SpellLink id={SPELLS.POWER_WORD_RADIANCE.id} /> from 18 seconds to 20.</>, [Adoraci]),
change(date(2019, 8, 16), <>... |
<<<<<<<
const {
article: { slug },
emailSignupUrl,
headerHeight,
isMobile,
marginTop,
showTooltips,
onOpenAuthModal,
} = this.props
const { renderTimes } = this.state
=======
const { showTooltips, onOpenAuthModal } = this.props
const { renderTimes, article... |
<<<<<<<
SENTRY_PUBLIC_DSN,
=======
OPENREDIS_URL,
REQUEST_EXPIRE_MS,
REQUEST_LIMIT,
SENTRY_PRIVATE_DSN,
>>>>>>>
SENTRY_PRIVATE_DSN, |
<<<<<<<
import { buildServerApp } from 'reaction/Router'
import { Meta, query, toJSONLD } from './components/Meta'
=======
import { buildServerApp } from 'reaction/Artsy/Router'
import { Meta, query } from './components/Meta'
>>>>>>>
import { buildServerApp } from 'reaction/Artsy/Router'
import { Meta, query, toJSON... |
<<<<<<<
// Create the list if it doesn't exist.
// It might be better to mark ourselves as invalid instead, but this works just fine.
this.target.lists[listName] = createList();
=======
this.target.lists[listName] = new Scratch3List();
>... |
<<<<<<<
const lod = costume.get(objectScale * c.stage.zoom);
ctx.imageSmoothingEnabled = false;
const x = -costume.rotationCenterX * objectScale;
const y = -costume.rotationCenterY * objectScale;
const w = costume.width * objectScale;
... |
<<<<<<<
})(readers = IO.readers || (IO.readers = {}));
})(IO = P.IO || (P.IO = {}));
})(P || (P = {}));
/// <reference path="phosphorus.ts" />
/// <reference path="core.ts" />
/// <reference path="audio.ts" />
// The phosphorus runtime for Scratch
// Provides methods expected at runtime by scripts created b... |
<<<<<<<
var homeStack = [
loadUser,
loadProviders,
isHomepage,
dashExists,
checkProfile,
setViewVar('statuses', app.get('statuses')),
render('dashboard')
];
app.get('/', homeStack);
=======
var liveStack = [
isLive(app),
loadUser,
loadProviders,
setViewVar('statuses'... |
<<<<<<<
// TODO: Use fake timer
await new Promise(resolve =>
setTimeout(resolve, txSubscription.getEventsTimeout() * 2)
);
=======
// TODO: Use fake timer when Sinon/Lolex supports it.
// See more:
// https://github.com/sinonjs/sinon/issues/1739
// https://github.co... |
<<<<<<<
log(getTopView()); // Associate the element with its view controller
browser.push(slide, _title, context);
// Invoke the function and set 'this' to be context.
options.beforeVisible && options.beforeVisible.apply(context);
if (options.afterVisible) {
... |
<<<<<<<
facebook_session.graphCall("/me", {
})(function(result) {
response.writeHead(200, {'Content-Type': 'text/plain'});
response.write('By using Graph API:' + "\n");
response.write(' Name:' + result.name + "\n");
response.write(' Id:' + result.id + "\... |
<<<<<<<
"postman",
=======
"solidworks",
>>>>>>>
"postman",
"solidworks",
<<<<<<<
skills: ["linux", "git"],
}
=======
skills: ["linux", "git", "arduino"],
},
>>>>>>>
skills: ["linux", "git", "arduino"],
},
<<<<<<<
vuejs: "https://devicons.github.io/devicon/devicon.git... |
<<<<<<<
/**
* returns next boundaryPoint with empty node
*
* @param {BoundaryPoint} point
* @param {Boolean} isSkipInnerOffset
* @return {BoundaryPoint}
*/
function nextPointWithEmptyNode(point, isSkipInnerOffset) {
let node, offset;
// if node is empty string node, return current node's sibling.
if (isE... |
<<<<<<<
},
'When gzip and brotli compression is enabled and a compressed file is available': {
topic: function () {
var server = httpServer.createServer({
root: root,
brotli: true,
gzip: true
});
server.listen(8084);
this.callback(null, server);
},
'and a ... |
<<<<<<<
// XXXXXXXX
import { base64dict } from "./base64-convert"
console.log(layerChannelCounts)
=======
>>>>>>>
<<<<<<<
.attr('xlink:href', d => {
// let filename = '../data/feature-vis/channel/' + layer + '-' + d.channel + '-channel' + fv_type
// return fi... |
<<<<<<<
// Update summary for the first histogram evolution
var dates = hgramEvo.dates();
$('#prop-kind').text(hgram.kind());
$('#prop-submissions').text(fmt(hgram.submissions()));
$('#prop-count').text(fmt(hgram.count()));
$('#prop-dates').text(fmt(dates.length));
$('#prop-date-range').text(moment(dat... |
<<<<<<<
// bound, so we estimate one.
end = _estimateLastBucketEnd(this);
=======
// bound and we estimate one. First we estimate the sum of all data-points
// in buckets below i
var sum_before_i = 0;
for (var j = 0; j < i; j++) {
var a_points = _aggregate(j, this);
var bucket_cent... |
<<<<<<<
import { routerReducer as router } from 'react-router-redux'
import account from 'routes/Account/modules/account'
import library from 'routes/Library/modules/library'
import queue from 'routes/Queue/modules/queue'
=======
import locationReducer from './location'
>>>>>>>
import locationReducer from './locatio... |
<<<<<<<
import { connect } from 'react-redux'
import Navigation from '../../components/Navigation'
import LibraryView from '../../routes/Library/containers/LibraryContainer'
import classes from './CoreLayout.css'
=======
import Header from '../../components/Header'
import './CoreLayout.scss'
>>>>>>>
import Header fr... |
<<<<<<<
const webpackConfig = require('../build/webpack.config')
const config = require('../config')
const paths = config.utils_paths
=======
const webpackConfig = require('../config/webpack.config')
const project = require('../config/project.config')
const compress = require('compression')
const app = express()
>>... |
<<<<<<<
if (window.Tether === undefined) {
throw new Error('Bootstrap tooltips require Tether (http://tether.io/)')
=======
if (typeof Tether === 'undefined') {
throw new Error('Bootstrap tooltips require Tether (http://github.hubspot.com/tether/)')
>>>>>>>
if (typeof Tether === 'undefined') {
thro... |
<<<<<<<
}(window.jQuery);
/* =============================================================
* bootstrap-scrollspy.js v3.0.0
=======
======================================================
* bootstrap-scrollspy.js v2.2.2
=======
/* POPOVER NO CONFLICT
* =================== */
$.fn.popover.noConflict = function (... |
<<<<<<<
* bootstrap-transition.js v3.0.0
=======
* bootstrap-transition.js v2.3.0
>>>>>>>
* bootstrap-transition.js v3.0.0
<<<<<<<
* bootstrap-alert.js v3.0.0
=======
* bootstrap-alert.js v2.3.0
>>>>>>>
* bootstrap-alert.js v3.0.0
<<<<<<<
* bootstrap-button.js v3.0.0
=======
* bootstrap-button.js v2.3... |
<<<<<<<
// attach dropImage
this.$dropzone.on('drop', (event) => {
const dataTransfer = event.originalEvent.dataTransfer;
=======
// stop the browser from opening the dropped content
event.preventDefault();
if (dataTransfer && dataTransfer.files && dataTransfer.files.length) {
... |
<<<<<<<
compileCore: {
options: {
sourceMap: true,
outputSourceFiles: true,
sourceMapURL: '<%= pkg.name %>.css.map',
sourceMapFilename: 'dist/css/<%= pkg.name %>.css.map'
},
files: {
'dist/css/<%= pkg.name %>.css': 'less/bootstrap.less'
... |
<<<<<<<
li = $('<li class="opt"><label>' + opt.text() + '</label></li>');
=======
// todo: remove this data val
var li = $('<li class="opt"><label>' + opt.text() + '</label></li>');//.data('val... |
<<<<<<<
if (labelPath){
$opt.text(readPath(data, labelPath));
}else {
$opt.text(data[treeData.labelFld || "text"]);
}
if (idPath) {
$opt.val(readPath(data, idPath));
} else {
$opt.val(data[treeData.valFld || "id"]);
}
=======
$opt.text(data[treeData.labelFld || "text"]... |
<<<<<<<
var fileExt = main.match(/\.\w+$/)[0];
if (fileExt == '.coffee')
require('coffee-script');
/**
* Hook into `require`.
*/
var _require = require.extensions[fileExt];
require.extensions[fileExt] = function(module, filename) {
=======
/** Hook into `require()` */
var requireJs = require.extensions['.js'];
re... |
<<<<<<<
else if (typeof data === 'string') console.log(data);
else prettyStdOut.write(data);
=======
else if (typeof data === 'string') prettyStdOut.write(data);
else prettyStdOut.write(data);
>>>>>>>
else if (typeof ... |
<<<<<<<
import canvasBg from './background.png';
import rasterSrc from './transparent.png';
=======
>>>>>>>
import rasterSrc from './transparent.png';
<<<<<<<
const _makeRasterLayer = function () {
const rasterLayer = new paper.Layer();
rasterLayer.data.isRasterLayer = true;
clearRaster();
return ra... |
<<<<<<<
[key: string]: any;
};
export type PredefinedGeneratorOptions = {
name: string;
dir?: string;
entryPoint: string;
};
=======
[key: string]: ?string;
}
export type Response = {
status: (code: number) => void;
sendStatus: (code: number) => void;
send: (value: string | Object | Buffer) => void;... |
<<<<<<<
export async function prepareOutput(req, {Index, store, getRoutes, fileName}, renderProps, config, envVariables, getHead=_getHead, Entry=_Entry, _webpackIsomorphicTools=webpackIsomorphicTools) {
=======
export function enableComponentCaching (componentCacheConfig, isProduction, SSRCaching=_SSRCaching) {
if ... |
<<<<<<<
"babel-eslint": "7.1.1",
"babel-istanbul-loader": "0.1.0",
=======
"babel-eslint": "6.0.4",
>>>>>>>
"babel-eslint": "7.1.1", |
<<<<<<<
moduleNameMapper[`^[./a-zA-Z0-9$_-]+\\.(${images.join('|')})$`]
= `${TEST_MOCKS_PATH}/fileMock.js`;
moduleNameMapper[`^[./a-zA-Z0-9$_-]+\\.(${styles.join('|')})$`]
= `${TEST_MOCKS_PATH}/styleMock.js`;
*/
=======
moduleNameMapper[`^[./a-zA-Z0-9@$_-]+\\.(${images.join('|')}|${other.join('|')})$`... |
<<<<<<<
// This is a necessary hack to find Jest depending if node_modules has flatten dependencies or not
const JEST_PATH = `${require.resolve('jest').split('jest')[0]}.bin/jest`;
const JEST_DEBUG_CONFIG_PATH = `${path.join(__dirname, '..', '..', 'test')}/jestEnvironmentNodeDebug.js`;
=======
const NODE_MODULES_PATH... |
<<<<<<<
const vendors = vendor ? { vendor } : {};
return {
=======
const baseWebpackConfig = {
>>>>>>>
const vendors = vendor ? { vendor } : {};
const baseWebpackConfig = { |
<<<<<<<
Job.prototype.disable = function() {
this.attrs.disabled = true;
return this;
};
Job.prototype.enable = function() {
this.attrs.disabled = false;
return this;
};
=======
Job.prototype.unique = function(unique) {
this.attrs.unique = unique;
return this;
};
>>>>>>>
Job.prototype.disable = functi... |
<<<<<<<
const compressHTMLMinifier = (settings, content, callback) => {
const options = extend(defaultOptions, settings.options);
const contentMinified = HTMLMinifier(content, options);
utils.writeFile(settings.output, contentMinified);
=======
function compressHTMLMinifier(settings, content, callback, index) {... |
<<<<<<<
const compressBabelMinify = (settings, content, callback) => {
let babelOptions = {
=======
function compressBabelMinify(settings, content, callback, index) {
var babelOptions = {
>>>>>>>
const compressBabelMinify = (settings, content, callback, index) => {
let babelOptions = {
<<<<<<<
const content... |
<<<<<<<
const compressSqwish = (settings, content, callback) => {
const contentMinified = sqwish.minify(content, settings.options.strict);
utils.writeFile(settings.output, contentMinified);
=======
function compressSqwish(settings, content, callback, index) {
var contentMinified = sqwish.minify(content, setting... |
<<<<<<<
const content = getContentFromFiles(settings.input);
=======
if (Array.isArray(settings.output)) {
return settings.sync ? compressArrayOfFilesSync(settings) : compressArrayOfFilesAsync(settings);
} else {
return compressSingleFile(settings);
}
}
/**
* Compress an array of files in sync.
*
... |
<<<<<<<
const compressCrass = (settings, content, callback) => {
const contentMinified = crass
=======
function compressCrass(settings, content, callback, index) {
var contentMinified = crass
>>>>>>>
const compressCrass = (settings, content, callback, index) => {
const contentMinified = crass |
<<<<<<<
const fileCSSOut = __dirname + '/../examples/public/dist/sample.css';
=======
var fileCSSOut = __dirname + '/../examples/public/dist/sample.css';
var oneFileHTML = __dirname + '/../examples/public/index.html';
var fileHTMLOut = __dirname + '/../examples/public/dist/index.min.html';
var filesHTMLArray = [__dir... |
<<<<<<<
import { formatDateTime } from 'utils/date';
import { request } from 'utils/api';
=======
import { observer, inject } from 'mobx-react';
import { DateTime } from 'luxon';
import { Layout } from 'components/Layout';
>>>>>>>
import { request } from 'utils/api';
import { formatDateTime } from 'utils/date';
imp... |
<<<<<<<
const { sort, name, skip, limit, shop } = ctx.request.body;
const query = { deletedAt: { $exists: false } };
=======
const { ids = [], sort, skip, limit, shop } = ctx.request.body;
const query = {
...(ids.length ? { _id: { $in: ids } } : {}),
deletedAt: { $exists: false... |
<<<<<<<
=======
import { observer, inject } from 'mobx-react';
import { DateTime } from 'luxon';
import AppWrapper from 'components/AppWrapper';
import Pagination from 'components/Pagination';
import { Layout } from 'components/Layout';
import styled from 'styled-components';
>>>>>>>
<<<<<<<
<SearchProvide... |
<<<<<<<
const { sort, skip, limit, startAt, endAt } = ctx.request.body;
// --- Generator: vars
const { name, country } = ctx.request.body;
// --- Generator: end
const query = { deletedAt: { $exists: false } };
// --- Generator: queries
if (name) {
query.name = {
... |
<<<<<<<
if (typeof document == 'undefined') return null // Dont Render On Server
var canvas: any = document.createElement('canvas')
canvas.width = canvas.height = size * 2
var ctx = canvas.getContext('2d')
ctx.fillStyle = c1
ctx.fillRect(0, 0, canvas.width, canvas.height)
ctx.fillStyle = c2
ctx.fillRect... |
<<<<<<<
expect(data).to.eql('#333')
})
const ChromeFields = TestUtils.renderIntoDocument(<ChromeFieldsComponent {...props} />)
ChromeFields.handleChange({ hex: '#333' })
expect(props.onChange).to.have.been.called
})
=======
expect(data.hex).to.eql('#333');
});
const ChromeFields ... |
<<<<<<<
handleChange = (data: any) => {
color.isValidHex(data) && this.props.onChange(data)
=======
handleChange(data: any) {
color.isValidHex(data) && this.props.onChange({
hex: data,
source: 'hex',
})
>>>>>>>
handleChange = (data: any) => {
color.isValidHex(data) && this.props.onC... |
<<<<<<<
},
'OpenLayers': function () {
return window.OpenLayers;
=======
},
'Zepto': function () {
return window.Zepto;
>>>>>>>
},
'OpenLayers': function () {
return window.OpenLayers;
},
'Zepto': function () {
return window.Zepto; |
<<<<<<<
const {ReplaySubject, Subject, EMPTY, of} = require('rx')
const {mergeMap, takeUntil, filter, tap, switchMap, catchError, switchMapTo} = require('rx/operators')
=======
const {Subject, EMPTY, merge, of} = require('rx')
const {mergeMap, filter, tap, shareReplay, switchMap, catchError, switchMapTo} = require('r... |
<<<<<<<
const {interval, of, throwError} = require('rxjs')
const {map, switchMap, finalize, catchError, mapTo, first, exhaustMap, distinctUntilChanged, takeWhile} = require('rxjs/operators')
=======
const {interval, of, throwError} = require('rx')
const {distinctUntilChanged, exhaustMap, first, finalize, map, switchM... |
<<<<<<<
const {filter, map, takeUntil, tap} = require('rxjs/operators')
const {lastInWindow, repeating} = require('./rxjs/operators')
=======
const {filter, map, share, takeUntil, tap} = require('rxjs/operators')
const {lastInWindow, repeating} = require('sepal/operators')
>>>>>>>
const {filter, map, takeUntil, tap}... |
<<<<<<<
module.exports = app => app.use(createProxyMiddleware('/api', {
target: 'http://localhost:8001/',
ws: true,
proxyTimeout: 10 * 60 * 1000,
timeout: 10 * 60 * 1000
}))
=======
module.exports = app => app
.use(createProxyMiddleware('/api', {target: 'http://localhost:8001/', ws: true}))
.u... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.