conflict_resolution stringlengths 27 16k |
|---|
<<<<<<<
pref("extensions.firetray.mail_accounts", '{ "serverTypes": {"pop3":{"order":1,"excluded":false}, "imap":{"order":1,"excluded":false}, "movemail":{"order":2,"excluded":true}, "none":{"order":3,"excluded":false}, "rss":{"order":4,"excluded":true}, "nntp":{"order":5,"excluded":true}}, "excludedAccounts": [] }'); ... |
<<<<<<<
if (isNewModel && !setUpdatedAt || this.hasChanged() && !setUpdatedAt) {
=======
if (options && options.date) deprecate('options.date', 'the model\'s timestamp attributes to set these values')
if (updatedAtKey && (isNewModel && !setUpdatedAt || this.hasChanged() && !setUpdatedAt)) {
>>>>>>>
if (upda... |
<<<<<<<
this.emit('readyForVideoStart');
this.machine.once('timeEstimate', function(timeEstimate) {
this.emit('timeEstimate', timeEstimate);
}.bind(this));
=======
//this.emit('readyForVideoStart');
//this.machine.once('timeEstimate',function... |
<<<<<<<
mobservable.batch(function() {
=======
mobservable.onceReady(function() {
//this is called async, and only after everything has finished, so d should be 54
test.deepEqual(54, d()); // only one new value for d
test.equal(mobservable.stackDepth(), 0);
test.done();
})... |
<<<<<<<
export default function(breakpoints, { literal, overlap } = {}) {
const mq = literal ? breakpoints : [''].concat(breakpoints)
=======
export default function(breakpoints, { overlap } = {}) {
const mq = ['&'].concat(breakpoints)
>>>>>>>
export default function(breakpoints, { literal, overlap } = {}) {
c... |
<<<<<<<
=======
>>>>>>> |
<<<<<<<
// P4 ISSUE: DETAILED BEHAVIOR OF HOOKS
//
// As implemented here, hooks are just ordinary properties of the
// Loader object. Default implementations are just ordinary methods
// of the Loader class. Loader subclasses can add methods with the
// appropriate name... |
<<<<<<<
=======
import path from 'path'
import fs from 'fs'
import { components } from 'mjml-core'
>>>>>>>
import path from 'path'
import fs from 'fs'
<<<<<<<
const CDATASections = _.chain({
...components,
})
.filter(component => component.prototype.endingTag)
.map(component => component.tagName)
.val... |
<<<<<<<
import shorthandParser, { borderParser } from './helpers/shorthandParser'
=======
import shorthandParser from './helpers/shorthandParser'
import formatAttributes from './helpers/formatAttributes'
>>>>>>>
import shorthandParser, { borderParser } from './helpers/shorthandParser'
import formatAttributes from '.... |
<<<<<<<
export default class extends BodyComponent {
static tagName = 'mj-column'
// static allowedAttributes: {
// 'background-color': 'color',
// border: 'unit(px)',
// 'border-bottom': 'unit(px)',
// 'border-left': 'unit(px)',
// 'border-radius': 'unit(px)',
// 'border-right': 'unit(px)... |
<<<<<<<
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.Formatic=e()}}(function(){var define,module,e... |
<<<<<<<
if (field.key) {
var onChange = function () {
throw new Error('No onChange hook defined.');
};
if (formatic.hasMethod('onChangeComponent')) {
onChange = formatic.onChangeComponent.bind(null, this.onChange.bind(this, field));
}
props.onChange = onChange;
}... |
<<<<<<<
await matchingEngine.setFeeAccountedPerReserveType(true, true, true, false, true, true, {from: admin});
=======
await matchingEngine.setKyberStorage(networkStorage.address, {from: admin});
await matchingEngine.setFeePayingPerReserveType(true, true, true, false, true, true, {from: admin... |
<<<<<<<
let tradeLogic;
=======
let hintParser;
>>>>>>>
let tradeLogic;
<<<<<<<
=======
hintParser = accounts[6];
//DAO related init.
expiryBlockNumber = new BN(await web3.eth.getBlockNumber() + 150);
DAO = await MockDao.new(rewardInBPS, rebateInBPS, epoch, expiryBlockNumber);
... |
<<<<<<<
const oneEth = new BN(10).pow(ethDecimals);
=======
const defaultNetworkFeeBps = new BN(25);
>>>>>>>
const oneEth = new BN(10).pow(ethDecimals);
const defaultNetworkFeeBps = new BN(25); |
<<<<<<<
'with non-array parameter. Ignoring requirement.');
*/
=======
'with unrecognized parameter. Ignoring requirement.');
>>>>>>>
'with unrecognized parameter. Ignoring requirement.');
*/ |
<<<<<<<
Svelte: !setToSelected,
}
=======
};
>>>>>>>
Svelte: !setToSelected,
};
<<<<<<<
Svelte: !setToSelected,
}
}
} else if (affectedFeature === 'Svelte') {
if (setToSelected) {
return {
...allFeatureStates,
Vue: !setToSelected,
React: ... |
<<<<<<<
const isTypescript = _.includes(configItems, 'Typescript')
const isHotReact = _.includes(configItems, 'React hot loader')
const extraImports = getStyleImports(configItems)
=======
const isTypescript = _.includes(configItems, 'Typescript');
const isHotReact = _.includes(... |
<<<<<<<
render_tags: function(template, context) {
var pop_first = function(lines) {
var lines_array = lines.split("\n");
lines_array.shift();
return lines_array.join("\n");
};
var new_regex = function() {
=======
render_tags: function(template) {
var lines = t... |
<<<<<<<
let hints = null
let selected = null
let isShown = false
=======
let hints = null
let selected = null
let length = 0
let isShown = false
>>>>>>>
let hints = null
let isShown = false
<<<<<<<
isShown = true
=======
select(0)
isShown = true
>>>>>>>
isShown = true
<<<<<<<
render: render,
======... |
<<<<<<<
root: settings.root,
hardware: settings.root + '/hardware',
avrbase: settings.root + '/hardware/tools/avr/bin'
=======
name: 'Blink',
>>>>>>>
root: settings.root,
hardware: settings.root + '/hardware',
avrbase: settings.root + '/hardware/tools/avr/bin'
<<<<<<<
OPTIONS.name = ... |
<<<<<<<
NavigationHeaderTitle,
NavigationState,
Platform,
=======
>>>>>>>
NavigationHeaderTitle,
NavigationState,
Platform,
<<<<<<<
initialState={new NavigationState([ 'First Route' ], 0)}
renderNavigator={(navState, onNavigation) => (
<NavigationAnimatedView
naviga... |
<<<<<<<
const { getClaimList, resolveUri } = require('../helpers/lbryApi.js');
const { createPublishParams, validateApiPublishRequest, validatePublishSubmission, cleanseChannelName, cleanseUserName, checkClaimNameAvailability, checkChannelAvailability } = require('../helpers/publishHelpers.js');
=======
const { getCl... |
<<<<<<<
logger.info('getting LBC balance from lbrynet...');
return getWalletBalance();
})
.then(balance => {
logger.info('starting LBC balance:', balance);
=======
>>>>>>> |
<<<<<<<
const { addGetResultsToFileData, createFileData, createPublishParams, createThumbnailPublishParams, parsePublishApiRequestBody, parsePublishApiRequestFiles, parsePublishApiChannel } = require('../helpers/publishHelpers.js');
=======
const { createBasicPublishParams, parsePublishApiRequestBody, parsePublishApi... |
<<<<<<<
const importTxt = (e) => {
localStorage.getItem("data");
=======
const downloadPdf = imgDataUri => {
const doc = new jsPDF("p", "pt", "a4");
const width = doc.internal.pageSize.width;
const height = doc.internal.pageSize.height;
doc.text(10, 20, "");
doc.addImage(imgDataUri, "PNG",... |
<<<<<<<
const testOptions = { classNames: 'some crazy string with classes' };
=======
assert.ok(parse('No emoji present') === 'No emoji present',
'return the same string if no emoji is present'
);
>>>>>>>
const testOptions = { classNames: 'some crazy string with classes' };
assert.ok(pars... |
<<<<<<<
/**
* Return array with matched emojis in text.
*
* @example
* import {load as loadEmojis, find as findEmojis} from 'gh-emoji';
*
* const text = 'Do you believe in :alien:...? :scream:';
*
* loadEmojis().then((emojis) => {
* console.log(findEmojis(text)); // [':alien:', ':scream:']
* });
*
* @para... |
<<<<<<<
=======
})
const volumeListProps = {
dataSource: data,
loading,
showAttachHost(record) {
dispatch({
type: 'volume/showAttachHostModal',
payload: {
selected: record,
},
})
},
showBackups(record) {
dispatch(routerRedux.push({
p... |
<<<<<<<
import { Form, Input, Modal, InputNumber } from 'antd'
=======
import { Form, Input, InputNumber, Radio, Select } from 'antd'
import { ModalBlur } from '../../components'
>>>>>>>
import { Form, Input, InputNumber } from 'antd'
import { ModalBlur } from '../../components' |
<<<<<<<
}
export function hzToOctaves(freq, A440) {
return Math.log2(16 * freq / A440);
}
export function normalizeByColumn (a) {
var emptyRow = a[0].map(() => 0);
var colDenominators = a.reduce((acc, row) => {
row.forEach((cell, j) => {
acc[j] += Math.pow(cell, 2);
});
return acc;
}, emptyR... |
<<<<<<<
'ProcessIn and processOut': function (test) {
test.ok(typeof model.__verymeta.data.birthday === 'string');
test.ok(model.__verymeta.data.birthday === '1965-12-02T00:00:00.000Z');
test.ok(typeof model.toObject().birthday === 'object');
test.ok(model.toObject().birthday.getUTCM... |
<<<<<<<
=======
LineLinter = (function() {
>>>>>>>
LineLinter = (function() { |
<<<<<<<
html = '', badge = result.badge;
html += '<a href="../' + result.path + '">' + hlt(result.title);
=======
html = '',
badge = result.badge;
html += '<h1>' + hlt(result.title);
>>>>>>>
html = '',
badge = result.badge;
html += '<a href=... |
<<<<<<<
=======
console.log("photoCache");
console.log(photoCache);
>>>>>>>
console.log("photoCache");
console.log(photoCache); |
<<<<<<<
beddit: {
color: "rgb(255,100,0)",
facets: {
sleep: {
list: true,
photos: false,
map: true,
gps: false,
clock: ClockConfig.BODY_CATEGORY
}
... |
<<<<<<<
console.log("createPhotoDialog is called: " + compoundPhotoId + ", " + timestamp + ", " + completionCallback);
=======
grapher.setTimeCursorPosition(timestamp);
>>>>>>>
grapher.setTimeCursorPosition(timestamp);
console.log("cr... |
<<<<<<<
var addressToUse = {latitude:0,longitude:0};
if (digest.addresses.ADDRESS_HOME != null && digest.addresses.ADDRESS_HOME.length != 0)
addressToUse = digest.addresses.ADDRESS_HOME[0];
var maxTimeBounds = {min:tbounds.start / 1000, max:tbounds.end / 1000};
=======
>>>>>>>
... |
<<<<<<<
it('should evaluate `and` truth table as <p>and: true</p> (conditionals/andTruthTable.html)', function(done) {
assert.equalIgnoreSpaces(teddy.render('conditionals/andTruthTable.html', model), ' <p>and: true true</p>');
done();
});
it('should evaluate <if something or notDefined> as true (conditio... |
<<<<<<<
process.send({type: 'publish', data: {channel: channelId, event: event, data: data}});
=======
if (!channels[channelId]) {
return;
}
process.send({type: 'up-publish', data: {channel: channelId, event: event, data: data}});
>>>>>>>
process.send({type: 'up-publ... |
<<<<<<<
showSambaExports: function() {
this.renderSidebar('storage', 'samba');
this.cleanup();
this.currentLayout = new SambaView();
$('#maincontent').empty();
$('#maincontent').append(this.currentLayout.render().el);
},
addSambaExport: function() {
this.renderSidebar('storage', 'sam... |
<<<<<<<
measure: function(){
var path = this.getPath();
if (!path) return null;
return path.measure();
},
=======
>>>>>>>
measure: function(){
var path = this.getPath();
if (!path) return null;
return path.measure();
},
<<<<<<<
var fill = this._createGradient('gradientradial', stops);
if (fo... |
<<<<<<<
requires: [Core/Class, Color/Color]
provides: [ART, ART.Element, ART.Container]
=======
requires: [Core/Class, Color/Color, Table/Table]
provides: [ART, ART.Element, ART.Container, ART.Transform]
>>>>>>>
requires: [Core/Class, Color/Color]
provides: [ART, ART.Element, ART.Container, ART.Transform]
<<<<<<<
... |
<<<<<<<
//renderTarget = new THREE.WebGLRenderTarget( window.innerWidth, window.innerHeight, renderTargetParameters );
effectSave = new THREE.SavePass( new THREE.WebGLRenderTarget( 800, 600, renderTargetParameters ) );
effectBlend = new THREE.ShaderPass( THREE.BlendShader, "tDiffuse1" );
effectBlend.uniforms[ '... |
<<<<<<<
provides: [ART.SVG, ART.SVG.Group, ART.SVG.Shape, ART.SVG.Image, ART.SVG.Text]
requires: [ART, ART.Element, ART.Container, ART.Path]
=======
provides: [ART.SVG, ART.SVG.Group, ART.SVG.Shape, ART.SVG.Image]
requires: [ART, ART.Element, ART.Container, ART.Transform, ART.Path]
>>>>>>>
provides: [ART.SVG, ART.SV... |
<<<<<<<
import { routerReducer } from 'react-router-redux';
=======
import { connectRouter } from 'connected-react-router';
import { reducer as modal } from 'redux-modal';
>>>>>>>
import { connectRouter } from 'connected-react-router';
import { reducer as modal } from 'redux-modal';
<<<<<<<
const rootReducer = comb... |
<<<<<<<
// #### Generate coverage report
// See the `grunt test-coverage` task in the section on [Testing](#testing) for more information.
coverage: {
command: 'node ' + mochaPath + ' --timeout 15000 --reporter html-cov > coverage.html ' +
... |
<<<<<<<
'intern/node_modules/dojo/has!host-browser?./legacy/DstoreAdapter-Memory',
=======
'intern/node_modules/dojo/has!host-browser?./charting/StoreSeries',
>>>>>>>
'intern/node_modules/dojo/has!host-browser?./legacy/DstoreAdapter-Memory',
'intern/node_modules/dojo/has!host-browser?./charting/StoreSeries', |
<<<<<<<
myBool: ['boolean', true, false],
good: {
type: 'string',
validator: function (newVal) {
if (newVal !== 'good') {
return "Value not good";
}
}
}
=======
myBool: ['boolean... |
<<<<<<<
const { decToBytes, addrToBytes } = require('./utils')
const e18 = 1000000000000000000 // 1e18
=======
const e18 = new BN("1000000000000000000") // 1e18
>>>>>>>
const { decToBytes, addrToBytes } = require('./utils')
const e18 = new BN("1000000000000000000") // 1e18
<<<<<<<
=======
it('1. minting dur... |
<<<<<<<
this.status = 200;
yield next;
=======
this.status = status || 200;
>>>>>>>
this.status = status || 200;
yield next; |
<<<<<<<
updateMousePosition (x, y) {
this.mouse.x = (((x - this.boundingRect.left) / this.renderer.domElement.clientWidth) * 2) - 1;
this.mouse.y = -(((y - this.boundingRect.top) / this.renderer.domElement.clientHeight) * 2) + 1;
}
=======
>>>>>>> |
<<<<<<<
[313, 42],
=======
[317, 42],
>>>>>>>
[319, 42],
<<<<<<<
[319, 111, 119, 115],
=======
8,
>>>>>>>
8,
<<<<<<<
[320, 112, 114, 118, 115],
=======
[323, 112, 120, 116],
>>>>>>>
[325, 112, 120, 116],
<<<<<<<
[321, 113],
=======
[324, 113, 115, 119, 116],
>>>>>>>
[326, 113, 115, 119, 116],
<<<<<<<
[3... |
<<<<<<<
ElLoading,
ElForm,
ElFormItem,
ElRadio,
ElRadioButton,
ElRadioGroup,
ElCheckbox,
ElCheckboxButton,
ElCheckboxGroup,
ElInput,
ElInputNumber,
ElSelect,
ElCascader,
ElCascaderPanel,
ElSlider,
ElTimePicker,
ElTimeSelect,
ElDatePicker,
ElUpload,
ElRate,
ElColorPicker,
ElTr... |
<<<<<<<
'image',
=======
'card',
>>>>>>>
'image',
'card', |
<<<<<<<
import Card from '../packages/card/index.js';
import Rate from '../packages/rate/index.js';
=======
import Badge from '../packages/badge/index.js';
import Card from '../packages/card/index.js';
>>>>>>>
import Card from '../packages/card/index.js';
import Rate from '../packages/rate/index.js';
import Badge fr... |
<<<<<<<
import ElCarousel from '../packages/carousel'
import ElCarouselItem from '../packages/carousel-item'
import ElInfiniteScroll from '../packages/infinite-scroll'
import ElDrawer from '../packages/drawer'
=======
import ElTabs from '../packages/tabs'
import ElTabPane from '../packages/tab-pane'
import ElPageHead... |
<<<<<<<
'timeline',
'timeline-item',
=======
'input-number',
>>>>>>>
'timeline',
'timeline-item',
'input-number', |
<<<<<<<
this.moveNodeInteraction = new MoveNodeInteraction(this);
=======
this.layouts = {
ltrTree: LTRTreeLayout,
dns: DNSLayout,
ringCenter: RingCenterLayout
};
>>>>>>>
this.moveNodeInteraction = new MoveNodeInteraction(this);
this.layouts = {
ltrTree: LTRTreeLayout,
... |
<<<<<<<
SUB_RECEIVE_USER_SUBSCRIPTIONS: null,
=======
USER_RECEIVE: null,
>>>>>>>
SUB_RECEIVE_USER_SUBSCRIPTIONS: null,
USER_RECEIVE: null, |
<<<<<<<
COIN_OWNERSHIP: {
ACTIONS: {
ADD_USER: 'addUser',
REMOVE_USER: 'removeUser',
UPDATE_USER: 'updateUser'
},
EVENTS: {
USER_ADDED: 'coinOwnership:userAdded',
USER_REMOVED: 'coinOwnership:userRevmoed',
USER_UPDATED: 'coinOwnership:userUpdated'
}
},
PERSON_P... |
<<<<<<<
})([Element.prototype, CharacterData.prototype, DocumentType.prototype]);
// Custom Events
// IE Polyfills: https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/CustomEvent#Polyfill
(function () {
if ( typeof window.CustomEvent === "function" ) return false;
function CustomEvent ( event, params )... |
<<<<<<<
self.uploadSdButton = undefined;
self.addFolderDialog = undefined;
self.addFolderName = ko.observable(undefined);
self.enableAddFolder = ko.computed(function() {
return self.loginState.isUser() && self.addFolderName() && self.addFolderName().trim() != "";
});... |
<<<<<<<
OCTOPRINT_VIEWMODELS.push([
NavigationViewModel,
["loginStateViewModel", "appearanceViewModel", "settingsViewModel", "userSettingsViewModel", "systemViewModel", "accessViewModel"],
"#navbar"
]);
=======
OCTOPRINT_VIEWMODELS.push({
construct: NavigationViewModel,
... |
<<<<<<<
// view model class, parameters for constructor, container to bind to
ADDITIONAL_VIEWMODELS.push([
PluginManagerViewModel,
["loginStateViewModel", "settingsViewModel", "printerStateViewModel", "systemViewModel", "accessViewModel"],
"#settings_plugin_pluginmanager"
]);
======... |
<<<<<<<
return self.isOperational() &&
self.isReady() &&
!self.isPrinting() &&
self.loginState.hasPermission(self.access.permissions.PRINT) &&
self.filename() !== undefined;
=======
return self.isOperational() && s... |
<<<<<<<
OCTOPRINT_VIEWMODELS.push([
SettingsViewModel,
["loginStateViewModel", "accessViewModel", "printerProfilesViewModel", "aboutViewModel", "usersViewModel"],
["#settings_dialog", "#navbar_settings"]
]);
=======
OCTOPRINT_VIEWMODELS.push({
construct: SettingsViewModel,
... |
<<<<<<<
=======
self.editorPassword(undefined);
self.editorRepeatedPassword(undefined);
});
self.editorPasswordMismatch = ko.pureComputed(function() {
return self.editorPassword() !== self.editorRepeatedPassword();
});
self.requestData = function()... |
<<<<<<<
self.foldersOnlyList = ko.dependentObservable(function() {
var filter = function(data) { return data["type"] && data["type"] == "folder"; };
return _.filter(self.listHelper.paginatedItems(), filter);
});
self.filesOnlyList = ko.dependentObservable(function() {
... |
<<<<<<<
return self.isOperational() &&
self.isReady() &&
!self.isPrinting() &&
self.loginState.hasPermission(self.access.permissions.PRINT) &&
self.filename() != undefined;
=======
return self.isOperational() && se... |
<<<<<<<
OCTOPRINT_VIEWMODELS.push([
TimelapseViewModel,
["loginStateViewModel", "accessViewModel"],
["#timelapse", "#timelapse_link"]
]);
=======
OCTOPRINT_VIEWMODELS.push({
construct: TimelapseViewModel,
dependencies: ["loginStateViewModel"],
elements: ["#t... |
<<<<<<<
self.access = parameters[1];
=======
self.settings = parameters[1];
>>>>>>>
self.access = parameters[1];
self.settings = parameters[1];
<<<<<<<
dependencies: ["loginStateViewModel", "accessViewModel"],
elements: ["#timelapse", "#timelapse_link"]
=======
... |
<<<<<<<
OctoPrint.access.users.get(self.currentUser().name)
=======
return OctoPrint.users.get(self.currentUser().name)
>>>>>>>
return OctoPrint.access.users.get(self.currentUser().name) |
<<<<<<<
if (notifications) {
new PNotify({
title: gettext("Login successful"),
text: _.sprintf(gettext('You are now logged in as "%(username)s"'), {username: response.name}),
type: "success"
... |
<<<<<<<
OctoPrint.plugins.softwareupdate.updateAll(force)
.done(function(data) {
self.currentlyBeingUpdated = data.checks;
self._markWorking(gettext("Updating..."), gettext("Updating, please wait."));
})
.fail(function()... |
<<<<<<<
if (!self.loginState.hasPermission(self.access.permissions.PLUGIN_SOFTWAREUPDATE_UPDATE)) return;
=======
if (!self.loginState.isAdmin()) return;
if (self.printerState.isPrinting()) return;
>>>>>>>
if (!self.loginState.hasPermission(self.access.permissions.PLUG... |
<<<<<<<
self.access = parameters[3];
=======
// optional
self.piSupport = parameters[3]; // might be null!
>>>>>>>
self.access = parameters[3];
// optional
self.piSupport = parameters[3]; // might be null!
<<<<<<<
self.onUserPermissionsChanged = self.onU... |
<<<<<<<
import Messages from 'ember-model-validator/messages';
import PostalCodesRegex from 'ember-model-validator/postal-codes-regex';
=======
import Messages from 'ember-model-validator/messages/en';
>>>>>>>
import Messages from 'ember-model-validator/messages/en';
import PostalCodesRegex from 'ember-model-validat... |
<<<<<<<
function write(filename, contents){
fs.writeFileSync(filename, contents, 'utf-8');
}
=======
function prettyPrint(grammar) {
return grammar.rules.map(g => g.toString())
}
>>>>>>>
function write(filename, contents){
fs.writeFileSync(filename, contents, 'utf-8');
}
function prettyPrint(grammar) {
... |
<<<<<<<
var gi = require("./google_image_plugin");
var google_image_plugin = new gi();
try {
=======
>>>>>>>
try {
<<<<<<<
"announce": {
usage: "<message>",
description: "bot says message with text to speech",
process: function(bot,msg,suffix){ bot.sendMessage(msg.channel,suffix,true);}
... |
<<<<<<<
},
"wolfram": {
usage: "<search terms>",
description: "gives results from wolframalpha using search terms",
process: function(bot,msg,suffix){
if(!suffix){
bot.sendMessage(msg.channel,"Usage: !wolfram <search terms> (Ex. !wolfram integrate 4x)");
}
wolfram_plugin.res... |
<<<<<<<
var result = key
, structure = data;
for (var paths = key.split('.'), i = 0, length = paths.length; i < length && structure; i++) {
result = structure[+paths[i] || paths[i]];
structure = result;
}
return result || data[key];
}
=======
//
// compileMappings
//
// ... |
<<<<<<<
module.exports = function lostCenterDecl(css, settings) {
=======
var lgLogic = require('./_lg-logic');
/**
* lost-center: Horizontally center a container element and apply padding
* to it.
*
* @param {length} [max-width|fraction] - Either a max-width to assign (can be
* any unit). Or, a simple fracti... |
<<<<<<<
var warningIcon = null;
if (this.showErrors()) {
warningIcon = (
<Icon symbol="remove" className="form-control-feedback" />
);
}
=======
>>>>>>>
<<<<<<<
var className = 'form-control'
if (this.showErrors()) {
classN... |
<<<<<<<
var warningIcon = null;
if (this.showErrors()) {
warningIcon = React.createElement(Icon, { symbol: 'remove', className: 'form-control-feedback' });
}
=======
>>>>>>> |
<<<<<<<
},
getAddresses: async (_, { name, keys }) => {
const ens = getENS()
const addresses = keys.map(key =>
ens.getAddr(name, key).then(addr => ({ key, value: addr }))
)
return Promise.all(addresses)
},
getTextRecords: async (_, { name, keys }) => {
const ens = g... |
<<<<<<<
{this.state.columns.map(col => (
<VirtualizedList
ref={ref => (this._listRefs[col.index] = ref)}
key={`$col_${col.index}`}
data={col.data}
getItemCount={this._getItemCount}
getItem={this._getItem}
getItemLayout={(data, ind... |
<<<<<<<
fullGlob = (function () {
var packagejson = JSON.parse(fs.readFileSync('package.json', {encoding: 'utf8'}));
var pkgs = _.keys(packagejson.dependencies);
pkgs = pkgs.concat(_.keys(packagejson.optionalDependencies));
return pkgs.map(function (package) {
re... |
<<<<<<<
res = undo(state.history, action.steps);
debug('after undo', res);
debugEnd();
=======
res = undo(state.history);
debug('history (undo):', historyToString(state.history), '->', historyToString(res));
>>>>>>>
res = undo(state.history);
debug('after undo', res);
... |
<<<<<<<
// import pickingMaterial from '../core/engine/picking/pickingMaterial';
=======
>>>>>>> |
<<<<<<<
import './packages/component/src/css/l7.css';
import './site/css/demo.css'
=======
require('./packages/component/src/css/l7.css');
>>>>>>>
import './packages/component/src/css/l7.css';
import './site/css/demo.css'
require('./packages/component/src/css/l7.css');
<<<<<<<
window.scene = require('@l7/scene');
... |
<<<<<<<
export function Line(path, props, positionsIndex) {
// 区分path是面还是线
if (Array.isArray(path[0][0])) {
path = path[0]; // 面坐标转线坐标
}
=======
export function Line(path, props, positionsIndex, lengthPerDashSegment = 200) {
if (path.length === 1) path = path[0];// 面坐标转线坐标
>>>>>>>
export function Line(... |
<<<<<<<
if (data && data.error && data.error.message) {
return <NetworkError message={data.error.message} />
} else {
return (
<>
<Router>
<Switch>
<Route
exact
pat... |
<<<<<<<
export function Line(path, props, positionsIndex) {
// 区分path是面还是线
if (Array.isArray(path[0][0])) {
path = path[0]; // 面坐标转线坐标
}
=======
export function Line(path, props, positionsIndex, lengthPerDashSegment = 200) {
if (path.length === 1) path = path[0];// 面坐标转线坐标
>>>>>>>
export function Line(... |
<<<<<<<
import lighting from './shaderChunks/lighting.glsl';
=======
import sdf_2d from './shaderChunks/sdf_2d.glsl';
>>>>>>>
import lighting from './shaderChunks/lighting.glsl';
import sdf_2d from './shaderChunks/sdf_2d.glsl';
<<<<<<<
registerModule('lighting', { vs: lighting, fs: '' });
=======
registerModu... |
<<<<<<<
// import WorkerPool from './worker';
=======
import FontAtlasManager from '../geom/buffer/point/text/font-manager';
// import WorkerPool from './worker';
>>>>>>>
import FontAtlasManager from '../geom/buffer/point/text/font-manager';
import WorkerPool from '../worker/worker_pool';
<<<<<<<
this._engine.r... |
<<<<<<<
import lighting from './shaderChunks/lighting.glsl';
=======
import sdf_2d from './shaderChunks/sdf_2d.glsl';
>>>>>>>
import lighting from './shaderChunks/lighting.glsl';
import sdf_2d from './shaderChunks/sdf_2d.glsl';
<<<<<<<
registerModule('lighting', { vs: lighting, fs: '' });
=======
registerModu... |
<<<<<<<
/*
* @Author: ThinkGIS
* @Date: 2018-06-08 11:19:06
* @Last Modified by: mikey.zhaopeng
* @Last Modified time: 2019-02-25 20:58:08
*/
=======
>>>>>>>
<<<<<<<
import { aProjectFlat } from '../geo/project';
import { getTransform, getParser } from '../source';
=======
import { getMap } from '../map/ind... |
<<<<<<<
// import pickingMaterial from '../core/engine/picking/pickingMaterial';
=======
>>>>>>> |
<<<<<<<
export function Line(path, props, positionsIndex) {
// 区分path是面还是线
if (Array.isArray(path[0][0])) {
path = path[0]; // 面坐标转线坐标
}
=======
export function Line(path, props, positionsIndex, lengthPerDashSegment = 200) {
if (path.length === 1) path = path[0];// 面坐标转线坐标
>>>>>>>
export function Line(... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.