conflict_resolution stringlengths 27 16k |
|---|
<<<<<<<
function createAndProcess(transactionDataArg, senderArg, cb) {
var transferObject = {
amount: transactionDataArg.amount,
passphrase: transactionDataArg.passphrase,
secondPassphrase: transactionDataArg.secondPassphrase,
recipientId: transactionDataArg.recipientId,
=======
function create... |
<<<<<<<
=======
async processBlock(block, lastBlock, broadcast) {
const enhancedBlock = !broadcast
? blocksUtils.addBlockProperties(block)
: block;
const normalizedBlock = blocksLogic.objectNormalize(
enhancedBlock,
this.exceptions,
);
const { verified, errors } = this.blocksVerify.verifyBlock(
... |
<<<<<<<
const modulesDelegatesStub = {
=======
const modulesProcessTransactionsStub = {
verifyTransactions: sinonSandbox.stub(),
checkAllowedTransactions: sinonSandbox.stub(),
};
const modulesRoundsStub = {
>>>>>>>
const modulesRoundsStub = {
<<<<<<<
expect(modules.delegates).to.equal(bindingsSt... |
<<<<<<<
var transfer = new Transfer(modulesLoader.scope.logger, modulesLoader.scope.schema);
transfer.bind(__accountModule, rounds);
=======
var transfer = new Transfer();
transfer.bind(__accountModule);
>>>>>>>
var transfer = new Transfer(modulesLoader.scope.logger, modulesLoader.scope.schema);
tr... |
<<<<<<<
let bindings;
=======
let modules;
let __private;
>>>>>>>
let bindings;
let __private; |
<<<<<<<
const { convertErrorsToString } = require('./utils/error_handlers');
const Sequence = require('./utils/sequence');
const ed = require('./utils/ed');
=======
const { convertErrorsToString } = require('./helpers/error_handlers');
const Sequence = require('./helpers/sequence');
>>>>>>>
const { convertErrorsToSt... |
<<<<<<<
var _ = require('lodash');
var sandboxHelper = require('../helpers/sandbox.js');
var constants = require('../helpers/constants.js');
=======
>>>>>>>
var _ = require('lodash');
var constants = require('../helpers/constants.js'); |
<<<<<<<
cy.wait(10000);
cy.url().should('include', '/admin/projects');
=======
cy.wait(5000);
cy.url({ timeout: 30000 }).should('include', '/stories');
// cy.url().then((url) => {
// This gets the project id
// const id = url.match(/project\/(.*?)\/nlu/i)[1... |
<<<<<<<
class BlocksChain {
constructor({
storage,
interfaceAdapters,
roundsModule,
slots,
exceptions,
genesisBlock,
}) {
this.storage = storage;
this.interfaceAdapters = interfaceAdapters;
this.roundsModule = roundsModule;
this.slots = slots;
this.exceptions = exceptions;
this.genesisBlock = ... |
<<<<<<<
var failureCodes = require('../api/ws/rpc/failureCodes');
var PeerUpdateError = require('../api/ws/rpc/failureCodes').PeerUpdateError;
=======
var failureCodes = require('../api/ws/rpc/failure_codes');
var Peer = require('../logic/peer');
var PeerUpdateError = require('../api/ws/rpc/failure_codes').PeerUpdate... |
<<<<<<<
import autocomplete from './components/autocomplete'
=======
import avatar from './components/avatar'
>>>>>>>
import autocomplete from './components/autocomplete'
import avatar from './components/avatar'
<<<<<<<
accordion(componentsStories)
autocomplete(componentsStories)
=======
accordion(componentsStori... |
<<<<<<<
export { Accordion, Header, Body } from '@react-spectre/accordion'
export { Autocomplete, Input, Menu } from '@react-spectre/autocomplete'
=======
export { Accordion, Header, Body } from '@react-spectre/accordion'
export { Avatar, Icon, Presence } from '@react-spectre/avatar'
>>>>>>>
export { Accordion, Head... |
<<<<<<<
import { checkIfCan } from '../../lib/scopes';
=======
>>>>>>>
import { checkIfCan } from '../../lib/scopes';
<<<<<<<
import { auditLog } from '../../../server/logger';
export const extractDomainFromStories = (stories, slots) => yamlLoad(extractDomain(stories, slots, {}, {}, false));
=======
... |
<<<<<<<
</>
)}>
=======
</React.Fragment>
)}
position={STATISTIC_ORDER.OPTIONAL(4)}
>
>>>>>>>
</>
)}
position={STATISTIC_ORDER.OPTIONAL(4)}
> |
<<<<<<<
const mockClonePath = "/tmp/" + (Math.random().toString(36) + "00000").substr(2, 5)
=======
const ACCESS_TOKEN = "token"
describe("submissionClone", () => {
let getState, dispatch, cloneURLMock
const mockSubmission = {
id: 1,
username: "StudentEvelyn",
displayName: "Evelyn",
cloneStatu... |
<<<<<<<
this.toHexDOM_sub(node, "tag", this.stream, this.posStart(), this.posLen());
this.toHexDOM_sub(node, (this.length >= 0) ? "dlen" : "ulen", this.stream, this.posLen(), this.posContent());
=======
if (root == node) {
var lineStart = this.posStart() & 0xF;
if (lineStart != 0) {
... |
<<<<<<<
const ratingConfig = require('./rating-config.js');
=======
const resourceInstanceReport = require('./resource-instance-report.js');
>>>>>>>
const ratingConfig = require('./rating-config.js');
const resourceInstanceReport = require('./resource-instance-report.js');
<<<<<<<
module.exports.ratingConfig = comp... |
<<<<<<<
var regions = this.regions || {};
=======
var that = this;
var regions;
if (_.isFunction(this.regions)) {
regions = this.regions(options);
} else {
regions = this.regions || {};
}
>>>>>>>
var regions;
if (_.isFunction(this.regions)) {
regions = this... |
<<<<<<<
if (hasEl) {
this._isAttached = this.Dom.hasEl(document.documentElement, this.el);
}
=======
this._isAttached = isNodeAttached(this.el);
>>>>>>>
this._isAttached = this.Dom.hasEl(document.documentElement, this.el); |
<<<<<<<
import getUniqueEventName from './utils/get-unique-event-name';
=======
import deprecate from './utils/deprecate';
import getNamespacedEventName from './utils/get-namespaced-event-name';
>>>>>>>
import getNamespacedEventName from './utils/get-namespaced-event-name';
<<<<<<<
if (!behaviorHandler) { ret... |
<<<<<<<
namespace: {
type: String,
unique: 1,
sparse: 1,
custom() {
return !this.value.match(/^bf-[a-zA-Z0-9-]+$/) ? 'invalidNamespace' : null;
},
},
modelsBucket: { type: String, regEx: /^[a-z0-9-_]+$/, optional: true },
nluThreshold: {
type: ... |
<<<<<<<
import Transition from './Transition/Transition';
=======
import Uploaded from './Uploaded/Uploaded';
>>>>>>>
import Transition from './Transition/Transition';
import Uploaded from './Uploaded/Uploaded'; |
<<<<<<<
{ test: /\.scss$/, loaders: [
'style',
'css' +
'?modules' +
'&localIdentName=[path][name]-[local]',
'postcss',
'sass' +
'?outputStyle=expanded',
] }
=======
{ test: /\.scss$/, loader: [
... |
<<<<<<<
=======
import slugify from 'slugify';
import axios from 'axios';
import { safeLoad, safeDump } from 'js-yaml';
>>>>>>>
import { safeLoad, safeDump } from 'js-yaml';
<<<<<<<
=======
import {
getAppLoggerForFile,
getAppLoggerForMethod,
addLoggingInterceptors,
} from '../../s... |
<<<<<<<
Transition,
=======
Search,
>>>>>>>
Transition,
Search,
<<<<<<<
<Route path="search" /> {/* 搜索结果 */}
<Route path="transition/:type" component={Transition} /> {/* 跳转页面 */}
=======
<Route path="search" component={Search} /> {/* 搜索结果 */}
>>>>>>>
<Route path="search" /> {/* 搜索... |
<<<<<<<
SAVE_TO_NEW_PROJECT,
SAVE_TO_PROJECT,
DELETE_PROJECT,
FETCH_MEMBERS_SUGGEST_LIST,
PATCH_USERS_PROJECT_DETAIL,
PATCH_PROJECT_MEMBERS,
POST_GENERATE_VERSION,
TETCH_PROJECT_VERSION,
=======
>>>>>>>
SAVE_TO_NEW_PROJECT,
DELETE_PROJECT,
FETCH_MEMBERS_SUGGEST_LIST,
PATCH_USERS_PROJECT_DETAI... |
<<<<<<<
if (!value.length) throw new Error('日志缺少参数');
return value.map(v => `@${JSON.stringify({
=======
if (!value.length) throw new Error('日志缺少参数');
return value.map(v => JSON.stringify({
>>>>>>>
if (!value.length) throw new Error('日志缺少参数');
return value.map(v => `@$... |
<<<<<<<
export function* generatorNewVersion(next) {
const { versionType = 'build', projectId } = this.param;
const versionFrom = yield ProjectVersion.max('version', { where: { projectId } });
if (isNaN(versionFrom)) throw new Error('空项目不可进行版本升级');
const versionTo = versionTools.update(versionFrom, versionTyp... |
<<<<<<<
Upload,
UploadEdit,
=======
Uploaded,
>>>>>>>
Upload,
UploadEdit,
Uploaded,
<<<<<<<
<Route path="upload" component={Upload} /> {/* 上传图标 */}
<Route path="uploadedit" component={UploadEdit} /> {/* 上传图标 设置图标标签 */}
=======
<Route path="upload" component={NoMatch} /> {/* 上传图... |
<<<<<<<
<Route path="projects" component={Project} /> {/* 公开项目 */}
<Route path="projects/:id(/version/:version)" component={Project} /> {/* 公开项目 */}
<Route path="search" /> {/* 搜索结果 */}
=======
<Route path="projects/:id(/version/:version)" /> {/* 公开项目 */}
<Route path="transition/:type" c... |
<<<<<<<
RHOC: { precision: 8, format: '0,0.00[000000]' },
TIME: { precision: 8, format: '0,0.00[000000]' },
=======
RHOC: { precision: 8, format: '0,0.00[000000]' },
GUP: { precision: 3, format: '0,0.00[0]' }
>>>>>>>
RHOC: { precision: 8, format: '0,0.00[000000]' },
TIME: { precision: 8, format: '0,0.0... |
<<<<<<<
renderContent () {
const { dimensions } = this.props
const {
visibleTimeStart,
visibleTimeEnd,
timelineWidth
} = dimensions
=======
renderContent() {
>>>>>>>
renderContent() {
const { dimensions } = this.props
const { visibleTimeStart, visibleTimeEnd, timelineWidth... |
<<<<<<<
onItemContextMenu: PropTypes.func,
itemRenderer: PropTypes.func
=======
onItemContextMenu: PropTypes.func,
selected: PropTypes.array
>>>>>>>
onItemContextMenu: PropTypes.func,
itemRenderer: PropTypes.func,
selected: PropTypes.array |
<<<<<<<
=======
stackItems(
items,
groups,
canvasTimeStart,
visibleTimeStart,
visibleTimeEnd,
width
) {
// if there are no groups return an empty array of dimensions
if (groups.length === 0) {
return {
dimensionItems: [],
height: 0,
groupHeights: [],
... |
<<<<<<<
this.contentCursorLocation = 0;
}
componentDidMount() {
this.keyboardWillShowListener = Keyboard.addListener('keyboardWillShow', (e) => this.keyboardWillShow(e));
this.keyboardWillHideListener = Keyboard.addListener('keyboardWillHide', (e) => this.keyboardWillHide(e));
}
componentWillUnmou... |
<<<<<<<
replyId,
boardId,
topicId,
images: [],
isUploading: false,
selectedPanel: 'keyboard',
keyboardAccessoryToBottom: 0,
isContentFocused: false
=======
images: []
>>>>>>>
replyId,
boardId,
topicId,
images: [],
isUploading: false,... |
<<<<<<<
const TOPIC = require('./topic');
=======
const GRID = require('./grid');
>>>>>>>
const GRID = require('./grid');
const TOPIC = require('./topic');
<<<<<<<
/**
* Get the topic based on the name.
*/
const useTopicQuery = ({ name, ancestry }) => {
const [result] = useQuery({
query: TOPIC,
variable... |
<<<<<<<
test('should be able to access properties on oas', () => {
expect(
new Oas({
info: { version: '1.0' },
}).info.version,
).toBe('1.0');
});
describe('operation.getSecurity()', () => {
const security = [{ auth: [] }];
test('should return the security on this endpoint', () => {
expect(
... |
<<<<<<<
const snippet = shallow(generateCodeSnippet(oas, operation, {}, 'node'));
=======
const { snippet } = generateCodeSnippet(oas, operation, {}, 'node');
>>>>>>>
const { snippet } = shallow(generateCodeSnippet(oas, operation, {}, 'node'));
<<<<<<<
const snippet = shallow(generateCodeSnippet(oas, operat... |
<<<<<<<
/**
* Convert to array
*
* @param {String} val
* @return {Array}
* @api private
*/
exports.toArray = function (val) {
return Array.isArray(val) ? val : [val];
};
/**
* Extract network from User/Channel object
*
* @param {Object} target
* @return {String}
* @api private
*/
exports.extractNetwork... |
<<<<<<<
var util = require('util');
var utils = require('./lib/utils');
=======
/**
* Core plugins.
*/
var welcome = require('./lib/plugins/welcome');
var privmsg = require('./lib/plugins/privmsg');
var notice = require('./lib/plugins/notice');
var topic = require('./lib/plugins/topic');
var names = require('./li... |
<<<<<<<
// import AttributionChannel from './diagrams/AttributionChannel.html';
import AttributionGroups from './diagrams/AttributionGroups.html';
=======
import AttributionChannel from './diagrams/AttributionChannel.html';
const labels = require('../static/examples/labels.json');
>>>>>>>
import AttributionChannel f... |
<<<<<<<
if (window.location.href.indexOf("leparisien.fr") !== -1) {
window.removeEventListener('scroll', this.scrollListener);
const paywall = document.querySelector('.relative.piano-paywall.below_nav.sticky');
removeDOMElement(paywall);
setTimeout(function () {
var content = document.get... |
<<<<<<<
formatError, getModelIdsFromProjectId, uploadFileToGcs, getProjectModelLocalFolder, getProjectModelFileName, getProjectIdFromModelId,
=======
formatError,
getModelIdsFromProjectId,
getProjectModelLocalFolder,
getProjectModelFileName,
>>>>>>>
formatError, getModelIdsFromProjectId, uplo... |
<<<<<<<
data: (parent, _, __) => parent.event,
message_id: (parent, _, __) => parent.message_id,
},
Data: {
elements: (parent, _, __) => parent.elements,
quick_replies: (parent, _, __) => parent.quick_replies,
buttons: (parent, _, __) => parent.buttons,
attachment... |
<<<<<<<
* Get a list of all im channels
* @returns {vow.Promise}
*/
getImChannels() {
if (this.ims) {
return Vow.fulfill({ ims: this.ims });
}
return this._api('im.list');
}
/**
=======
* Posts an ephemeral message to a channel and user
* @para... |
<<<<<<<
import { STAT_TRACKER as ROLLING_HAVOC_STATS } from 'parser/warlock/destruction/modules/azerite/RollingHavoc';
=======
import { STAT_TRACKER as FLASHPOINT_STATS } from 'parser/warlock/destruction/modules/azerite/Flashpoint';
import { STAT_TRACKER as ACCELERANT_STATS } from 'parser/warlock/destruction/modules/... |
<<<<<<<
that.colorStart = options.colorStart instanceof THREE.Color ? options.colorStart : new THREE.Color( 'white' );
that.colorEnd = options.colorEnd instanceof THREE.Color ? options.colorEnd : new THREE.Color( 'blue' );
that.colorSpread = options.colorSpread instanceo... |
<<<<<<<
// ShaderParticleGroup 0.6.0
=======
// ShaderParticleGroup 0.7.0
>>>>>>>
// ShaderParticleGroup 0.7.0
<<<<<<<
that.hasPerspective = parseInt( typeof options.hasPerspective === 'number' ? options.hasPerspective : 1, 10 );
that.colorize = parseInt( options.colorize || 1, 10 );
... |
<<<<<<<
=======
program
.command('land')
.alias('l')
.description('Stop all created microservices')
.option('-d, --docker', 'terminate docker containers')
.action( () => {
if (!process.argv[3]) {
console.log(chalk.red('\nPlease enter a valid deployment option. See'),chalk.white('--help'), chalk.red(' fo... |
<<<<<<<
const graphqlObj = require('./graphqlObj');
const createDockerfile = require('./createDockerfile');
=======
>>>>>>> |
<<<<<<<
USER_DATE_FORMAT: "Own date format (<a href='http://momentjs.com/docs/#/displaying/format/'>Syntax</a>)",
=======
USE_GITFTP: "Use Git-FTP",
>>>>>>>
USER_DATE_FORMAT: "Own date format (<a href='http://momentjs.com/docs/#/displaying/forma... |
<<<<<<<
=======
function askQuestion(title, question, options) {
options = options || {};
var response = q.defer();
var compiledTemplate = Mustache.render(questionDialogTemplate, {
title: title,
question: _.escape(question),
stringInput: !options.boolea... |
<<<<<<<
if(data.servelocaldirectory){
var servelocaldirectoryname = data.servelocaldirectory.split(':');
servelocaldirectoryname = (servelocaldirectoryname.length == 2) ? servelocaldirectoryname[1] : null;
if(servelocaldirectoryname){
$("#servelocal").prop("checked",true);
$('.servelocal').rem... |
<<<<<<<
urls = data.url;
useragent = data.useragent;
defaultURL = urls[urlrotateindex];
if(data.multipleurlmode == 'rotate'){
rotaterate = data.rotaterate ? data.rotaterate : DEFAULT_ROTATE_RATE;
setInterval(rotateURL,rotaterate * 1000);
}
currentURL = defaultURL;
loadContent();... |
<<<<<<<
if(servelocal){
chrome.storage.local.set({'servelocaldirectory':servelocaldirectory});
chrome.storage.local.set({'servelocalhost':servelocalhost});
chrome.storage.local.set({'servelocalport':servelocalport});
}else{
chrome.storage.local.remove('servelocaldirectory');
... |
<<<<<<<
Usage:
$(function () {
$("select, :radio, :checkbox").uniform();
});
You can customize the classes that Uniform uses:
$("select, :radio, :checkbox").uniform({
selectClass: 'mySelectClass',
radioClass: 'myRadioClass',
checkboxClass: 'myCheckboxClass',
checkedClass: 'myCheckedClass',
focusClass: 'm... |
<<<<<<<
.bind("focus.uniform", function(){
divTag.addClass(options.focusClass);
})
.bind("blur.uniform", function(){
divTag.removeClass(options.focusClass);
})
.bind("click.uniform touchend.uniform", function(){
if(!$(elem).attr("checked")){
//box was just... |
<<<<<<<
if(options.useID && elem.attr("id")){
=======
/**
* Thanks to @MaxEvron @kjantzer and @furkanmustafa from GitHub
*/
if(options.selectAutoWidth){
var origElemWidth = $el.width();
var origDivWidth = divTag.width();
var origSpanWidth = spanTag.width();
... |
<<<<<<<
grunt.loadNpmTasks('grunt-webfont');
grunt.loadNpmTasks('grunt-regarde');
=======
>>>>>>>
grunt.loadNpmTasks('grunt-webfont');
<<<<<<<
=======
grunt.loadNpmTasks('grunt-jekyll');
grunt.loadNpmTasks('grunt-regarde');
grunt.loadNpmTasks('grunt-shell');
grunt.loadNpmTasks('grunt-open');
>>>>>>... |
<<<<<<<
require('pdfjs-dist/web/pdf_viewer');
var PdfViewerComponent = (function (_super) {
__extends(PdfViewerComponent, _super);
=======
var PdfViewerComponent = (function () {
>>>>>>>
require('pdfjs-dist/web/pdf_viewer');
var PdfViewerComponent = (function () {
<<<<<<<
this.isInitialised = false;
... |
<<<<<<<
/* Also run message filters on the filtered plugins. */
filtered.forEach(function(plugin){
plugin.computed.messages = plugin.getUIMessages();
});
=======
/* Also run message filters on the current card elements. */
var cards = document.getElementById('main')... |
<<<<<<<
const writeables = [];
const snapshots = [];
const initialRender = [];
const setters = [];
let readables = [];
=======
export const writeables = [];
export const snapshots = [];
export const initialRender = [];
export let readables = [];
>>>>>>>
export const writeables = [];
export const snapshots = [];
expo... |
<<<<<<<
=======
var typeflag = buf[156] === 0 ? 0 : buf[156] - ZERO_OFFSET
>>>>>>>
var typeflag = buf[156] === 0 ? 0 : buf[156] - ZERO_OFFSET |
<<<<<<<
router.post('/conversations/:project_id/environment/:env', importConversationValidator, importConversation);
router.get('/conversations/:project_id/environment/:env/latest-imported-event', latestImportValidator, latestImport);
router.post('/rasa/restart', restartRasaValidator, restartRasa);
router.post('/webho... |
<<<<<<<
import rolesDataTypes from './rolesData/schemas';
import rolesDataResolver from './rolesData/resolvers/rolesDataResolver';
=======
import storiesTypes from './story/schemas/stories.types.graphql';
import storiesResolver from './story/resolvers/storiesResolver';
>>>>>>>
import storiesTypes from './story/sche... |
<<<<<<<
import './testwebgl.js';
import './object-spec.js';
=======
import './testwebgl.js';
// import './testcore.js';
>>>>>>>
import './testwebgl.js';
import './object-spec.js';
// import './testcore.js'; |
<<<<<<<
rfb.send(
Word8(clientMsgTypes.fbUpdate),
Word8(1),
Word16be(0),
Word16be(0),
Word16be(vars.fbWidth),
Word16be(vars.fbHeight)
=======
rfb.fbWidth = vars.fbWidth;
rfb.fbHeight = v... |
<<<<<<<
let messages = {};
if (schemaType.messages && typeof schemaType.messages == "object")
messages = schemaType.messages;
if (!messages["required"])
messages["required"] = this.messages["required"];
if (!messages[schemaType.type])
messages[schemaType.type] = this.messages[schemaType.type];
Object.key... |
<<<<<<<
schema: deepExtend(schema, this.defaults[schema.type], { overrideDest: false }),
ruleFunction: ruleFunction
=======
schema: schema,
ruleFunction: ruleFunction,
customValidation: () => ""
>>>>>>>
schema: deepExtend(schema, this.defaults[schema.type], { overrideDest: false }),
ruleFunction... |
<<<<<<<
in ${getVariationPathFromComponentPath(this.props.componentPath)}/meta.js`}
=======
in ${this.props.variationBasePath}/${getVariationComponentPath(this.props.componentPath)}/meta.js`}
{/* eslint-enable max-len */}
>>>>>>>
in ${this.props.variationBasePath}/${getVariationPathFromCompon... |
<<<<<<<
=======
// Get the bundled Styleguide Client
const clientApi = fs.readFileSync(path.join(__dirname, 'client-api.js'));
const clientJs = fs.readFileSync(path.join(__dirname, 'client-bundle.js'));
>>>>>>>
<<<<<<<
</html>`;
// And emit that HTML template as 'styleguide.html'
compilatio... |
<<<<<<<
import CallStats from '../CallStats'
=======
import styles from './styles.css';
>>>>>>>
import CallStats from '../CallStats'
import styles from './styles.css';
<<<<<<<
<div className="contact-preview">
{contact.avatarUrl ?
<img src={contact.avatarUrl} height="50" width="50" role="presentat... |
<<<<<<<
is_gop == 1 ? (width_spec - 5) + "px" :
(width_spec < 0 ? (-width_spec) + "px" : width_spec + "ch"));
=======
width_spec <= 0 ? "3ch" :
(is_gop == 1 ? width_spec + "px" :
width_spec + "ch"));
if (is_gop == 1) ... |
<<<<<<<
var errorRegex = /index:\s*.+?\.\$(\S*)\s*dup key:\s*\{(.*?)\}/;
var indexesCache = {};
=======
var errorRegex = /index:\s*(?:.+?\.\$)?(\S*)\s*dup key:\s*\{(.*?)\}/;
>>>>>>>
var errorRegex = /index:\s*(?:.+?\.\$)?(\S*)\s*dup key:\s*\{(.*?)\}/;
var indexesCache = {}; |
<<<<<<<
import { checkIfCan } from '../../lib/scopes';
import { formatNewlines, formatTextOnSave } from './response.utils';
=======
import { formatTextOnSave } from './response.utils';
>>>>>>>
import { checkIfCan } from '../../lib/scopes';
import { formatTextOnSave } from './response.utils';
<<<<<<<
checkIf... |
<<<<<<<
function Router(opts, sep) {
this.routes = opts.routes;
this.opts = opts;
this.sep = sep || '';
this.go(location.pathname);
self = this;
}
Router.prototype.exec = function(path) {
for(var r in this.routes) {
var route = getRegExp(r);
if (!route.test(path)) {
continue;
}
... |
<<<<<<<
'fr': '<p>Définit la position et la taille d\'un élément dans la grille.</p><p><code><grid-row-start> / <grid-column-start> / <grid-row-end> / <grid-column-end></code></p>',
'pt-br': '<p>Especifica a posição e o tamanho do item dentro da grade.</p><p><code><grid-row-start> /... |
<<<<<<<
'en': '<p>If grid items aren\'t explicity placed with <code>grid-area</code>, <code>grid-column</code>, <code>grid-row</code>, etc., they are automatically placed row by row according to their order in the source code. We can override this using the <code>order</code> property.</p><p>By default, all grid ... |
<<<<<<<
=======
var templateRepo = Hogan.compile('<div class="aa-suggestion aa-repo">' +
'{{#stargazers_count}}<div class="aa-infos">{{ stargazers_count }} <i class="octicon octicon-star"></i></div>{{/stargazers_count}}' +
'<span class="aa-name"><a href="https://github.com/{{ full_name }}/">{{{ owner }}} / ... |
<<<<<<<
othis.schemas["ifc2x3tc1"] = result.classes;
callback();
=======
othis.schemas["ifc2x3tc1"] = result.classes;
$.getJSON(othis.baseUrl + "/js/ifc4.js", function(result){
othis.schemas["ifc4"] = result.classes;
callback();
});
>>>>>>>
othis.schemas["ifc2x3tc1"] = result.classes;
ca... |
<<<<<<<
var config = "cef-" + process.platform,
zipSrc = grunt.config("curl-dir." + config + ".src"),
zipName,
=======
var config = "cef_" + process.platform,
zipSrc = grunt.config("curl-dir." + config + ".src"),
zipName = zipSrc.substr(z... |
<<<<<<<
checkIfCan('nlu-model:w', projectId);
=======
// Check if the model with the langauge already exists in project
// eslint-disable-next-line no-param-reassign
item.published = true; // a model should be published as soon as it is created
const { nlu_... |
<<<<<<<
var MarkerCluster = require('./MarkerCluster');
var geomodel = require('./geomodel');
var spherical = require('./spherical');
=======
>>>>>>>
var MarkerCluster = require('./MarkerCluster');
var geomodel = require('./geomodel');
<<<<<<<
spherical: spherical,
geomodel: geomodel
},
Mark... |
<<<<<<<
convertJobState(frameworkState, exitCode) {
let jobState = '';
switch (frameworkState) {
case 'FRAMEWORK_WAITING':
case 'APPLICATION_CREATED':
case 'APPLICATION_LAUNCHED':
case 'APPLICATION_WAITING':
jobState = 'WAITING';
break;
case 'APPLICATION_RUNNING':... |
<<<<<<<
} else if (job.jobStatus.state !== 'JOB_NOT_FOUND' && req.method === 'PUT' && req.path === `/${jobName}`) {
logger.warn('duplicate job %s', jobName);
return res.status(400).json({
error: 'DuplicateJobSubmission',
message: 'duplicate job submission',
});
=======
>>>>>>>
... |
<<<<<<<
const mergeSiteDetails = (oldSiteDetail, newSiteDetail, tag, folderId) => {
=======
const mergeSiteDetails = (oldSiteDetail, newSiteDetail, tag, folderId, order) => {
const siteDetailExist = newSiteDetail.get('lastAccessedTime') !== undefined || oldSiteDetail && oldSiteDetail.get('lastAccessedTime')
>>>>>... |
<<<<<<<
const mergeSiteDetails = (oldSiteDetail, newSiteDetail, tag, folderId, order) => {
=======
const mergeSiteDetails = (oldSiteDetail, newSiteDetail, tag, folderId) => {
const siteDetailExist = newSiteDetail.get('lastAccessedTime') !== undefined || oldSiteDetail && oldSiteDetail.get('lastAccessedTime')
>>>>>>... |
<<<<<<<
if (key === null) {
return sites
}
if (getSetting(settings.SYNC_ENABLED) === true && syncCallback) {
syncCallback(sites.getIn([key]))
}
=======
if (!key) {
return sites
}
>>>>>>>
if (!key) {
return sites
}
if (getSetting(settings.SYNC_ENABLED) === true && syncCallback) {
... |
<<<<<<<
/**
* Create a log from a multihash.
* @param {IPFS} ipfs An IPFS instance
* @param {string} multihash Multihash (as a Base58 encoded string) to create the Log from
* @param {number} [length=-1] How many items to include in the log
* @param {Array<Entry>} [exclude] Entries to not fetch (cached)... |
<<<<<<<
options = options || {};
var inputFiles = fileSet(src);
src = inputFiles.files;
=======
src = fileSet(src).files;
>>>>>>>
var inputFiles = fileSet(src);
src = inputFiles.files;
<<<<<<<
self.push(data);
self.push(null);
... |
<<<<<<<
import { StoryGroups } from '../storyGroups/storyGroups.collection';
=======
import { ActivityCollection } from '../activity';
>>>>>>>
import { StoryGroups } from '../storyGroups/storyGroups.collection';
import { ActivityCollection } from '../activity'; |
<<<<<<<
// IMPORTANT: please take a minute to read the notes below before attempting to change
// the event we're listening to for iOS.
//
// - the keypress event is no good for us here, because it can't detect backspaces
// - the keyup event is no good here, as it doesn't seem to work ... |
<<<<<<<
this.domLoadedCallback();
=======
$('[contenteditable]').on('paste',function(e) {
// Ensure we only insert plaintext from the pasteboard
e.preventDefault();
var plainText = (e.originalEvent || e).clipboardData.getData('text/plain');
document.execCommand('inser... |
<<<<<<<
var jsonRpcUrl = "http://localhost:8080";
=======
var date = new Date();
var deploymentId = date.toLocaleString(Qt.locale(), "ddMMyyHHmmsszzz");
var jsonRpcUrl = "http://127.0.0.1:8080";
>>>>>>>
var jsonRpcUrl = "http://127.0.0.1:8080"; |
<<<<<<<
import {ChangeInitiativeStore_API as ChangeInitiativeStore} from "../../change-initiative/services/change-initiative-store";
=======
import {ApplicationStore_API as ApplicationStore} from "../../applications/services/application-store";
>>>>>>>
import {ApplicationStore_API as ApplicationStore} from "../../ap... |
<<<<<<<
import {initialiseData} from '../common';
=======
import {initialiseData} from "../common";
import {toGraphId} from '../flow-diagram/flow-diagram-utils';
>>>>>>>
import {initialiseData} from '../common';
import {toGraphId} from '../flow-diagram/flow-diagram-utils';
<<<<<<<
const mkReleaseLifecycleStatusChan... |
<<<<<<<
require('./lineage-report'),
=======
require('./involvement-kind'),
>>>>>>>
require('./involvement-kind'),
require('./lineage-report'), |
<<<<<<<
import changeInitiativeBrowser from './components/change-initiative-browser/change-initiative-browser';
import changeInitiativeRelatedAppsSection from './components/related-apps-section/related-apps-section';
=======
import changeInitiativeTable from './components/change-initiative-table/change-initiative-tab... |
<<<<<<<
import AccessLog from "./access-log";
import Actor from "./actor";
import Alias from "./alias";
import Applications from "./applications";
import AppGroups from "./app-groups";
import AssetCost from "./asset-cost";
import Attestation from "./attestation";
import AuthSources from "./auth-sources";
import Bookmar... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.