conflict_resolution stringlengths 27 16k |
|---|
<<<<<<<
import WalletConnectConfirmationModal from './WalletConnectConfirmationModal';
import SendQRScannerScreenWithData from './SendQRScannerScreenWithData';
=======
// import ExamplePage from './ExamplePage';
>>>>>>>
import WalletConnectConfirmationModal from './WalletConnectConfirmationModal';
// import ExampleP... |
<<<<<<<
const Shadow = styled(Highlight)`
background-color: ${({ highlight }) => (highlight ? '#FFFFFF33' : colors.transparent)};
`;
const UniqueTokenCard = ({
=======
const enhance = compose(
shouldUpdate((props, nextProps) => {
const isNewHeight = isNewValueForPath(props, nextProps, 'height');
const i... |
<<<<<<<
import { colors, margin, padding } from '../../styles';
import { dimensionsPropType, sortList } from '../../utils';
=======
import { colors, margin } from '../../styles';
import { dimensionsPropType } from '../../utils';
>>>>>>>
import { colors, margin, padding } from '../../styles';
import { dimensionsPropT... |
<<<<<<<
import { get } from 'lodash';
=======
>>>>>>>
import { get } from 'lodash';
<<<<<<<
import { compose, onlyUpdateForPropTypes, withHandlers } from 'recompact';
import styled from 'styled-components/primitives';
import { withWalletConnectConnections, withSafeAreaViewInsetValues } from '../../hoc';
import { bo... |
<<<<<<<
import { Centered, InnerBorder } from '../layout';
import { Monospace, TruncatedText } from '../text';
=======
import { Centered } from '../layout';
import { TruncatedText } from '../text';
import InnerBorder from '../InnerBorder';
>>>>>>>
import { Centered, InnerBorder } from '../layout';
import { Truncated... |
<<<<<<<
export const signMessage = async (message, authenticationPrompt = lang.t('account.authenticate.please')) => {
try {
const wallet = await loadWallet(authenticationPrompt);
try {
return await wallet.signMessage(message);
} catch(error) {
console.log('signMessage error', error);
Ale... |
<<<<<<<
=======
import ButtonPressAnimation from '../animations/ButtonPressAnimation';
import InnerBorder from '../InnerBorder';
>>>>>>> |
<<<<<<<
await walletConnectSendTransactionHash(walletConnector, transactionDetails.transactionId, true, transactionHash);
=======
await walletConnectSendTransactionHash(walletConnector, transactionDetails.callId, true, transactionReceipt.hash);
>>>>>>>
await walletConnectSendTransactionHash(w... |
<<<<<<<
const AssetListHeader = ({ section: { contextMenuOptions, title, totalValue } }) => (
=======
const AssetListHeader = ({
section: {
showContextMenu,
title,
totalValue,
},
}) => (
>>>>>>>
const AssetListHeader = ({
section: {
contextMenuOptions,
title,
totalValue,
},
}) => ( |
<<<<<<<
var xscales = [], xscale, yscales = [], yscale;
var tooltips = [], tooltip;
=======
var xscales = [], xscale;
var yscale = d3.scale.linear().range([100,0]);
>>>>>>>
var xscales = [], xscale;
var yscale = d3.scale.linear().range([100,0]);
var tooltips = [], tooltip;
<<<<<<<
... |
<<<<<<<
import themeBuildings from './templates/buildings'
import themeHighways from './templates/highways'
import themePois from './templates/pois'
import themeWaterways from './templates/waterways'
import themeBuiltup from './templates/builtup'
const buildings = {
aggregatedFill: '#FDB863',
highlightFill: '#5CBA... |
<<<<<<<
=======
// all comments are now indexed by node association
"comments": {
"type": "comment",
"properties": ["node"]
}
>>>>>>> |
<<<<<<<
* HELLO: 'hello',
* READY: 'shardReady',
* RESUMED: 'shardResume',
* RECONNECT: 'shardReconnecting',
* INVALID_SESSION: 'shardDisconnect',
* CHANNEL_CREATE: 'channelCreate',
* CHANNEL_UPDATE: 'channelUpdate',
* CHANNEL_DELETE: 'channelDelete',
* CHANNEL_PINS_UPDATE: 'channelPinUpdate',
* GUILD_CREATE:... |
<<<<<<<
if (raw.total < prev.total) raw.total = prev.total;
if (raw.hospitalized < prev.hospitalized) raw.hospitalized = prev.hospitalized;
d.ConfirmedGrowth = raw.positive - prev.positive;
d.DailyDeaths = raw.death - prev.death;
d.DailyHospitalized = raw.hospitalized - prev.hosp... |
<<<<<<<
let scriptingEnabled = false
=======
// https://gist.github.com/timoxley/1689041
function isPortTaken (port, fn) {
const net = require('net')
const tester = net.createServer()
.once('error', function (err) {
if (err.code != 'EADDRINUSE') return fn(err)
fn(null, true)
})
... |
<<<<<<<
modifyPackets: true,
jsonData: true,
wikiVgPage: 'https://wiki.vg/Bedrock_Protocol'
=======
modifyPackets: false,
jsonData: false,
rawData: false
>>>>>>>
modifyPackets: true,
jsonData: true,
rawData: true,
wikiVgPage: 'https://wiki.vg/Bedrock_Protocol' |
<<<<<<<
const packetElement = document.getElementById(packet.meta.name + '-' + packet.direction)
if (packetElement) {
const checkbox = packetElement.firstElementChild
checkbox.checked = false
checkbox.readOnly = false
checkbox.indeterminate = false
}
=======
const checkbox = document.getElemen... |
<<<<<<<
'flow',
'flowComments',
'jsx',
=======
'jsx',
['flow': {all: true}],
'asyncFunctions',
'classConstructorCall',
'doExpressions',
'trailingFunctionCommas',
'objectRestSpread',
['decorators', {decoratorsBeforeExport: false, legacy: true}],
'classProperties',
'... |
<<<<<<<
onRemove: function(map) {
for (var i = 0; i < this._providers.length; i++) {
var p = this._providers[i];
if (p.active) {
this._map.attributionControl.removeAttribution(p.attrib);
p.active = false;
}
}
L.TileLayer.prototype.onRemove.apply(this, [map]);
}
});
L.bingLayer = functio... |
<<<<<<<
// const defaultIndexingServerUrl = `${defaultBridgeServer}/api`
=======
>>>>>>>
// const defaultIndexingServerUrl = `${defaultBridgeServer}/api`
<<<<<<<
// indexingServerUrl = defaultIndexingServerUrl,
=======
discoveryServer = defaultDiscoveryServer,
discoveryServerPort = defaultDiscoverySer... |
<<<<<<<
<FormattedMessage
id={ 'listing-detail.purchaseSuccessful' }
defaultMessage={ 'Purchase was successful.' }
/>
<br />
<a href="#" onClick={e => {
e.preventDefault()
window.location.reload()
}}>
... |
<<<<<<<
=======
const alertify = require('../../node_modules/alertify/src/alertify.js')
>>>>>>>
const alertify = require('../../node_modules/alertify/src/alertify.js') |
<<<<<<<
this.debouncedFetchUser(ETH_ADDRESS)
const scopedWelcomeMessageKeyName = `${storeKeys.messageWelcomeTimestamp}:${web3Account}`
const welcomeTimestampString = localStorage.getItem(scopedWelcomeMessageKeyName)
const welcomeTimestamp = welcomeTimestampString ?
... |
<<<<<<<
<FormattedMessage
id={ 'listing-create.successMessage' }
defaultMessage={ 'Success' }
/>
<br />
<Link to="/">
<FormattedMessage
id={ 'listing-create.seeAllListings' }
... |
<<<<<<<
import React, { Component } from 'react'
import { FormattedMessage } from 'react-intl'
=======
import React, { Component, Fragment } from 'react'
import { connect } from 'react-redux'
import { withRouter } from 'react-router'
>>>>>>>
import { FormattedMessage } from 'react-intl'
import React, { Component, F... |
<<<<<<<
<Link to="/my-purchases" className="nav-item nav-link">
<FormattedMessage
id={ 'navbar.buy' }
defaultMessage={ 'Buy' }
/>
</Link>
=======
<Link to="/" className="d-lg-none nav-item nav-link">Listings<... |
<<<<<<<
import promisify from 'util.promisify'
=======
import contract from 'truffle-contract'
>>>>>>>
import promisify from 'util.promisify'
import contract from 'truffle-contract'
<<<<<<<
//get user from from user-registry by their existing wallet ID
async get() {
const { currentProvider, eth } ... |
<<<<<<<
'jsx-a11y/click-events-have-key-events': 'off',
=======
'max-len': ['error', { code: 114 }],
>>>>>>>
'jsx-a11y/click-events-have-key-events': 'off',
'max-len': ['error', { code: 114 }], |
<<<<<<<
=======
async sendBatchTransaction (transactions) {
let outputs = {}
for (const tx of transactions) {
outputs[addressToString(tx.to)] = BigNumber(tx.value).dividedBy(1e8).toNumber()
}
const rawTxOutputs = await this.createRawTransaction([], outputs)
const rawTxFunded = await this.f... |
<<<<<<<
let nodeData = await app.getWalletPublicKey(prevPath, undefined, segwit)
var publicKey = compressPubKey(nodeData.publicKey)
publicKey = parseHexString(publicKey)
var result = sha256(Buffer.from(publicKey, 'hex'))
result = ripemd160(result)
var fingerprint =
((result[0] << 24) | (re... |
<<<<<<<
function generateRandomOp (snapshot) {
console.log('Generate', _.cloneDeep(snapshot));
var composed = new Delta(_.cloneDeep(snapshot));
var length = snapshot.reduce(function(length, op) {
if (!op.insert) {
throw new Error('Snapshot should only have inserts');
}
=======
var generateRandomO... |
<<<<<<<
const children = [];
const editable = false;
const onRemove = () => {};
const title = 'Widget Title';
const OriginalWidgetFrame = WidgetFrame.DecoratedComponent;
const identity = (el) => el;
const settings = {
color: '#E140AD',
};
=======
let children = [];
let ed... |
<<<<<<<
import InfinityScroll from 'vue-example/pages/infinity-entry'
=======
import FormEntry from 'vue-example/pages/form-entry'
>>>>>>>
import InfinityScroll from 'vue-example/pages/infinity-entry'
import FormEntry from 'vue-example/pages/form-entry'
<<<<<<<
},
{
path: '/infinity',
component:... |
<<<<<<<
warningHandler: console.warn, // ability to accumulate missing messages using third party services like Sentry
escapeHtml: true // disable escape html in variable mode
=======
warningHandler: console.warn, // ability to accumulate missing messages using third party services like Sentry
... |
<<<<<<<
},
{
label: 'musicase',
matches: ['*://musicase.me/*'],
js: ['connectors/v2/musicase.js'],
version: 2
},
{
label: 'Reddit Music Player',
matches: ['*://reddit.music.player.il.ly/'],
js: ['connectors/v2/redditmusicplayer.js'],
version: 2
=======
},
{
label: 'kollekt.fm... |
<<<<<<<
},
{
label: 'audiosplitter.fm',
matches: ['*://audiosplitter.fm/*'],
js: ['connectors/v2/audiosplitter.js'],
version: 2
=======
},
{
label: 'novoeradio.by',
matches: ['*://www.novoeradio.by/*'],
js: ['connectors/v2/novoeradio.js'],
version: 2
>>>>>>>
},
{
label: 'aud... |
<<<<<<<
},
{
label: 'Dash Radio',
matches: ['*://dashradio.com/*'],
js: ['connectors/v2/dashradio.js'],
version: 2
},
{
label: 'oplayer',
matches: ['*://oplayer.org/*'],
js: ['connectors/v2/jplayer-oplayer.js'],
version: 2
},
{
label: 'EDM.com',
matches: ['*://edm.com/*'],
... |
<<<<<<<
label: 'Jazzandrain / Relaxingbeats / Epicmusictime / Holidaychristmasmusic',
matches: ['*://www.jazzandrain.com/*', '*://relaxingbeats.com/*', '*://epicmusictime.com/*', '*://www.holidaychristmasmusic.com/*', '*://holidaychristmasmusic.com/*'],
js: ['connectors/v2/jazzandrain.js'],
version: 2
},
... |
<<<<<<<
label: 'Jazzandrain / Relaxingbeats / Epicmusictime / Holidaychristmasmusic',
matches: ['*://www.jazzandrain.com/*', '*://relaxingbeats.com/*', '*://epicmusictime.com/*', '*://www.holidaychristmasmusic.com/*', '*://holidaychristmasmusic.com/*'],
js: ['connectors/v2/jazzandrain.js'],
version: 2
},
... |
<<<<<<<
},
{
label: "HillyDilly",
matches: ["*://www.hillydilly.com/*"],
js: ["connectors/hillydilly.js"]
},
{
label: "Xbox Music",
matches: ["*://music.xbox.com/*"],
js: ["connectors/xboxmusic.js"]
},
{
label: "8tracks",
matches: ["*://8tracks.com/*"],... |
<<<<<<<
label: 'Jazzandrain / Relaxingbeats / Epicmusictime / Holidaychristmasmusic',
matches: ['*://www.jazzandrain.com/*', '*://relaxingbeats.com/*', '*://epicmusictime.com/*', '*://www.holidaychristmasmusic.com/*', '*://holidaychristmasmusic.com/*'],
js: ['connectors/v2/jazzandrain.js'],
version: 2
},
... |
<<<<<<<
},
{
label: 'RBMA Radio',
matches: ['https://www.rbmaradio.com/*'],
js: ['connectors/v2/rbmaradio.js'],
version: 2
=======
},
{
label: 'GrooveMP3',
matches: ['*://groovemp3.com/*', '*://www.groovemp3.com/*'],
js: ['connectors/v2/bemusic.js'],
version: 2
},
{
label: 'TR... |
<<<<<<<
},
{
label: "Odnoklassniki",
matches: ["*://odnoklassniki.ru/*"],
js: ["connectors/odnoklassniki.js"],
allFrames: true
=======
},
{
label: "bleep.com",
matches: ["*://bleep.com/*"],
js: ["connectors/bleep.js"]
>>>>>>>
},
{
labe... |
<<<<<<<
var response = { valid: true, messages: [] };
for(var field in pendingValidations) {
=======
var fields = {};
for(field in pendingValidations) {
>>>>>>>
var fields = {};
for(var field in pendingValidations) {
<<<<<<<
if(!resp.valid) { response.valid = false; }
=... |
<<<<<<<
=======
}
print(run + " test run...");
>>>>>>>
print(run + " test run..."); |
<<<<<<<
var path_color = "rgb(127, 179, 228)"
=======
maps.defaults = {}
maps.defaults.path_color = "rgb(80, 80, 80)"
>>>>>>>
maps.defaults = {}
maps.defaults.path_color = "rgb(80, 80, 80)"
<<<<<<<
.range([6, 6]);
var flux_scale_fill = d3.scale.linear()
=======
.range([6, 1... |
<<<<<<<
gulp.task('stylelint', function() {
return gulp.src('src/**/*.css')
=======
gulp.task('htmlhint', function() {
return gulp.src(['src/content/**/*.html', '!**/third_party/*.html'])
.pipe(htmlhint())
.pipe(htmlhint.reporter())
.pipe(htmlhint.failOnError());
});
gulp.task('lintcss', function() ... |
<<<<<<<
/* globals addCodecParam, displayError, displayStatus,
gatheredIceCandidateTypes, hasTurnServer, iceCandidateType, localStream,
maybePreferAudioReceiveCodec, maybePreferAudioSendCodec,
=======
/* globals addCodecParam, channelReady:true, displayError, displayStatus,
gatheredIceCandidateTypes, goog, h... |
<<<<<<<
if (isChromeApp()) {
document.cancelFullScreen = function() {
chrome.app.window.current().restore();
};
} else {
document.cancelFullScreen = document.webkitCancelFullScreen ||
document.mozCancelFullScreen || document.cancelFullScreen;
}
if (isChromeApp()) {
document.bod... |
<<<<<<<
lockDragAxis: false,
use2d: true
=======
use2d: true,
zoomStartEventName: 'pz_zoomstart',
zoomEndEventName: 'pz_zoomend',
dragStartEventName: 'pz_dragstart',
dragEndEventName: 'pz_dragend',
... |
<<<<<<<
=======
chain,
>>>>>>>
<<<<<<<
// selectors
import {
attribute,
chain,
getContexts,
getSetting,
getThought,
isContextViewActive,
meta,
} from '../selectors'
=======
// selectors
import attributeEquals from '../selectors/attributeEquals'
>>>>>>>
// selectors
import {
attributeEquals,
... |
<<<<<<<
=======
getContexts,
getSetting,
getStyle,
getThought,
>>>>>>>
<<<<<<<
const Editable = ({ disabled, isEditing, thoughtsRanked, contextChain, cursorOffset, showContexts, rank, dispatch }) => {
const state = store.getState()
=======
const Editable = ({ disabled, isEditing, thoughtsRanked, context... |
<<<<<<<
import { overlayHide, overlayReveal, scrollPrioritize } from '../action-creators/toolbar'
import { BASE_FONT_SIZE, DEFAULT_FONT_SIZE, SCROLL_PRIORITIZATION_TIMEOUT, SHORTCUT_HINT_OVERLAY_TIMEOUT, TOOLBAR_DEFAULT_SHORTCUTS } from '../constants'
import { attribute, attributeEquals, getSetting, subtree, theme } fr... |
<<<<<<<
import { NavBar } from './NavBar.js'
import { Status } from './Status.js'
import { Scale } from './Scale.js'
import { Tutorial } from './Tutorial.js'
=======
import { NavBar } from './NavBar'
import { Status } from './Status'
import { Tutorial } from './Tutorial'
>>>>>>>
import { NavBar } from './NavBar'
imp... |
<<<<<<<
// selectors
import {
getThoughtsRanked,
rankThoughtsFirstMatch,
} from '../selectors'
// SIDE EFFECTS: localStorage, syncRemote
export default (state, { key, value, local, remote }) => {
=======
export default (state, { key, value }) => {
>>>>>>>
// selectors
import {
getThoughtsRanked,
rankThought... |
<<<<<<<
expanded,
noteFocus,
...(tutorialNext
=======
...tutorialNext
>>>>>>>
expanded,
noteFocus,
...tutorialNext
<<<<<<<
: null),
=======
: null,
cursor: thoughtsResolved,
expanded
>>>>>>>
: null, |
<<<<<<<
=======
import { prevSibling } from './util/prevSibling'
import publishMode from './util/publishMode'
import { rankThoughtsFirstMatch } from './util/rankThoughtsFirstMatch'
>>>>>>>
import publishMode from './util/publishMode'
<<<<<<<
=======
import { subtree } from './util/subtree'
>>>>>>>
<<<<<<<
====... |
<<<<<<<
import { getChildPath } from './util/getChildPath.js'
import { getComparisonToken } from './util/getComparisonToken.js'
=======
>>>>>>>
import { getChildPath } from './util/getChildPath.js'
<<<<<<<
getChildPath,
getComparisonToken,
=======
>>>>>>>
getChildPath, |
<<<<<<<
// reducers
import alert from './alert'
import authenticate from './authenticate'
import clear from './clear'
import clearQueue from './clearQueue'
import cursorBeforeSearch from './cursorBeforeSearch'
import cursorHistory from './cursorHistory'
import deleteData from './deleteData'
import deleteSubthoughts fro... |
<<<<<<<
isDivider,
checkIfPathShareSubcontext,
} from '../util.js'
=======
isDivider
} from '../util'
>>>>>>>
} from '../util' |
<<<<<<<
=======
import { attribute } from './util/attribute'
import { canShowModal } from './util/canShowModal'
import { chain } from './util/chain'
>>>>>>>
<<<<<<<
=======
import { getRankAfter } from './util/getRankAfter'
import { getRankBefore } from './util/getRankBefore'
import { getSetting } from './util/ge... |
<<<<<<<
self._server._fiber(function() {
try {
=======
Fiber(function() {
try {
if(!self._beforeHandling('DELETE', self._requestPath.collectionId, self._requestCollection.findOne(self._requestPath.collectionId))) {
return self._rejectedResponse("Could not delete that object.");
}... |
<<<<<<<
es: 'agrupamiento por k-medians',
ar: 'الخوارزمية التصنيفية (k-means)'
=======
es: 'agrupamiento por k-medians',
// TRANSLATE ar
>>>>>>>
es: 'agrupamiento por k-medians',
<<<<<<<
es: 'X %1 Y %2 numero %3 etiqueta %4',
ar: 'س %1 ص %2 الرقم %3 الفئه %4'
=======
... |
<<<<<<<
en: 'Running %1 %2',
ar: 'جاري التنفيذ %1 %2'
=======
en: 'Running %1 %2',
// TRANSLATE ar
>>>>>>>
ar: 'جاري التنفيذ %1 %2',
en: 'Running %1 %2', |
<<<<<<<
ko: '색깔',
it: 'Colori'
=======
ko: '색깔',
pt: 'Cores'
>>>>>>>
it: 'Colori',
ko: '색깔',
pt: 'Cores'
<<<<<<<
ko: '11개의 색',
it: 'undici colori'
=======
ko: '11개의 색',
pt: 'onze cores'
>>>>>>>
it: 'undici colori',
ko: '11개의 색',
... |
<<<<<<<
=======
const Running = require('./running')
const {
kMeansCluster,
silhouette
} = require('./stats')
>>>>>>>
const Running = require('./running') |
<<<<<<<
mixins: ["enyo.ApplicationSupport"],
=======
__jobs: {},
>>>>>>>
mixins: ["enyo.ApplicationSupport"],
__jobs: {},
<<<<<<<
this.inherited(arguments);
=======
this.stopAllJobs();
// JS objects are never truly destroyed (GC'd) until all references are gone,
// we might have some delayed act... |
<<<<<<<
/**
* Read CSV from a URL and parse to create TidyBlocks data frame.
* @param {string} url - URL to read from.
*/
=======
//
// Control whether logging is on or off.
//
let LoggingEnabled = true
/**
* Turn logging on and off (used by tbLog).
*/
const toggleLogging = () => {
LoggingEnabled = !LoggingEn... |
<<<<<<<
es: 'nombre',
ar: 'الإسم'
=======
es: 'nombre',
ko: '이름'
>>>>>>>
es: 'nombre',
ar: 'الإسم',
ko: '이름'
<<<<<<<
es: 'eje X',
ar: 'المحور الأفقي'
=======
es: 'eje X',
ko: 'X축'
>>>>>>>
es: 'eje X',
ar: 'المحور الأفقي',
ko: 'X축'
<<<<<<<
es: 'eje Y',
... |
<<<<<<<
const tbAdd = (rowId, row, getLeft, getRight) => {
const left = tbIsNumber(getLeft(row))
const right = tbIsNumber(getRight(row))
=======
const tbAdd = (row, getLeft, getRight) => {
const left = tbAssertNumber(getLeft(row))
const right = tbAssertNumber(getRight(row))
>>>>>>>
const tbAdd = (rowId, row,... |
<<<<<<<
ko: '왼쪽에 붙이기 %1 오른쪽 %2 라벨 %3',
it: 'incolla sinistra %1 destra %2 etichette %3'
=======
ko: '왼쪽에 붙이기 %1 오른쪽 %2 라벨 %3',
pt: 'Juntar esquerda %1 direita %2 etiquetas %3'
>>>>>>>
it: 'incolla sinistra %1 destra %2 etichette %3',
ko: '왼쪽에 붙이기 %1 오른쪽 %2 라벨 %3',
pt: 'Jun... |
<<<<<<<
ko: '공백',
it: 'Assente'
=======
ko: '공백',
pt: 'Ausente'
>>>>>>>
it: 'Assente',
ko: '공백',
pt: 'Ausente'
<<<<<<<
ko: '홀을 나타내기',
it: 'rappresenta un buco'
=======
ko: '홀을 나타내기',
pt: 'representa um buraco'
>>>>>>>
it: 'rappresenta un b... |
<<<<<<<
es: 'Colores',
ar: 'الألوان'
=======
es: 'Colores',
ko: '색깔'
>>>>>>>
es: 'Colores',
ar: 'الألوان',
ko: '색깔'
<<<<<<<
es: 'once colores',
ar: 'احد عشر لون'
=======
es: 'once colores',
ko: '11개의 색'
>>>>>>>
es: 'once colores',
ar: ... |
<<<<<<<
exports = module.exports =
/** @lends module:enyo/platform~platform */ {
//* `true` if the platform has native single-finger [events]{@glossary event}.
touch: Boolean(('ontouchstart' in window) || window.navigator.msMaxTouchPoints || window.navigator.maxTouchPoints),
//* `true` if the platform has native do... |
<<<<<<<
this.angle = 90 - (30 + 60 * this.lane);
this.width = 2 * this.distFromHex / Math.sqrt(3);
this.widthswag = this.width + this.height + 3;
=======
this.width = 2 * this.distFromHex / Math.sqrt(3);
this.widthswag = this.width + this.height + 5;
>>>>>>>
this.width = 2 * this.distFromHex / Math.sqrt... |
<<<<<<<
if (gameState == 0 || gameState == 2) {
init();
}
=======
init();
>>>>>>>
init();
<<<<<<<
=======
if (gameState == 1) {
requestAnimFrame(animLoop);
}
>>>>>>> |
<<<<<<<
for (var i = 0; i < 1; i++) {
blocks.push(new Block(i, 'green'));
}
=======
>>>>>>>
<<<<<<<
var iter = 1;
=======
var iter = 1/100;
var lastGen = Date.now();
var nextGen = 1000;
var colors = ["green", "red"];
>>>>>>>
var iter = 1/100;
var lastGen = Date.now();
var nextGen = 1000;
var colors = ["green... |
<<<<<<<
settings.comboTime = waveone.nextGen/16 * 2;
=======
//settings.comboTime = settings.creationSpeedModifier * 4;
settings.comboTime = (1/settings.creationSpeedModifier) * (waveone.nextGen/16.666667) * 1.75;
>>>>>>>
settings.comboTime = (1/settings.creationSpeedModifier) * (waveone.nextGen/16.666667) *... |
<<<<<<<
var blocks = [];
=======
clock = new Clock(6);
var blocks = [];
>>>>>>>
var clock = new Clock(6);
var blocks = []; |
<<<<<<<
// no-useless-constructor interference fix.
'no-useless-constructor': 'off',
'@typescript-eslint/no-useless-constructor': 'error',
=======
// semi interference fix.
'semi': 'off',
'@typescript-eslint/semi': 'warn',
>>>>>>>
// no-useless-constructor interference fix.
'no-useles... |
<<<<<<<
test('simple decode base64', async (cb) => {
const script = `
addEventListener('fetch', event => {
event.respondWith(new Response(atob('SGVsbG8gV29ybGQh'), {status: 200}))
})
`
const server = new Cloudworker(script).listen(8080)
const res = await axios.get('http://localhos... |
<<<<<<<
const { crypto } = require('./runtime/crypto')
=======
const { atob, btoa } = require('./runtime/base64')
>>>>>>>
const { crypto } = require('./runtime/crypto')
const { atob, btoa } = require('./runtime/base64')
<<<<<<<
this.crypto = crypto
=======
this.atob = atob
this.btoa = btoa
>>>>>>>
... |
<<<<<<<
test('simple text encoder', async (cb) => {
const script = `
addEventListener('fetch', event => {
const encoder = new TextEncoder()
const { readable, writable } = new TransformStream()
const writer = writable.getWriter()
writer.write(encoder.encode('hello')).then(() ... |
<<<<<<<
const { TextDecoder, TextEncoder } = require('./runtime/text-encoder')
=======
const { atob, btoa } = require('./runtime/base64')
>>>>>>>
const { TextDecoder, TextEncoder } = require('./runtime/text-encoder')
const { atob, btoa } = require('./runtime/base64')
<<<<<<<
this.TextDecoder = TextDecoder
t... |
<<<<<<<
if (ch === "x" || ch === "X") {
this.input();
=======
if (ch === 'x' || ch === 'X') {
ch = this.input();
>>>>>>>
if (ch === "x" || ch === "X") {
ch = this.input();
<<<<<<<
while (this.offset < this.size) {
this.input();
=======
while(this.offset < th... |
<<<<<<<
if (typeof id !== "number") {
if (token === "yield") {
if (this.tryMatch(" from")) {
=======
if (typeof id !== 'number') {
if (token === 'yield') {
if (this.php7 && this.tryMatch(' from')) {
>>>>>>>
if (typeof id !== "number") {
if (token === "yield") {
i... |
<<<<<<<
test('xAxisTickValues', function(assert) {
assert.expect(4);
const getModelDataFor = (start, end, timeGrain) => {
return {
response: {
rows: [
{
dateTime: start,
uniqueIdentifier: 172933788
},
{
dat... |
<<<<<<<
Bespin.Canvas.Fix(ctx);
=======
fixCanvas(ctx);
ctx.clearRect(0, 0, this.canvas.width, this.canvas.height);
>>>>>>>
Bespin.Canvas.Fix(ctx);
ctx.clearRect(0, 0, this.canvas.width, this.canvas.height); |
<<<<<<<
=======
components: [
{name: "clientContainer", classes: "enyo-touch-scroller", components: [
{name: "client"}
]}
],
rendered: function() {
this.inherited(arguments);
enyo.makeBubble(this.$.clientContainer, "scroll");
},
>>>>>>> |
<<<<<<<
console.log("Syntax-Check");
=======
>>>>>>>
<<<<<<<
bespin.unsubscribe(onChange);
=======
bespin.unsubscribe(onChange)
>>>>>>>
bespin.unsubscribe(onChange);
bespin.unsubscribe(run); |
<<<<<<<
store: new bespin.command.Store()
});
//** {{{Command: help}}} **
bespin.command.store.addCommand({
name: 'help',
takes: ['search'],
preview: 'show commands',
description: 'The <u>help</u> gives you access to the various commands in the Bespin system.<br/><br/>You can narrow the search of a... |
<<<<<<<
if ( callbacks ) {
for (var a = 0; a < callbacks.length; a++) {
callbacks[a]( el )
}
}
})
=======
var callbacks = _this._initCallbacks;
if ( callbacks )
for ( var a = 0; a < callbacks.length; a++)
callbacks[a]();
>>>>>>>
if ( callbacks )
for ( var a = 0; a < cal... |
<<<<<<<
$('#watch-discussion').show();
=======
$('#watch-discussion').show();
$('#show_comment_btn').hide();
$('#hb_logo').hide();
>>>>>>>
$('#watch-discussion').show();
$('#watch-discussion').show();
$('#show_comment_btn').hide();
$('#hb_logo').hide(); |
<<<<<<<
* This is a [delegate]{@glossary delegate} (strategy) used by {@link enyo.DataList}
* for vertically-oriented lists. This is used by all lists for this strategy; it
* does not get copied, but is called directly from the list.
=======
* This is a [delegate]{@glossary delegate} (strategy) used by
* [`enyo... |
<<<<<<<
<<<<<<< HEAD
* @param {String} nom The name of the {@glossary event}.
* @param {Object} [event] The event object to pass along.
* @param {enyo.Component} [sender=this] The event's originator.
=======
* @param {String} nom - The name of the [event]{@glossary event}.
* @param {Object} [event] - The even... |
<<<<<<<
=======
toSetting:function(pluginId){
$("#loadMsg").text(Label.loadingLabel);
var requestJSONObject = {
"oId": pluginId
};
$.ajax({
url: latkeConfig.servePath + "/console/plugin/toSetting",
type: "POST",
... |
<<<<<<<
* @param {String} type - The type of {@glossary event} to make.
* @param {(Event|Object)} evt - The event you'd like to clone or an object that looks like it.
=======
* @param {String} type - The type of [event]{@glossary event} to make.
* @param {(Event|Object)} evt - The event you'd like to clone or... |
<<<<<<<
'lib/*.js'
=======
'lib/*.js',
'test/*.js'
>>>>>>>
'lib/*.js',
'test/*.js'
<<<<<<<
},
inclusion_error: {
options: {
dot_it_object: {
partial_border: '2px dashed #dfdfdf',
page_border: '2px solid #red',
... |
<<<<<<<
export {DefaultRepository} from './default-repository';
export {Repository} from './repository';
export {Entity} from './entity';
export {OrmMetadata} from './orm-metadata';
export {association} from './decorator/association';
export {resource} from './decorator/resource';
export {endpoint} from './decorator/en... |
<<<<<<<
new RegExp('https://next.suttacentral.net/api/(.*)'),
sw.strategies.staleWhileRevaliate()
=======
new RegExp('https://(?:staging.)suttacentral.net/api/(.*)'),
sw.strategies.networkFirst()
>>>>>>>
new RegExp('https://(?:staging.)suttacentral.net/api/(.*)'),
sw.strategies.staleWhileReva... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.