conflict_resolution stringlengths 27 16k |
|---|
<<<<<<<
import {fetchSelf} from './SelfAction';
import {setLocalStorage, LocalStorageKey} from './LocalStorageAction';
=======
>>>>>>>
import {setLocalStorage, LocalStorageKey} from './LocalStorageAction';
<<<<<<<
.then(() => core.login(loginData))
.then(() => persistAuthData(loginData.persist, core, di... |
<<<<<<<
window.z.viewModel = z.viewModel || {};
window.z.viewModel.content = z.viewModel.content || {};
z.viewModel.content.PreferencesDevicesViewModel = class PreferencesDevicesViewModel {
constructor(mainViewModel, contentViewModel, repositories) {
this.click_on_remove_device = this.click_on_remove_device.bind... |
<<<<<<<
const reason = z.util.get_url_parameter(z.auth.URLParameter.REASON);
if (reason) {
const isReasonRegistration = reason === z.auth.SIGN_OUT_REASON.ACCOUNT_REGISTRATION;
if (isReasonRegistration) {
return this._loginFromTeams();
}
=======
const reason = z.util.URLUtil.getPa... |
<<<<<<<
constructor(mainViewModel, contentViewModel, repositories) {
this.client_repository = repositories.client;
this.conversation_repository = repositories.conversation;
this.cryptography_repository = repositories.cryptography;
this.logger = new z.util.Logger('z.viewModel.content.PreferencesDeviceD... |
<<<<<<<
this.container = dom.container;
if (Kiwi.TARGET === Kiwi.TARGET_BROWSER) {
this.offset = this._game.browser.getOffsetPoint(this.container);
this.position.setTo(this.offset.x, this.offset.y);
this.size.setTo(parseInt(this.container.style.wid... |
<<<<<<<
//If a default animation already exists
=======
>>>>>>>
<<<<<<<
//Otherwise create one.
=======
>>>>>>>
<<<<<<<
/**
* Gets the cell that the current Animation is current at. This is READ ONLY.
=======
get: /**
... |
<<<<<<<
_dispatchEvent(this, rootEl, 'unchoose', dragEl, rootEl, oldIndex, null, evt);
=======
_dispatchEvent(this, rootEl, 'unchoose', dragEl, parentEl, rootEl, oldIndex);
>>>>>>>
_dispatchEvent(this, rootEl, 'unchoose', dragEl, parentEl, rootEl, oldIndex, null, evt);
<<<<<<<
_dispatchEvent(n... |
<<<<<<<
_on(document, 'dragover', this);
if (!supportDraggable) {
this._onDragStart(tapEvt, true);
}
=======
>>>>>>>
if (!supportDraggable) {
this._onDragStart(tapEvt, true);
}
<<<<<<<
_off(document, 'dragover', this);
_off(document, 'mousemove', this._onTouchMove);
=======
... |
<<<<<<<
/**
* @param {import('vscode-textmate').IToken} token
* @param {import('vscode-textmate').ITokenizeLineResult2} binaryTokens
*/
function getMetadataForToken(token, binaryTokens) {
const index = binaryTokens.tokens.findIndex((_, i) => {
return !(i % 2) && binaryTokens.tokens[i + 2] > token.startIndex;
... |
<<<<<<<
// The sprite's current transform, with appropriate caching so that
// you don't trigger reflows.
=======
get _$element() {
if (!this.__$element) {
this.__$element = $(this.element);
}
return this.__$element;
}
/**
Returns the sprite's current transform, with appropriate cachi... |
<<<<<<<
var fs = require('fs');
var path = require('path');
=======
var path = require('path');
var fs = require('fs');
var mergeTrees = require('broccoli-merge-trees');
var pickFiles = require('broccoli-static-compiler');
var es3SafeRecast = require('broccoli-es3-safe-recast');
function LiquidFire(p... |
<<<<<<<
const { setWinner } = require('./winner/action-creator')
=======
const { roomName, convertStateForFrontEnd } = require('./utils')
>>>>>>>
const { setWinner } = require('./winner/action-creator')
const { roomName, convertStateForFrontEnd } = require('./utils')
<<<<<<<
const roomName = (connectedSocket, rooms... |
<<<<<<<
import { initCannon, init, animate, controls } from '../game/main';
import { Login } from './Login';
const fontStyle = {
'fontSize': '40px'
}
=======
import { initCannon, init, animate } from '../game/main';
import Blocker from './Blocker';
>>>>>>>
import { initCannon, init, animate, controls } from '../g... |
<<<<<<<
=======
store.dispatch(removePlayerBombs(socket.id))
io.sockets.emit('remove_player', socket.id)
>>>>>>>
store.dispatch(removePlayerBombs(socket.id)) |
<<<<<<<
// window.ieShivDebug = true;
// uncomment above if you want to test
(function(exports) {
=======
(function (exports) {
>>>>>>>
(function (exports) {
<<<<<<<
=======
>>>>>>>
<<<<<<<
}
=======
}
>>>>>>>
} |
<<<<<<<
import {tokensPage} from "../settings";
import getColorFills from '../getSketchData/getColorFills';
import getTypography from '../getSketchData/getTypographyFonts';
import getSvgPaths from '../getSketchData/getSvgPaths';
import getUtils from '../getSketchData/getUtils';
=======
import { mainSketchFile, tokens... |
<<<<<<<
onFormFactorSelect: PropTypes.func.isRequired,
onRecordIdUpdate: PropTypes.func.isRequired,
onViewRecordClick: PropTypes.func.isRequired,
=======
depGraph: PropTypes.object,
>>>>>>>
onFormFactorSelect: PropTypes.func.isRequired,
onRecordIdUpdate: PropTypes.func.isRequired,
onViewRecordClick: Pr... |
<<<<<<<
Use S3, Azure, GCP, SSH, Aliyun OSS, SFTP, rsync or any network-attached storage to store data. The
list of supported protocols is constantly expanding.
=======
Use S3, Azure, GCP, SSH, SFTP, rsync or any network-attached storage
to store data. The list of suppo... |
<<<<<<<
<LocalLink href="/doc/tutorials/get-started" as={Button} first>
=======
<LocalLink href="/doc/get-started" as={Button} first="true">
>>>>>>>
<LocalLink href="/doc/tutorials/get-started" as={Button} first="true"> |
<<<<<<<
margin-left: 20px;
=======
width: auto;
height: calc(100% - 60px);
padding-left: 20px;
>>>>>>>
height: calc(100% - 60px);
padding-left: 20px; |
<<<<<<<
message: 'What is the name of your Firebase project (this must match the name on your firebase console)?',
validate(input) {
if (/^([A-Za-z\-_\d])+$/.test(input)) return true;
return 'Firebase project name may only include letters, numbers, underscores and hashes.';
}... |
<<<<<<<
const status = new Spinner("Forging 🔨, please wait...", [
"🔥",
"🔥",
"🔥",
"🔥",
"💥",
"💥",
"💥",
"💥",
"⚡",
"⚡",
"⚡",
"⚡",
"🌋",
"🌋",
"🌋",
"🌋"
]);
// AWS.config.update({ region: 'us-west-2' });
// const elasticbeanstalk = new AWS.ElasticBeanstalk();
let answers;
let config... |
<<<<<<<
if ( response.license ) {
changeLicense(response.license);
fetchOptions().then(r => {
setSettings(r);
});
}
=======
changeLicense(response.license);
fetchOptions().then(r => {
setSettings(r);
refreshSites();
});
>>>>>>>
if ( response.license ) {
changeLicense(re... |
<<<<<<<
SHADOWS_BITE: {
id: 272944,
name: 'Shadow\'s Bite',
icon: 'spell_shadow_painspike',
},
SHADOWS_BITE_BUFF: {
id: 272945,
name: 'Shadow\'s Bite',
icon: 'spell_shadow_painspike',
},
FORBIDDEN_KNOWLEDGE: {
id: 278738,
name: 'Forbidden Knowledge',
icon: 'inv_offhand_hyj... |
<<<<<<<
it('should update styling', function() {
expect(this.typeaheadView.$node).toHaveCss({ direction: 'rtl' });
expect(this.dropdownView.setLanguageDirection)
.toHaveBeenCalledWith('rtl');
=======
it('should update language class name', function() {
expect(this.typeahead... |
<<<<<<<
'adding-suggested-searches',
'using-recent-searches-plugin',
=======
'using-query-suggestions-plugin',
'adding-recent-searches',
>>>>>>>
'adding-suggested-searches',
'adding-recent-searches', |
<<<<<<<
describe('if query is a blank string', function() {
beforeEach(function() {
this.inputView.getQuery.andReturn(' ');
this.inputView.trigger('queryChange');
});
it('should not call dropdownView.renderSuggestions for each dataset',
function() {
expect(this.drop... |
<<<<<<<
var utils = __webpack_require__(2);
var dragOptions = __webpack_require__(3);
var rootRef = new Firebase(utils.urls.root);
var furnitureRef = new Firebase(utils.urls.furniture);
var furnitureTemplates = {
desk: "<div class='editor-furniture editor-desk'></div>",
plant: "<div class='editor-furniture... |
<<<<<<<
this._needAdvance = true;
=======
if (!this._stage) {
this._currentFrame = 1;
}
>>>>>>>
if (!this._stage) {
this._currentFrame = 1;
}
this._needAdvance = true; |
<<<<<<<
updateFlashRefs('examples/inspector/inspector.html', 'src');
updateFlashRefs('test/harness/slave.html', 'src');
updateFlashRefs('examples/xlsimport/index.html', 'src');
updateFlashRefs('examples/inspector/inspector.player.html', 'src');
=======
updateFlashRefs('examples/inspector/inspector... |
<<<<<<<
var frameConstructed = new Promise;
avm2.systemDomain.onMessage.register(function waitForFrame(e) {
if (e.data.type === 'frameConstructed') {
frameConstructed.resolve();
avm2.systemDomain.onMessage.unregister(waitForFrame);
}
});
Promis... |
<<<<<<<
this.dispatchEvent(new NetStatusEvent(NetStatusEvent.class.NET_STATUS,
false, false, { level : 'status', code : 'NetConnection.Connect.Success'}));
} else {
this.dispatchEvent(new NetStatusEvent(NetStatusEvent.class.NET_STATUS,
false, false... |
<<<<<<<
var GREEN = '\033[92m';
var RED = '\033[91m';
var ENDC = '\033[0m';
var PASS_PREFIX = GREEN + "PASS: " + ENDC;
var FAIL_PREFIX = RED + "FAIL: " + ENDC;
=======
var manifestFile = null;
>>>>>>>
var GREEN = '\033[92m';
var RED = '\033[91m';
var ENDC = '\033[0m';
var PASS_PREFIX = GREEN + "PASS: " + ENDC;
v... |
<<<<<<<
=======
}
/**
* SwaggerHttp is a wrapper for executing requests
*/
var SwaggerHttp = function () { };
SwaggerHttp.prototype.execute = function (obj) {
if (obj && (typeof obj.useJQuery === 'boolean'))
this.useJQuery = obj.useJQuery;
else
this.useJQuery = this.isIE8();
if (this.useJQuery)
... |
<<<<<<<
visit: function (obj) {
if (MovieClipClass.isInstanceOf(obj)) {
if (obj.isPlaying()) {
obj.nextFrame();
=======
visit: function (child, isContainer, interactiveParent) {
if (MovieClipClass.isInstanceOf(child)) {
if (child.isPlaying()) {
var currentFrame ... |
<<<<<<<
function resolveMultiname(obj, mn) {
assert(!Multiname.isQName(mn), mn, " already resolved");
=======
function resolveMultiname(obj, mn, traitsOnly) {
release || assert(!Multiname.isQName(mn), mn, " already resolved");
>>>>>>>
function resolveMultiname(obj, mn) {
release || assert(!Multiname.isQName(mn... |
<<<<<<<
initialize: function () {
this._alpha = 1;
this._animated = false;
this._cacheAsBitmap = false;
this._control = document.createElement('div');
this._bbox = null;
this._cxform = null;
this._graphics = null;
this._loaderInfo = null;
this._mouseX = 0;
... |
<<<<<<<
if (b && b.width && b.height) {
child._wireframeStrokeStyle = randomStyle();
=======
if (b && b.xMax - b.xMin > 0 && b.yMax - b.yMin > 0) {
child._wireframeStrokeStyle = '#'+('00000'+(Math.random()*(1<<24)|0).toString(16)).slice(-6);
>>>>>>>
if (b && b.xMax - b.xMin > 0 && b... |
<<<<<<<
if (replace)
this._control.replaceChild(instance._control, current._control);
else
this._control.appendChild(instance._control);
=======
instance.dispatchEvent(new flash.events.Event("load"));
>>>>>>>
if (replace)
th... |
<<<<<<<
=======
getBounds: function (targetCoordSpace) {
var bbox = this._bbox;
if (!bbox)
return new flash.geom.Rectangle;
var p1 = {x: bbox.left, y: bbox.top};
this._applyCurrentTransform(p1, targetCoordSpace);
var p2 = {x: bbox.right, y: bbox.top};
this._applyCurre... |
<<<<<<<
onRowClick: PropTypes.func,
=======
resizableColumns: PropTypes.bool,
>>>>>>>
onRowClick: PropTypes.func,
resizableColumns: PropTypes.bool, |
<<<<<<<
sortDirection: 'none',
sortFn: null,
=======
>>>>>>>
sortFn: null, |
<<<<<<<
<Paper
elevation={this.options.elevation}
ref={this.tableContent}
className={classnames(classes.paper, className)}>
{selectedRows.data.length > 0 && this.options.selectToolbarPlacement !== SELECT_TOOLBAR_PLACEMENT_OPTIONS.NONE && (
=======
<Paper elevation={this.opt... |
<<<<<<<
searchText: null,
isPrinting: false,
=======
sortOrder: {},
>>>>>>>
searchText: null,
sortOrder: {},
<<<<<<<
<Paper elevation={this.options.elevation} className={paperClasses} ref={this.tableContent}>
{selectedRows.data.length && this.options.disableToolbarSelect !== true ?... |
<<<<<<<
customFilterListRender: renderCustomFilterList,
sortFn: null,
=======
customFilterListOptions: { render: renderCustomFilterList },
>>>>>>>
sortFn: null,
customFilterListOptions: { render: renderCustomFilterList },
<<<<<<<
sortDirection: 'none',
sortFn:... |
<<<<<<<
alwaysRenderToolbar: false,
=======
setTableProps: () => ({}),
>>>>>>>
setTableProps: () => ({}),
alwaysRenderToolbar: false,
<<<<<<<
{selectedRows.data.length > 0 && (
=======
{selectedRows.data.length && this.options.disableToolbarSelect !== true ? (
>>>>>>>
{sel... |
<<<<<<<
tableBodyHeight: 'auto',
tableBodyMaxHeight: null, // if set, it will override tableBodyHeight
=======
sortOrder: {},
>>>>>>>
tableBodyHeight: 'auto',
tableBodyMaxHeight: null, // if set, it will override tableBodyHeight
sortOrder: {},
<<<<<<<
if (!['standard', 'vertical', 'simpl... |
<<<<<<<
import ArrayValueColumns from "./array-value-columns";
import ColumnFilters from "./column-filters";
import ColumnOptionsUpdate from "./column-options-update";
import Component from "./component";
import CSVExport from "./csv-export";
import CustomActionColumns from "./custom-action-columns";
import CustomizeCo... |
<<<<<<<
restrictions: {},
=======
tabindex: -1,
>>>>>>>
restrictions: {},
tabindex: -1,
<<<<<<<
this.get('autocomplete').addListener('place_changed', () => { this.placeChanged(); });
}),
getAutocomplete: function(){
if( Ember.isEmpty(this.get('autocomplete')) ){
let inputElement = documen... |
<<<<<<<
return socket && (
(socket.socket && socket.socket.connected) || socket.connected
);
=======
return (socket &&
( ( socket.socket && socket.socket.connected)
|| socket.connected ));
>>>>>>>
return socket && (
(socket.socket &&... |
<<<<<<<
/**
=======
/**
>>>>>>>
/**
<<<<<<<
this.getSourceList = function(callback, kind) {
// "getSources" will be replaced with "getMediaDevices", check the for available method.
var getMediaDevices = MediaStreamTrack.getMediaDevices || MediaStreamTrack.getSources;
if(g... |
<<<<<<<
this.route('modal');
=======
this.route('growable-with');
>>>>>>>
this.route('modal');
this.route('growable-with'); |
<<<<<<<
_transition() {
var versions = get(this, 'versions');
var transition;
var firstTime = this.firstTime;
=======
_transition: function() {
let versions = get(this, 'versions');
let transition;
let firstTime = this.firstTime;
>>>>>>>
_transition() {
let versions = get(this, 'ver... |
<<<<<<<
const timeformatInput = $('#settings-timeformat-input')
=======
const batteryInput = $('#settings-battery-input')
>>>>>>>
const timeformatInput = $('#settings-timeformat-input')
const batteryInput = $('#settings-battery-input')
<<<<<<<
timeformat: localStorage.getItem('timeformat') || '12',
=... |
<<<<<<<
workingFolder: outDir,
pluginsConfigurationDirectory: Platform.pluginsConfigurationDirectory,
=======
workingFolder: `${Platform.rootDirectory}/containergen`,
>>>>>>>
workingFolder: outDir,
<<<<<<<
workingFolder: outDir,
pluginsConfigurationDirectory: Platform.pluginsConf... |
<<<<<<<
get text () {
return this.generateString('pg')
}
get sql () {
return this.generateString('mysql')
}
append (statement) {
=======
append (statement, options) {
if (!statement) {
return this
}
if (!(statement instanceof SqlStatement)) {
throw new Error('"append" ac... |
<<<<<<<
import s3 from 's3-client'
=======
>>>>>>> |
<<<<<<<
url += '&scope=' + encodeURIComponent(scopes.join(' '));
=======
url += '&scope=' + encodeURIComponent(scopes);
url += '&state=' + encodeURIComponent(state);
>>>>>>>
url += '&scope=' + encodeURIComponent(scopes.join(' '));
url += '&state=' + encodeURIComponent(state); |
<<<<<<<
utils.toArray(els).forEach(function (el) {
if (pseudoElementType) {
var pseudoElPropName = "pseudo" + pseudoElementType;
var pseudoEl = el[pseudoElPropName];
if ( ! pseudoEl) {
pseudoEl = el[pseudoElPropName] = document.createElement("span");
pseudoEl.pseudo... |
<<<<<<<
=======
// TODO: Add any missing properties
this._copyProperties(report, this, ["name", "fontSize", "autoPrint", "paperSize", "paperOrientation"]);
if (report.formatterFunctions) {
this.setConfig('formatterFunctions', report.formatterFunctions);
}
>>>>>>>
... |
<<<<<<<
this._deleteProperties(['top','left','width', 'height']);
=======
this._deleteProperties(['top', 'left', 'width', 'height']);
>>>>>>>
this._deleteProperties(['top', 'left', 'width', 'height']);
<<<<<<<
this._addProperties( {type: 'button', field: 'totals', title: 'Totals', c... |
<<<<<<<
dependencies: ["converse-chatview", "converse-headlines-view", "converse-muc-views"],
=======
dependencies: ["converse-chatview", "converse-headline", "converse-muc-views", "converse-mouse-events"],
>>>>>>>
dependencies: ["converse-chatview", "converse-headlines-view", "converse-muc-views", "conv... |
<<<<<<<
// Constants
var UNENCRYPTED = 0;
var UNVERIFIED= 1;
var VERIFIED= 2;
var FINISHED = 3;
var KEY = {
ENTER: 13
};
// Default values
this.allow_muc = true;
this.allow_otr = true;
=======
// Default values
... |
<<<<<<<
tpl_status_message,
tpl_toolbar
=======
tpl_toolbar,
filetransfer
>>>>>>>
tpl_status_message,
tpl_toolbar,
filetransfer |
<<<<<<<
hideElement: function (el) {
el.classList.add('hidden');
},
toggleElement: function (el) {
if (_.includes(el.classList, 'hidden')) {
// XXX: use fadeIn?
el.classList.remove('hidden');
} else {
this.hideE... |
<<<<<<<
=======
this["Handlebars"]["templates"]["param"] = Handlebars.template({"1":function(depth0,helpers,partials,data) {
var stack1, buffer = "";
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0.isFile : depth0), {"name":"if","hash":{},"fn":this.program(2, data),"inverse":this.program(4, data),"da... |
<<<<<<<
_converse.core_plugins = ['converse-bookmarks', 'converse-caps', 'converse-chatboxes', 'converse-chatview', 'converse-controlbox', 'converse-core', 'converse-disco', 'converse-dragresize', 'converse-embedded', 'converse-fullscreen', 'converse-headline', 'converse-mam', 'converse-message-view', 'converse-minim... |
<<<<<<<
'crypto.aes': {
exports: 'CryptoJS'
},
'tinysort': { deps: ['jquery'] },
=======
'jquery.tinysort': { deps: ['jquery'] },
>>>>>>>
'crypto.aes': {
exports: 'CryptoJS'
},
'jquery.tinysort': { deps: ['jquery'] }, |
<<<<<<<
if (_.includes(['mobile', 'fullscreen'], _converse.view_mode)) {
el.classList.add('fullscreen');
}
// Converse.js expects a <body> tag to be present.
document.querySele... |
<<<<<<<
describe("The Controlbox Tabs", $.proxy(function () {
beforeEach($.proxy(function () {
// Close any remaining open chatboxes
var i, chatbox, num_chatboxes = this.chatboxes.models.length;
for (i=0; i<num_chatboxes; i++) {
cha... |
<<<<<<<
utils.addEmoticons = function (_converse, emojione, text) {
return emojione.shortnameToUnicode(text);
}
utils.marshallEmojis = function (emojione) {
/* Return a dict of emojis with the categories as keys and
* lists of emojis in that category as values.
*/
... |
<<<<<<<
vibrate: function(param) {
/* Aligning with w3c spec */
//vibrate
if ((typeof param == 'number') && param != 0)
exec(null, null, "Vibration", "vibrate", [param]);
//vibrate with array ( i.e. vibrate([3000]) )
else if ((typeof param == 'object') ... |
<<<<<<<
login: function(creds) {
creds = creds || {};
return $http[method('login')](path('login'), {user: creds}).then(function(response) {
service.currentUser = response.data;
return service.requestCurrentUser();
=======
... |
<<<<<<<
it('reports an error when an async expectation occurs after the spec finishes', function(done) {
jasmine.getEnv().requirePromises();
var resolve,
promise = new Promise(function(res) { resolve = res; });
env.describe('a suite', function() {
env.it('does not wait', function() {
... |
<<<<<<<
function asymmetricDiff(a, b, aStack, bStack, customTesters, diffBuilder) {
if (j$.isFunction_(b.valuesForDiff_)) {
var values = b.valuesForDiff_(a);
eq(values.other, values.self, aStack, bStack, customTesters, diffBuilder);
} else {
diffBuilder.record(a, b);
}
}
function as... |
<<<<<<<
var global = options.global || j$.getGlobal();
=======
var createSpy = options.createSpy;
>>>>>>>
var global = options.global || j$.getGlobal();
var createSpy = options.createSpy; |
<<<<<<<
=======
// TODO: fix this naming, and here's where the value comes in
this.catchExceptions = function(value) {
this.deprecated('The catchExceptions option is deprecated and will be replaced with stopOnSpecFailure in Jasmine 3.0');
catchExceptions = !!value;
return catchExceptions;
... |
<<<<<<<
it("produces an understandable error message when an 'expect' is used outside of a current spec", function(done) {
var env = new j$.Env();
env.describe("A Suite", function() {
env.it("an async spec that is actually synchronous", function(underTestCallback) {
underTestCallback();
... |
<<<<<<<
=======
Suite.prototype.addDeprecationWarning = function(msg) {
this.result.deprecationWarnings.push(this.expectationResultFactory({ message: msg }));
};
function isAfterAll(children) {
return children && children[0].result.status;
}
>>>>>>>
Suite.prototype.addDeprecationWarning = functio... |
<<<<<<<
jasmine.Spec.prototype.addMatcherResult = function(result) {
this.results_.addResult(result);
};
=======
>>>>>>>
jasmine.Spec.prototype.addMatcherResult = function(result) {
this.results_.addResult(result);
}; |
<<<<<<<
async function main(withSES, argv) {
const config = await loadBasedir(__dirname);
const ldSrcPath = require.resolve(
'@agoric/swingset-vat/src/devices/loopbox-src',
);
config.devices = [['loopbox', ldSrcPath, {}]];
=======
async function main(withSES, basedir, argv) {
const dir = path.resolve('t... |
<<<<<<<
const config = require('../../config')
const { freeGasLimit, minStateGas, gasPerByte, maxTxGas } = config.contract
=======
const path = require('path')
const fs = require('fs')
>>>>>>>
const config = require('../../config')
const { freeGasLimit, minStateGas, gasPerByte, maxTxGas } = config.contract
const p... |
<<<<<<<
constructor () {
this.stateTable = {};
=======
constructor (stateTable) {
this.stateTable = stateTable || {};
//this.receipts = {};
//this.blocks = [];
>>>>>>>
constructor (stateTable) {
this.stateTable = stateTable || {}; |
<<<<<<<
this.route('member', { path: '/:memberSlug' }, function() {
this.route('project', { path: '/:projectSlug' });
});
=======
this.route('signup');
>>>>>>>
this.route('signup');
this.route('member', { path: '/:memberSlug' }, function() {
this.route('project', { path: '/:projectSlug' });
}); |
<<<<<<<
this.route('member', { path: '/:memberSlug' });
this.route('project', { path: '/:memberSlug/:projectSlug' }, function() {
this.route('posts', function() {
this.route('new');
this.route('post', { path: '/:post_id' });
});
});
=======
this.route('profile', { path: '/settings/profile'... |
<<<<<<<
var Manager = require('../modules/manager');
=======
var _keys = require('babel-runtime/core-js/object/keys');
var _keys2 = _interopRequireDefault(_keys);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
>>>>>>>
var _keys = require('babel-runtime/core-js/obj... |
<<<<<<<
// A cache for potentiallyApplicableRulesets
// Size chosen /completely/ arbitrarily.
this.ruleCache = new cache(1000);
// A cache for cookie hostnames.
this.cookieHostCache = new cache(100);
// A hash of rule name -> active status (true/false).
this.ruleActiveStates = ruleActiveStates;
=======... |
<<<<<<<
newuristr = ruleset.apply(canonical_url);
// only use upgradeToSecure for trivial rulesets
if (newuristr == trivialUpgradeUri) {
upgradeToSecure = true;
}
=======
newuristr = ruleset.apply(uri.href);
>>>>>>>
newuristr = ruleset.apply(uri.href);
// only use up... |
<<<<<<<
on_by_default = false;
this.notes = default_off;
=======
this.on_by_default = false;
>>>>>>>
this.notes = default_off;
this.on_by_default = false; |
<<<<<<<
function getRuleXml(url) {
var xhr = new XMLHttpRequest();
// Use blocking XHR to ensure everything is loaded by the time
// we return.
xhr.open("GET", chrome.extension.getURL(url), false);
xhr.send(null);
// Get file contents
if (xhr.readyState != 4) {
return;
}
return xhr.responseXML;
}
... |
<<<<<<<
var pbm = this.inPrivateBrowsingMode(channel);
this.log(DBUG, "Private browsing mode: " + pbm);
return !pbm;
}
},
inPrivateBrowsingMode: function(channel) {
// In classic firefox fashion, there are multiple versions of this API
// https://developer.mozilla.org/EN/docs/Supporti... |
<<<<<<<
// 将情绪值按日期分类
=======
>>>>>>>
<<<<<<<
style={styles.chart_height}
=======
>>>>>>>
style={styles.chart_height}
<<<<<<<
<View style={[styles.report_container, { display: this.props.user.emotions_basis ? 'none' : 'flex',position: this.props.user.emotions_basis ? 'rela... |
<<<<<<<
BackHandler.removeEventListener('hardwareBackPress',this.onBackAndroid);
=======
this.saveDiary()
>>>>>>>
BackHandler.removeEventListener('hardwareBackPress',this.onBackAndroid);
this.saveDiary()
<<<<<<<
let images = ''
// 复制图片文件
let newPathListPromises = imgPathList.map(a... |
<<<<<<<
Keyboard.addListener('keyboardDidShow', (e) => {
this.setState({
showKeyboard: true,
keyboardHeight: e.endCoordinates.height
})
})
Keyboard.addListener('keyboardDidHide', () => {
this.setState({
showKeyboard: false,
keyboardHeight: 0
})
})
... |
<<<<<<<
value={this.state.title}
underlineColorAndroid='transparent'
=======
value={this.props.diary.title}
>>>>>>>
value={this.props.diary.title}
underlineColorAndroid='transparent'
<<<<<<<
value={this.state.content}
underlineColor... |
<<<<<<<
jQuery("#links_editor").tooltip();
jQuery("span").tooltip();
=======
jQuery("a").tooltip();
jQuery("span").tooltip();
>>>>>>>
jQuery("#links_editor").tooltip();
jQuery("a").tooltip(); |
<<<<<<<
loginPromise = handleUserInfo(Object.assign(authData, {createUser, syncUserProfile}))
=======
// handleUserInfo 流程
BaaS.clearSession() // 防止用户在静默登录后又调用了 wx.login 使后端的 session_key 过期
loginPromise = handleUserInfo(Object.assign(authData, {createUser}))
>>>>>>>
// handleUserInfo 流程... |
<<<<<<<
let zmodemBundle = gulp.src([
'./node_modules/zmodem.js/dist/zmodem.js',
'./src/addons/zmodem/zmodem.js',
]).pipe( concat('zmodem.js') ).pipe( gulp.dest( `${buildDir}/addons/zmodem` ) );
let zmodemDemoBundle = gulp.src([
// Copy JS addons
`${outDir}/addons/zmodem/demo/**`,
]).pi... |
<<<<<<<
import { C0 } from './EscapeSequences';
import { InputHandler } from './InputHandler';
import { Parser } from './Parser';
=======
import { CharMeasure } from './utils/CharMeasure.js';
>>>>>>>
import { C0 } from './EscapeSequences';
import { InputHandler } from './InputHandler';
import { Parser } from './Pars... |
<<<<<<<
/**
* Create an Auth0 Custom Domain.
*
* @method create
* @memberOf module:management.CustomDomainsManager.prototype
*
* @example
* management.createCustomDomain(data, function (err) {
* if (err) {
* // Handle error.
* }
*
* // CustomDomain created.
* });
*
* @param {Object} da... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.