conflict_resolution stringlengths 27 16k |
|---|
<<<<<<<
.then((credentials) => {
const seed = getSeed(credentials.data, seedIndex);
=======
.then(credentials => {
const seed = getSeed(credentials.data, 0);
>>>>>>>
.then(credentials => {
const seed = getSeed(credentials.data, seedI... |
<<<<<<<
onQRRead={(data) => this.onQRRead(data)}
hideModal={() => this._hideModal()}
backgroundColor={THEMES.getHSL(backgroundColor)}
=======
onQRRead={data => this.onQRRead(data)}
hideModal={() => ... |
<<<<<<<
import { assert } from 'ember-data/-debug';
import cloneNull from "./clone-null";
=======
import { assert } from '@ember/debug';
>>>>>>>
import cloneNull from "./clone-null";
import { assert } from '@ember/debug'; |
<<<<<<<
import { getNewAddress, formatAddressData, syncAddresses } from '../libs/iota/addresses';
import { DEFAULT_MIN_WEIGHT_MAGNITUDE, DEFAULT_DEPTH } from '../config';
=======
import { setActiveStepIndex, startTrackingProgress, reset as resetProgress } from '../actions/progress';
import {
getNewAddress,
sy... |
<<<<<<<
import { translate } from 'react-i18next';
import { Navigation } from 'react-native-navigation';
=======
import { withNamespaces } from 'react-i18next';
>>>>>>>
import { withNamespaces } from 'react-i18next';
import { Navigation } from 'react-native-navigation';
<<<<<<<
import i18next from 'i18next';
import... |
<<<<<<<
app.use(webpackDevMiddleware(compiler, {
noInfo: false,
publicPath: config.output.publicPath,
stats: {
colors: true
}
}));
=======
app.use(
webpackDevMiddleware(compiler, {
noInfo: false,
publicPath: config.output.publicPath
})
);
>>>>>>>
app.use(
webpackDe... |
<<<<<<<
import Modal from 'ui/components/modal/Modal';
import { connect } from 'react-redux';
=======
import Confirm from 'ui/components/modal/Confirm';
>>>>>>>
import Confirm from 'ui/components/modal/Confirm';
<<<<<<<
deepLinkAmount: PropTypes.object.isRequired,
/** Current seed state value */
... |
<<<<<<<
seedCount: state.accounts.accountNames.length,
=======
seedCount: state.account.accountNames.length,
isGenerated: state.seeds.isGenerated,
>>>>>>>
seedCount: state.accounts.accountNames.length,
isGenerated: state.seeds.isGenerated, |
<<<<<<<
import { clearIOTA } from '../../shared/actions/iotaActions';
import store from '../../shared/store';
import { persistStore } from 'redux-persist';
import Modal from 'react-native-modal';
import AddNewSeedModal from '../components/addNewSeedModal';
=======
import { logoutFromWallet } from '../../shared/action... |
<<<<<<<
import { withNamespaces } from 'react-i18next';
import { getSelectedAccountName } from 'shared-modules/selectors/accounts';
=======
import { translate } from 'react-i18next';
import {
getAccountNamesFromState,
getSelectedAccountName,
getSelectedAccountType,
} from 'shared-modules/selectors/account... |
<<<<<<<
import FingerprintScanner from 'react-native-fingerprint-scanner';
import THEMES from '../theme/themes';
=======
>>>>>>>
import FingerprintScanner from 'react-native-fingerprint-scanner'; |
<<<<<<<
transfers: PropTypes.object.isRequired,
/** @ignore */
=======
transfers: PropTypes.array.isRequired,
/** Create a notification message
* @param {string} type - notification type - success, error
* @param {string} title - notification title
* @param {... |
<<<<<<<
<Template>
<Main>
=======
<Template headline={t('title')}>
<Content>
>>>>>>>
<Template>
<Content>
<<<<<<<
<SeedGenerator seed={seed} onUpdatedSeed={this.onUpdatedSeed} />
<p>{this.stat... |
<<<<<<<
import merge from 'lodash/merge';
import pickBy from 'lodash/pickBy';
=======
>>>>>>>
import pickBy from 'lodash/pickBy'; |
<<<<<<<
const isValid = this.isValidAddress(address);
const dropdown = DropdownHolder.getDropdown();
=======
const addressIsValid = this.isValidAddress(address);
const tagIsValid = this.isValidTag(tag);
const messageIsValid = this.isValidMessage(message);
>>>>>>>
const... |
<<<<<<<
navStack: PropTypes.array,
=======
currentRoute: PropTypes.string.isRequired,
/** @ignore */
forceUpdate: PropTypes.bool.isRequired,
/** @ignore */
shouldUpdate: PropTypes.bool.isRequired,
>>>>>>>
navStack: PropTypes.array,
/** @ignore */
... |
<<<<<<<
<View style={styles.container}>
<View style={styles.topContainer}>
<View style={{ zIndex: 2 }}>
<Dropdown
ref={c => {
this.dropdown = c;
}}
... |
<<<<<<<
import { isValidSeed } from '../../../../shared/libs/util';
import { createRandomSeed } from 'libs/util';
import Template, { Content, Footer } from './Template';
=======
import { isValidSeed } from 'libs/util';
import { createRandomSeed } from 'libs/seedUtil';
import Template, { Main, Footer } from './Templat... |
<<<<<<<
static isValidAmount(amount, multiplier) {
=======
static isValidMessage(message) {
return iota.utils.fromTrytes(iota.utils.toTrytes(message)) === message;
}
static isValidAmount(amount) {
>>>>>>>
static isValidMessage(message) {
return iota.utils.fromTrytes(iota.utils.to... |
<<<<<<<
=======
/** Determines if wallet is broadcasting bundle */
isBroadcastingBundle: PropTypes.bool.isRequired,
/** Current transaction retry state */
isRetryingFailedTransaction: PropTypes.bool.isRequired,
>>>>>>>
/** Current transaction retry state */
isRetryingF... |
<<<<<<<
import Button from '../UI/Button';
=======
import ButtonLink from '../UI/ButtonLink';
import css from './OnboardingTemplate.css';
>>>>>>>
import Button from '../UI/Button';
import css from './OnboardingTemplate.css';
<<<<<<<
<div style={{ display: 'flex', justifyContent: 'space-between',... |
<<<<<<<
_showModal = () => this.setState({ isModalVisible: true });
_hideModal = () => this.setState({ isModalVisible: false });
_renderModalContent = () => (
<QRScanner
backgroundColor={COLORS.backgroundGreen}
ctaColor={COLORS.greenLight}
onQRRead={(data) => th... |
<<<<<<<
import { Switch, Route } from 'react-router-dom';
=======
import { connect } from 'react-redux';
>>>>>>>
import { Switch, Route } from 'react-router-dom';
import { connect } from 'react-redux'; |
<<<<<<<
import RNShakeEvent from 'react-native-shake-event'; // For HockeyApp bug reporting
import { DetectNavbar } from '../theme/androidSoftKeys';
=======
import { DetectNavbar } from '../theme/androidSoftKeys'
>>>>>>>
import { DetectNavbar } from '../theme/androidSoftKeys';
<<<<<<<
return true;
}
... |
<<<<<<<
secondaryBarColor: PropTypes.string.isRequired,
barColor: PropTypes.string.isRequired,
=======
buttonsOpacity: PropTypes.shape({ opacity: PropTypes.number.isRequired }).isRequired,
>>>>>>>
secondaryBarColor: PropTypes.string.isRequired,
barColor: Pr... |
<<<<<<<
import { translate } from 'react-i18next';
import { Styling } from 'ui/theme/general';
import { isAndroid, isIPhoneX } from 'libs/device';
=======
import { withNamespaces } from 'react-i18next';
import GENERAL from 'ui/theme/general';
import { isAndroid } from 'libs/device';
>>>>>>>
import { withNamespaces }... |
<<<<<<<
componentWillReceiveProps(newProps) {
const { wallet } = this.props;
const hasError =
!wallet.hasErrorFetchingAccountInfoOnLogin && newProps.wallet.hasErrorFetchingAccountInfoOnLogin;
if (hasError) {
this.setState({
loading: false,
... |
<<<<<<<
update: {
done: true,
error: false,
version: DESKTOP_VERSION,
notes: [],
},
=======
remotePoW: false,
>>>>>>>
update: {
done: true,
error: false,
version: DESKTOP_VERSION,
notes: [],
},
remotePoW: false, |
<<<<<<<
import {
ActivityIndicator,
StyleSheet,
View,
Text,
Image,
ListView,
Dimensions,
TouchableOpacity,
Clipboard,
} from 'react-native';
=======
import {
StyleSheet,
View,
Text,
Image,
ListView,
Dimensions,
TouchableOpacity,
Clipboard,
Status... |
<<<<<<<
import { clearTempData } from 'actions/tempAccount';
import { loadSeeds, clearSeeds } from 'actions/seeds';
=======
import { loadSeeds } from 'actions/seeds';
import { runTask } from 'worker';
>>>>>>>
import { clearTempData } from 'actions/tempAccount';
import { loadSeeds, clearSeeds } from 'actions/seeds';
... |
<<<<<<<
var get = Ember.get, set = Ember.set, getPath = Ember.getPath, fmt = Ember.String.fmt,
removeObject = Ember.EnumerableUtils.removeObject, forEach = Ember.EnumerableUtils.forEach;
=======
var get = Ember.get, set = Ember.set, fmt = Ember.String.fmt,
removeObject = Ember.EnumerableUtils.removeObject;
>... |
<<<<<<<
import Updates from 'ui/global/Updates';
=======
import Updates from 'ui/global/Updates';
>>>>>>>
import Updates from 'ui/global/Updates';
<<<<<<<
import { sendAmount } from 'actions/deepLinks';
import { ADDRESS_LENGTH } from 'libs/util';
=======
>>>>>>>
import { sendAmount } from 'actions/deepLinks';
... |
<<<<<<<
extraColor: PropTypes.object.isRequired,
negativeColor: PropTypes.object.isRequired,
=======
setCurrency: PropTypes.func.isRequired,
setTimeframe: PropTypes.func.isRequired,
extraColor: PropTypes.string.isRequired,
negativeColor: PropTypes.string.isRequired,
>>... |
<<<<<<<
navStack: PropTypes.array,
=======
currentRoute: PropTypes.string.isRequired,
/** @ignore */
forceUpdate: PropTypes.bool.isRequired,
/** @ignore */
shouldUpdate: PropTypes.bool.isRequired,
>>>>>>>
navStack: PropTypes.array.isRequired,
/** @ignor... |
<<<<<<<
<Main>
<p>{t('setPassword:nowWeNeedTo')}</p>
=======
<Content>
<p>{t('text')}</p>
>>>>>>>
<Content>
<p>{t('setPassword:nowWeNeedTo')}</p>
<<<<<<<
<p>{t('setPassword:anEncrypted... |
<<<<<<<
/** Determines if user has activated fingerprint auth */
isFingerprintEnabled: PropTypes.bool.isRequired,
=======
/** Allow deny application to minimize
* @param {boolean} status
*/
setDoNotMinimise: PropTypes.func.isRequired
>>>>>>>
/** Determines if ... |
<<<<<<<
json_main = serializer_main.extractSingle(env.store, env.store.modelFor('home-planet'), json_hash_main);
equal(env.store.hasRecordForId('super-villain', "1"), true, "superVillain should exist in store:main");
=======
json_main = serializer_main.extractSingle(env.store, HomePlanet, json_hash_main);... |
<<<<<<<
import { width, height } from '../util/dimensions';
import { isAndroid, isIOS } from '../util/device';
=======
import { height } from '../util/dimensions';
import { isAndroid } from '../util/device';
>>>>>>>
import { height } from '../util/dimensions';
import { isAndroid, isIOS } from '../util/device'; |
<<<<<<<
import { generateAlert } from 'actions/alerts';
=======
import { disposeOffAlert } from 'actions/alerts';
>>>>>>>
import { disposeOffAlert } from 'actions/alerts';
import { generateAlert } from 'actions/alerts';
<<<<<<<
componentWillMount() {
const { generateAlert, t } = this.props;
El... |
<<<<<<<
acceptedTerms: false
=======
hasVisitedSeedShareTutorial: false,
>>>>>>>
acceptedTerms: false,
hasVisitedSeedShareTutorial: false,
<<<<<<<
case ActionTypes.ACCEPT_TERMS:
return {
...state,
acceptedTerms: true,
};
=======
... |
<<<<<<<
navStack: [],
=======
forceUpdate: false,
shouldUpdate: false
>>>>>>>
navStack: [],
forceUpdate: false,
shouldUpdate: false, |
<<<<<<<
var seedArray = parse(value);
for (var item of seedArray) {
if (item.name == name) {
alertFn(
'error',
'Account name already in use',
'This account name is already linked to your w... |
<<<<<<<
=======
import keychain, { getSeed } from '../util/keychain';
import { TextField } from 'react-native-material-textfield';
import OnboardingButtons from '../components/onboardingButtons.js';
import DropdownAlert from '../node_modules/react-native-dropdownalert/DropdownAlert';
import Modal from 'react-native-m... |
<<<<<<<
const dropdown = DropdownHolder.getDropdown();
getFromKeychain(this.props.iota.password, value => {
=======
this.props.generateNewAddressRequest();
const seedIndex = this.props.tempAccount.seedIndex;
const seedName = this.props.account.seedNames[seedIndex];
cons... |
<<<<<<<
import { showError } from 'actions/notifications';
import Template, { Main, Footer } from './Template';
=======
import Template, { Content, Footer } from './Template';
>>>>>>>
import { showError } from 'actions/notifications';
import Template, { Content, Footer } from './Template';
<<<<<<<
<... |
<<<<<<<
<Image source={require('../../shared/images/iota-glow.png')} style={styles.iotaLogo} />
<View style={styles.textContainer}>
=======
<Image source={require('../images/iota-glow.png')} style={styles.iotaLogo} />
<View style={styles.titleContainer}>
>>>>>>>
<Ima... |
<<<<<<<
var clientIds = Ember.EnumerableUtils.map(ids, function(id) {
return store.clientIdForId(association.type, id);
});
=======
var clientIds;
if(association.options.embedded) {
clientIds = store.loadMany(association.type, ids).clientI... |
<<<<<<<
cb();
=======
// Keep track of this transfer in unconfirmed tails so that it can be picked up for promotion
// Would be the tail anyways.
// Also check if it was a value transfer
if (value) {
... |
<<<<<<<
seed: '',
seedValid: this.props.selectedSeed.seed,
=======
seed: '',
>>>>>>>
seed: '',
seedValid: this.props.selectedSeed.seed,
<<<<<<<
<Main>
<SeedInput
seed={seed}
onChange={this.onC... |
<<<<<<<
import { selectLocale } from '../components/locale';
import { Icon } from '../theme/icons.js';
=======
import { selectLocale } from 'iota-wallet-shared-modules/libs/locale';
>>>>>>>
import { Icon } from '../theme/icons.js'; |
<<<<<<<
import { translate } from 'react-i18next';
import { StyleSheet, View, Text, ListView, Dimensions, StatusBar, Platform } from 'react-native';
=======
import {
StyleSheet,
View,
Text,
ListView,
Dimensions,
StatusBar,
Platform,
TouchableWithoutFeedback,
} from 'react-native';
>>>... |
<<<<<<<
<Main>
<p>{t('welcome:thankYou')}</p>
<p>{t('welcome:weWillSpend')}</p>
=======
<Content>
<p>{t('text1')}</p>
<p>{t('text2')}</p>
>>>>>>>
<Content>
... |
<<<<<<<
de: require('../../../shared/locales/de/translation.json'),
=======
// de: { 'Common': require('../../../shared/locales/de/translation.json') },
// en: { 'Common': require('../../../shared/locales/en/translation.json') },
// 'es-ES': { 'Common': require('../../../shared/locales... |
<<<<<<<
var Comment, Post, env;
var run = Ember.run;
=======
var env;
>>>>>>>
var Post, env;
var run = Ember.run;
<<<<<<<
run(function(){
post.save().then(function() {}, async(function() {
ok(true, 'save operation was rejected');
}));
});
=======
Ember.run(function(){
post.save().then(func... |
<<<<<<<
var allowNegative = options.allowNegative;
// skip everything that isn't a number
// and also skip the left zeroes
function to_numbers (str)
{
var formatted = '';
for (var i=0;i<(str.length);i++)
{
char_ = str.charAt(i);
if (formatted.length==0 && char_==0) char_ = false;
... |
<<<<<<<
getLatestAddresses,
formatAddressesAndBalance,
=======
formatFullAddressData,
calculateBalance,
>>>>>>>
formatAddressesAndBalance, |
<<<<<<<
/**
* Navigation stack
*/
navStack: [],
=======
/**
* Determines whether user should update
*/
shouldUpdate: false,
/**
* Determines whether user is forced to update
*/
forceUpdate: false,
>>>>>>>
/**
* Navigation stack
*/
navStack: [],
... |
<<<<<<<
=======
import { changePowSettings, changeAutoPromotionSettings, setLockScreenTimeout } from 'actions/settings';
import { completeSnapshotTransition, setBalanceCheckFlag } from 'actions/wallet';
import { generateAlert } from 'actions/alerts';
>>>>>>>
<<<<<<<
this.props.toggleModalActivity();
... |
<<<<<<<
EMPTY_ADDRESS_DATA: 'Empty address data.',
=======
INVALID_INPUT: 'Invalid input.',
INVALID_TRANSFER: 'Invalid transfer.',
CANNOT_SWEEP_TO_SAME_ADDRESS: 'Cannot sweep to same address.',
BALANCE_MISMATCH: 'Balance mismatch.',
PROMOTIONS_LIMIT_REACHED: 'Promotions limit reached.',
EM... |
<<<<<<<
=======
minispade.register('ember-data/~test-setup', function() {
Ember.RSVP.configure('onerror', function(reason) {
// only print error messages if they're exceptions;
// otherwise, let a future turn of the event loop
// handle the error.
if (reason && reason instanceof Error) {... |
<<<<<<<
import { clearTempData, setPassword, setSetting, setSeedIndex } from '../../shared/actions/tempAccount';
import {
setFirstUse,
getAccountInfoNewSeed,
increaseSeedCount,
addAccountName,
changeAccountName,
removeAccount,
} from '../../shared/actions/account';
import { setNode, getCurrencyD... |
<<<<<<<
});
/**
* Dispatch to push to navigation stack
*
* @method pushRoute
* @param {string} payload
*
* @returns {{ type: {string}, payload: {string} }}
*/
export const pushRoute = (payload) => {
return {
type: ActionTypes.PUSH_ROUTE,
payload,
};
};
/**
* Dispatch to pop from naviga... |
<<<<<<<
const { remotePoW, updatePowSettings, lockScreenTimeout, ui, t } = this.props;
// snapshot transition
const { isTransitioning, isAttachingToTangle, isModalActive, transitionBalance } = this.props;
=======
const { remotePoW, changePowSettings, lockScreenTimeout, ui, t } = this.... |
<<<<<<<
keychain
.get()
.then((credentials) => {
const hasData = get(credentials, 'data');
const hasCorrectPassword = get(credentials, 'password') === password;
if (hasData && hasCorrectPassword) {
=======
... |
<<<<<<<
import { clearWalletData } from 'actions/wallet';
import { getUpdateData } from 'actions/settings';
=======
import { parseAddress } from 'libs/util';
import { clearTempData } from 'actions/tempAccount';
import { getUpdateData, updateTheme } from 'actions/settings';
>>>>>>>
import { parseAddress } from 'libs... |
<<<<<<<
});
/**
* Dispatch to push to navigation stack
*
* @method pushRoute
* @param {string} payload
*
* @returns {{ type: {string}, payload: {string} }}
*/
export const pushRoute = (payload) => {
return {
type: ActionTypes.PUSH_ROUTE,
payload,
};
};
/**
* Dispatch to pop from naviga... |
<<<<<<<
/*
Copyright 2012 Adobe Systems, Incorporated
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License http://creativecommons.org/licenses/by-nc-sa/3.0/ .
Permissions beyond the scope of this license, pertaining to the examples of code included within this work a... |
<<<<<<<
window.open('call-tool.html?phoneNumber=' + phoneNumber, "Call congress", "width=786,height=900");
=======
window.open('call-tool.html?phoneNumber=' + phoneNumber, "_blank", "width=800,height=800");
>>>>>>>
window.open('call-tool.html?phoneNumber=' + phoneNumber, "_b... |
<<<<<<<
},
'test .parseComments() on single star comments with singleStar=false': function (done) {
fixture('single.js', function(err, str){
var comments = dox.parseComments(str, { singleStar: false });
comments.should.have.lengthOf(1);
comments[0].tags.should.be.empty;
comments[0].code... |
<<<<<<<
return 'private' == tag.visibility;
});
=======
return 'api' == tag.type && 'private' == tag.visibility;
})
comment.isConstructor = comment.tags.some(function(tag){
return 'constructor' == tag.type || 'augments' == tag.type;
})
>>>>>>>
return 'private' == tag.visibilit... |
<<<<<<<
},
'test .parseTag() @augments': function(){
var tag = dox.parseTag('@augments otherClass');
tag.type.should.equal('augments');
tag.otherClass.should.equal('otherClass')
},
'test .parseTag() @author': function(){
var tag = dox.parseTag('@author Bob Bobson');
tag.type.should.equal('... |
<<<<<<<
var sql = this.QueryGenerator.selectQuery(tableName, options, factory)
=======
// See if we need to merge options and factory.scopeObj
// we're doing this on the QueryInterface level because it's a bridge between
// sequelize and the databases
if (Object.keys(factory.scopeObj).length > 0) ... |
<<<<<<<
=======
if(!this._duration) this._duration = this.tag.duration * 1000;
>>>>>>> |
<<<<<<<
if (this.$options && this.$options.include && this.$options.includeNames.indexOf(key) !== -1 && value) {
=======
if (this.options && this.options.include && this.options.includeNames.indexOf(key) !== -1) {
>>>>>>>
if (this.$options && this.$options.include && this.$options.includeNames.inde... |
<<<<<<<
associatedObject[self.__factory.identifier] = null
return associatedObject[associationKey]
=======
associatedObject[self.__factory.identifier] = (newAssociations.length < 1 ? null : self.instance.id)
return associatedObject.id
>>>>>>>
associatedObject[self.__factory.id... |
<<<<<<<
if (typeof prepend === 'undefined')
prepend = true
if (Utils.isHash(smth)) {
if (prepend) {
smth = Utils.prependTableNameToHash(tableName, smth)
}
=======
result = "(" + result + ")"
} else if (Utils.isHash(smth)) {
smth = Utils.prependTab... |
<<<<<<<
ssl: undefined,
pool: {}
=======
pool: {},
quoteIdentifiers: true,
language: 'en'
>>>>>>>
ssl: undefined,
pool: {},
quoteIdentifiers: true,
language: 'en' |
<<<<<<<
/**
* Builds a new model instance and calls save on it.
* @see {DAO#build}
* @see {DAO#save}
*
* @param {Object} values
* @param {Object} [options]
* @param {Boolean} [options.raw=false] If set to true, values will ignore field and virtual setters.
* @param {B... |
<<<<<<<
* @param {Object} [options]
* @param {Boolean} [options.cascade=false] Also drop all objects depending on this table, such as views. Only works in postgres
* @param {Function} [options.logging=false] A function that gets executed while running the query to log the sql.
* @param {Boolean} [options.be... |
<<<<<<<
if(dataType.references) {
template += " REFERENCES " + this.quoteIdentifier(dataType.references)
if(dataType.referencesKey) {
template += " (" + this.quoteIdentifier(dataType.referencesKey) + ")"
} else {
template += " (" + this.quoteId... |
<<<<<<<
self.connections[options.uuid] = new self.lib.Database(self.sequelize.options.storage || self.sequelize.options.host || ':memory:', function(err) {
=======
self.connections[options.inMemory || options.uuid] = new self.lib.Database(self.sequelize.options.storage || ':memory:', function(err) {
>>>>>>>
... |
<<<<<<<
=======
>>>>>>>
<<<<<<<
// Test simple writing
=======
// Test simple writing
>>>>>>>
// Test simple writing
<<<<<<<
testWrite('Handles closed self-closing tags that\'re closed w/ a slash.', function(ctx) {
ctx.writeln(
'<div><object><param name="allowFullScreen" value="true" ... |
<<<<<<<
const {
MsWorkspaceCategory,
} = Me.imports.src.layout.msWorkspace.msWorkspaceCategory;
=======
const { getSettings } = Me.imports.src.utils.settings;
>>>>>>>
const {
MsWorkspaceCategory,
} = Me.imports.src.layout.msWorkspace.msWorkspaceCategory;
const { getSettings } = Me.imports.src.utils.settings... |
<<<<<<<
this.callSafely(metaWindow, () => {
const actor = metaWindow.get_compositor_private();
const oldRect = metaWindow.get_frame_rect();
=======
this.callSafely(metaWindow, metaWindowInside => {
const actor = metaWindowInside.get_compositor_private();
... |
<<<<<<<
=======
app.set('views', __dirname + '/views');
app.engine('html', require('ejs').renderFile);
app.use(function(req, res, next) {
req.headers['if-none-match'] = 'no-match-for-this';
next();
});
>>>>>>>
app.set('views', __dirname + '/views');
app.engine('html', require('ejs').renderFile);
app.use... |
<<<<<<<
import MainContainer from '../src/components/MainContainer.jsx'
=======
import 'animate.css/animate.min.css';
import './styles/styles.css';
import Features from './components/Features.jsx';
import Hero from './components/Hero.jsx';
import TopNavBar from './components/TopNavBar.jsx';
import 'bootstrap/dist/cs... |
<<<<<<<
<legend>Setup Mode</legend>
<input
type="checkbox"
name="showSetup"
id="showSetup"
defaultChecked={config.showSetup}
onChange={this.handleConfig}
/>
<label htmlFor="showSetup">Toggle</label>
... |
<<<<<<<
if( params && params[ "filterSele" ] ){
what[ "index" ] = true;
}
=======
if( params && params[ "volume" ] !== undefined ){
what[ "color" ] = true;
}
>>>>>>>
if( params && params[ "filterSele" ] ){
what[ "index" ] = true;
}... |
<<<<<<<
media_overlay : {
duration : packageDocJson.metadata.mediaDuration,
narrator : packageDocJson.metadata.mediaNarrator,
activeClass : packageDocJson.metadata.mediaActiveClass,
playbackActiveClass : packageDocJson.metad... |
<<<<<<<
=======
componentDidMount() {
document.title = "Home";
var self = this;
// var api = "https://phodal.github.io/mole-test/api/all.json";
// fetch(api)
// .then(function (response) {
// return response.json();
// })
// .then(function (data) {
// localStorage.se... |
<<<<<<<
atomname1 = ccb.atom_id_1[ i ];
atomname2 = ccb.atom_id_2[ i ];
bondOrder = getBondOrder( ccb.value_order[ i ] );
=======
atomname1 = ccb.atom_id_1[ i ].replace( reDoubleQuote, '' );
atomname2 = ccb.atom_id_2[ i ].replace( reDoubleQuote, '' );
... |
<<<<<<<
this._handleShowThumbnailsChanged();
=======
this._handleWraparoundModeChanged();
>>>>>>>
this._handleShowThumbnailsChanged();
this._handleWraparoundModeChanged();
<<<<<<<
this.settingsHandlerShowThumbnails = this.settings.connect(
'changed::show-thumbnails',
... |
<<<<<<<
import {Box, Heading, Text, Absolute, Relative} from '@primer/components'
=======
import {Box, Heading, Text, Link, FlexItem} from '@primer/components'
>>>>>>>
import {Box, Heading, Text, FlexItem, Absolute, Relative} from '@primer/components'
<<<<<<<
</Box>
</Box>
</Box>
)
}
=======
... |
<<<<<<<
var value;
=======
var value;
>>>>>>>
var value;
<<<<<<<
value = options.value;
if (options.debounce) HOTDRINK_DEBOUNCE_THRESHOLD = options.debounce;
if (options.toView || options.toModel || options.validate) {
if (!hd.isScratch(value)) {
value = hd.scr... |
<<<<<<<
dest: 'dist',
themeConfig: {
sidebar: [
['/', '前言'],
{
title: '第一章 准备工作',
children: [
['/准备工作/React理念', 'React理念']
]
}
]
}
=======
dest: 'dist',
serviceWorker: false,
themeConfig: {
repo: 'BetaSu/just-react',
editLinks: true,
... |
<<<<<<<
datasetIndex: datasetIndex,
// encode: {
// itemName: dimName,
// value: meaName
// },
=======
>>>>>>>
datasetIndex: datasetIndex,
// encode: {
// itemName: dimName,
// value: meaName
// }, |
<<<<<<<
questions.push({
name: 'stage',
message: 'Stage',
type: 'list',
choices: () => envs
})
} else {
if (!opts.env) { throw new Error('No aliases found, please deploy your functions before trying to look at their logs') }
=======
questions = [
{
name: 'env',
... |
<<<<<<<
=======
* An event which is occurring when the a button is released.
* Issued object: {@link enchant.Game}, {@link enchant.Scene}
* @type {String}
*/
enchant.Event.A_BUTTON_UP = 'abuttonup';
/**
* An event which is occurring when the b button is pressed.
* Issued object: {@link enchant.Game}, {@link en... |
<<<<<<<
* 発行するオブジェクト: {@link enchant.Game}
=======
* 発行するオブジェクト: enchant.Core
>>>>>>>
* 発行するオブジェクト: enchant.Core
<<<<<<<
* An event dispatched upon completion of game loading.
=======
* Event activated upon completion of core loading.
>>>>>>>
* Event activated upon completion of core loading.
<<<<<<<
* I... |
<<<<<<<
* @scope enchant.Entity.prototype
=======
* @scope enchant.Entity.prototype
>>>>>>>
* @scope enchant.Entity.prototype
<<<<<<<
=======
//this._collectizeConstructor();
this.enableCollection();
>>>>>>>
<<<<<<<
if (this._dirty) {
this._updateCoordinate();
} i... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.