conflict_resolution
stringlengths
27
16k
<<<<<<< if(game) { return typeof(game.winner) !== 'undefined' && game.winner === 'self'; } return false; }; ======= //console.log('chessMove'); >>>>>>> if(game) { return typeof(game.winner) !== 'undefined' && game.winner === 'self'; } return false; ...
<<<<<<< var fileStatusCache_1 = require("../fileStatusCache"); ======= var json2dtsCommands_1 = require("./json2dtsCommands"); >>>>>>> var fileStatusCache_1 = require("../fileStatusCache"); var json2dtsCommands_1 = require("./json2dtsCommands");
<<<<<<< .callsFake(() => ({ then: (f) => f('function code') })); // Mock call to getFunctionContent when retrieving the requirements text ======= .callsFake(() => ({ then: (f) => f(fs.readFileSync(handlerFile).toString()) })); // Mock call to getFunctionContent when retrieving the requirements text >>>>>...
<<<<<<< // Add the rename view const { renameView } = renameView_1.attach(); const { semanticView } = semanticView_1.attach(); const { fileSymbolsView } = symbolsViewMain_1.attach(); const statusPanel = statusPanel_1.StatusPanel.create(); statusBar.addRightTile({ ...
<<<<<<< var rimraf = require('rimraf'); // rimraf used to set number of retries for deleting files in use //var del = require('del'); // del used to delete entire folders with the exception of specific files ======= var exec = require("child_process").execSync; >>>>>>> var rimraf = require('rimraf'); // rimraf used ...
<<<<<<< if (_.isEmpty(functionService) || _.isEmpty(fDesc)) { reject(`Unable to find information for ${f}`); } else { const fIngress = _.find(ingressInfo.items, item => ( item.metadata.labels && item.metadata.labels.function === f ...
<<<<<<< curveAmount: {value: 0.65, min: 0, max: 1, automatable: false, type: FLOAT}, algorithmIndex: {value: 0, automatable: false, type: INT}, bypass: {value: true, automatable: false, type: BOOLEAN} ======= curveAmount: {value: 1, min: 0, max: 1, autom...
<<<<<<< this.eventListeners = {}; this.attached = false; ======= delete this.eventListeners; for (let observerName in Recorder.mutationObservers) { const observer = Recorder.mutationObservers[observerName]; observer.disconnect(); } >>>>>>> for (let observerName in Recorder.mutationObservers) { ...
<<<<<<< this.window = window this.eventListeners = {} this.attached = false ======= this.window = window; this.eventListeners = {}; this.attached = false; this.recordingState = {}; >>>>>>> this.window = window this.eventListeners = {} this.attached = false this.recordingState = {} <<<<<<< ...
<<<<<<< @observable completedWelcome = false; ======= @observable pauseNotificationSent = false; >>>>>>> @observable completedWelcome = false; @observable pauseNotificationSent = false;
<<<<<<< export const isProduction = process.env.NODE_ENV === "production"; export function calculateFrameIndex(indicatorIndex, targetFrameIndex) { if (indicatorIndex < 0) return targetFrameIndex; return (indicatorIndex < targetFrameIndex) ? targetFrameIndex - 1 : targetFrameIndex; } ======= export const isProduc...
<<<<<<< PNotify.prototype.options.styling = "bootstrap3"; ======= console.debug("Loading Game"); >>>>>>> PNotify.prototype.options.styling = "bootstrap3"; console.debug("Loading Game");
<<<<<<< posva: 'https://www.github.com/posva/donate', ======= riyadhalnur: 'https://www.paypal.me/riyadhalnur', >>>>>>> posva: 'https://www.github.com/posva/donate', riyadhalnur: 'https://www.paypal.me/riyadhalnur',
<<<<<<< litomore: 'https://www.paypal.me/LitoMore', loghorn: 'https://www.paypal.me/Loghorn', ======= limonte: 'https://www.patreon.com/limonte', litomore: 'https://paypal.me/LitoMore', lmangani: 'https://bunq.me/qxip', loghorn: 'https://paypal.me/Loghorn', lukechilds: 'https://blockchair.com/bitcoin/ad...
<<<<<<< this.interstellar.save(data); ======= this.spaceship.save(data); >>>>>>> this.interstellar.save(data); this.spaceship.save(data); <<<<<<< this.interstellar.load(data); ======= this.spaceship.load(data); >>>>>>> this.interstellar.load(dat...
<<<<<<< Foxtrick.util.time.setMidnight(joinedDate); var seasonDate = Foxtrick.util.time.addDaysToDate(joinedDate, DAYS_IN_SEASON + 1); ======= var seasonDate = Foxtrick.util.time.addDaysToDate(joinedDate, DAYS_IN_SEASON); Foxtrick.util.time.setMidnight(seasonDate); >>>>>>> Foxtrick.util.time.setMidnig...
<<<<<<< ======= var value = Foxtrick.Math.hsToFloat(num, true); >>>>>>>
<<<<<<< pref("extensions.foxtrick.prefs.copyratings.teams", "both"); pref("extensions.foxtrick.prefs.version", "0.17.9"); ======= pref("extensions.foxtrick.prefs.version", "0.17.0"); >>>>>>> pref("extensions.foxtrick.prefs.version", "0.17.9");
<<<<<<< ======= loadToolbarItem: function() { try { this.generalButton = this.ToolbarItem.create( '<toolbarbutton id="foxtrick-toolbar-button" ' + 'type="menu" ' + 'label="Foxtrick" ' + 'tooltiptext="Foxtrick" ' + 'context="foxtrick-menu" ' + 'class="' + this.ToolbarItem.BASIC_ITEM...
<<<<<<< if (newSkillInfo && !isYouth) { let { years, days } = player.age; let htmsInput = Object.assign({ years, days }, player.skills); let [htmsAbility, htmsPotential] = Foxtrick.modules.HTMSPoints.calc(htmsInput); let tuple = { htmsAbility, htmsPotential }; Object.assign(player, tuple);...
<<<<<<< * page may be Array * * @param {document} doc * @param {PAGE|PAGE[]} page * @return {Boolean} ======= * @param {document} doc * @param {string|Array} page * @return {boolean} >>>>>>> * page may be Array * * @param {document} doc * @param {PAGE|PAGE[]} page * @return {boolean}
<<<<<<< var MS_IN_DAY = 24 * 60 * 60 * 1000; var DAYS_IN_SEASON = 112; var AGE_TITLE = Foxtrick.L10n.getString('TransferComparePlayers.transferAge'); ======= var DAYS_IN_SEASON = Foxtrick.util.time.DAYS_IN_SEASON; var MSECS_IN_DAY = Foxtrick.util.time.MSECS_IN_DAY; >>>>>>> var MSECS_IN_DAY = Foxtrick....
<<<<<<< ======= var time = doc.getElementById('time'); >>>>>>> <<<<<<< localTime = Foxtrick.makeFeaturedElement(localTime, module); ======= >>>>>>> <<<<<<< var toggleDisplay = function() { Foxtrick.Prefs.setBool('module.LocalTime.local', !Foxtrick.Prefs.getBool('module.LocalTi...
<<<<<<< * @template {HTMLElement} E * @param {E} node * @param {any} module // TODO module type * @return {E} ======= * @template {HTMLElement} E * @param {E} node * @param {object} module * @return {E} >>>>>>> * @template {HTMLElement} E * @param {E} node * @param {any} module // TODO modu...
<<<<<<< let pn = header.parentNode; pn.replaceChild(div, header); return true; }, allDivs); let allLinks = ownBoxBody.querySelectorAll('a'); let containers = Foxtrick.map(function(link) { let linkContainer = doc.createElement('span'); Foxtrick.addClass(linkContainer, 'ft-link-span'); linkContai...
<<<<<<< let l = lang || Foxtrick.Prefs.getString('htLanguage'); let json = Foxtrick.L10n.htLanguagesJSON[l].language; let array = json[query.category]; ======= if (!lang) { Foxtrick.error('missing lang'); return null; } var json = Foxtrick.L10n.htLanguagesJSON[lang].language; var array = json[query.catego...
<<<<<<< var animations = { fadeIn: function(element){ element.addClass('visible animate-fade-in'); }, fadeOut: function(element){ element.removeClass('animate-fade-in') .addClass('animate-fade-out'); setTimeout(function(){ ...
<<<<<<< ======= // DB var db = require('./lib/db'); >>>>>>> <<<<<<< consumerKey = process.env.DBOX_KEY, consumerSecret = process.env.DBOX_SECRET, dropboxClients = {}; ======= OAuth = require('oauth').OAuth; >>>>>>> consumerKey = process.env.DBOX_KEY, consumerSecret = process.env.DBOX_SECRET, dropboxCl...
<<<<<<< await click('[data-test-toggle-left-edge]'); await animationsSettled(); assert.equal(currentURL(), `/cards/${cardPath}`); ======= assert.dom('[data-test-library-button]').isDisabled(); assert.dom('[data-test-catalog-button]').isDisabled(); >>>>>>> await click('[data-test-toggle-left-e...
<<<<<<< ======= import { inject as service } from '@ember/service'; import { action } from '@ember/object'; import { tracked } from '@glimmer/tracking'; >>>>>>> <<<<<<< ======= @service router; @service cardstackSession; @tracked isSelected = false; @tracked contextMenuOpen = false; >>>>>>> @tracked ...
<<<<<<< ======= this.model.set('isNew', false); this.model.set('hasDirtyFields', true); >>>>>>> <<<<<<< test('"draft" status is displayed for new model', async function (assert) { this.set('model', this.store.createRecord('location', { city: 'Portland' })); await render(hbs`{{cs-version-control m...
<<<<<<< import { modelType } from '@cardstack/rendering/helpers/cs-model-type'; import { assign } from "@ember/polyfills"; ======= import moment from 'moment'; >>>>>>> import { modelType } from '@cardstack/rendering/helpers/cs-model-type'; import { assign } from "@ember/polyfills"; import moment from 'moment';
<<<<<<< async teardown() { for (let source of this.dataSources.values()) { await source.teardown(); } } // derives a new schema by adding, updating, or removing one model. applyChange(type, id, model) { if (!this.schemaLoader.ownTypes().includes(type)) { // not a schema model, so we are...
<<<<<<< chats: './modules/chats.js', chatrooms: './modules/chatrooms.js', states: './modules/states.js', node: './modules/node.js', ======= chats: './modules/chats.js', states: './modules/states.js', >>>>>>> chats: './modules/chats.js', chatrooms: './modules/chatrooms.js', s...
<<<<<<< var eventName = 'on' + changeCase.pascalCase(topic); ======= // executes the each module onBind function >>>>>>> var eventName = 'on' + changeCase.pascalCase(topic); // executes the each module onBind function
<<<<<<< // FIXME: We should check for errors here? // Perform backward tick on rounds // WARNING: DB_WRITE modules.rounds.backwardTick(oldLastBlock, previousBlock, function () { // Delete last block from blockchain // WARNING: Db_WRITE ======= if (err) { // Fatal error, memory ...
<<<<<<< function allScopes(scope) { const result = []; while (scope) { result.push(scope); scope = scope.parent; } return result; } const hoistCallArgumentsVisitor = { Function(path) { path.skip(); const bodyPath = path.get("body"); if (bodyPath.node.body.length === 0) { path.replaceWit...
<<<<<<< bounceDelay = opt.smoothScroll ? opt.scrollDuration : 0; setTimeout(function() { utils.addClass(el, bounceDirection); }, bounceDelay); // Then remove it setTimeout(function() { utils.removeClass(el, bounceDirection); }, bounceDelay + 2000); //...
<<<<<<< /// - `product.introPrice` - Localized introductory price, with currency symbol this.introPrice = options.introPrice || null; /// - `product.introPriceMicros` - Introductory price in micro-units (divide by 1000000 to get numeric price) this.introPriceMicros = options.introPriceMicros || null...
<<<<<<< document.removeEventListener( 'mouseup', this.reset ); ======= this.lastCursorPos = this._getCursorPos( event, this.area ); >>>>>>> this.lastCursorPos = this._getCursorPos( event, this.area ); document.removeEventListener( 'mouseup', this.reset );
<<<<<<< inputFields: Thunk<GraphQLInputFieldConfigMap>, outputFields: Thunk<GraphQLFieldConfigMap<*, *>>, ======= description?: string, inputFields: InputObjectConfigFieldMap, outputFields: GraphQLFieldConfigMap, >>>>>>> description?: string, inputFields: Thunk<GraphQLInputFieldConfigMap>, outputFiel...
<<<<<<< "pagedown", "pagedown-extra" ], function($, registry, inject, pagedown) { ======= "pagedown_converter", "pagedown_extra", "pagedown_sanitizer" ], function($, logger, registry, utils, inject) { var log = logger.getLogger("pat.markdown"); >>>>>>> "pagedown", "pagedown-extra" ],...
<<<<<<< '../lib/dist/fullcalendar/fullcalendar' ], function($, logging, utils, registry) { ======= '../3rdparty/fullcalendar/fullcalendar' ], function($, logging, utils, mapal, patterns) { >>>>>>> '../3rdparty/fullcalendar/fullcalendar' ], function($, logging, utils, registry) { <<<<<<< $cal...
<<<<<<< /*! exports provided: default, en, de, fr, sv, available */ ======= /*! exports provided: default, en, de, fr, sv, nl, available */ >>>>>>> /*! exports provided: default, en, de, fr, sv, nl, available */ <<<<<<< /* harmony import */ var _fr_yaml__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./fr.ya...
<<<<<<< try {fs.mkdirSync("../mithril")} catch (e) {/* ignore */} try {fs.mkdirSync("../mithril/archive")} catch (e) {/* ignore */} try {fs.mkdirSync("../mithril/archive/v" + version)} catch (e) {/* ignore */} try {fs.mkdirSync("../mithril/archive/v" + version + "/lib")} catch (e) {/* ignore */} try {fs.mkdirSync("../m...
<<<<<<< this.searchHandler = (e, msg) => this.handleSearch(msg) this.searchState = null } handleSearch (msg) { const cm = this.editor const component = this if (component.searchState) cm.removeOverlay(component.searchState) if (msg.length < 3) return cm.operation(function () { c...
<<<<<<< test(function() { //https://github.com/lhorie/mithril.js/issues/277 var root = mock.document.createElement("div") function Field() { this.tag = "div"; this.attrs = {}; this.children = "hello"; } m.render(root, new Field()) return root.childNodes.length == 1 }) ======= test(function() {...
<<<<<<< test(function() { var root = mock.document.createElement("div") m.render(root, m("svg", [m("g")])) console.log(root.childNodes[0].childNodes[0]) return root.childNodes[0].childNodes[0].nodeName === "G" }) test(function() { var root = mock.document.createElement("div") m.render(root, m("svg", [m("...
<<<<<<< renderers = [] route = router($window, renderers) ======= redraw = {} route = apiRouter($window, redraw) >>>>>>> renderers = [] route = apiRouter($window, redraw)
<<<<<<< module.exports = function($window, renderers) { var renderer = createRenderer($window) ======= module.exports = function($window, redraw) { var renderer = coreRenderer($window) >>>>>>> module.exports = function($window, renderers) { var renderer = coreRenderer($window)
<<<<<<< function rewriteIfThenElse(schema) { /* @handrews https://github.com/OAI/OpenAPI-Specification/pull/1766#issuecomment-442652805 if and the *Of keywords There is a really easy solution for implementations, which is that if: X, then: Y, else: Z is equivalent to oneOf: [allOf: [X, Y], allOf: [not: X, Z]] */ i...
<<<<<<< "use strict"; ======= var VERSION = "v0.2.0-next"; >>>>>>> "use strict"; var VERSION = "v0.2.0-next";
<<<<<<< ======= //key algorithm: sort elements without recreating them if keys are present //1) create a map of all existing keys, and mark all for deletion //2) add new keys to map and mark them for addition //3) if key exists in new list, change action from deletion to a move //4) for each key, ...
<<<<<<< pl: "Czy jesteś pewien ?", pt_BR: "Are you sure ?", ======= pl: "Are you sure ?", pt_BR: "Você tem certeza?", >>>>>>> pl: "Czy jesteś pewien ?", pt_BR: "Você tem certeza?", <<<<<<< pl: "Rozważ", pt_BR: "Consider", ======= pl: "Consider", pt_BR: "...
<<<<<<< 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...
<<<<<<< goog.debug.Logger.getLogger('owg.GlobeRenderer').info("-------------------------"); goog.debug.Logger.getLogger('owg.GlobeRenderer').info("Frustum size: " + this.lstFrustum.length); /*for (var i=0;i<this.lstFrustum.length;i++) { goog.debug.Logger.getLogger('owg.GlobeRenderer').i...
<<<<<<< }(window.jQuery);/* ========================================================= * bootstrap-modal.js v3.0.0 ======= ================================================== * bootstrap-modal.js v2.3.0 ======= }(window.jQuery); /* ========================================================= * bootstrap-modal.js v2.3.0 ...
<<<<<<< test('should not fire sliden when slide is prevented', function () { ======= test("should not fire slid when slide is prevented", function () { >>>>>>> test('should not fire slide when slide is prevented', function () { <<<<<<< test('should fire slide event with direction', function ...
<<<<<<< this.yaw = 0; ======= this.longitude = 0; this.latitude = 0; this.elevation = 0; >>>>>>> this.yaw = 0; this.longitude = 0; this.latitude = 0; this.elevation = 0; <<<<<<< this.yaw = ts.compassdirection*57.295779513082320876798154814105; //rad2deg ====...
<<<<<<< this.hoverState = null this.$element.trigger('shown.bs.' + this.type) ======= var complete = function() { that.$element.trigger('shown.bs.' + that.type) } $.support.transition && this.$tip.hasClass('fade') ? $tip .one($.support.transition.end, complete) ...
<<<<<<< this.poiActiveColor = new vec4(1,1,1,1); /** @type PoiIconStyle */ ======= /** @type {PoiIconStyle} */ >>>>>>> this.poiActiveColor = new vec4(1,1,1,1); /** @type PoiIconStyle */ /** @type {PoiIconStyle} */
<<<<<<< }); gulp.task('docs', function() { gulp.src("./docs-tpls/*.nunjucks") .pipe(nunjucks({ path: "./docs-tpls" })) .pipe(rename({extname: ".html"})) .pipe(gulp.dest("./docs")) ; }); gulp.task('zip', function() { // gulp.src(["!./node_modules", "!./bower_comp...
<<<<<<< processInputValue(processed, values.includes, errors, node, validate); if (!shouldInclude(node)) { var descendants = descendantsToInclude(node); forEach(descendants, function (descendant) { proces...
<<<<<<< processInputValue(processed, values.form, errors, closest(elt, 'form')); ======= processInputValue(processed, values, errors, closest(elt, 'form'), validate); >>>>>>> processInputValue(processed, values.form, errors, closest(elt, 'form'), validate); <<<<<<< ...
<<<<<<< * @class poi * @constructor * {@link http://www.openwebglobe.org} ======= * @constructor * @description This class is used to create meshes with Canvas(2d) as textures. E.g. for POIs. >>>>>>> * @constructor * @description This class is used to create meshes with Canvas(2d) as textures. E.g. for POIs....
<<<<<<< /** * List of all propagate flag names * @const * @type {Array.<string>} */ var propagateFlagNames = [ 'DEADLINE', 'CENSUS_STATS_CONTEXT', 'CENSUS_TRACING_CONTEXT', 'CANCELLATION', 'DEFAULTS' ]; ======= /** * List of all connectivity state names * @const * @type {Array.<string>} */ var conn...
<<<<<<< var channel = new grpc.Channel('localhost:' + port_num); var deadline = new Date(); deadline.setSeconds(deadline.getSeconds() + 3); var call = new grpc.Call(channel, 'echo', deadline); call.startInvoke(function(event) { assert.s...
<<<<<<< server_call.serverEndInitialMetadata(0); server_call.startWriteStatus( grpc.status.OK, status_text, function(event) { assert.strictEqual(event.type, grpc.completionType.FINISH_ACCEPTED); assert.strictEqual(event.dat...
<<<<<<< /** * This is used for testing functions with multiple asynchronous calls that * can happen in different orders. This should be passed the number of async * function invocations that can occur last, and each of those should call this * function's return value * @param {function()} done The function that sh...
<<<<<<< }); }; proxy.addProtoService(test_service, proxy_impl); var proxy_port = proxy.bind('localhost:0', server_insecure_creds); proxy.start(); var proxy_client = new Client('localhost:' + proxy_port, grpc.credentials.createInsecu...
<<<<<<< 'expect (chain) to be accepted with numbers': function (test) { ======= 'expect (chain) to be accepted again': function (test) { >>>>>>> 'expect (chain) to be accepted again': function (test) { <<<<<<< var p1 = N.number().thenLeft(C.char(' ').opt()), p2 = F.any().then(F.any()...
<<<<<<< var p = C.char(' ').optrep().thenRight(N.number()); ======= var p = C.char(' ').optrep().thenRight(N.numberLiteral()).single(); >>>>>>> var p = C.char(' ').optrep().thenRight(N.number()).single(); <<<<<<< const p = N.number() .then(C.char(' ').optrep().drop()); =...
<<<<<<< .then(N.number()) ======= .then(N.numberLiteral()).array() >>>>>>> .then(N.number()).array() <<<<<<< .then(N.number()) .thenReturns([]) ======= .then(N.numberLiteral()) .returns([]) >>>>>>> .then(N.number()) ...
<<<<<<< api: images[i].api }; if (images[i].hasOwnProperty('xoffset')) { pages[i].xoffset = images[i].xoffset; pages[i].yoffset = images[i].yoffset; } ======= api: images[i]...
<<<<<<< ======= zoomOut: null, // Callback function for zooming out only zoomSlider: true // Should there be a zoom slider or not, defaults to yes //itemOrientation: 0, // Either "h" (horizontal) or "v" (vertical) - currently not implemented >>>>>>> <...
<<<<<<< get container() { delete this.container; return this.container = document.getElementById('windows'); }, ======= enabled: true, >>>>>>> enabled: true, get container() { delete this.container; return this.container = document.getElementById('windows'); },
<<<<<<< if (status.state === 200) { ======= if (status){ localStorage.setItem("user", JSON.stringify($scope.user)); >>>>>>> if (status.state === 200) { localStorage.setItem("user", JSON.stringify($scope.user));
<<<<<<< {id:"name", name:"Name", field:"name", width:50}, ======= {id:"scope", name:"Scope", field:"scope", width:80}, {id:"name", name:"Name", field:"name", width:50} >>>>>>> {id:"name", name:"Name", field:"name", width:50} <<<<<<< ...
<<<<<<< // resize the Ace code pane when the window is resized jQuery(window).resize(function(e) { code.resize(); }); // set label above code editor to filename when tab is clicked code_tab.click(function(e) { central_label.text(code.getPathname()); }); // make sure tabbed panes are sh...
<<<<<<< var compName = pathname.replace(".", "-", "g"); if(!(compName in openmdao.preferences.gui.compeditor)){ openmdao.preferences.gui.compeditor[compName] = {}; } if(!(name.toLowerCase() in openmdao.preferences.gui.compeditor[compName])){ ...
<<<<<<< model.setFile(filepath,editor.getSession().getValue(), 1, function(data, textStatus, jqXHR) { model.saveProject(function(data, textStatus, jqXHR) { mode...
<<<<<<< /** * [BEEP description] * @type {string} */ _.BEEP = '\x1b\x42', // Printer Buzzer pre hex ======= /** * [COLOR description] * @type {Object} */ _.COLOR = { 0: '\x1b\x72\x00', // black 1: '\x1b\x72\x01' // red } >>>>>>> /** * [BEEP description] * @type {string} */ _.BEEP = '\x1b\x42', // Print...
<<<<<<< importBootstrapFont: true, bootstrapVersion: 3 ======= importBootstrapFont: true, insertEmberWormholeElementToDom: true >>>>>>> importBootstrapFont: true, insertEmberWormholeElementToDom: true, bootstrapVersion: 3 <<<<<<< }, treeForVendor(tree) { let trees = [tree]; if (!this.hasP...
<<<<<<< { cat:"RemoveUndefined.1", cmd:"RemoveUndefined({})", result:"{}" }, { cat:"RemoveUndefined.1", cmd:"RemoveUndefined({1,2,3,4,4})", result:"{1, 2, 3, 4, 4}" }, { cat:"RemoveUndefined.1", cmd:"RemoveUndefined({123456789123456789,?})", result:"{123456789123456789}" }, { cat:"RemoveUndefined.1", cmd:"RemoveUndefin...
<<<<<<< { cat:"PlotSolve.1", cmd:"PlotSolve(x^2-2)", result:"{(-sqrt(2), 0), (sqrt(2), 0)}" }, ======= { cat:"RemoveUndefined.1", cmd:"RemoveUndefined({})", result:"{}" }, { cat:"RemoveUndefined.1", cmd:"RemoveUndefined({1,2,3,4,4})", result:"{1, 2, 3, 4, 4}" }, { cat:"RemoveUndefined.1", cmd:"RemoveUndefined({123456...
<<<<<<< import { dropDBs, loadFixture, withLogin } from '../utils.js'; ======= import { withLogin } from '../utils.js'; import nock from 'nock'; import config from '../../src/config'; >>>>>>> import config from '../../src/config'; import { dropDBs, loadFixture, withLogin } from '../utils.js';
<<<<<<< let logger = new winston.createLogger({ format: winston.format.simple(), transports: transports, }); ======= let logger = winston.createLogger({ format: winston.format.simple(), transports: transports, }) >>>>>>> let logger = winston.createLogger({ format: winston.format.simple(), transports: tra...
<<<<<<< fs.readdirSync(path.join(__dirname, "routes")).map(file => { require("./routes/" + file)(api) }) api.listen(config.server.port, err => { if (err) { logger.error(err) process.exit(1) } logger.info(`API is now running on port ${config.server.port} in ${config.env} mode`) }) =====...
<<<<<<< const invalidExtensions = ['mp3', 'mp4', 'mov', 'm4a', 'mpeg']; ======= >>>>>>>
<<<<<<< fields[attributeKey] = Object(__WEBPACK_IMPORTED_MODULE_7__fields_select__["a" /* default */])(props, config, attributeKey); ======= field[attributeKey] = Object(__WEBPACK_IMPORTED_MODULE_6__fields_select__["a" /* default */])(props, config, attributeKey); >>>>>>> field[attributeKey] = Object(...
<<<<<<< name: 'CacheSettings', path: '/admin/CacheSettings'.toLowerCase(), components: { default: CacheSettings, navigation: AdminPanel } }, { name: 'AddCategory', path: '/admin/AddCategory'.toLowerCase(), ======= name: 'CreateCategory', path: '/admin/CreateCategory'.to...
<<<<<<< export DeletedElements from './DeletedElements' ======= export CategoriesAdmin from './CategoriesAdmin' export CategoryItem from './CategoryItem' export ImagesCleaner from './ImagesCleaner' export adminGetAllCategories from './adminGetAllCategories' export ProfileRoles from './ProfileRoles' export RolesPage f...
<<<<<<< * @param {string} attributeName Name of the attribute for faceting (eg. "free_shipping") * @param {number} [limit = 10] How many facets values to retrieve [*] * @param {number} [showMoreLimit] How many facets values to retrieve when `toggleShowMore` is called, this value is meant to be greater than `limit` o...
<<<<<<< instantsearch.widgets.sortBy({ container: '#sort-by', items: [ {name: 'ikea', label: 'Featured'}, {name: 'ikea_price_asc', label: 'Price asc.'}, {name: 'ikea_price_desc', label: 'Price desc.'} ======= instantsearch.widgets.sortBySelector({ container: '#sort-by-selector', ...
<<<<<<< export default '1.1.1'; ======= module.exports = '1.1.2'; >>>>>>> export default '1.1.2';
<<<<<<< import expect from 'expect'; ======= import jsHelper from 'algoliasearch-helper'; >>>>>>> import expect from 'expect'; import jsHelper from 'algoliasearch-helper';
<<<<<<< export {default as pagination} from './pagination'; export {default as hitsPerPageSelector} from './hits-per-page.js'; export {default as hits} from './hits.js'; ======= export {default as pagination} from './pagination'; export {default as hits} from './hits'; export {default as refinementList} from './refin...
<<<<<<< const port = window.location.port ? `:${window.location.port}` : ''; return `${window.location.protocol}//${window.location.hostname}${port}`; ======= return `${window.location.protocol}//${window.location.hostname}${window .location.port ? `:${window.location.port}` : ''}`; >>>>>>> retur...
<<<<<<< if (reset) { const resetButtonContainer = containerNode.tagName === 'INPUT' ? containerNode.parentNode : containerNode; // hide reset button when there is no query const resetButton = resetButtonContainer.querySelector('button[type="reset"]'); resetButton.style.display = query && ...
<<<<<<< fluid.transforms.value.invert = function (transformSpec, transform) { var togo = fluid.copy(transformSpec); ======= fluid.transforms.value.invert = function (expandSpec, expander) { var togo = fluid.copy(expandSpec); >>>>>>> fluid.transforms.value.invert = function (transformSpec,...