conflict_resolution stringlengths 27 16k |
|---|
<<<<<<<
updateBrowserHistory () {
// Ensure history state does not already contain our modal name to avoid double-pushing
if (!history.state || !history.state[this.modalName]) {
// Push to history so that the page is not lost on browser back button press
history.pushState({ [this.modalName]: true ... |
<<<<<<<
const Provider = require('../server/Provider')
const emitSocketProgress = require('../utils/emitSocketProgress')
const getSocketHost = require('../utils/getSocketHost')
const settle = require('../utils/settle')
const limitPromises = require('../utils/limitPromises')
=======
const { Provider, RequestClient } =... |
<<<<<<<
this.title = this.opts.title || 'Google Drive'
=======
Provider.initPlugin(this, opts)
this.title = 'Google Drive'
>>>>>>>
this.title = this.opts.title || 'Google Drive'
Provider.initPlugin(this, opts)
this.title = this.opts.title || 'Google Drive' |
<<<<<<<
const isUploadInProgress = inProgressFiles.length > 0
const resumableUploads = state.capabilities.resumableUploads || false
=======
const resumableUploads = capabilities.resumableUploads || false
>>>>>>>
const isUploadInProgress = inProgressFiles.length > 0
const resumableUploads = capa... |
<<<<<<<
this.plugin.uppy.addFile(tagFile)
}
removeFile (id) {
const { currentSelection } = this.plugin.getPluginState()
this.plugin.setPluginState({
currentSelection: currentSelection.filter((file) => file.id !== id)
})
=======
try {
this.plugin.uppy.addFile(tagFile)
} catch (... |
<<<<<<<
output: {
libraryTarget: 'umd',
libraryExport: 'default',
umdNamedDefine: true
},
devtool: 'inline-source-map',
=======
// webpack configuration
output: {
libraryTarget: 'umd',
... |
<<<<<<<
import Plugin from 'lib/plugin';
import {keccak256} from 'js-sha3';
=======
import * as Ethers from 'ethers';
>>>>>>>
import Plugin from 'lib/plugin';
import * as Ethers from 'ethers'; |
<<<<<<<
import React, { useContext } from 'react';
import { Button, Slider, Flex } from 'theme-ui';
=======
import React, { useContext, useEffect, useState } from 'react';
import { Button } from 'theme-ui';
>>>>>>>
import React, { useContext, useEffect, useState } from 'react';
import { Button, Slider, Flex } from '... |
<<<<<<<
// This test is added for the edge case where transactions fail
it('should be able to request a proof from web3 and verify it', function (done) {
eP.getTransactionProof('0xdaa2fcc5d94f03348dc26bfacf84828ff563ccc57f6ab8260d2bd35b5d668ef8').then((result)=>{
EP.transaction(result.path, result.value,... |
<<<<<<<
// console.log("nodeKey != sha3(rlp.encode(currentNode)): ", nodeKey, Buffer.from(sha3(rlp.encode(currentNode)),'hex'))
=======
>>>>>>>
// console.log("nodeKey != sha3(rlp.encode(currentNode)): ", nodeKey, Buffer.from(sha3(rlp.encode(currentNode)),'hex'))
<<<<<<<
// console.log("path... |
<<<<<<<
language,
=======
loading: false,
>>>>>>>
loading: false,
language,
<<<<<<<
placeholder: "Search for a show...",
=======
language: language,
placeholder: "Search for a show..."
>>>>>>>
placeholder: "Search for a show...", |
<<<<<<<
var cursor = this.writer.selection.cursor;
var node = cursor.node;
=======
var node = this.writer.selection.cursor.node;
>>>>>>>
var cursor = this.writer.selection.cursor;
var node = cursor.node;
<<<<<<<
// TODO: dynamically
$(this.cursor).css({
top: pos.top,
left: po... |
<<<<<<<
},
serialize: function (value, key, mug, data) {
data.id = mug.form.getAbsolutePath(mug, true);
},
deserialize: function (data, key, mug) {
if (!data.id || data.id === mug.p.nodeID) {
... |
<<<<<<<
'vellum/xpath',
'tpl!vellum/templates/auto_box',
'text!vellum/templates/button_remove.html',
'tpl!vellum/templates/control_group',
=======
>>>>>>>
'tpl!vellum/templates/auto_box',
'text!vellum/templates/button_remove.html',
'tpl!vellum/templates/control_group',
<<<<<<<
xpath,... |
<<<<<<<
'vellum/undomanager',
'vellum/fuse',
=======
>>>>>>>
'vellum/undomanager',
<<<<<<<
undomanager,
Fuse,
=======
>>>>>>>
undomanager, |
<<<<<<<
'text!static/javaRosa/no-label-text-one-lang.xml'
=======
'text!static/javaRosa/no-label-text-one-lang.xml',
'text!static/javaRosa/test-xml-1.xml',
'text!static/javaRosa/test-xml-2.xml',
'text!static/javaRosa/test-xml-3.xml',
'text!static/javaRosa/test-xml-4.xml',
'text!static/mark... |
<<<<<<<
assert(bubble.length, "No bubbles detected");
try {
bubble.mouseenter();
var $popover = $('.popover-content');
assert.strictEqual($popover.find('p:first').text(),
... |
<<<<<<<
this.xpath = escapedHashtags.parser(this.hashtagDictionary);
this.undomanager = new undomanager();
=======
this.xpath = xpath.createParser();
this.undomanager = new undomanager(this);
>>>>>>>
this.xpath = escapedHashtags.parser(this.hashtagDictionary);
this.und... |
<<<<<<<
'vellum/escapedHashtags',
'vellum/fuse',
=======
'vellum/undomanager',
>>>>>>>
'vellum/escapedHashtags',
'vellum/fuse',
'vellum/undomanager',
<<<<<<<
escapedHashtags,
Fuse,
=======
undomanager,
>>>>>>>
escapedHashtags,
Fuse,
undomanager,
<<<<<<<
th... |
<<<<<<<
'markdown-it': '../bower_components/markdown-it/dist/markdown-it',
=======
'caretjs': '../bower_components/Caret.js/dist/jquery.caret',
'atjs': '../bower_components/At.js/dist/js/jquery.atwho'
>>>>>>>
'markdown-it': '../bower_components/markdown-it/dist/markdown-it',
'... |
<<<<<<<
sectionId: {
lstring: 'Balance ID',
visibility: 'visible',
presence: 'optional',
widget: widgets.text,
help: 'The name of the balance you are tracking. ' +
'This is an in... |
<<<<<<<
},
undo: function() {
this.undomanager.undo();
this.vellum.selectSomethingOrHideProperties();
=======
},
isCaseReference: function (path) {
return /instance\('casedb'\)/.test(path) ? true : false;
>>>>>>>
},
undo: function() ... |
<<<<<<<
=======
'vellum/xpath',
>>>>>>> |
<<<<<<<
},
select: function() {
$('#' + this.ufid + '_anchor').click();
},
=======
},
isInRepeat: function() {
if (this.__className === "Repeat") { // HACK hard-coded class name
return true;
}
return this.parentMug... |
<<<<<<<
// may add map and reduce phases later
}
=======
// for now just have 1 event for when we finally rebuilt lazy view
// once we refactor transactions, i will tie in certain transactional events
this.events = {
'rebuild': []
};
};
DynamicView.prototype = new LokiEventEmitter;
... |
<<<<<<<
/*******************
* VERTLET STUFF *
*******************/
this.x = x;
this.y = y;
this.px = x;
this.py = y;
this.vx = 0;
this.vy = 0;
this.pinX = null;
this.pinY = null;
this.constraints = [];
}
Vertex.prototype.register = function(entity)
{
var ID = e... |
<<<<<<<
//======================
// AI
//======================
=======
// AI
// We implemented an alpha beta pruning algorithm to control the AI movements
// The main functions are the decisionMaker, maxValue and minValue functions
// all other functions are helper functions.
>>>>>>>
//======================
... |
<<<<<<<
seedText: "",
loading: false,
error: false,
success: false
=======
pending: false,
>>>>>>>
seedText: "",
loading: false,
error: false,
success: false,
pending: false, |
<<<<<<<
if (config.window_hotkey) {
try {
globalShortcut.register(config.window_hotkey, async() => {
thisShouldFixMacIssuesAndIdkWhy();
await runCapture(true);
});
} catch (_) {
dialog.showErrorBox("MagicCap", await i18n.getPoPhrase("The hotkey you gave was invalid.", "app"));
}
}
=======
>>... |
<<<<<<<
var when, slice;
when = require('when');
slice = [].slice;
=======
var slice, undef;
slice = [].slice;
>>>>>>>
var when, slice;
when = require('when');
slice = [].slice;
<<<<<<<
return conditionalWhen(result, function(result) {
return f.call(context, result);
});
}, x);
=======
... |
<<<<<<<
//noinspection JSUnusedLocalSymbols
function amdPlugin(name, require, callback, config) {
=======
//noinspection JSUnusedLocalSymbols
function amdLoad(name, require, callback, config) {
>>>>>>>
//noinspection JSUnusedLocalSymbols
function amdLoad(name, require, callback, config) {
<<<<<<<
/... |
<<<<<<<
goog.require('Blockly.Events');
=======
goog.require('Blockly.Options');
>>>>>>>
goog.require('Blockly.Events');
goog.require('Blockly.Options');
<<<<<<<
'blocklySelectChange', this, function() {this.traceOn_ = false; });
=======
'blocklySelectChange', this, function() {this.traceOn_ = fal... |
<<<<<<<
this.syncTrees_(newTree, this.tree_, this.iconic_,
this.workspace_.options.pathToMedia);
=======
var openNode =
this.syncTrees_(newTree, this.tree_, this.workspace_.options.pathToMedia);
>>>>>>>
var openNode =
this.syncTrees_(newTree, this.tree_, this.iconic_,
this.workspace_.optio... |
<<<<<<<
goog.addDependency("../../../" + dir + "/core/workspace_svg.js", ['Blockly.WorkspaceSvg'], ['Blockly.ConnectionDB', 'Blockly.constants', 'Blockly.Options', 'Blockly.ScrollbarPair', 'Blockly.Touch', 'Blockly.Trashcan', 'Blockly.Workspace', 'Blockly.Xml', 'Blockly.ZoomControls', 'goog.dom', 'goog.math.Coordinate'... |
<<<<<<<
if (eventsEnabled) {
event.recordNew();
Blockly.resizeSvgContents(this.workspace);
Blockly.Events.fire(event);
}
};
/**
* Set this block to an absolute translation.
* @param {number} x Horizontal translation.
* @param {number} y Vertical translation.
* @param {boolean=} opt_use3d If set, us... |
<<<<<<<
goog.require('Blockly.DropDownDiv');
goog.require('Blockly.Events');
=======
goog.require('Blockly.constants');
>>>>>>>
goog.require('Blockly.constants');
goog.require('Blockly.DropDownDiv');
goog.require('Blockly.Events'); |
<<<<<<<
/** @type {!Array.<!Function>} */
this.tapListeners_ = [];
=======
/** @type {!Array.<!Blockly.Events.Abstract>} */
this.undoStack_ = [];
/** @type {!Array.<!Blockly.Events.Abstract>} */
this.redoStack_ = [];
>>>>>>>
/** @type {!Array.<!Function>} */
this.tapListeners_ = [];
/** @type {!Arr... |
<<<<<<<
// Re-enable workspace resizing.
selected.workspace.setResizesEnabled(true);
// Ensure that any stap and bump are part of this move's event group.
=======
selected.workspace.setResizesEnabled(true);
// Ensure that any snap and bump are part of this move's event group.
>>>>>>>
... |
<<<<<<<
var parentBlock = parentConnection.sourceBlock_;
var childBlock = childConnection.sourceBlock_;
var isSurroundingC = false;
if (parentConnection == parentBlock.getFirstStatementConnection()) {
isSurroundingC = true;
}
=======
var parentBlock = parentConnection.getSourceBlock();
var childBloc... |
<<<<<<<
// A field is being edited if either the WidgetDiv or DropDownDiv is currently open.
// If a field is being edited, don't fire any click events.
var fieldEditing = Blockly.WidgetDiv.isVisible() || Blockly.DropDownDiv.isVisible();
if (Blockly.dragMode_ != Blockly.DRAG_FREE && !fieldEditing) {
=======
... |
<<<<<<<
describe('function condition', function () {
beforeEach(function () {
jasmine.clock().install();
});
afterEach(function () {
jasmine.clock().uninstall();
});
it('should check condition and return boolean', function () {
let match;
match = flexToolBar.condition(() => true);
expect(ma... |
<<<<<<<
Blockly.Lua.scrub_=function(a,b){var c="";if(!a.outputConnection||!a.outputConnection.targetConnection){var d=a.getCommentText();(d=Blockly.utils.wrap(d,this.COMMENT_WRAP-3))&&(c+=Blockly.Lua.prefixLines(d,"-- ")+"\n");for(var e=0;e<a.inputList.length;e++)a.inputList[e].type==Blockly.INPUT_VALUE&&(d=a.inputList... |
<<<<<<<
=======
var workspaceOptions = {
disabledPatternId: workspace.options.disabledPatternId,
parentWorkspace: workspace,
RTL: workspace.RTL,
oneBasedIndex: workspace.options.oneBasedIndex,
horizontalLayout: workspace.horizontalLayout,
toolboxPosition: workspace.options.toolboxPosition
... |
<<<<<<<
/*! formstone v1.1.0 [touch.js] 2016-04-03 | MIT License | formstone.it */
=======
/*! formstone v1.0.1 [touch.js] 2016-04-14 | MIT License | formstone.it */
>>>>>>>
/*! formstone v1.1.0 [touch.js] 2016-04-14 | MIT License | formstone.it */ |
<<<<<<<
/*! formstone v0.6.14 [carousel.js] 2015-06-23 | MIT License | formstone.it */
=======
/*! formstone v0.6.12 [carousel.js] 2015-07-04 | MIT License | formstone.it */
>>>>>>>
/*! formstone v0.6.14 [carousel.js] 2015-07-04 | MIT License | formstone.it */ |
<<<<<<<
<span className={lineContainerClass}
onClick={item.get('isCheckbox') ? this.handleCheckboxClick(item.get('id')) : null}>
{item.get('isCheckbox') && (
<Checkbox state={item.get('checkboxState')} />
)}
<AttributedString parts={item.get('t... |
<<<<<<<
{activePopupType === 'tags-editor' && !!selectedHeader && (
<TagsEditorModal header={selectedHeader}
allTags={OrderedSet(headers.flatMap(header => header.getIn(['titleLine', 'tags']))).sort()}
onClose={this.handlePopupClose}
... |
<<<<<<<
/*! formstone v0.6.14 [cookie.js] 2015-06-23 | MIT License | formstone.it */
=======
/*! formstone v0.6.12 [cookie.js] 2015-07-04 | MIT License | formstone.it */
>>>>>>>
/*! formstone v0.6.14 [cookie.js] 2015-07-04 | MIT License | formstone.it */ |
<<<<<<<
/*! formstone v1.1.0 [touch.js] 2016-04-17 | GPL-3.0 License | formstone.it */
=======
/*! formstone v1.0.4 [touch.js] 2016-04-18 | GPL-3.0 License | formstone.it */
>>>>>>>
/*! formstone v1.1.0 [touch.js] 2016-04-18 | GPL-3.0 License | formstone.it */ |
<<<<<<<
/*! formstone v1.1.0 [cookie.js] 2016-04-03 | MIT License | formstone.it */
=======
/*! formstone v1.0.1 [cookie.js] 2016-04-14 | MIT License | formstone.it */
>>>>>>>
/*! formstone v1.1.0 [cookie.js] 2016-04-14 | MIT License | formstone.it */ |
<<<<<<<
/*! formstone v0.6.14 [tabs.js] 2015-06-23 | MIT License | formstone.it */
=======
/*! formstone v0.6.12 [tabs.js] 2015-07-04 | MIT License | formstone.it */
>>>>>>>
/*! formstone v0.6.14 [tabs.js] 2015-07-04 | MIT License | formstone.it */ |
<<<<<<<
/*! formstone v1.1.0 [lightbox.js] 2016-04-03 | MIT License | formstone.it */
=======
/*! formstone v1.0.1 [lightbox.js] 2016-04-14 | MIT License | formstone.it */
>>>>>>>
/*! formstone v1.1.0 [lightbox.js] 2016-04-14 | MIT License | formstone.it */ |
<<<<<<<
/*! formstone v1.1.0 [number.js] 2016-04-03 | MIT License | formstone.it */
=======
/*! formstone v1.0.1 [number.js] 2016-04-14 | MIT License | formstone.it */
>>>>>>>
/*! formstone v1.1.0 [number.js] 2016-04-14 | MIT License | formstone.it */ |
<<<<<<<
/*! formstone v1.1.0 [checkbox.js] 2016-04-17 | GPL-3.0 License | formstone.it */
=======
/*! formstone v1.0.4 [checkbox.js] 2016-04-18 | GPL-3.0 License | formstone.it */
>>>>>>>
/*! formstone v1.1.0 [checkbox.js] 2016-04-18 | GPL-3.0 License | formstone.it */ |
<<<<<<<
/*! formstone v1.1.0 [tooltip.js] 2016-04-17 | GPL-3.0 License | formstone.it */
=======
/*! formstone v1.0.4 [tooltip.js] 2016-04-18 | GPL-3.0 License | formstone.it */
>>>>>>>
/*! formstone v1.1.0 [tooltip.js] 2016-04-18 | GPL-3.0 License | formstone.it */ |
<<<<<<<
/*! formstone v1.1.0 [equalize.js] 2016-04-03 | MIT License | formstone.it */
=======
/*! formstone v1.0.1 [equalize.js] 2016-04-14 | MIT License | formstone.it */
>>>>>>>
/*! formstone v1.1.0 [equalize.js] 2016-04-14 | MIT License | formstone.it */ |
<<<<<<<
/*! formstone v0.6.14 [scrollbar.js] 2015-06-23 | MIT License | formstone.it */
=======
/*! formstone v0.6.12 [scrollbar.js] 2015-07-04 | MIT License | formstone.it */
>>>>>>>
/*! formstone v0.6.14 [scrollbar.js] 2015-07-04 | MIT License | formstone.it */ |
<<<<<<<
/*! formstone v1.1.0 [transition.js] 2016-04-03 | MIT License | formstone.it */
=======
/*! formstone v1.0.1 [transition.js] 2016-04-14 | MIT License | formstone.it */
>>>>>>>
/*! formstone v1.1.0 [transition.js] 2016-04-14 | MIT License | formstone.it */ |
<<<<<<<
/*! formstone v1.1.0 [scrollbar.js] 2016-04-03 | MIT License | formstone.it */
=======
/*! formstone v1.0.1 [scrollbar.js] 2016-04-14 | MIT License | formstone.it */
>>>>>>>
/*! formstone v1.1.0 [scrollbar.js] 2016-04-14 | MIT License | formstone.it */ |
<<<<<<<
* @version v2.1.2-M2
=======
* @version v2.1.0
>>>>>>>
* @version v2.1.0
<<<<<<<
return "<!--div class='auth_button' id='apikey_button'><img class='auth_icon' alt='apply api key' src='images/apikey.jpeg'></div-->\r\n<div class='auth_container' id='apikey_container'>\r\n <div class='key_input_container... |
<<<<<<<
// Crafted
import DarkmoonDeckTides from './Modules/Items/BFA/Crafted/DarkmoonDeckTides';
=======
import BalefireBranch from './Modules/Items/BFA/Dungeons/BalefireBranch';
>>>>>>>
import BalefireBranch from './Modules/Items/BFA/Dungeons/BalefireBranch';
// Crafted
import DarkmoonDeckTides from './Modules/Ite... |
<<<<<<<
/*! formstone v1.1.0 [pagination.js] 2016-04-17 | GPL-3.0 License | formstone.it */
=======
/*! formstone v1.0.4 [pagination.js] 2016-04-18 | GPL-3.0 License | formstone.it */
>>>>>>>
/*! formstone v1.1.0 [pagination.js] 2016-04-18 | GPL-3.0 License | formstone.it */ |
<<<<<<<
/*! formstone v1.1.0 [asap.js] 2016-04-03 | MIT License | formstone.it */
=======
/*! formstone v1.0.1 [asap.js] 2016-04-14 | MIT License | formstone.it */
>>>>>>>
/*! formstone v1.1.0 [asap.js] 2016-04-14 | MIT License | formstone.it */ |
<<<<<<<
'babel-polyfill',
'./src/core/index.js',
=======
'./src/polyfills',
'./src/core/index.js'
>>>>>>>
'./src/polyfills',
'./src/core/index.js'
<<<<<<<
=======
'webpack/hot/dev-server',
'./src/polyfills',
>>>>>>>
'./src/polyfills', |
<<<<<<<
describe('following a user', function() {
const userToFollow = 'ingalls';
before(function() {
return user.unfollow(userToFollow);
})
=======
it('should show user\'s starred gists', function(done) {
const option = {
since: '2015-01-01T00:00:00Z',
};
... |
<<<<<<<
$('script[src*="gpt.js"]').remove();
window.googletag = null;
delete window.googletag;
};
beforeEach(cleanup);
afterEach(cleanup);
=======
$('script[src*="googletagservices.com/tag/js/gpt.js"]').remove();
window.googletag = undefined;
});
>>>>>... |
<<<<<<<
, createRBT = require('functional-red-black-tree')
=======
, globalStore = {}
>>>>>>>
, createRBT = require('functional-red-black-tree')
, globalStore = {}
function toKey (key) {
return typeof key == 'string' ? '$' + key : JSON.stringify(key)
}
<<<<<<<
function gte(value) {
return... |
<<<<<<<
const RightSidebar = connect(({ setting }) => ({ ...setting }))(Sidebar);
=======
/**
* 根据菜单取得重定向地址.
*/
const redirectData = [];
const getRedirect = item => {
if (item && item.children) {
if (item.children[0] && item.children[0].path) {
redirectData.push({
from: `${item.path}`,
t... |
<<<<<<<
import { fakeAccountLogin, getFakeCaptcha } from '../services/api';
=======
import { stringify } from 'qs';
import { fakeAccountLogin } from '../services/api';
>>>>>>>
import { stringify } from 'qs';
import { fakeAccountLogin, getFakeCaptcha } from '../services/api';
<<<<<<<
*getCaptcha({ payload }, { c... |
<<<<<<<
=======
const { SubMenu } = Menu;
// Allow menu.js config icon as string or ReactNode
// icon: 'setting',
// icon: 'http://demo.com/icon.png',
// icon: <Icon type="setting" />,
const getIcon = (icon) => {
if (typeof icon === 'string' && icon.indexOf('http') === 0) {
return <img src={icon} alt="ic... |
<<<<<<<
import { Row, Col, Card, Form, Input, Select, Icon, Button, Dropdown, Menu,
InputNumber, DatePicker, Modal, message, Badge, Divider, Steps, Radio } from 'antd';
import StandardTable from '../../components/StandardTable';
=======
import { Row, Col, Card, Form, Input, Select, Icon, Button, Dropdown, Menu, Inp... |
<<<<<<<
=======
}
onSwitch = type => {
const { onTabChange } = this.props;
this.setState({
type,
});
onTabChange(type);
>>>>>>>
<<<<<<<
const { form, onSubmit } = this.props;
form.validateFields(activeFileds, { force: true }, (err, values) => {
onSubmit(err, values);
======... |
<<<<<<<
componentDidUpdate(preProps) {
if (this.props.data !== preProps.data) {
this.getLegendData();
=======
componentWillReceiveProps(nextProps) {
const { data } = this.props;
if (data !== nextProps.data) {
this.getLengendData();
>>>>>>>
componentDidUpdate(preProps) {
const { data... |
<<<<<<<
this.id = get(options, 'chrome.android.deviceSerial');
this.port = options.devToolsPort;
=======
this.id = get(options, 'chrome.android.deviceSerial', get(options, 'firefox.android.deviceSerial'));
>>>>>>>
this.id = get(options, 'chrome.android.deviceSerial', get(options, 'firefox.android.dev... |
<<<<<<<
const { addConnectivity, removeConnectivity } = require('../../connectivity');
=======
const path = require('path');
const fs = require('fs');
const util = require('../../support/util.js');
>>>>>>>
const { addConnectivity, removeConnectivity } = require('../../connectivity');
const path = require('path');
co... |
<<<<<<<
const { filterWhitelisted } = require('../../../support/userTiming');
const { isAndroidConfigured } = require('../../../android');
const delay = ms => new Promise(res => setTimeout(res, ms));
=======
const delay = ms => new Promise(res => setTimeout(res, ms));
const filterWhitelisted = require('../../../suppo... |
<<<<<<<
function getProtocol(setting, params) {
var protocol = setting;
if(setting == 'https-if-token') {
protocol = tokenExists(params) ? 'https' : 'http';
}
return protocol.replace(/:?$/, '://');
}
function tokenExists(params) {
return arrayAny(ACCESS_TOKEN_PARAMS, function(p) {
... |
<<<<<<<
//#region Add support for using node_modules.asar
(function () {
const path = require('path');
const Module = require('module');
const NODE_MODULES_PATH = path.join(__dirname, '../node_modules');
const NODE_MODULES_ASAR_PATH = NODE_MODULES_PATH + '.asar';
const originalResolveLookupPaths = Module._resolve... |
<<<<<<<
const { big } = require('../zoom-settings');
const { eventID, on, off } = require('../../vue/mixins/event-id');
=======
const {
createNewlyLinkedPassages,
deletePassageInStory,
updatePassageInStory
} =
require('../../data/actions');
>>>>>>>
const {
createNewlyLinkedPassages,
deletePassageInStory,
upda... |
<<<<<<<
setPref(
store,
'defaultFormat',
{ name: 'Harlowe', version: '3.0.1' }
);
=======
setPref(store, 'defaultFormat', {
name: 'Harlowe',
version: '3.0.0'
});
>>>>>>>
setPref(store, 'defaultFormat', {
name: 'Harlowe',
version: '3.0.1'
}); |
<<<<<<<
const { itemToLD } = require('../common/linked-data')
=======
const { win } = require('../window')
>>>>>>>
const { itemToLD } = require('../common/linked-data')
const { win } = require('../window') |
<<<<<<<
case 'copy':
this.handleItemCopy(this.props.selection)
break
case 'paste':
this.props.onItemPaste()
break
=======
case 'edit':
this.edit(this.current())
break
>>>>>>>
case 'copy':
this.handleItemCopy(this.props.selection)
... |
<<<<<<<
// Extract default SEO props from page props.
const {
defaultSeo: {social, ...defaultSeoData},
...passThruProps
} = pageProps
const componentProps = {
...passThruProps,
post: {
...passThruProps?.post,
seo: {
...passThruProps?.post?.seo,
social
}
}
... |
<<<<<<<
'--image-url': `url(${backgroundImage.url})`,
'--image-tint-color': `#00000020`,
'--image-fallback-color': `#000`
=======
'--image-url': `url(${backgroundImage})`,
'--image-tint-color': `${tailwindConfig.theme.colors.black['DEFAULT']}50`,
'--image-fallback-color... |
<<<<<<<
import defaultSeoFields from '../_partials/defaultSeoFields'
import commentsPostFields from '../_partials/commentsPostFields'
=======
import defaultPageData from '../_partials/defaultPageData'
>>>>>>>
import defaultPageData from '../_partials/defaultPageData'
import commentsPostFields from '../_partials/comm... |
<<<<<<<
export {default as BlockCode} from './BlockCode'
export {default as BlockMediaText} from './BlockMediaText'
export {default as BlockButton} from './BlockButton'
export {default as BlockButtons} from './BlockButtons'
export {default as BlockColumns} from './BlockColumns'
export {default as BlockCover} from './Bl... |
<<<<<<<
case 'core/embed':
return <Blocks.BlockEmbed {...attributes} key={index} />
case 'core/media-text':
=======
// case 'core/embed':
// return <Blocks.BlockVideoEmbed {...attributes} key={index} />
case 'lazyblock/mediatext':
>>>>>>>
case 'core/embed':
return <Blocks.BlockEm... |
<<<<<<<
import queryEventsArchive from '../events/queryEventsArchive'
=======
import queryCareersArchive from '../careers/queryCareersArchive'
>>>>>>>
import queryEventsArchive from '../events/queryEventsArchive'
import queryCareersArchive from '../careers/queryCareersArchive'
<<<<<<<
event: queryEventsArchive,... |
<<<<<<<
import queryEventById from '../events/queryEventById'
=======
import queryCareerById from '../careers/queryCareerById'
>>>>>>>
import queryEventById from '../events/queryEventById'
import queryCareerById from '../careers/queryCareerById'
<<<<<<<
event: queryEventById,
=======
career: queryCareerBy... |
<<<<<<<
name: 'tutorialIFrame',
=======
// Bugfix for firefox and IE
name: 'tutorialIFrame',
>>>>>>>
name: 'tutorialIFrame', // Bugfix for firefox and IE |
<<<<<<<
if (['terms','stats','range'].indexOf(sel.name.value) === -1) {
createAggregations(sel, parents.concat([sel.name.value]), fields)
=======
if (sel.name.value !== 'buckets') {
createAggregations(sel, parents.concat([sel.name.value]), fields, termsTranslation)
>>>>>>>
if (['terms','stats... |
<<<<<<<
const print = require('./../../../lib/expression/step-solver/print');
const NodeCreator = require('../../../lib/expression/step-solver/NodeCreator.js');
=======
const print = require('./../../../lib/expression/step-solver/prettyPrint');
>>>>>>>
const print = require('./../../../lib/expression/step-solver/pri... |
<<<<<<<
it('(-2/3)x + 3/7 = 1/2 -> x = -3/28', function() {
assert.equal(
testSolve('(-2/3)x + 3/7 = 1/2', '=').asciimath,
'x = -3/28');
});
it('-9/4v + 4/5 = 7/8 -> v = -1/30', function() {
assert.equal(
testSolve('-9/4v + 4/5 = 7/8 ', '=').asciimath,
'v = -1/30');
});
=======... |
<<<<<<<
const NodeType = require('./NodeType');
const print = require('./print');
=======
const prettyPrint = require('./prettyPrint');
>>>>>>>
const print = require('./print');
<<<<<<<
console.log('\n\nSimplifying: ' + print(node, false, true));
=======
// eslint-disable-next-line
console.log('\n\nSi... |
<<<<<<<
console.log(print(flattened));
=======
// eslint-disable-next-line
console.log(flattened.toString());
>>>>>>>
// eslint-disable-next-line
console.log(print(flattened)); |
<<<<<<<
=======
if (Spine.isBlank(data) || _this.record.destroyed) {
data = false;
} else {
data = _this.model.fromJSON(data);
}
>>>>>>> |
<<<<<<<
function testSprintf()
{
assert.equals('abcdef', sprintf('a%sc%se%s', 'b','d', 'f'));
assert.equals('10 20 b 30.55', sprintf('%s %d %s %f', 10, 20.33, 'b', 30.55));
}
=======
function testNewURI() {
let spec = "http://example.org/";
let uri = newURI(spec);
assert.equals(uri.spec, spec);
... |
<<<<<<<
pref("extensions.hatenabookmark.addPanel.tagMaxResult", 20);
// comment viewer
pref("extensions.hatenabookmark.commentviwer.allShow", true);
=======
pref("extensions.hatenabookmark.addPanel.tagMaxResult", 20);
pref("extensions.hatenabookmark.addPanel.initialTagCount", 30);
>>>>>>>
pref("extensions.hatenabo... |
<<<<<<<
//Kill client if they take too long to respond to the chunk transmission
// (max 1 minute)
var disconnect_interval = setTimeout(function() {
if(player.net_state === 'loading') {
player.client.kick();
}
}, 60*1000);
=======
>>>>>>> |
<<<<<<<
import clientReducer from './clientReducer';
=======
import cookieReducer from './cookieReducer';
import conversationReducer from './conversationReducer';
>>>>>>>
import clientReducer from './clientReducer';
import cookieReducer from './cookieReducer';
import conversationReducer from './conversationReducer';... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.