conflict_resolution stringlengths 27 16k |
|---|
<<<<<<<
this.forceConnect = options.forceConnect || false;
this.uuid = uuid;
=======
>>>>>>>
this.forceConnect = options.forceConnect || false; |
<<<<<<<
if (ivCiphertext.length < 16 || ivCiphertext.length % 16 != 0) {
=======
if (ivCiphertext.length < 16 || ivCiphertext.length % 16 != 0) {
>>>>>>>
if (ivCiphertext.length < 16 || ivCiphertext.length % 16 != 0) {
<<<<<<<
options.sharedKey = NRS.getSharedSecretJava(options.privateKey, options... |
<<<<<<<
that.items = JSON.parse(data);
if (that.transactionType === 'getBlockchainTransactions' || that.transactionType === 'getPrivateBlockchainTransactions') {
that.items = JSON.parse(data).transactions;
that.serverKey = JSON.... |
<<<<<<<
=======
>>>>>>>
<<<<<<<
=======
>>>>>>> |
<<<<<<<
self.getStylesheets().forEach(function extract_rules(stylesheet) {
Array.prototype.forEach.call(self.getCSSRules(stylesheet), function filter_by_column_selector(rule) {
if (rule.media && self.mediaRuleHasColumnsSelector(rule.cssRules)) {
=======
self.get_stylesheets().forEach(function extract_ru... |
<<<<<<<
self.next_element_column_index = function next_element_column_index(grid, fragments) {
=======
self.nextElementColumnIndex = function nextElementColumnIndex(grid) {
>>>>>>>
self.nextElementColumnIndex = function nextElementColumnIndex(grid, fragments) {
<<<<<<<
, fragments = self.create_list_of_fragment... |
<<<<<<<
console.error(JsSIP.C.LOG_URI + 'missing or invalid "host" parameter');
throw new TypeError('missing "host" parameter');
=======
console.warn(JsSIP.C.LOG_URI + 'Missing "host" in URI');
throw new TypeError('Invalid host: '+ host);
>>>>>>>
throw new TypeError('missing or invalid "host" par... |
<<<<<<<
var item = $('<li>', {"class": "upload-kit-item done"})
=======
console.log(options);
var item = $('<li>', {"class": "upload-kit-item done", value: index})
>>>>>>>
var item = $('<li>', {"class": "upload-kit-item done", value: index}) |
<<<<<<<
breakEditLinkTitle: 'Cancel',
forceDeleteConfirmation: 'There are more records using this tag, are you sure do you want to remove it?'
}
=======
breakEditLinkTitle: 'Cancel'
},
tabindex: false
>>>>>>>
breakEditLinkTitle: 'Cancel',
forceDeleteConfirmation: ... |
<<<<<<<
test('table.get, nested relationships', function (t) {
useDb(t, ['user', 'book', 'review'], function (db, done) {
const user = makeUserTable(db)
const book = makeBookTable(db)
const review = makeReviewTable(db)
review.getOne({ id: 1 }, {
debug: true,
relationships: true,
rel... |
<<<<<<<
this.get = function (table, id) {
=======
this.get = function (table, key) {
if (closed) {
throw new Error('Database has been closed');
}
var transaction = db.transaction(table);
var store = transaction.objectStore(table);
... |
<<<<<<<
db.delete(dbName).then(function () {
var request = indexedDB.open(dbName);
request.onupgradeneeded = function (e) {
expect(e.oldVersion).toEqual(0); // Confirm deletion had occurred
e.target.transaction.onabort = function () {
... |
<<<<<<<
let activityTitle = (document.querySelector('meta[property="og:title"]') === null) ? document.title : document.querySelector('meta[property="og:title"]').content;
let activityDescription = (document.querySelector('link[rel~="canonical"][href]') === null) ? ((document.querySelector('meta[property="og:url... |
<<<<<<<
import { parseVector3, parseEuler, parseQuaternion } from '../parsers.js';
=======
import { Object3D } from 'three';
import { parseVector3, parseEuler } from '../parsers';
>>>>>>>
import { Object3D } from 'three';
import { parseVector3, parseEuler, parseQuaternion } from '../parsers';
<<<<<<<
vector3, eul... |
<<<<<<<
import VglLineDashedMaterial from './materials/vgl-line-dashed-material.js';
=======
import VglMeshNormalMaterial from './materials/vgl-mesh-normal-material.js';
>>>>>>>
import VglLineDashedMaterial from './materials/vgl-line-dashed-material.js';
import VglMeshNormalMaterial from './materials/vgl-mesh-normal... |
<<<<<<<
// console.log(json, 'XXX');
=======
console.log('this is json in GINAP', json)
>>>>>>>
// console.log(json, 'XXX');
console.log('this is json in GINAP', json)
<<<<<<<
}
=======
}
console.log(result, 'this is result line 239 importPath')
>>>>>>>
} |
<<<<<<<
=======
res.locals.respoitoryUrl = 'https://github.com/bookbrainz/bookbrainz-site/';
res.locals.siteRevision = siteRevision;
// Get the latest count of messages in the user's inbox.
if (req.session && req.session.bearerToken) {
return bbws.get('/message/inbox/', {
accessToken: req.session.bearerToke... |
<<<<<<<
/* Middleware loader functions. */
var makeEntityLoader = require('../../helpers/middleware').makeEntityLoader;
var loadCreatorTypes = require('../../helpers/middleware').loadCreatorTypes;
var loadGenders = require('../../helpers/middleware').loadGenders;
var loadLanguages = require('../../helpers/middleware'... |
<<<<<<<
=======
const ReactDOMServer = require('react-dom/server');
const User = require('../data/user');
const bbws = require('../helpers/bbws');
>>>>>>>
const ReactDOMServer = require('react-dom/server');
<<<<<<<
new Editor({id: parseInt(req.user.id, 10)})
.fetch()
.then((editor) => {
const markup = React.re... |
<<<<<<<
var auth = require('../../helpers/auth');
var Relationship = require('../../data/relationship');
var RelationshipType = require('../../data/properties/relationship-type');
var Entity = require('../../data/entity');
var React = require('react');
var EditForm = React.createFactory(require('../../../client/compone... |
<<<<<<<
const passport = require('passport');
const config = require('../helpers/config');
const BBWSStrategy = require('./passport-bookbrainz-ws');
=======
var passport = require('passport');
var Editor = require('bookbrainz-data').Editor;
var LocalStrategy = require('passport-local').Strategy;
>>>>>>>
const passpo... |
<<<<<<<
import Promise from 'bluebird';
import _ from 'lodash';
=======
>>>>>>>
import Promise from 'bluebird';
import _ from 'lodash'; |
<<<<<<<
=======
const auth = require('../helpers/auth');
const React = require('react');
const ReactDOMServer = require('react-dom/server');
const LoginPage = React.createFactory(
require('../../client/components/pages/login.jsx')
);
>>>>>>>
const React = require('react');
const ReactDOMServer = require('react-dom... |
<<<<<<<
import DeleteOrRemoveCollaborationModal from './parts/delete-or-remove-collaboration-modal';
import {ENTITY_TYPE_ICONS} from '../../helpers/entity';
=======
import DeleteCollectionModal from './parts/delete-collection-modal';
>>>>>>>
import DeleteCollectionModal from './parts/delete-collection-modal';
import... |
<<<<<<<
this.state = {
ended: this.props.publisher ?
this.props.publisher.ended :
false
};
=======
// React does not autobind non-React class methods
this.handleEnded = this.handleEnded.bind(this);
}
>>>>>>>
// React does not autobind non-React class methods
this.handleEnded = this.handl... |
<<<<<<<
checkIfNameExists, debouncedUpdateDisambiguationField,
debouncedUpdateNameField, debouncedUpdateSortNameField, searchName,
updateLanguageField
=======
debouncedUpdateDisambiguationField,
debouncedUpdateNameField,
debouncedUpdateSortNameField,
updateLanguageField
>>>>>>>
checkIfNameExists, debouncedUp... |
<<<<<<<
const express = require('express');
const router = express.Router();
const Revision = require('../data/properties/revision');
const User = require('../data/user');
const _ = require('underscore');
function formatPairAttributeSingle(pair, attribute) {
if (attribute) {
return [
pair[0] ? [pair[0][attribute... |
<<<<<<<
const express = require('express');
const router = express.Router();
const User = require('../data/user');
const UserType = require('../data/properties/user-type');
=======
var express = require('express');
var router = express.Router();
var Editor = require('bookbrainz-data').Editor;
var EditorType = require... |
<<<<<<<
const passport = require('passport');
=======
const status = require('http-status');
const auth = require('../helpers/auth');
>>>>>>>
const passport = require('passport');
const status = require('http-status');
<<<<<<<
res.redirect(303, redirect);
},
(err, req, res) => {
// If an error occurs during l... |
<<<<<<<
const express = require('express');
const router = express.Router();
const config = require('../helpers/config');
const auth = require('../helpers/auth');
const bbws = require('../helpers/bbws');
=======
var express = require('express');
var router = express.Router();
var Message = require('bookbrainz-data')... |
<<<<<<<
this.setState({waiting: true});
request.post('/editor/edit/handler')
.send(data)
.promise()
.then(() => {
window.location.href = `/editor/${this.props.editor.id}`;
});
}
render() {
const loadingElement = this.state.waiting ?
<LoadingSpinner/> :
null;
const titles =... |
<<<<<<<
<div className="container">
<div id="pageWithPagination">
<RevisionsTable results={this.state.results}/>
<PagerElement
from={this.props.from}
paginationUrl={this.paginationUrl}
results={this.state.results}
searchResultsCallback={this.searchResultsCallback}
size={t... |
<<<<<<<
=======
const User = require('../data/user');
const UserType = require('../data/properties/user-type');
const React = require('react');
const ReactDOMServer = require('react-dom/server');
const RegisterPage = React.createFactory(
require('../../client/components/pages/register.jsx')
);
>>>>>>>
const React ... |
<<<<<<<
render() {
const guessSortNameButton = (
<Button
bsStyle="link"
title="Guess Sort Name"
onClick={this.handleGuessSortNameClick}
>
<Icon name="magic"/>
</Button>
);
const select2Options = {
allowClear: true
};
const removeHiddenClass = this.props.removeHidde... |
<<<<<<<
faCircleNotch, faCodeBranch, faComment, faEnvelope, faExclamationTriangle,
faExternalLinkAlt, faGlobe, faGripVertical, faHistory, faInfo, faListUl, faPenNib, faPencilAlt, faPencilRuler,
faPlus, faQuestionCircle, faRemoveFormat, faSave, faSearch, faSignInAlt,
=======
faCircleNotch, faCodeBranch, faCommentD... |
<<<<<<<
=======
import Badge from './../shared/Badge';
>>>>>>>
import Badge from './../shared/Badge';
<<<<<<<
<NavigationButton href={`/builds`}>My Builds <Badge><BuildsCount viewer={this.props.viewer} /></Badge></NavigationButton>
<NavigationButton href={`/docs`}>Documentation</Navigatio... |
<<<<<<<
, fs = require('fs')
=======
, utils = require('utilities')
, errors = require('../response/errors')
>>>>>>>
, fs = require('fs')
, utils = require('utilities')
, errors = require('../response/errors') |
<<<<<<<
, inflection = require('../deps/inflection')
=======
, model = require('./model')
, utils = require('utilities')
, i18n = require('./i18n')
>>>>>>>
, inflection = require('../deps/inflection')
, model = require('./model')
, utils = require('utilities')
, i18n = require('./i18n')
<<<<<<<
, ... |
<<<<<<<
const inputButtonContent = <IconEdit />;
class NumPad extends Component {
constructor(props) {
super(props);
this.state = {
show: false,
value: (props.value || '').toString(),
};
this.toggleKeyPad = this.toggleKeyPad.bind(this);
this.confirm = this.confirm.bind(this);
}
s... |
<<<<<<<
deferred.reject('No URL');
} else {
$http({
url: url,
method: 'GET',
timeout: 5000,
=======
deferred.reject('You must provide Kong node url.');
... |
<<<<<<<
{ text: _config.actionLabels.delay, onPress: () => {}, style: 'default' },
{ text: _config.actionLabels.decline, onPress: () => { RatingsData.recordDecline(); }, style: 'destructive' },
=======
{ text: _config.actionLabels.decline, onPress: () => { RatingsData.recordDecline(); callback(true,... |
<<<<<<<
return <AnswerRadioInput
id={"choice-" + i}
key={"choice-" + i}
name={this.state.id}
label={choice}
value={choice}
checked={this.state.value === choice}
onChanged={this.handleChanged} />
=======
return AnswerRadioInput({
key: 'choice-... |
<<<<<<<
describe('--export-environment', function () {
var outDir = 'out',
environment = 'test/fixtures/run/simple-variables.json',
exportedEnvironmentPath = path.join(__dirname, '..', '..', outDir, 'test-environment.json');
=======
describe('newman.run exportEnvironment', function () {
var en... |
<<<<<<<
'bin/newman -c tests/integ_tests/caseInsenHeader.json -s &&' +
'bin/newman -c tests/integ_tests/helper.postman_collection -n 3 -s'
=======
'bin/newman -c tests/integ_tests/steph.json -s -d tests/integ_tests/steph_data.csv -n 2 -s && ' +
'bin/newman -c tests/integ_tests/caseInsenHeader.json... |
<<<<<<<
it('`newman run` should export globals to a file in a pre-existing directory', function (done) {
// eslint-disable-next-line max-len
exec('node ./bin/newman.js run test/fixtures/run/single-get-request.json -g test/fixtures/run/simple-variables.json --export-globals out', function (code) {
... |
<<<<<<<
util.cast.memoizeKeyVal, [])
.option('--color <value>', 'Enable/Disable colored output. (auto|on|off)', /^(auto|on|off)$/, 'auto')
=======
util.cast.memoize, [])
.option('--color <value>', 'Enable/Disable colored output. (auto|on|off)', util.cast.colorOptions, 'auto')
>>>>>>>
... |
<<<<<<<
it('`newman run` should export globals to a file in a pre-existing directory', function (done) {
newman.run({
collection: 'test/fixtures/run/single-get-request.json',
globals: globals,
exportGlobals: outDir
}, function (err) {
if (err) { retur... |
<<<<<<<
print.lf('%s %s', passed ? colors.green(` ${cliUtils.symbols.ok} `) :
colors.red.bold(pad(this.summary.failures.length, 3, SPC) + cliUtils.symbols.dot), passed ?
colors.gray(o.assertion) : colors.red.bold(o.assertion));
=======
print.lf('%s %s', passed ? colors.green('... |
<<<<<<<
it('should sanitize styles correctly', function() {
var sanitizeString = '<p dir="ltr"><strong>beste</strong><em>testestes</em><s>testestset</s><u>testestest</u></p><ul dir="ltr"> <li><u>test</u></li></ul><blockquote dir="ltr"> <ol> <li><u>test</u></li><li><u>test</u></li><li style="text-align: right;"><... |
<<<<<<<
it('text from transformTags should not specify tags', function() {
var input = '<input value="<script>alert(1)</script>">';
var want = '<u class="inlined-input"><script>alert(1)</script></u>';
// Runs the sanitizer with a policy that turns an attribute into
// text. A ... |
<<<<<<<
components.charts.push({
header: "RobeBarChart",
=======
components.push({
header: "BarChart",
>>>>>>>
components.charts.push({
header: "BarChart",
<<<<<<<
components.charts.push({
header: "RobeComposedChart",
=======
... |
<<<<<<<
desc: Application.i18n(ComponentList, "components.ComponentList", "areaChartDesc"),
// json: require("./jsons/charts/AreaChart.json"),
=======
desc: " displays graphically quantitative data. It is based on the line chart. The area between axis and line are commonly emphasiz... |
<<<<<<<
Photo = PNM.Photo,
Photos = PNM.Photos,
Place = PNM.Place,
Helpers = PNM.Helpers,
Templates = Y.Template._cache,
=======
Helpers = Y.PNM.Helpers,
Templates = Y.PNM.Templates,
>>>>>>>
Helpers = Y.PNM.Helpers,
Templates = Y.Template._cache,
<<<<<<<
}, '0.7.2', {
... |
<<<<<<<
const ALERT_TYPE_ERROR = 'error'
=======
export const setUrl = url => ({ type: SET_URL, url })
>>>>>>>
const ALERT_TYPE_ERROR = 'error'
export const setUrl = url => ({ type: SET_URL, url }) |
<<<<<<<
function createClient(protoFile, directory, serviceName, address, options) {
let parsed = grpc.load({
root: directory,
file: protoFile
});
inquirer.prompt([{
type: 'list',
name: 'packageName',
message: 'What package you want to use?',
choices: Object.keys(parsed)
}]).then(funct... |
<<<<<<<
effect: false,
=======
rotateCompleteLoop: false,
>>>>>>>
effect: false,
rotateCompleteLoop: false, |
<<<<<<<
this.url = EsriLeaflet.Util.cleanUrl(url);
this._service = new EsriLeaflet.Services.FeatureLayer(this.url, options);
this._service.addEventParent(this);
=======
this._service = new EsriLeaflet.Services.FeatureLayer(options);
>>>>>>>
this._service.addEventParent(this);
thi... |
<<<<<<<
=======
map.on('moveend', this._update, this);
// if we had an image loaded and it matches the
// current bounds show the image otherwise remove it
if(this._currentImage && this._currentImage._bounds.equals(this._map.getBounds())){
map.addLayer(this._currentImage);
} else if(this._c... |
<<<<<<<
'src/Layers/RasterLayer.js',
'src/Layers/DynamicMapLayer.js',
'src/Layers/ImageMapLayer.js',
'src/Layers/TiledMapLayer.js'
=======
'src/Tasks/Find.js',
'src/Layers/DynamicMapLayer',
'src/Layers/TiledMapLayer'
>>>>>>>
'src/Tasks/F... |
<<<<<<<
this._service = new L.esri.Services.MapService(this.url, options);
this._service.addEventParent(this);
=======
this._service = new L.esri.Services.MapService(options);
this._service.on('authenticationrequired requeststart requestend requesterror requestsuccess', this._propagateEvent, this);
>... |
<<<<<<<
if (keys.length === 0) return store.state;
else if (keys.length > 1) {
=======
if (logger) console.log('Get: ', ...keys);
if (keys.length > 1) {
>>>>>>>
if (logger) console.log('Get: ', ...keys);
if (keys.length === 0) return store.state;
else if (keys.length > 1) { |
<<<<<<<
this.calculateWidth = function()
{
var width = 0;
for (var i = 0; i < $container.find("li").length; i++)
{
if($container.find("li").eq(i).children("a").eq(0).length > 0){
width += $container.find("li").eq(i).children("a"... |
<<<<<<<
external: true,
},
{
title: 'Dokumentation',
path: 'https://preview.datengui.de/dokumentation',
external: true,
=======
external: true,
>>>>>>>
},
{
title: 'Dokumentation',
path: 'https://preview.datengui.de/dokumentation',
external: true,
<<<<<<<
Icon: TwitterIco... |
<<<<<<<
{process.env.NODE_ENV !== 'production' ? (
<a
className="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-colorInherit"
href="/docs/gettingstarted/intro"
>
Docs
</a>
) : (
<Link href="/docs/gettingstarted/intro... |
<<<<<<<
this.wm = (binding ? binding : new X11wm());
// Known layouts
=======
if(process.version.indexOf('v0.6') != -1) {
console.log(process.version);
// the right way would be to fix the wscript, but waf makes me cry for help
this.wm = require('./build/Release/nwm.node');
} else {
this.wm = ... |
<<<<<<<
import SocialProfiles from './SocialProfiles';
=======
import StatusImage from './StatusImage';
>>>>>>>
import StatusImage from './StatusImage';
import SocialProfiles from './SocialProfiles';
<<<<<<<
SocialProfiles,
=======
StatusImage,
>>>>>>>
StatusImage,
SocialProfiles, |
<<<<<<<
imageSrc={require('./create-data-objects.png')}
image2xSrc={require('./create-data-objects@2x.png')}
imageSmallSrc={require('./create-data-objects-small.png')}
imageSmall2xSrc={require('./create-data-objects-small@2x.png')}
headline="Create data object... |
<<<<<<<
import CounterBoxes from './CounterBoxes';
=======
import ContactForm from './ContactForm';
>>>>>>>
import ContactForm from './ContactForm';
import CounterBoxes from './CounterBoxes';
<<<<<<<
CounterBoxes,
=======
ContactForm,
>>>>>>>
ContactForm,
CounterBoxes, |
<<<<<<<
SlackSlider,
=======
PlatformsSection,
>>>>>>>
SlackSlider,
PlatformsSection, |
<<<<<<<
import Testimonials from './Testimonials';
=======
import SocialProfiles from './SocialProfiles';
import Testimtionals from './Testimtionals';
>>>>>>>
import Testimonials from './Testimonials';
import SocialProfiles from './SocialProfiles';
<<<<<<<
Testimonials,
=======
SocialProfiles,
Testimtionals... |
<<<<<<<
import { AboutUsHeaderImage, BlockquoteSection, CounterBoxes, CTASection, Footer, PageHeader } from '../../components';
=======
import { BlockquoteSection, CounterBoxes, CTASection, Footer, OfficesMap, PageHeader, Team } from '../../components';
>>>>>>>
import { AboutUsHeaderImage, BlockquoteSection, Counter... |
<<<<<<<
import TextColumns from './TextColumns';
=======
import TextWithBottomImage from './TextWithBottomImage';
>>>>>>>
import TextColumns from './TextColumns';
import TextWithBottomImage from './TextWithBottomImage';
<<<<<<<
TextColumns,
=======
TextWithBottomImage,
>>>>>>>
TextColumns,
TextWithBottom... |
<<<<<<<
this.beamsTokenProviderInstance = beamsTokenProviderInstance
this.beamsInstanceInitFn = beamsInstanceInitFn
this.logger = serverInstanceV4.logger
=======
this.logger = serverInstanceV5.logger
>>>>>>>
this.beamsTokenProviderInstance = beamsTokenProviderInstance
this.beamsInstanceInitFn... |
<<<<<<<
const icon = argv.icon || argv.i || 'build/icon';
if (icon) {
DEFAULT_OPTS.icon = icon;
}
=======
const icon = argv.icon || argv.i || 'app/app';
if (icon) DEFAULT_OPTS.icon = icon;
>>>>>>>
const icon = argv.icon || argv.i || 'build/icon';
if (icon) DEFAULT_OPTS.icon = icon; |
<<<<<<<
import TooltipTrigger from 'common/components/TooltipTrigger';
import styles from './styles.less';
=======
import TooltipTrigger from 'common/components/TooltipTrigger';
import Icon from 'common/components/Icon';
import styles from './styles.less';
>>>>>>>
import TooltipTrigger from 'common/components/Toolti... |
<<<<<<<
<div className={styles.root}>
<ArmoryBadge className={styles.badge} />
=======
<div className={cx(styles.root, className)}>
>>>>>>>
<div className={cx(styles.root, className)}>
<ArmoryBadge className={styles.badge} /> |
<<<<<<<
suite('inequalities', function() {
// assertFullyFunctioningInequality() checks not only that the inequality
// has the right LaTeX and when you backspace it has the right LaTeX,
// but also that when you backspace you get the right state such that
// you can either type = again to get the no... |
<<<<<<<
if (textBlock[R].siblingCreated) textBlock[R].siblingCreated(cursor.options, L);
if (textBlock[L].siblingCreated) textBlock[L].siblingCreated(cursor.options, R);
textBlock.bubble('edited');
=======
if (textBlock[R].siblingCreated) textBlock[R].siblingCreated(L);
if (textBlock[L].siblingCre... |
<<<<<<<
block.finalizeInsert(cursor.options, cursor);
if (block.ends[R][R].siblingCreated) block.ends[R][R].siblingCreated(cursor.options, L);
if (block.ends[L][L].siblingCreated) block.ends[L][L].siblingCreated(cursor.options, R);
cursor.parent.bubble('edited');
=======
block.finalizeInsert(curso... |
<<<<<<<
=======
var TextBlock =
CharCmds.$ =
LatexCmds.text =
LatexCmds.textnormal =
LatexCmds.textrm =
LatexCmds.textup =
LatexCmds.textmd = P(MathCommand, function(_, _super) {
_.ctrlSeq = '\\text';
_.htmlTemplate = '<span class="text">&0</span>';
_.replaces = function(replacedText) {
if (replacedText ins... |
<<<<<<<
suite('SupSub behavior options', function() {
test('addCharsThatBreakOutOfSupSub', function() {
assert.equal(mq.typedText('x^2n+y').latex(), 'x^{2n+y}');
mq.latex('');
MathQuill.addCharsThatBreakOutOfSupSub('+-=<>');
assert.equal(mq.typedText('x^2n+y').latex(), 'x^{2n}+y');
... |
<<<<<<<
$$('.CodeMirror')
.map(e => e.CodeMirror)
.forEach(cm => setupAutocomplete(cm, el.checked));
=======
editors.forEach(cm => {
const onOff = el.checked ? 'on' : 'off';
cm[onOff]('changes', autocompleteOnTyping);
cm[onOff]('pick', autocompletePicked);
});... |
<<<<<<<
/* global moment */
var formatTimeago = Ember.Handlebars.makeBoundHelper(function (timeago) {
moment.locale('zh-cn');
=======
var formatTimeago = Ember.HTMLBars.makeBoundHelper(function (arr /* hashParams */) {
if (!arr || !arr.length) {
return;
}
var timeago = arr[0];
>>>>>>>
var form... |
<<<<<<<
=======
open: {
server: {
url: 'http://localhost:<%= connect.options.port %>'
},
test: {
url: 'http://localhost:<%= connect.test.options.port %>/test/e2e/runner.html'
},
docs: {
url: 'docs/index.html'
},
coverage: {
url: 'http://loc... |
<<<<<<<
List: 'js/core/List',
RegExValidator: 'js/data/validator/RegExValidator'
=======
Model: 'js/data/Model',
List: 'js/core/List'
>>>>>>>
Model: 'js/data/Model',
List: 'js/core/List',
RegExValidator: 'js/data/validator/RegExValid... |
<<<<<<<
onDelete={this.onDelete.bind(this)}
onAddition={this.onAddition.bind(this)} />
<hr />
=======
handleDelete={this.handleDelete.bind(this)}
handleAddition={this.handleAddition.bind(this)} />
<p>Output:</p>
>>>>>>>
onDelete={this.onDelete.bind(th... |
<<<<<<<
handleDrag: React.PropTypes.func.isRequired,
handleChange: React.PropTypes.func,
minQueryLength: React.PropTypes.number
=======
handleDrag: React.PropTypes.func.isRequired,
allowDeleteFromEmptyInput: React.PropTypes.bool,
handleInputChange: React.PropTypes.func
... |
<<<<<<<
const { id, query, placeholder, expanded, classNames, index } = this.props
=======
const { inputAttributes, query, placeholder, expandable, listboxId, selectedIndex } = this.props
>>>>>>>
const { id, query, placeholder, expanded, classNames, inputAttributes, index } = this.props
<<<<<<<
<d... |
<<<<<<<
<div
className={this.state.classNames.search}
onInputCapture={this.onInput.bind(this)}
onFocusCapture={this.onFocus.bind(this)}
onBlurCapture={this.onBlur.bind(this)}
onKeyDown={this.onKeyDown.bind(this)}>
=======
<div className={this.state.cla... |
<<<<<<<
expanded={expanded}
placeholderText={this.props.placeholderText} />
<Suggestions
{...this.state}
id={this.props.id}
ref={this.suggestions}
classNames={this.props.classNames}
expanded={expanded}
=======
ex... |
<<<<<<<
const DefaultSuggestionComponent = ({ item, query }) => (
<span dangerouslySetInnerHTML={{ __html: markIt(item.name, query) }} />
)
=======
function markIt (input, query) {
if (query) {
const regex = RegExp(escapeForRegExp(query), 'gi')
input = input.replace(regex, '<mark>$&</mark>')
}
return... |
<<<<<<<
// save song history in a cookie
if (shuffle) {
$.cookie('history', JSON.stringify(arr));
}
=======
$.cookie('history', JSON.stringify(arr));
$.cookie('isPlaying','true');
>>>>>>>
// save song history in a cookie
... |
<<<<<<<
var HomeAssistantLock;
var HomeAssistantGarageDoor;
=======
var HomeAssistantRollershutter;
>>>>>>>
var HomeAssistantLock;
var HomeAssistantGarageDoor;
<<<<<<<
HomeAssistantLock = require('./accessories/lock')(Service, Characteristic, communicationError);
HomeAssistantGarageDoor = require('./accessories... |
<<<<<<<
...options
};
=======
wrapHeadingTextInAnchor: false,
...options,
}
>>>>>>>
wrapHeadingTextInAnchor: false,
...options
}; |
<<<<<<<
import colorway_serika from "./colorway_serika.json";
=======
import colorway_shoko from "./colorway_shoko.json";
>>>>>>>
import colorway_serika from "./colorway_serika.json";
import colorway_shoko from "./colorway_shoko.json";
<<<<<<<
1976: colorway_1976,
serika: colorway_serika,
=======
"1976": co... |
<<<<<<<
store: null,
insertCss: styles => styles._insertCss(),
=======
insertCss: styles => styles._insertCss(), // eslint-disable-line no-underscore-dangle
>>>>>>>
store: null,
insertCss: styles => styles._insertCss(), // eslint-disable-line no-underscore-dangle |
<<<<<<<
import parse from "html-react-parser";
=======
import { withRouter } from 'react-router-dom'
import { rsvpYes } from '../../../actions/eventAction'
>>>>>>>
import parse from "html-react-parser";
import { withRouter } from 'react-router-dom'
import { rsvpYes } from '../../../actions/eventAction' |
<<<<<<<
=======
// eslint-disable-next-line no-underscore-dangle
theme._insertCss();
>>>>>>> |
<<<<<<<
script: PropTypes.string,
chunk: PropTypes.string,
state: PropTypes.object,
=======
scripts: PropTypes.arrayOf(PropTypes.string.isRequired),
>>>>>>>
scripts: PropTypes.arrayOf(PropTypes.string.isRequired),
state: PropTypes.object,
<<<<<<<
const { title, description, style, script... |
<<<<<<<
=======
import queryString from 'query-string';
>>>>>>>
<<<<<<<
import { ErrorReporter, deepForceUpdate } from './core/devUtils';
import theme from './styles/theme.scss';
// eslint-disable-next-line no-underscore-dangle
theme._insertCss();
=======
import history from './history';
import { updateMeta } fr... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.