conflict_resolution stringlengths 27 16k |
|---|
<<<<<<<
this.addEventListener("enterframe", function(e) {
tl.dispatchEvent(e);
=======
this.addEventListener("enterframe", function(e) {
tl.dispatchEvent(e);
>>>>>>>
this.addEventListener("enterframe", function(e) {
tl.dispatchEvent(e);
<<<<<<<
* @co... |
<<<<<<<
* var game = new Game(320, 320);
* game.preload('avatarBg1.png','avatarBg2.png','avatarBg3.png','bigmonster1.gif');
* game.onload = function(){
* game.rootScene.backgroundColor="#000000";
* // show infinite scrolling background
* bg =new AvatarBG(0);
* bg.y=50;
* ... |
<<<<<<<
[lang:ja]
* WebAudioを有効にするどうか.
* trueならサウンドの再生の際HTMLAudioElementの代わりにWebAudioAPIを使用する.
[/lang]
[lang:en]
=======
* @type Boolean
*/
USE_TOUCH_TO_START_SCENE: true,
/**
>>>>>>>
* @type Boolean
*/
USE_TOUCH_TO_START_SCENE: true,
/**
[lang:ja]
... |
<<<<<<<
=======
*/
enchant.Event.A_BUTTON_DOWN = 'abuttondown';
/**
* aボタンが離された発生するイベント.
* 発行するオブジェクト: {@link enchant.Game}, {@link enchant.Scene}
* @type {String}
*/
enchant.Event.A_BUTTON_UP = 'abuttonup';
/**
* bボタンが押された発生するイベント.
* 発行するオブジェクト: {@link enchant.Game}, {@link enchant.Scene}
* @type {String}
... |
<<<<<<<
* bear.image = core.assets['chara1.gif'];
*
* @param {Number} [width] Sprite width.g
* @param {Number} [height] Sprite height.
=======
* bear.image = game.assets['chara1.gif'];
*
>>>>>>>
* bear.image = core.assets['chara1.gif'];
* |
<<<<<<<
=======
this._setFrame(this._frame);
>>>>>>>
this._setFrame(this._frame);
<<<<<<<
var canvas = document.createElement('canvas');
canvas.style.position = 'absolute';
if (enchant.ENV.RETINA_DISPLAY && game.scale === 2) {
canvas.width ... |
<<<<<<<
var game = enchant.Game.instance;
if (this.width !== 0 && this.height !== 0) {
ctx.save();
ctx.setTransform(1, 0, 0, 1, 0, 0);
var cvs = this._context.canvas;
ctx.drawImage(cvs, 0, 0, game.width, game.height);
ctx.restore();
}
=======
var core = ench... |
<<<<<<<
=======
this._spriteImageDirty = false;
>>>>>>> |
<<<<<<<
=======
this._setFrame(this._frame);
>>>>>>>
this._setFrame(this._frame);
<<<<<<<
initialize: function(tileWidth, tileHeight) {
var game = enchant.Game.instance;
enchant.Entity.call(this);
var canvas = document.createElement('canvas');
... |
<<<<<<<
this._dirty = false;
this.redraw(0, 0, core.width, core.height);
=======
this.redraw(0, 0, game.width, game.height);
>>>>>>>
this.redraw(0, 0, core.width, core.height);
<<<<<<<
if (core._debug) {
if (node instanceof enchant.... |
<<<<<<<
export { default as RatingBadge } from './RatingBadge'
=======
export { default as OutlineButton } from './OutlineButton'
export { default as RedButton } from './RedButton'
>>>>>>>
export { default as OutlineButton } from './OutlineButton'
export { default as RatingBadge } from './RatingBadge'
export { defau... |
<<<<<<<
<RadioInput type="radio" {...props} />
<Icon name={radioIconName} size={24} />
=======
<RadioInput id="radio-input" type="radio" {...props} />
<RadioIcon name={radioIconName} size={24} />
>>>>>>>
<RadioInput type="radio" {...props} />
<RadioIcon name={radioIconName} size={... |
<<<<<<<
class Landing extends Component {
render() {
return (
<div className={styles.landing}>
<div className={styles.pageHeading}>
<h1>The largest community dedicated to helping military veterans and
families launch software development careers.</h1>
<LinkButton text... |
<<<<<<<
class MentorshipProgram extends React.Component {
componentDidMount() {
const { hash } = window.location;
if (hash !== '') {
const id = hash.replace('#', '');
const element = document.getElementById(id);
if (element) {
setTimeout(() => {
element.scrollIntoView();
... |
<<<<<<<
import { FaClose } from 'react-icons/lib/fa';
// import LinkButton from 'shared/components/linkButton/linkButton';
import TriGroup from './triGroup/triGroup';
=======
import FontAwesomeIcon from '@fortawesome/react-fontawesome';
import { faTimes } from '@fortawesome/fontawesome-free-solid';
import LinkButton ... |
<<<<<<<
'SCATTER' : { 'displayName':'Scatter Chart', 'name':'scatter' },
'BAR3D' : { 'displayName':'3D Bar Chart' , 'name':'bar3D' }
=======
'SCATTER' : { 'displayName':'Scatter Chart', 'name':'scatter' },
'RADAR' : { 'displayName':'Radar Chart', 'name':'radar' }
>>>>>>>
'SCATTER' :... |
<<<<<<<
import StyledButton from '../../components/styled/styled-button';
=======
import UnderConstruction from "../../components/utils/under-construction";
import Button from 'react-bootstrap/Button';
>>>>>>>
import StyledButton from '../../components/styled/styled-button';
import UnderConstruction from "../../comp... |
<<<<<<<
import StyledButton from '../../components/styled/styled-button';
=======
import UnderConstruction from '../../components/utils/under-construction';
>>>>>>>
import StyledButton from '../../components/styled/styled-button';
import UnderConstruction from '../../components/utils/under-construction'; |
<<<<<<<
reClassNameCache: {},
each: function(fn) {
for ( var i = 0, len = this.elements.length; i<len; ++i ) {
fn.call(this,this.elements[i]);
}
return this;
},
setStyle: function(prop, val) {
this.each(function(el) {
el.style[prop] = val;
});
return this;
},
... |
<<<<<<<
} from './status/StatusIndicator';
export {fetch, fetchData} from './fetch'
export {
PipelineResult,
SvgDuration,
SvgTime,
SvgError,
SvgSuccess,
} from './pipeResult/Result'
=======
} from './status/StatusIndicator';
export {Favorite} from './favorite/Favorite';
>>>>>>>
} from './status/S... |
<<<<<<<
} from './status/StatusIndicator';
export ReadableDate from './ReadableDate';
export CommitHash from './CommitHash';
=======
} from './status/StatusIndicator';
export {Favorite} from './favorite/Favorite';
>>>>>>>
} from './status/StatusIndicator';
export {Favorite} from './favorite/Favorite';
export Readabl... |
<<<<<<<
=======
<div className="dialog" style={dialogStyles}>
<div className={`header ${result.toLowerCase()}`} style={headerStyle}>
<a onClick={() => this.hide()}
role="button"
className="closeButton"
... |
<<<<<<<
closeOnEscapeKey: PropTypes.bool
};
ModalView.defaultProps = {
styles: false,
showOverlay: true,
hideOnOverlayClicked: false,
closeOnEscapeKey: true
=======
>>>>>>>
closeOnEscapeKey: PropTypes.bool |
<<<<<<<
import { TestUtils } from '@jenkins-cd/blueocean-core-js';
=======
import findAndUpdate from '../../main/js/util/find-and-update';
const debugLog = require('debug')('push-events-actions:debug');
>>>>>>>
import { TestUtils } from '@jenkins-cd/blueocean-core-js';
import findAndUpdate from '../../main/js/util/... |
<<<<<<<
"꒰•̥̥̥̥̥̥̥ ﹏ •̥̥̥̥̥̥̥̥๑꒱",
"ಠ_ರೃ",
"(ू˃̣̣̣̣̣̣︿˂̣̣̣̣̣̣ ू)",
"(ꈨຶꎁꈨຶ)۶”",
"(ꐦ°᷄д°᷅)",
"(۶ૈ ۜ ᵒ̌▱๋ᵒ̌ )۶ૈ=͟͟͞͞ ⌨",
"₍˄·͈༝·͈˄₎◞ ̑̑ෆ⃛",
"(*゚⚙͠ ∀ ⚙͠)ノ❣",
"٩꒰・ัε・ั ꒱۶",
"ヘ(。□°)ヘ",
"˓˓(ृ ु ॑꒳’)ु(ृ’꒳ ॑ ृ )ु˒˒˒",
"꒰✘Д✘◍꒱",
"૮( ᵒ̌ૢཪᵒ̌ૢ )ა",
"“ψ(`∇´)ψ",
"ಠﭛಠ",
"(๑>ᴗ<๑)",
"(۶ꈨຶꎁꈨຶ )۶ʸᵉᵃʰᵎ",... |
<<<<<<<
=======
new eclipse.SelectionService(serviceRegistry);
new eclipse.SshService(serviceRegistry);
>>>>>>>
new eclipse.SshService(serviceRegistry); |
<<<<<<<
function(require, mBootstrap, mStatus, mProgress, mDialogs, mCommandRegistry, mFavorites, mStringExternalizerConfig,
mSearchClient, mFileClient, mOperationsClient, mSearchResults, mGlobalCommands, mContentTypes) {
=======
function(require, mBootstrap, mStatus, mProgress, mDialogs, mCommands, mFavorites, mStri... |
<<<<<<<
define(['i18n!git/nls/gitmessages', 'require', 'dojo', 'orion/commands', 'orion/util', 'orion/git/util', 'orion/git/widgets/CloneGitRepositoryDialog',
=======
define(['require', 'dojo', 'orion/commands', 'orion/util', 'orion/git/util', 'orion/compare/compareUtils', 'orion/git/widgets/CloneGitRepositoryDialog... |
<<<<<<<
=======
var searcher = new eclipse.Searcher({serviceRegistry: serviceRegistry});
var editorFactory = function() {
return new eclipse.Editor({
parent: editorContainerDomNode,
stylesheet: [ "/editor/samples/editor.css",
"/default-theme.css" ],
tabSize: 4
});
};
>>>>>>>
<<<<<<<
var s... |
<<<<<<<
getActiveBranch: function() {
return this.currentBranch;
=======
_getStash: function() {
var that = this;
var repository = this.root.repository;
var stashLocation = this.stashLocation || repository.StashLocation + pageSizeQuery;
return that.progressService.progress(that.gitClient.doStashLi... |
<<<<<<<
// commandRegistry.registerCommandContribution("itemLevelCommands", "eclipse.orion.git.pull", 200); //$NON-NLS-1$ //$NON-NLS-0$
=======
commandRegistry.registerCommandContribution("itemLevelCommands", "eclipse.orion.git.applyStash", 100); //$NON-NLS-0$
commandRegistry.registerCommandContribution("itemLeve... |
<<<<<<<
const { createTempDir } = require('broccoli-test-helper');
=======
const chalk = require('chalk');
>>>>>>>
const { createTempDir } = require('broccoli-test-helper');
const chalk = require('chalk'); |
<<<<<<<
const expect = require('chai').expect;
=======
const preprocess = require('@glimmer/syntax').preprocess;
>>>>>>>
<<<<<<<
expect(AstNodeInfo.hasChildren(parse(''))).to.be.false;
=======
expect(AstNodeInfo.hasChildren(preprocess(''))).toBe(false);
>>>>>>>
expect(AstNodeInfo.hasChildren(parse(''... |
<<<<<<<
// Same logic applies to textareas
'<label>LabelText<textarea /></label>',
'<label><textarea />LabelText</label>',
'<label>LabelText<Textarea /></label>',
'<label><Textarea />LabelText</label>',
'<label>Label Text<div><textarea /></div></label>', // technically okay, hopefully no one do... |
<<<<<<<
const expect = require('chai').expect;
const { parse } = require('ember-template-recast');
=======
const preprocess = require('@glimmer/syntax').preprocess;
>>>>>>>
const { parse } = require('ember-template-recast'); |
<<<<<<<
async getVisitor() {
let pluginContext = this;
=======
getVisitor(env) {
let pluginContext = this; // eslint-disable-line unicorn/no-this-assignment
>>>>>>>
async getVisitor() {
let pluginContext = this; // eslint-disable-line unicorn/no-this-assignment |
<<<<<<<
const chalk = require('chalk');
const { createTempDir } = require('broccoli-test-helper');
=======
const buildFakeConsole = require('./helpers/console');
>>>>>>>
const buildFakeConsole = require('./helpers/console');
const { createTempDir } = require('broccoli-test-helper');
<<<<<<<
let project = null;
... |
<<<<<<<
'attribute-indentation': require('./lint-attribute-indentation'),
'block-indentation': require('./lint-block-indentation'),
'deprecated-each-syntax': require('./deprecations/lint-deprecated-each-syntax'),
'deprecated-inline-view-helper': require('./deprecations/lint-deprecated-inline-view-helper'),
'd... |
<<<<<<<
const DEFAULT_CODE = `const pluckDeep = key => obj => key.split('.').reduce((accum, key) => accum[key], obj)
const compose = (...fns) => res => fns.reduce((accum, next) => next(accum), res)
const unfold = (f, seed) => {
const go = (f, seed, acc) => {
const res = f(seed)
return res ? go(f, res[1], ac... |
<<<<<<<
width : 80,
=======
width : 20,
ensurePxWidth : true,
>>>>>>>
width : 80,
ensurePxWidth :... |
<<<<<<<
string = new String('string'), // prevents Goog compiler from removing primative and subsidising out allowing us to compress further
document = window.document, // obvious really
idExpr = /^#([\w-]+)$/, // for situations of dire need. Symbian and the such
slice ... |
<<<<<<<
} else {
$invisiblePanel.append(
$inspectorEl
);
}
}
$layout.append($notLayout);
self._uiSettingsMenuPopupRefreshLayout($layout);
},
_uiSettingsMenuPopupRefr... |
<<<<<<<
cellFormatter : function(args) {
if ($.isPlainObject(args.row.data)) {
args.$container.closest("td").attr("title", args.row.data.title);
$("<a href=\"admin/cms_blog/form?id=" + args.row.data.id +... |
<<<<<<<
const rnInstall = await reactNative.install({ name })
=======
const rnInstall = await reactNative.install({ name, skipJest: true, version: REACT_NATIVE_VERSION })
>>>>>>>
const rnInstall = await reactNative.install({ name, version: REACT_NATIVE_VERSION }) |
<<<<<<<
const SafeTouchAction = htmlSafe('touch-action: manipulation; -ms-touch-action: manipulation; cursor: pointer;');
const SafeEmptyString = htmlSafe('');
export default Ember.Mixin.create({
=======
export default Mixin.create({
touchActionSelectors: ['button', 'input', 'a', 'textarea'],
touchActionProperti... |
<<<<<<<
// @version 0.8.18
// @description 四川大学综合教务系统助手,是一个优化四川大学综合教务系统的「Userscript」,即用户脚本。这不是一个独立的软件,也不是一个浏览器的插件,但可以依赖浏览器的插件运行,或者作为一个Bookmarklet在点击后运行。目前包括的功能有:1. 一键评教的功能。2. 恢复登陆页面的「两周之内不必登录」选项。3. 增强绩点与均分的计算功能。
=======
// @version 0.8.20
// @description 四川大学综合教务系统助手,是一个优化四川大学综合教务系统的「Userscript」,即用户脚本。这不是... |
<<<<<<<
// @version 0.8.18
// @description 四川大学综合教务系统助手,是一个优化四川大学综合教务系统的「Userscript」,即用户脚本。这不是一个独立的软件,也不是一个浏览器的插件,但可以依赖浏览器的插件运行,或者作为一个Bookmarklet在点击后运行。目前包括的功能有:1. 一键评教的功能。2. 恢复登陆页面的「两周之内不必登录」选项。3. 增强绩点与均分的计算功能。
=======
// @version 0.8.20
// @description 四川大学综合教务系统助手,是一个优化四川大学综合教务系统的「Userscript」,即用户脚本。这不是... |
<<<<<<<
if (this.preparedBuffer.nrIndices == 0) {
return;
}
Utils.updateBuffer(this.renderLayer.gl, this.preparedBuffer.indices, stream.dataView, stream.pos, totalNrIndices * 4);
stream.pos += totalNrIndices * 4;
=======
// This is always the last message (before end), so we know all objects have been... |
<<<<<<<
import { Utils } from "./utils.js"
import { RenderLayer } from "./renderlayer.js"
import { DefaultColors } from "./defaultcolors.js"
import * as vec4 from "./glmatrix/vec4.js";
// temporary for emergency quantization
const v4 = vec4.create();
=======
import {Utils} from "./utils.js"
>>>>>>>
import { Utils }... |
<<<<<<<
import iconsShape from './shapes/iconsShape';
import languageShape from './shapes/languageShape';
import nodeShape from './shapes/nodeShape';
=======
>>>>>>>
import iconsShape from './shapes/iconsShape';
import languageShape from './shapes/languageShape';
<<<<<<<
icons: iconsShape.isRequired,
=====... |
<<<<<<<
}
function use(Super, originalTopLevel) {
return function(methods, toplevelMethods) {
function Sub() {
Stream.apply(this, arguments);
}
inherits(Sub, Super);
function topLevel() {
return __(Sub).apply(null, arguments);
}
for (var p in... |
<<<<<<<
function newPullFunction(xs) {
return function pull(cb) {
xs.pull(cb);
};
}
function newDelegateGenerator(pull) {
return function delegateGenerator(push, next) {
var self = this;
pull(function (err, x) {
// Minor optimization to immediately call the
/... |
<<<<<<<
function takeNext(xs, array, times, cb) {
xs.pull(function (err, x) {
if (x !== _.nil) {
array.push(x);
if (times - 1 > 0) {
takeNext(xs, array, times - 1, cb);
}
}
if (cb && (times <= 1 || x === _.nil)) {
cb(array);
... |
<<<<<<<
function newPullFunction(xs) {
return function pull(cb) {
xs.pull(cb);
};
}
function newDelegateGenerator(pull) {
return function delegateGenerator(push, next) {
pull(function (err, x) {
push(err, x);
if (x !== nil) {
next();
}
... |
<<<<<<<
stream.onDestroy(function () {
=======
// TODO: Replace with onDestroy in v3.
stream._destructors.push(unbind);
function streamEndCb(error) {
if (stream._nil_pushed) {
return;
}
unbind();
if (error) {
stream.write(new StreamError(error... |
<<<<<<<
// Make sure to reset state when closed.
frame.once( 'close submit', function() {
frame.mediaController.reset();
} );
/* Trigger render_edit */
/*
* Action run after an edit shortcode overlay is rendered.
*
* Called as `shortcode-ui.render_edit`.
*
* @param shortcodeModel... |
<<<<<<<
=======
var Shortcodes = require('sui-collections/shortcodes');
sui = require('sui-utils/sui');
>>>>>>> |
<<<<<<<
wp = (typeof window !== "undefined" ? window.wp : typeof global !== "undefined" ? global.wp : null),
$ = (typeof window !== "undefined" ? window.jQuery : typeof global !== "undefined" ? global.jQuery : null);
=======
fetcher = require('./fetcher.js'),
wp = (typeof window !== "undefined" ? window['wp... |
<<<<<<<
// New Web Audio API
/**
* @constructor
* @extends {AudioNode}
* @param {Object=} options
*/
var AudioWorkletNode = function(context, name, options)
{
this.port =
{
/**
* @param {Object} data
* @param {Object=} transfer
*/
postMessage: function(data, tran... |
<<<<<<<
$scope.course = Course.get({
id: $stateParams.courseId
}, function (response) {
$scope.getPage(1);
});
=======
$scope.pageChanged = function() {
$scope.getPage($scope.currentPage);
}
$scope.getPage(1);
>>>>>>>
$scope.course = Course.get({
id: $stateParams... |
<<<<<<<
classNames: ['Ta-start', 'Ta-end', 'Bgc-#fff.4', 'Bgc-#fff', 'P-55px', 'H-100%', 'M-a', 'test:h>Op-1:h', 'test:h_Op-1:h', 'Op-1', 'Op-1!', 'D-n!', 'C-#333', 'C-#333:li', 'Mt-neg10px', 'W-1/3']
=======
classNames: ['Trsdu-.3s', 'sibling:c+D-n', 'End-0', 'Ta-start', 'Ta-end', 'Bg... |
<<<<<<<
Request({method: 'POST', url: API_URL + SELL_URL, headers: header, form:form },cp);
=======
Request({method: 'POST', url: API_TRADE_URL + BUY_URL, headers: header, form:form },cp);
>>>>>>>
Request({method: 'POST', url: API_TRADE_URL + SELL_URL, headers: header, form:form },cp); |
<<<<<<<
/**
* This is for transforms that may call their nested transforms before
* Reduced-wrapping the result (e.g. "take"), to avoid nested Reduced.
*/
function ensure_reduced(val) {
if (val instanceof Reduced) {
return val;
} else {
return new Reduced(val);
}
}
=======
/**
* This is for tranfor... |
<<<<<<<
import cx from 'classnames'
import config from '../config'
=======
>>>>>>>
<<<<<<<
import twreporterRedux from '@twreporter/redux'
import { ABOUT_US_FOOTER, ARTICLE_STYLE, BRIGHT, CONTACT_FOOTER, DARK, PHOTOGRAPHY_ARTICLE_STYLE, PRIVACY_FOOTER, SITE_META, SITE_NAME, appId, LINK_PREFIX } from '../constants... |
<<<<<<<
let d = new Date()
d.setTime(a.lastPublish*1000)
let d_str = d.toISOString().substring(0,10)
let url = '/a/' + a.slug
=======
const d_str = ts2yyyymmdd(a.lastPublish * 1000 , '.')
let url = 'https://www.twreporter.org/a/' + a... |
<<<<<<<
import { setupTokenInLocalStorage, deletAuthInfoAction, authUserByTokenAction, keys } from '@twreporter/registration'
=======
import ReactGA from 'react-ga'
import configureStore from './store/configureStore'
import createRoutes from './routes'
import { Provider } from 'react-redux'
import { Router } from 're... |
<<<<<<<
import { Link } from 'react-router'
import PropTypes from 'prop-types'
import React from 'react'
=======
import Link from 'react-router/lib/Link'
import React, { PropTypes } from 'react'
>>>>>>>
import Link from 'react-router/lib/Link'
import PropTypes from 'prop-types'
import React from 'react' |
<<<<<<<
__tracker.trackEvent(obj);
console.log("GA: EVENT - "+JSON.stringify(obj));
=======
try { $TRACKER.trackEvent(obj); } catch (err) {}
Ti.API.debug("GA: EVENT - "+JSON.stringify(obj));
>>>>>>>
try { __tracker.trackEvent(obj); } catch (err) {}
console.log("GA: EVENT - "+JSON.stringify(obj));
<<<<<<<
__... |
<<<<<<<
this.data_points = [{}]
/*
=======
for (var key in Keyframe.properties) {
Keyframe.properties[key].reset(this);
}
this.channel = 'rotation';
>>>>>>>
this.data_points = [{}]
for (var key in Keyframe.properties) {
Keyframe.properties[key].reset(this);
}
/*
this.channel = 'rotati... |
<<<<<<<
x: sigma.utils.getX(e) - sigma.utils.getWidth(e) / 2,
y: sigma.utils.getY(e) - sigma.utils.getHeight(e) / 2
=======
x: sigma.utils.getX(e) - e.target.width / 2,
y: sigma.utils.getY(e) - e.target.height / 2,
clientX: e.clientX,
clientY: e.clientY,
... |
<<<<<<<
Prop.removeProperty('auth.me');
exports.resetUserWantsToUseBiometricIdentity();
=======
exports.OAuth.resetCredentials();
purgeData();
if (_.isFunction(callback)) callback();
} else {
>>>>>>>
exports.OAuth.resetCredentials();
purgeData();
exports.resetUserWantsToUseBiometricIdentity... |
<<<<<<<
=======
/** @private
* connectionState の状態を変更します。
*/
_beginConnect(): void {
this._setConnectionState('connecting');
}
/** @private
* peer connection の状態を判断します。
*/
_updateConnectionState(): void {
logger.group(`# PeerConnection[${this._valueTag}]: update connection state`);
... |
<<<<<<<
if (document.readyState == "complete" || document.readyState == "loaded") {
setupAFDom();
=======
if (document.readyState === "complete" || document.readyState === "loaded") {
>>>>>>>
if (document.readyState === "complete" || document.readyState === "loaded") {
... |
<<<<<<<
consumer(
{
groupId,
partitionAssigners,
metadataMaxAge,
sessionTimeout,
heartbeatInterval,
maxBytesPerPartition,
minBytes,
maxBytes,
maxWaitTimeInMs,
retry,
allowAutoTopicCreation,
} = {}
) {
const cluster = this[PRIVATE.CREATE_C... |
<<<<<<<
addPartitions,
=======
unsupportedVersionResponse,
>>>>>>>
addPartitions,
unsupportedVersionResponse, |
<<<<<<<
const util = {
select: {
compare: (lhs, cmp, rhs) => {
switch (cmp) {
case "<":
return lhs < rhs;
case ">":
return lhs > rhs;
case "<=":
return lhs <= rhs;
case ">=... |
<<<<<<<
/**
* @param {string} groupId
* @param {string} topic
* @return {Promise}
*/
const fetchOffsets = async ({ groupId, topic }) => {
if (!groupId) {
throw new KafkaJSNonRetriableError(`Invalid groupId ${groupId}`)
}
if (!topic) {
throw new KafkaJSNonRetriableError(`Invalid ... |
<<<<<<<
if (spec.primaryKey && (!options || options.emitPrimaryKey)) {
constraint.push('PRIMARY KEY');
=======
if (spec.primaryKey) {
if (options.emitPrimaryKey) {
constraint.push('PRIMARY KEY');
}
>>>>>>>
if (spec.primaryKey) {
if (!options || options.emitPrimaryKey) {
... |
<<<<<<<
const OPERATION_TYPES = require('../protocol/operationsTypes')
const PERMISSION_TYPES = require('../protocol/permissionTypes')
const RESOURCE_PATTERN_TYPES = require('../protocol/resourcePatternTypes')
=======
const CONFIG_RESOURCE_TYPES = require('../protocol/configResourceTypes')
const { EARLIEST_OFFSET, LA... |
<<<<<<<
/**
* @typedef {number} ACLResourceTypes
*
* Enum for ACL Resource Types
* @readonly
* @enum {ACLResourceTypes}
*/
=======
/**
* @deprecated
* @see https://github.com/tulios/kafkajs/issues/649
*
* Use ConfigResourceTypes instead
*/
>>>>>>>
/**
* @typedef {number} ACLResourceTypes
*
* Enum for ... |
<<<<<<<
=======
const cardSizes = [300, 400, 450, 630]
const code = JSON.stringify(data, null, 2)
>>>>>>>
const code = JSON.stringify(data, null, 2)
<<<<<<<
<Provider mountStylesheet={false} code={JSON.stringify(data, null, 2)}>
<Row
justify='space-around'
direc... |
<<<<<<<
const Long = require('../../utils/long')
const isNumber = number => /^-?\d+$/.test(number)
=======
const Long = require('long')
>>>>>>>
const Long = require('../../utils/long') |
<<<<<<<
renderFilterComponent = (columnDef) => (
React.createElement(columnDef.filterComponent, { columnDef: columnDef, onFilterChanged: this.props.onFilterChanged })
)
=======
getLocalizationData = () => ({ ...MTableFilterRow.defaultProps.localization, ...this.props.localization });
getLocalizedFilterPl... |
<<<<<<<
const proposalDeposit = await moloch.proposalDeposit()
await tokenAlpha.transfer(deploymentConfig.SUMMONER, proposalDeposit, { from: creator })
await tokenAlpha.approve(moloch.address, proposalDeposit, { from: deploymentConfig.SUMMONER })
=======
>>>>>>>
const proposalDeposit = aw... |
<<<<<<<
return columns.map(col => {
const colClone = { ...col };
=======
return columns.map((col) => {
const colClone = { ...col };
>>>>>>>
return columns.map((col) => {
const colClone = { ...col };
<<<<<<<
propsChanged = propsChanged || !equal(prevProps.options, this.props.options... |
<<<<<<<
code={code}
=======
shortUrl={`/s/${code}`}
owner={owner}
repo={repo}
>>>>>>>
code={code}
owner={owner}
repo={repo}
<<<<<<<
tags: PropTypes.object.isRequired,
code: PropTypes.string.isRequired
=======
... |
<<<<<<<
searchAutoFocus: PropTypes.bool,
=======
searchFieldVariant: PropTypes.oneOf( ['standard', 'filled', 'outlined']),
>>>>>>>
searchAutoFocus: PropTypes.bool,
searchFieldVariant: PropTypes.oneOf( ['standard', 'filled', 'outlined']), |
<<<<<<<
local.isXml = function(element){
var ownerDocument = element.ownerDocument || element;
return (!!ownerDocument.xmlVersion)
|| (!!ownerDocument.xml)
|| (ownerDocument.toString && ownerDocument.toString() == '[object XMLDocument]')
|| (ownerDocument.nodeType == 9 && ownerDocu... |
<<<<<<<
if (tag && tag === '*' && (node.nodeType !== 1 || node.nodeName.charAt(0) === '/')) return false; // Fix for comment nodes and closed nodes
if (tag && tag !== '*' && (!node.nodeName || node.nodeName != tag)) return false;
if (id && node.getAttribute('id') != id) return false;
for (var i = 0, l = par... |
<<<<<<<
describe('gulp-browserify non stream error', function () {
var testFile = path.join(__dirname, './error/index.js');
it('emits error if browserify calls callback with error', function (done) {
gulp.src(testFile, { read: false })
.pipe(gulpB())
.on('error', function () { done(); })
.on('postbundle'... |
<<<<<<<
angular.module('dockerui', ['dockerui.templates', 'ngRoute', 'dockerui.services', 'dockerui.filters', 'masthead', 'footer', 'dashboard', 'container', 'containers', 'images', 'image', 'startContainer', 'sidebar', 'info', 'builder', 'containerLogs', 'containerTop', 'events'])
=======
angular.module('dockerui', ... |
<<<<<<<
$routeProvider.when('/images/:id*/', {templateUrl: 'app/components/image/image.html', controller: 'ImageController'});
$routeProvider.when('/settings', {templateUrl: 'app/components/settings/settings.html', controller: 'SettingsController'});
=======
$routeProvider.when('/images/:id/',... |
<<<<<<<
import RadioTest from './radio';
=======
import RangepickerTest from './rangepicker';
import Datepicker from './datepicker/app.js'
console.log('eeeee', Datepicker);
>>>>>>>
import RadioTest from './radio';
import RangepickerTest from './rangepicker';
import Datepicker from './datepicker/app.js'
<<<<<<<
B... |
<<<<<<<
import Transfer from './transfer';
=======
>>>>>>>
import Transfer from './transfer'; |
<<<<<<<
], function (App, Marionette, Backgrid, ToggleCell, EpisodeTitleCell, RelativeDateCell, EpisodeStatusCell, CommandController, Actioneer) {
=======
], function ( Marionette, Backgrid, ToggleCell, EpisodeTitleCell, RelativeDateCell, EpisodeStatusCell, Actioneer) {
>>>>>>>
], function (App, Marionet... |
<<<<<<<
import React from "react";
import logo from "./assets/images/logo.png";
import "./App.css";
import TestReduxSaga from "./pages/TestReduxSaga";
function App() {
return (
<div className="App">
<header className="App-header">
<img src={logo} className="App-logo" alt="logo" />
<p>
... |
<<<<<<<
allNetworksServiceName = "World Bikeshares",
allNetworksAllDataLayerId = 0,
allNetworksAllDataLayerName = "All Bikeshares",
allNetworksGoodDataLayerId = 1,
allNetworksGoodDataLayerName = "Bikeshares with Stations";
=======
allNetworksServiceName = "World Bikeshares";
var states = {
empty: "empty",
l... |
<<<<<<<
#### Version <%= conf.pkg.version %>
The entire dc.js library is scoped under the **dc** name space. It does not introduce anything else
into the global name space.
#### Function Chaining
Most dc functions are designed to allow function chaining, meaning they return the current chart
instance whenever it is app... |
<<<<<<<
_resizing = false;
=======
_chart.fadeDeselectedArea();
>>>>>>>
_chart.fadeDeselectedArea();
_resizing = false; |
<<<<<<<
return _chart.anchorName() + '-clip';
=======
return _chart.anchorName().replace(/[ .#]/g, '-') + "-clip";
>>>>>>>
return _chart.anchorName().replace(/[ .#]/g, '-') + '-clip'; |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.