conflict_resolution stringlengths 27 16k |
|---|
<<<<<<<
import neo4j from 'neo4j-driver'
import { stringFormat } from 'services/bolt/cypherTypesFormatting'
=======
import { v1 as neo4j } from 'neo4j-driver'
import { stringModifier } from 'services/bolt/cypherTypesFormatting'
>>>>>>>
import neo4j from 'neo4j-driver'
import { stringModifier } from 'services/bolt/cy... |
<<<<<<<
* @PB10+
=======
* @RIPPLE
* @PB10
>>>>>>>
* @RIPPLE
* @PB10+
<<<<<<<
* @PB10+
=======
* @RIPPLE
* @PB10
>>>>>>>
* @RIPPLE
* @PB10+
<<<<<<<
* @PB10+
=======
* @RIPPLE
* @PB10
>>>>>>>
* @RIPPLE
* @PB10+
<<<<<<<
* @PB10+
=======
* @RIPPLE
* @PB10
>>>>>>>
* @RIPPLE
* @PB10+
<<<<<<<
* @PB10+
======... |
<<<<<<<
* @PB10+
=======
* @RIPPLE
* @PB10
>>>>>>>
* @RIPPLE
* @PB10+
<<<<<<<
* @PB10+
=======
* @RIPPLE
* @PB10
>>>>>>>
* @RIPPLE
* @PB10+
<<<<<<<
* @PB10+
=======
* @RIPPLE
* @PB10
>>>>>>>
* @RIPPLE
* @PB10+
<<<<<<<
* @PB10+
=======
* @... |
<<<<<<<
BBTag.Support.prototype.populateBySymbolArray = function(symbolArray){
for (var i = 0, l = symbolArray.length; i < l; i++) {
var symbol = symbolArray[i];
this.populateBySymbol(symbol);
}
=======
BBTag.Support.prototype.populateBySymbolArray = function (symbolArray) {
for (var i = 0... |
<<<<<<<
* @PB10+
=======
* @RIPPLE
* @PB10
>>>>>>>
* @RIPPLE
* @PB10+
<<<<<<<
* @PB10+
=======
* @RIPPLE
* @PB10
>>>>>>>
* @RIPPLE
* @PB10+
<<<<<<<
* @PB10+
=======
* @RIPPLE
* @PB10
>>>>>>>
* @RIPPLE
* @PB10+
<<<<<<<
* @PB10+
======... |
<<<<<<<
* @BB50+
* @PB10
=======
* @BB50+
* @RIPPLE
>>>>>>>
* @BB50+
* @PB10
* @RIPPLE
<<<<<<<
* @PB10
=======
* @RIPPLE
>>>>>>>
* @PB10
* @RIPPLE
<<<<<<<
* @PB10
=======
* @RIPPLE
>>>>>>>
* @PB10
* @RIPPLE |
<<<<<<<
page: String,
routeData: Object,
subroute: String,
=======
page: {
type: String,
reflectToAttribute: true,
observer: '_pageChanged'
},
>>>>>>>
page: String,
routeData: Object,
subroute: String,
<<<<<<<
constructor() {
super... |
<<<<<<<
${helmet ? helmet.script.toString() : ''}
${javascriptScripts}
=======
${helmet && helmet.script.toString()}
${scripts}
>>>>>>>
${helmet ? helmet.script.toString() : ''}
${scripts} |
<<<<<<<
import HTML from 'components/html';
import getConfig from '../../../config/get';
import onlyIf from '../../../internal/utils/logic/onlyIf';
import removeNil from '../../../internal/utils/arrays/removeNil';
=======
import config from '../../../config';
import onlyIf from '../../../shared/utils/logic/onlyIf';
i... |
<<<<<<<
export const IS_TESTNET = process.env.NET === 'testnet';
export const IS_DESKTOP = process.env.DESKTOP === 'true';
//export const IS_MAINNET = Lockr.get('NET') === 'mainnet' || !Lockr.get('NET');
//export const IS_SUNNET = Lockr.get('NET') === 'sunnet';
=======
export const IS_TESTNET = process.env.NET === ... |
<<<<<<<
ifProd('transform-react-constant-elements'),
// Decorators for everybody
'transform-decorators-legacy',
=======
ifOptimize('transform-react-constant-elements'),
>>>>>>>
<<<<<<<
ifProdClient(() => ({
loaders: [
... |
<<<<<<<
function createNotification(subject, msg, open) {
const title = `${subject.toUpperCase()} DEVSERVER`;
console.log(`==> ${title} -> ${msg}`);
=======
function createNotification(subject, msg) {
const title = `🔥 ${subject.toUpperCase()}`;
>>>>>>>
function createNotification(subject, msg, open) {
con... |
<<<<<<<
import { withAsyncComponents } from 'react-async-component';
import { Provider } from 'mobx-react';
import { toJS } from 'mobx';
import stringify from 'json-stringify-safe';
import Store from 'store';
import App from '../shared';
=======
import asyncBootstrapper from 'react-async-bootstrapper';
import { Async... |
<<<<<<<
import { BrowserRouter } from 'react-router-dom';
=======
import BrowserRouter from 'react-router-dom/BrowserRouter';
>>>>>>>
import BrowserRouter from 'react-router-dom/BrowserRouter';
<<<<<<<
import { Provider } from 'mobx-react';
import { toJS } from 'mobx';
import stringify from 'json-stringify-safe';
i... |
<<<<<<<
import enforceHttps from './middleware/enforceHttps';
import basicAuth from './middleware/basicAuth';
=======
import config from '../config';
import { log } from '../internal/utils';
>>>>>>>
import enforceHttps from './middleware/enforceHttps';
import basicAuth from './middleware/basicAuth';
import { log } f... |
<<<<<<<
const ifOptimizeClient = ifElse(isOptimize && isClient);
const ifPublicUrl = ifElse(config('publicUrl'));
=======
const ifProdClient = ifElse(isProd && isClient);
>>>>>>>
const ifProdClient = ifElse(isProd && isClient);
const ifPublicUrl = ifElse(config('publicUrl'));
<<<<<<<
// Required t... |
<<<<<<<
import { renderToStaticMarkup } from 'react-dom/server';
import { StaticRouter } from 'react-router-dom';
=======
import Helmet from 'react-helmet';
import { renderToString, renderToStaticMarkup } from 'react-dom/server';
import { StaticRouter } from 'react-router-dom';
>>>>>>>
import { renderToStaticMarkup... |
<<<<<<<
const html = renderToStaticMarkup(<ServerHTML helmet={Helmet.rewind()} nonce={nonce} />);
response.status(200).send(html);
=======
const html = renderToStaticMarkup(<ServerHTML nonce={nonce} />);
response.status(200).send(`<!DOCTYPE html>${html}`);
>>>>>>>
const html = renderToStaticMarku... |
<<<<<<<
import { CALL_API } from '../../middleware/api'
import { routeActions } from 'react-router-redux';
=======
import { CALL_API } from '../../middleware/api';
import { pushPath, replacePath } from 'react-router-redux';
>>>>>>>
import { CALL_API } from '../../middleware/api'
import { routeActions } from 'react-r... |
<<<<<<<
class Editor extends React.Component {
state = {
defaultValue: toEditorState('hello world'),
value: null,
};
editorChange = (editorState) => {
=======
const Editor = React.createClass({
getInitialState() {
return {
defaultValue: toEditorState('hello world'),
value: null,
... |
<<<<<<<
import PeerAvatar from '../PeerAvatar/PeerAvatar';
import SelectSwitcher from './SelectSwitcher';
=======
import Avatar from '../Avatar/Avatar';
import CheckButton from '../CheckButton/CheckButton';
>>>>>>>
import PeerAvatar from '../PeerAvatar/PeerAvatar';
import CheckButton from '../CheckButton/CheckButton... |
<<<<<<<
// Building experimental swift features
full: {
options: {
almond: true,
mainConfigFile: "./src/config.js",
optimize: "none",
keepBuildDir: true,
name: "mobify-swift",
... |
<<<<<<<
img.setAttribute(opts.attribute, getImageURL(url, opts));
img.setAttribute('data-orig-src', attrVal);
if(opts.onerror) {
img.setAttribute('onerror', opts.onerror);
}
=======
img.setAttribute(opts.attribute, Res... |
<<<<<<<
}).call(this,require("FWaASH"))
},{"FWaASH":11,"xmldom":5}],69:[function(require,module,exports){
=======
}).call(this,require("/Users/tmcw/src/geojson.io/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js"))
},{"/Users/tmcw/src/geojson.io/node_modules/browserify/node_m... |
<<<<<<<
map: file.content,
name: file.name,
path: [d.user.login, d.id].join('/'),
=======
map: mapFile(d),
path: [(d.user && d.user.login) || 'anonymous', d.id].join('/'),
>>>>>>>
map: file.content,
... |
<<<<<<<
import Comments from './../comments/Comments';
=======
import PostActionButtons from './PostActionButtons';
>>>>>>>
import Comments from './../comments/Comments';
import PostActionButtons from './PostActionButtons';
<<<<<<<
<Comments postId={post.id} />
=======
{this.props.replies !== 'fa... |
<<<<<<<
]
componentWillMount() {
this.props.getFeedContent({
sortBy: 'blog',
category: this.props.match.params.name,
limit: this.props.limit,
});
}
isFavorited() {
const { favorites } = this.props;
const username = this.props.match.params.name;
return username && favorite... |
<<<<<<<
=======
import PostSinglePage from './PostSinglePage';
import Comments from '../../comments/Comments';
import PostSingleModal from './PostSingleModal';
>>>>>>>
<<<<<<<
=======
// static defaultProps = {
// modal: false,
// contentList: [],
// modalResetScroll: () => null
// };
state = {
... |
<<<<<<<
import notificationReducer from './notification/notificationReducers';
=======
import favoritesReducer from './favorites/favoritesReducer';
>>>>>>>
import notificationReducer from './notification/notificationReducers';
import favoritesReducer from './favorites/favoritesReducer';
<<<<<<<
notifications: no... |
<<<<<<<
case "UNFREEZEASSETCONTRACT":
return <UnfreezeAssetContract contract={contract}></UnfreezeAssetContract>;
case "UPDATEASSETCONTRACT":
return <UpdateAssetContract contract={contract}></UpdateAssetContract>;
=======
case "UPDATESETTINGCONTRACT"... |
<<<<<<<
var val = (option.val || option.val === 0) ? option.val : '';
itemHtml += ('<input type="radio" name="'+self.id+'" value="'+val+'" id="'+self.id+'-'+index+'" />')
itemHtml += ('<label for="'+self.id+'-'+index+'">'+option.label+'</label>')
=======
var val = option.val ? ... |
<<<<<<<
const { comment, likeComment, unlikeComment, dislikeComment, auth, allComments } = this.props;
=======
const { comment, likeComment, unlikeComment, auth, allComments, sortOrder } = this.props;
>>>>>>>
const { comment, likeComment, unlikeComment, dislikeComment, auth, allComments, sortOrder } = th... |
<<<<<<<
import ProfileTooltipOrigin from '../../user/profileTooltip/ProfileTooltipOrigin';
=======
import { calculatePayout } from '../../helpers/steemitHelpers';
>>>>>>>
import ProfileTooltipOrigin from '../../user/profileTooltip/ProfileTooltipOrigin';
import { calculatePayout } from '../../helpers/steemitHelpers'... |
<<<<<<<
this.props.login();
=======
if (Cookie.get('access_token')) {
this.props.login();
}
this.props.getConfig();
>>>>>>>
if (Cookie.get('access_token')) {
this.props.login();
} |
<<<<<<<
import { FormattedRelative } from 'react-intl';
import _ from 'lodash';
import numeral from 'numeral';
=======
import { FormattedMessage, FormattedRelative } from 'react-intl';
import _ from 'lodash';
>>>>>>>
import { FormattedMessage, FormattedRelative } from 'react-intl';
import _ from 'lodash';
import nu... |
<<<<<<<
STEEMCONNECT_HOST: JSON.stringify(process.env.STEEMCONNECT_HOST || 'https://v2.steemconnect.com'),
STEEMCONNECT_REDIRECT_URL: JSON.stringify(process.env.STEEMCONNECT_REDIRECT_URL || 'https://busy.org/callback'),
WS: JSON.stringify(process.env.WS || 'wss://steemd.steemit.com'),
=======
... |
<<<<<<<
let body = striptags(remarkable.render(striptags(decodeEntities(props.body))));
body = body.replace(/(?:https?|ftp):\/\/[\n\S]+/g, '');
=======
let body = striptags(remarkable.render(decodeEntities(props.body)));
body = body.replace(/(?:https?|ftp):\/\/[\S]+/g, '');
>>>>>>>
let body = striptags(rem... |
<<<<<<<
import * as commentsActions from './../comments/commentsActions';
=======
import { toggleBookmark } from './../bookmarks/bookmarksActions';
>>>>>>>
import * as commentsActions from './../comments/commentsActions';
import { toggleBookmark } from './../bookmarks/bookmarksActions';
<<<<<<<
openCommenti... |
<<<<<<<
const FavoriteCategoryButton = ({ children, onClick, isFavorited, intl }) =>
<TooltipOrigin
content={intl.formatMessage({ id: '@tooltip_add_fav' })}
active={!isFavorited}
>
<a
className={isFavorited ? 'FavoriteButton FavoriteButton--active' : 'FavoriteButton'}
onClick={onClick}
>... |
<<<<<<<
export default React.createClass({
=======
function decodeEntities(body) {
return body.replace(/</g, '<').replace(/>/g, '>');
}
module.exports = React.createClass({
>>>>>>>
function decodeEntities(body) {
return body.replace(/</g, '<').replace(/>/g, '>');
}
export default React.createClass(... |
<<<<<<<
import { LocaleProvider } from 'antd';
import enUS from 'antd/lib/locale-provider/en_US';
=======
import { history } from './routes';
>>>>>>>
import { LocaleProvider } from 'antd';
import enUS from 'antd/lib/locale-provider/en_US';
import { history } from './routes';
<<<<<<<
}
</LocaleProvider... |
<<<<<<<
<ScrollToTopOnMount />
{user && <UserHero auth={auth} user={user} username={displayedUsername} isSameUser={isSameUser} />}
=======
{user &&
<UserHero
auth={auth}
user={user}
username={displayedUsername}
isSameUser={isSameUser}
... |
<<<<<<<
import { Link } from 'react-router-dom';
import './SidebarBlock.less';
=======
import './SignUp.less';
>>>>>>>
import './SidebarBlock.less';
<<<<<<<
<Link to="#signup">
<button className="SidebarBlock__button">
=======
<a target="_blank" rel="noopener noreferrer" href="https://steemit.com/pi... |
<<<<<<<
<Popover
placement="bottomRight"
trigger="click"
content={
<PopoverMenu onSelect={this.handleClick} bold={false}>
<PopoverMenuItem key="follow" disabled={pendingFollow}>
{pendingFollow ? <Icon type="loading" /> : <i className="iconf... |
<<<<<<<
{
(user.isFetching) ? <UserHeaderLoading />
: <UserHeader
authenticated={authenticated}
username={username}
handle={user.name}
userReputation={user.reputation}
isSameUser={isSameUs... |
<<<<<<<
var targetDir = configDir + '/credentials',
=======
console.log('CONFIG DIR IS ', configDir);
var targetDir = path.resolve(configDir + '/credentials'),
>>>>>>>
var targetDir = path.resolve(configDir + '/credentials'),
<<<<<<<
fs.mkdirSync(targetDir, 0755);
=======
console.log('TA... |
<<<<<<<
var url = api.settings.url.home, args = {};
=======
var url = api.settings.url.home,
args = {};
>>>>>>>
var url = api.settings.url.home, args = {};
<<<<<<<
// @todo Also remove all postmeta settings for this post?
api.remove( section.id );
delete component.fetchedPosts[ section.params.... |
<<<<<<<
post_content: editor && ! editor.isHidden() ? wp.editor.removep( editor.getContent() ) : $( '#content' ).val(),
post_author: $( '#post_author_override' ).val()
=======
post_content: editor && ! editor.isHidden() ? wp.editor.removep( editor.getContent() ) : $( '#content' ).val(),
post_excerpt: $( '... |
<<<<<<<
=======
.option('--force-ssl', 'enforce access via https. default is false.')
.option('BASIC_AUTH_USER', 'user name of basic authentication. define with env.')
.option('BASIC_AUTH_PASS', 'password of basic authentication. define with env.')
.option('GRIDFS', 'Set "true" when useing gridfs. define with... |
<<<<<<<
"freeze_balance_limit":"残高が不足しています。再入力してください",
/*
##################################################################################
# #
# SR rewards #
# ... |
<<<<<<<
"sign_in_with_ledger":"LEDGER",
=======
"TRC20_under_maintenance":"TRC20 under maintenance",
"transaction_fewer_than_100000":"1. When there are fewer than 100,000 (including 100,000) transaction data entries, all the data will be displayed.",
"transaction_more_than_100000":"2. When there are m... |
<<<<<<<
/* Tests_SRS_NODE_DEVICE_MQTT_18_025: [** If the `Mqtt` constructor receives a second parameter, it shall be used as a provider in place of mqtt. **]** */
it ('accepts an mqttProvider for testing', function() {
var provider = {};
var mqtt = new Mqtt(null, provider);
assert.equal(mqt... |
<<<<<<<
import { factory } from '../../utils/factory.js'
import { deepMap } from '../../utils/collection.js'
=======
import { factory } from '../../utils/factory'
import { deepMap } from '../../utils/collection'
import { createAlgorithm14 } from '../../type/matrix/utils/algorithm14'
>>>>>>>
import { factory } from '... |
<<<<<<<
// median([a, b, c, d, ...], dim)
'Array | Matrix, number | BigNumber': function (array, dim) {
// TODO: implement median(A, dim)
throw new Error('median(A, dim) is not yet supported');
//return collection.reduce(arguments[0], arguments[1], ...);
},
// median(a, b, c, d, ...)
... |
<<<<<<<
import {API_URL} from "../../constants";
=======
import Address from '../addresses/Address';
>>>>>>>
import {API_URL} from "../../constants";
import Address from '../addresses/Address';
<<<<<<<
checkExistingToken = () => {
let {wallet} = this.props;
if (wallet !== null) {
xhr.get(API_URL+... |
<<<<<<<
var number = require('../../util/number');
var collection = require('../../type/collection');
=======
module.exports = function (math) {
var util = require('../../util/index'),
collection = math.collection,
number = util.number,
isNumber = util.number.isNumber,
isCollection = colle... |
<<<<<<<
var collection = require('../../type/collection');
var isInteger = require('../../util/number').isInteger;
var bigBitAnd = require('../../util/bignumber').and;
=======
module.exports = function (math, config) {
var util = require('../../util/index'),
BigNumber = math.type.BigNumber,
Matrix = ma... |
<<<<<<<
=======
it ('deprecated select function should still be functional', function () {
assert.ok(math.select(45) instanceof Chain);
assert.ok(math.select(math.complex(2,3)) instanceof Chain);
assert.ok(math.select() instanceof Chain);
assert.strictEqual(math.chaining.Selector, math.chaining.Chai... |
<<<<<<<
=======
toNumber = util.number.toNumber,
toBigNumber = util.number.toBigNumber,
nearlyEqual = util.number.nearlyEqual,
>>>>>>>
nearlyEqual = util.number.nearlyEqual, |
<<<<<<<
var collection = require('../../type/collection');
var nearlyEqual = require('../../util/number').nearlyEqual;
=======
module.exports = function (math, config) {
var util = require('../../util/index'),
BigNumber = math.type.BigNumber,
Complex = require('../../type/Complex'),
Unit = requir... |
<<<<<<<
assert.strictEqual(format(0, options), '0.00')
assert.strictEqual(format(123, options), '123.00')
assert.strictEqual(format(123.456, options), '123.46')
assert.strictEqual(format(123.7, options), '123.70')
assert.strictEqual(format(0.123456, options), '0.12')
asse... |
<<<<<<<
function factory (type, config, load, typed) {
var complexSqrt = load(require('../arithmetic/sqrt')).signatures['Complex'];
var complexLog = load(require('../arithmetic/log')).signatures['Complex'];
=======
BigNumber = math.type.BigNumber,
Complex = require('../../type/Complex'),
collect... |
<<<<<<<
var collection = require('../../type/collection');
var nearlyEqual = require('../../util/number').nearlyEqual;
=======
module.exports = function (math, config) {
var util = require('../../util/index'),
BigNumber = math.type.BigNumber,
Complex = require('../../type/Complex'),
Unit = requir... |
<<<<<<<
var collection = require('../../type/collection');
var bigAtanh = require('../../util/bignumber').atanh_acoth;
=======
module.exports = function (math) {
var util = require('../../util/index'),
BigNumber = math.type.BigNumber,
Complex = require('../../type/Complex'),
Unit = require('../..... |
<<<<<<<
import { factory } from '../../utils/factory.js'
import { deepMap } from '../../utils/collection.js'
import { nearlyEqual } from '../../utils/number.js'
import { nearlyEqual as bigNearlyEqual } from '../../utils/bignumber/nearlyEqual.js'
import { ceilNumber } from '../../plain/number/index.js'
=======
import ... |
<<<<<<<
var collection = require('../../type/collection');
var bigAtan2 = require('../../util/bignumber').arctan2;
=======
module.exports = function (math) {
var util = require('../../util/index'),
BigNumber = math.type.BigNumber,
Complex = require('../../type/Complex'),
collection = math.collect... |
<<<<<<<
random: function(arg1, arg2, arg3) {
if (arguments.length > 3)
newArgumentsError('random', arguments.length, 0, 3);
// Random matrix
else if (Object.prototype.toString.call(arg1) === '[object Array]') {
var min ... |
<<<<<<<
* @version 0.11.1
* @date 2013-08-02
=======
* @version 0.11.2-SNAPSHOT
* @date 2013-07-29
>>>>>>>
* @version 0.11.2-SNAPSHOT
* @date 2013-08-02 |
<<<<<<<
var collection = require('../../type/collection');
var nearlyEqual = require('../../util/number').nearlyEqual;
=======
module.exports = function (math, config) {
var util = require('../../util/index'),
BigNumber = math.type.BigNumber,
Complex = require('../../type/Complex'),
Unit = requir... |
<<<<<<<
precision: 20
=======
decimals: 20,
epsilon: 1e-6
>>>>>>>
precision: 20,
epsilon: 1e-6
<<<<<<<
precision: 20
=======
decimals: 20,
epsilon: 1e-6
>>>>>>>
precision: 20,
epsilon: 1e-6
<<<<<<<
precision: 20
=======
decimals: 20,
... |
<<<<<<<
// Backbone - account - mapping
"main_account_mapping_title":"reflectar a DAppChain",
"main_account_mapping_text":"DAppChain es una cadena lateral desarrollada basada en la mainnet de TRON, una solución de escala para la red principal de TRON. Al reflectar a DAppChain, se obtendrá un TPS más alto con un m... |
<<<<<<<
require('./apply'),
=======
require('./column'),
>>>>>>>
require('./apply'),
require('./column'), |
<<<<<<<
var collection = require('../../type/collection');
var bigSech = require('../../util/bignumber').cosh_sinh_csch_sech;
=======
module.exports = function (math) {
var util = require('../../util/index'),
BigNumber = math.type.BigNumber,
Complex = require('../../type/Complex'),
Unit = require... |
<<<<<<<
// Make profile fields editable.
$('.editable').editable(function(value, settings) {
self.editableHandler($(this).attr('id'), value);
return value;
});
=======
};
FirefeedUI.prototype.renderProfile = function(uid) {
var self = this;
$("#header").html($("#tmpl-page-header").html());
if (... |
<<<<<<<
=======
'src/tables.intro.js',
'src/tables-init.js',
>>>>>>>
'src/tables.intro.js',
'src/tables-init.js',
<<<<<<<
=======
'src/tables.intro.js',
'src/tables-init.js',
'src/tablesaw.js',
>>>>>>>
'src/tables.intro.js',
'src/tables-init.js', |
<<<<<<<
import React from 'react';
import moment from 'moment';
import assert from 'assert';
import sinon from 'sinon';
import {shallow} from 'enzyme';
import Datepicker from '../../src/Datepicker';
import Textfield from '../../src/Textfield';
=======
>>>>>>>
import assert from 'assert';
<<<<<<<
assert(findCale... |
<<<<<<<
assert(tree.find(Calendar).node);
assert(!tree.find(Clock).node);
assert.equal(findButton(tree).prop('icon').type, CalendarIcon);
=======
assert.equal(tree.find(Calendar).length, 1);
assert.equal(tree.find(Clock).length, 0);
assert.equal(findButton(tree).prop('icon'), 'calendar');
>>>... |
<<<<<<<
{showDropdown && results.length > 0 &&
<Menu className="coral-Autocomplete-menu" onSelect={this.onSelect}>
{results.map((result, i) =>
(<MenuItem
key={`item-${i}`}
=======
<Overlay target={this} show={showDropdown && results.length > 0} place... |
<<<<<<<
Name | Component | numChildren
${'v3 FormItem no children'} | ${FormItem} | ${0}
${'v2 FormItem no children'} | ${V2FormItem} | ${0}
${'v3 FormItem one child'} | ${FormItem} | ${1}
${'v2 FormItem one child'} | ${V2Fo... |
<<<<<<<
assert(!tree.find('.spectrum-Loader--bar-label').node);
=======
assert(!tree.find('.spectrum-Progress-label').length);
>>>>>>>
assert(!tree.find('.spectrum-Loader--bar-label').length);
<<<<<<<
const label = tree.find('.spectrum-Loader--bar-percentage');
assert(label.node);
=======
... |
<<<<<<<
import {action, storiesOf} from '@kadira/storybook';
import Bell from '../src/Icon/Bell';
=======
import {action, storiesOf} from '@storybook/react';
>>>>>>>
import {action, storiesOf} from '@storybook/react';
import Bell from '../src/Icon/Bell'; |
<<<<<<<
element.simulate('change', {stopPropagation: stopPropagationSpy, target: {value}});
assert(stopPropagationSpy.called);
=======
element.simulate('change', value, {stopPropagation: stopPropagationSpy, target: {value}});
expect(stopPropagationSpy).toHaveBeenCalled();
>>>>>>>
elemen... |
<<<<<<<
"sign_in_with_ledger":"LEDGER",
=======
"TRC20_under_maintenance":"TRC20 under maintenance",
"transaction_fewer_than_100000":"1. When there are fewer than 100,000 (including 100,000) transaction data entries, all the data will be displayed.",
"transaction_more_than_100000":"2. When there are m... |
<<<<<<<
import {action, storiesOf} from '@kadira/storybook';
import AdobeAnalytics from '../../src/Icon/AdobeAnalytics';
import AdobeAudienceManager from '../../src/Icon/AdobeAudienceManager';
import AdobeCampaign from '../../src/Icon/AdobeCampaign';
import AdobeExperienceManager from '../../src/Icon/AdobeExperienceMan... |
<<<<<<<
import {action, storiesOf} from '@kadira/storybook';
import Instagram from '../src/Icon/Instagram';
=======
import {action, storiesOf} from '@storybook/react';
>>>>>>>
import {action, storiesOf} from '@storybook/react';
import Instagram from '../src/Icon/Instagram'; |
<<<<<<<
// Hack to get icons loading in the storybook without copying them over
config.plugins.push(new webpack.NormalModuleReplacementPlugin(/Icon\/([^\/\.]+)$/, function (resource) {
resource.request = require.resolve('@react/react-spectrum-icons/dist/' + path.basename(resource.request));
}));
config.plug... |
<<<<<<<
it('supports the subtle variation', () => {
const tree = shallow(<Link variant="subtle" className="myClass">Testing</Link>);
assert(tree.prop('className').indexOf('spectrum-Link--subtle') >= 0);
// deprecated subtle prop should still work
tree.setProps({subtle: true, variant: null});
ass... |
<<<<<<<
import {action, storiesOf} from '@kadira/storybook';
import Facebook from '../../src/Icon/Facebook';
import Flickr from '../../src/Icon/Flickr';
import Newsgator from '../../src/Icon/Newsgator';
=======
import {action, storiesOf} from '@storybook/react';
>>>>>>>
import {action, storiesOf} from '@storybook/re... |
<<<<<<<
=======
self.focused = true;
>>>>>>>
self.focused = true;
<<<<<<<
}).on('change', function(path) {
if (self.justSaved) {
self.justSaved = false;
} else {
self.askReload = true;
}
})
=======
});
>>>>>>>
}).on('ch... |
<<<<<<<
if (!def.action) throw new Error('Property `action` not found in the command definition.');
const userAction = def.action;
def.action = (...args) => {
const parserInstance = parser(program.path);
userAction(parserInstance, ...args);
if (program.stdout) {
proces... |
<<<<<<<
const prismPresetDictionary = require(`./utils/preset-dictionary`)
exports.onPreInit = ({ reporter }, options) => {
if (prismPreset in prismPresetDictionary) {
prismPreset = prismPresetDictionary[prismPreset]
}
if (prismPreset) {
try {
options.prismPreset = require(prismPreset)
} catch... |
<<<<<<<
setValue: function(prop, val) {
var data = {};
if (typeof prop === 'string') {
data[prop] = val;
} else {
data = prop;
}
for (var key in data) {
if (_.has(this.fields, key)) {
this.fields[key].setValue(data[key]);
}
=======
setVal... |
<<<<<<<
scss={{
color: 'text'
=======
css={{
color: 'text',
>>>>>>>
scss={{
color: 'text', |
<<<<<<<
href='#content'
scss={{
=======
href="#content"
css={{
>>>>>>>
href="#content"
scss={{ |
<<<<<<<
export const Text = React.forwardRef(function Text(props, ref) {
return (
<Box ref={ref} {...props} __themeKey="text" __css={{ label: 'Text' }} />
)
})
=======
export const Text = React.forwardRef((props, ref) => (
<Box ref={ref} variant="default" {...props} __themeKey="text" />
))
>>>>>>>
export c... |
<<<<<<<
size='1em'
color='currentcolor'
scss={{
fontSize: [ 96, 96, 160 ],
=======
size="1em"
color="currentcolor"
css={{
fontSize: [96, 96, 160],
>>>>>>>
size="1em"
color="currentcolor"
scss={{
... |
<<<<<<<
// Backbone - account - mapping
"main_account_mapping_title":"Маппинг DAppChain",
"main_account_mapping_text":"DAppChain - это сайдчейн сеть, разработанная на основе цепи TRON, масштабируемое решения для сети TRON. При сопоставлении с DAppChain вы получите более высокий TPS с меньшим энергопотреблением.",... |
<<<<<<<
const path = require('path');
const yaml = require('js-yaml');
=======
const {EventEmitter} = require('promise-events');
>>>>>>>
const path = require('path');
const yaml = require('js-yaml');
const {EventEmitter} = require('promise-events'); |
<<<<<<<
=======
const GitHubApi = require('github');
const debug = require('debug')('PRobot');
>>>>>>>
const debug = require('debug')('PRobot');
<<<<<<<
// Cache installations
installations.load();
// Listen for new installations
installations.listen(webhook);
=======
debug('Starting');
const github = new GitHub... |
<<<<<<<
const logger = bunyan.createLogger({
name: 'PRobot',
level: process.env.LOG_LEVEL || 'debug',
stream: bunyanFormat({outputMode: process.env.LOG_FORMAT || 'short'})
});
/** The `robot` parameter available to plugins */
=======
>>>>>>>
/** The `robot` parameter available to plugins */
<<<<<<<
/**
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.