conflict_resolution stringlengths 27 16k |
|---|
<<<<<<<
// afterCartUpdateCalculateDiscount 2 times.
assert.equal(updateSpy.callCount, 2, "update should be called two times");
Meteor._sleepForMs(1000);
=======
// afterCartUpdateCalculateDiscount 4 times.
assert.equal(updateSpy.callCount, 4, "update should be called four times");
>>>>... |
<<<<<<<
=======
import Logger from "@reactioncommerce/logger";
import { $ } from "meteor/jquery";
>>>>>>>
import Logger from "@reactioncommerce/logger";
<<<<<<<
document.querySelector("#cart-drawer-container").classList.add("opened");
if (!swiper) {
swiper = new Swiper(".cart-drawer-swiper-container", {
... |
<<<<<<<
const shopBilling = order.billing && order.billing.find((billing) => billing && billing.shopId === Reaction.getShopId()) || {};
=======
const shopBilling = (order.billing && order.billing.find(billing => billing && billing.shopId === Reaction.getShopId())) || {};
>>>>>>>
const shopBilling = (order.bill... |
<<<<<<<
import { Hooks, Reaction } from "/server/api";
=======
>>>>>>>
import { Hooks, Reaction } from "/server/api";
<<<<<<<
}, { selector: { type: "variant" } });
Hooks.Events.run("afterUpdateCatalogProduct", variant);
=======
}, { selector: { type: "variant" }, publish: true });
>>>>>>>
... |
<<<<<<<
import Tab from "@material-ui/core/Tab";
import Tabs from "@material-ui/core/Tabs";
import { Blocks } from "@reactioncommerce/reaction-components";
import { i18next } from "/client/api";
=======
import { i18next } from "/client/api";
import DetailDrawer from "/imports/client/ui/components/DetailDrawer";
>>>>... |
<<<<<<<
const { product } = this.props;
const handle = product.__published && product.__published.handle || product.handle;
=======
const product = this.props.product;
const handle = (product.__published && product.__published.handle) || product.handle;
>>>>>>>
const { product } = this.... |
<<<<<<<
const { collections, user: userFromContext, userHasPermission } = context;
const { Accounts, AccountInvites, Groups, Shops, users } = collections;
=======
const { checkPermissions, collections, user: userFromContext } = context;
const { Accounts, Groups, Shops, users } = collections;
>>>>>>>
const ... |
<<<<<<<
placeOrder,
updateOrder
=======
cancelOrderItem,
placeOrder
>>>>>>>
cancelOrderItem,
placeOrder,
updateOrder |
<<<<<<<
function uniqObjects(methods) {
const jsonBlobs = methods.map((method) => {
return JSON.stringify(method);
});
const uniqueBlobs = _.uniq(jsonBlobs);
return uniqueBlobs.map((blob) => {
return EJSON.parse(blob);
});
}
// cartShippingQuotes
// returns multiple methods
=======
/**
* cartShipp... |
<<<<<<<
/**
* Functions used by the GraphQL server configuration
* @namespace GraphQL
*/
const collections = {};
=======
const collections = { Media: NoMeteorMedia };
>>>>>>>
/**
* Functions used by the GraphQL server configuration
* @namespace GraphQL
*/
const collections = { Media: NoMeteorMedia }; |
<<<<<<<
if (!context.isInternalCall) {
await context.validatePermissions(`reaction:legacy:accounts:${account._id}`, "update:currency", {
shopId: account.shopId,
owner: account.userId,
legacyRoles: ["reaction-accounts"]
});
}
=======
await context.validatePermissions(`reaction:accounts:... |
<<<<<<<
export default async function tag(context, slugOrId, { shouldIncludeInvisible = false } = {}) {
const { collections } = context;
=======
export default async function tag(context, input) {
const { collections, userHasPermission } = context;
>>>>>>>
export default async function tag(context, input) {
co... |
<<<<<<<
// Allow split if the account has "orders" permission. When called internally by another
// plugin, context.isInternalCall can be set to `true` to disable this check.
if (!isInternalCall) {
await context.validatePermissions(
`reaction:legacy:orders:${order._id}`,
"move:item",
{ shopI... |
<<<<<<<
import registerProductAdminPlugin from "./plugins/product-admin/index.js";
=======
import registerNotificationsPlugin from "./plugins/notifications/index.js";
>>>>>>>
import registerNotificationsPlugin from "./plugins/notifications/index.js";
import registerProductAdminPlugin from "./plugins/product-admin/in... |
<<<<<<<
export default async function updateNavigationTree(context, _id, navigationTree) {
const { collections } = context;
=======
export default async function updateNavigationTree(context, input) {
const { checkPermissions, collections } = context;
>>>>>>>
export default async function updateNavigationTree(co... |
<<<<<<<
"can_be_unlocked_now": "can be unlocked",
=======
"totle_transactions_per_day":"Total Daily Transactions",
"tron_total_transactions_chart":"TRON Total Transactions Chart",
>>>>>>>
"totle_transactions_per_day":"Total Daily Transactions",
"tron_total_transactions_chart":"TRON Total Transactions Char... |
<<<<<<<
const description = shop.name + " Ref: " + cartId;
const { currency } = shop;
=======
const description = `${shop.name} Ref: ${cartId}`;
const currency = shop.currency;
>>>>>>>
const description = `${shop.name} Ref: ${cartId}`;
const { currency } = shop; |
<<<<<<<
// 03-26 tag
account_tags_list:'Список вкладок',
account_tags_add:'Добавить',
account_tags_desc:'Функция тегов: вы можете прикрепить личные теги к аккаунтам, чтобы их было легче идентифицировать',
account_tags_number:'{total} всего аккаунтов',
account_tags_table_1:'тег',
account_tags_table_2:'За... |
<<<<<<<
<div>
<OrderTable
orders={this.props.orders}
orderCount={this.props.orderCount}
query={this.state.query}
selectedItems={this.props.selectedItems}
handleSelect={this.props.handleSelect}
handl... |
<<<<<<<
import { Reaction } from "/lib/api";
import { Logger } from "/server/api";
import { Products, Revisions } from "/lib/collections";
=======
import { Media, Products, Revisions } from "/lib/collections";
import { Logger, Reaction } from "/server/api";
>>>>>>>
import { Reaction } from "/lib/api";
import { Logge... |
<<<<<<<
// const sub = this;
// let variantsHandle = [];
let _id;
const shop = ReactionCore.getCurrentShop(this);
const Products = ReactionCore.Collections.Products;
=======
let shop = ReactionCore.getCurrentShop();
if (typeof shop !== "object") {
return this.ready();
}
let Products = ReactionCo... |
<<<<<<<
payflowAccountOptions: function () {
const { settings } = Packages.findOne({
=======
payflowAccountOptions() {
const settings = Packages.findOne({
>>>>>>>
payflowAccountOptions() {
const { settings } = Packages.findOne({ |
<<<<<<<
import { Reaction, Logger } from "/server/api";
import { ValidCardNumber, ValidExpireMonth, ValidExpireYear, ValidCVV } from "/lib/api";
=======
import { Logger } from "/server/api";
>>>>>>>
import { Logger } from "/server/api";
import { ValidCardNumber, ValidExpireMonth, ValidExpireYear, ValidCVV } from "/l... |
<<<<<<<
import "./methods/catalog";
import "./methods/publishProduct";
=======
import "./methods/catalog";
/**
* Query functions that do not import or use any Meteor packages or globals. These can be used both
* by Meteor methods or publications, and by GraphQL resolvers.
* @namespace Catalog/NoMeteorQueries
*/
... |
<<<<<<<
{ shopId: shopId },
{
$or: [
{
_id: {
$regex: `^${regexSafeSearchTerm}`,
$options: "i"
}
},
{
userEmails: {
$regex: regexSafeSearchTerm,
$options: "i"
}
... |
<<<<<<<
for (let i = 0; i < variants.length; i++) {
expect(cloneVariants.some((clonedVariant) => clonedVariant.title === variants[i].title)).to.be.ok;
=======
for (let i = 0; i < variants.length; i += 1) {
expect(cloneVariants.some(clonedVariant => {
return clonedVariant.title ==... |
<<<<<<<
"signature_list":"لیست امضاها",
=======
// 2019-12-25 xyy
"transaction_hash":"Hash",
"transaction_status_tip":'معاملات تأیید شده توسط بیش از 19 SRs "تأیید شده" علامت گذاری می شوند. ',
"transaction_type": "انواع معاملات",
"transaction_owner_address":"آدرس مالک",
"transaction_receiv... |
<<<<<<<
import ReactionError from "@reactioncommerce/reaction-error";
=======
import Logger from "@reactioncommerce/logger";
import { Meteor } from "meteor/meteor";
>>>>>>>
import Logger from "@reactioncommerce/logger";
import ReactionError from "@reactioncommerce/reaction-error";
<<<<<<<
if (!accountId) throw ne... |
<<<<<<<
const existingUsers = Meteor.users.find({}, { limit: limit }).fetch();
for (let i = 0; i < limit; i += 1) {
=======
const existingUsers = Meteor.users.find({}, { limit }).fetch();
for (let i = 0; i < limit; i = i + 1) {
>>>>>>>
const existingUsers = Meteor.users.find({}, { limit }).fetch();
for (... |
<<<<<<<
Promise.await(loadCoreTranslations());
// Flush all the bulk Assets upserts created by calls to loadTranslations
Promise.await(flushTranslationLoad());
// Then loop through those I18N assets and import them
Assets.find({ type: "i18n" }).forEach((t) => {
Logger.debug(`Importing ${t.name} transla... |
<<<<<<<
=======
if (!ReactionCore.hasAdminAccess()) {
throw new Meteor.Error(403, "Access denied");
}
this.unblock();
>>>>>>>
if (!ReactionCore.hasAdminAccess()) {
throw new Meteor.Error(403, "Access denied");
}
<<<<<<<
=======
if (!ReactionCore.hasAdminAccess()) {
throw ... |
<<<<<<<
import React from "react";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { faUniversity } from "@fortawesome/free-solid-svg-icons";
import { registerOperatorRoute } from "/imports/client/ui";
import "./settings/custom.html";
import "./settings/custom.js";
=======
import "../lib/ext... |
<<<<<<<
toDelete.forEach((product) => {
Hooks.Events.run("afterRemoveCatalogProduct", Meteor.userId(), product);
});
// after variant were removed from product, we need to recalculate all
// denormalized fields
const productId = toDelete[0].ancestors[0];
toDenormalize.forEach((field) => d... |
<<<<<<<
import SimpleSchema from "simpl-schema";
import { check } from "meteor/check";
import { Tracker } from "meteor/tracker";
import { createdAtAutoValue, schemaIdAutoValue } from "./helpers";
=======
import { SimpleSchema } from "meteor/aldeed:simple-schema";
import { registerSchema } from "@reactioncommerce/reac... |
<<<<<<<
import { getBillingInfo } from "../../lib/helpers/orderHelpers";
=======
import { getOrderRiskBadge, getOrderRiskStatus } from "../helpers";
>>>>>>>
import { getOrderRiskBadge, getOrderRiskStatus, getBillingInfo } from "../helpers";
<<<<<<<
const invoice = getBillingInfo(this.props.row.original).invoice... |
<<<<<<<
address:'TN4fJGCqurpmoWS4d6BXDiqZxGPvhacmVR'
},
{
address:'TAv8VH5cnC5Vi5U4v5RMa9CU6pdbu7oGfu'
},
{
address:'TYRcL4wx2K5NCaHQwNsgoXabkUiNkce3QH'
=======
address:'TN4fJGCqurpmoWS4d6BXDiqZxGPvhacmVR',
balance: 47301714286684... |
<<<<<<<
if (typeof startIdentityEmailVerification !== "function") {
throw new ReactionError("not-supported", "Password reset not supported");
}
const { email, token } = await startIdentityEmailVerification(context, { userId });
=======
const user = await users.findOne({ _id: userId });
if (!user) throw... |
<<<<<<<
let group;
group = checkGroup || Roles.GLOBAL_GROUP;
=======
let group;
// default group to the shop or global if shop isn't defined for some reason.
if (checkGroup !== undefined && typeof checkGroup === "string") {
group = checkGroup;
} else {
group = this.getSellerShopId... |
<<<<<<<
import getVariantInventoryNotAvailableToSellQuantity from "/imports/plugins/core/inventory/server/no-meteor/utils/getVariantInventoryNotAvailableToSellQuantity";
import updateParentVariantsInventoryAvailableToSellQuantity from "/imports/plugins/core/inventory/server/no-meteor/utils/updateParentVariantsInventory... |
<<<<<<<
import registerNavigationPlugin from "@reactioncommerce/plugin-navigation";
=======
import registerExamplePaymentsPlugin from "@reactioncommerce/plugin-payments-example";
>>>>>>>
import registerNavigationPlugin from "@reactioncommerce/plugin-navigation";
import registerExamplePaymentsPlugin from "@reactionco... |
<<<<<<<
// code-analysis engine for javascript panel
tern: function (req) {
return alpha(req);
},
=======
togetherjs: function (req) {
return alpha(req);
},
>>>>>>>
// code-analysis engine for javascript panel
tern: function (req) {
return alpha(req);
},
togetherjs: function (req) {
... |
<<<<<<<
return alpha(req) || undefsafe(req, 'session.user.pro');
=======
return undefsafe(req, 'session.user.pro');
>>>>>>>
return alpha(req) || undefsafe(req, 'session.user.pro');
<<<<<<<
return alpha(req); // return !pro(req);
}
=======
return team(req); // return !pro(req);
},
// top intro... |
<<<<<<<
// FIXME !! This logic should be moved into bin model!!!!
getLatestBin: function (id, n, username, fn) {
var timer = metrics.createTimer(metric_prefix + 'getLatestBin');
=======
updateSettings: function (id, settings, fn) {
this.store.updateUserSettings(id, settings, fn);
},
getLatestBin: fu... |
<<<<<<<
getVisibility: function(bin, fn) {
this.store.getVisibility(bin, fn);
},
=======
>>>>>>>
<<<<<<<
setBinVisibility: function(bin, value, fn) {
this.store.setBinVisibility(bin, value, fn);
}
};
// hook up timers
Object.keys(model).forEach(function (key) {
var method = model[key];
// chec... |
<<<<<<<
bin.latest = true;
=======
if (blacklist.validate(bin) === false) {
return fn(410);
}
>>>>>>>
bin.latest = true;
if (blacklist.validate(bin) === false) {
return fn(410);
} |
<<<<<<<
if (req.headers.accept && req.headers.accept.indexOf('text/event-stream') !== -1) {
// ignore event-stream requests
return next();
}
=======
// apply x-frame-options, but pass a dummy `next`
noframes(req, res, function () {});
>>>>>>>
if (req.headers.accept && req.headers.ac... |
<<<<<<<
jsbin.getURL = function (options) {
if (!options) { options = {}; }
var withoutRoot = options.withoutRoot;
var url = withoutRoot ? '' : jsbin.root;
var state = jsbin.state;
=======
jsbin.owner = function () {
return jsbin.user && jsbin.user.name && jsbin.state.metadata && jsbin.state.metadata.name ... |
<<<<<<<
if (split) {
return;
}
=======
'use strict';
>>>>>>>
'use strict';
if (split) {
return;
}
<<<<<<<
$form.attr('action', data.url + '/save');
=======
var $binGroup,
edit;
>>>>>>>
<<<<<<<
jsbin.state.latest = true; // this is never not true...end o... |
<<<<<<<
var nodemailer = require('nodemailer'),
express = require('express'),
flatten = require('flatten.js').flatten,
path = require('path'),
app = express(),
hogan = require('./hogan'),
options = require('./config'),
spike = require('./spike'),
store ... |
<<<<<<<
getBinCount: function (id, fn) {
this.store.getUserBinCount(id, fn);
},
=======
updateGithubToken: function (id, token, fn) {
this.store.updateUserGithubToken(id, token, fn);
},
>>>>>>>
getBinCount: function (id, fn) {
this.store.getUserBinCount(id, fn);
},
updateGithubToken: functi... |
<<<<<<<
var done = function () {
res.render('index', {
tips: '{}',
revision: bin.revision || 1,
home: user.name || null,
bincount: user.bincount || 0,
email: user.email || null,
flash_info: req.flash(req.flash.INFO),
gravatar: user.ava... |
<<<<<<<
Promise = require('rsvp').Promise,
processors = require('./processors'),
=======
undefsafe = require('undefsafe'),
Promise = require('rsvp').Promise, // jshint ignore:line
config = require('./config'),
>>>>>>>
Promise = require('rsvp').Promise, // jshint ignore:line
processors = r... |
<<<<<<<
{
'url': '//static.opentok.com/webrtc/v2.2/js/opentok.min.js',
'label': 'OpenTok 2.2'
},
=======
{
'url': [
'//code.ionicframework.com/1.0.0-beta.13/js/ionic.bundle.min.js',
'//code.ionicframework.com/1.0.0-beta.13/css/ionic.min.css'
],
'label': 'Ionic 1.0.0-beta-13'
},... |
<<<<<<<
formatResults: function (e, data, isNewData) {
=======
formatResults: function (data, isNewData) {
data.displayName = data.Text || data.Name || data.Title || data.Code || data[Object.keys(data)[0]];
>>>>>>>
formatResults: function (e, data, isNewData) {
data.displayName = data.Text |... |
<<<<<<<
/*!
* freezeframe.js v3.0.8
* MIT License
*/
=======
// make generic private trigger and release functions
//
// add class to image css to support image ready / active
// hide gif when canvas is active
//
// write function to test for features needed, write failure to console
// if unsupported, attach sim... |
<<<<<<<
import { distance } from 'utils'
=======
import flag from 'static/flag.svg'
import { distance, trackClick } from 'utils'
>>>>>>>
import { distance, trackClick } from 'utils'
<<<<<<<
const HideOnMobile = Box.extend`
=======
const Link = props => <StyledLink {...props} onClick={trackClick(props)} />
const ... |
<<<<<<<
=======
const moment = require('moment');
moment.locale('en');
>>>>>>>
const moment = require('moment');
moment.locale('en');
<<<<<<<
sails.log.info('Source metrics import finished');
}
async function importUserContracts(email = 'all') {
const reqOptions = {
uri: sails.config.scientilla.u... |
<<<<<<<
'expired': Importer.removeExpiredUsers,
'projects': Importer.importProjects,
=======
'expired': Importer.removeExpiredUsers,
'directorates': Importer.importDirectorates,
>>>>>>>
'expired': Importer.removeExpiredUsers,
... |
<<<<<<<
angular.module("components").factory("researchEntityService",
[function () {
var service = {};
service.verify = function (researchEntity, reference) {
return researchEntity.one('drafts', reference.id).customPUT(... |
<<<<<<<
},
'users': Importer.importUserContracts,
=======
'metadata': ExternalImporter.updateMetadata
}
>>>>>>>
'metadata': ExternalImporter.updateMetadata
},
'users': Importer.importUserContracts, |
<<<<<<<
'documentListSections'
=======
'documentSearchForm',
'documentListSections',
'documentCategories'
>>>>>>>
'documentListSections',
'documentCategories'
<<<<<<<
documentListSections) {
=======
... |
<<<<<<<
['get ' + apiPrfx + '/users/username/:username/accomplishments']: 'User.getAccomplishments',
['get ' + apiPrfx + '/groups/slug/:slug/publications']: 'Group.getPublications',
['get ' + apiPrfx + '/groups/slug/:slug/high-impact-publications']: 'Group.getHighImpactPublications',
['get ' + apiPrfx ... |
<<<<<<<
if (!externalDoc) {
sails.log.debug('Document with id ' + doc.id + " has no corresponding external document");
continue;
}
=======
const docData = Document.selectData(doc);
>>>>>>>
if (!externalDoc) {
sails.log.debug('Document with id ' + do... |
<<<<<<<
service.deleteDraft = deleteDraft;
service.deleteDrafts = deleteDrafts;
=======
service.getExternalDrafts = getExternalDrafts;
>>>>>>>
service.getExternalDrafts = getExternalDrafts;
service.deleteDraft = deleteDraft;
service.deleteDrafts = deleteDrafts; |
<<<<<<<
profile.hidden = (contract.no_people === 'NO PEOPLE' ? true : false);
=======
if (!profile) {
return;
}
profile.hidden = (contract.no_people === 'NO PEOPLE' ? true: false);
>>>>>>>
if (!profile) {
return;
}
profile.hidden = (contract.no_people === 'NO PEOPLE' ? t... |
<<<<<<<
function attachProperties(tag, prop, z, accessor, attr, setter){
var key = z.split(':'), type = key[0];
if (type == 'get') {
key[0] = prop;
tag.prototype[prop].get = xtag.applyPseudos(key.join(':'), accessor[z], tag.pseudos);
}
else if (type == 'set') {
key[0] = prop;
... |
<<<<<<<
/*
##################################################################################
# #
# notice 2018-12-10 #
# ... |
<<<<<<<
render () {
return (
<div className='container'>
<div className='spinner transition500' />
<div className='error transition500' />
<div className='row first'>
<div className='fixed-area'>
<div className='col-sm-2 contentcontainer'>
<div classNa... |
<<<<<<<
'bugReporterMetrics',
=======
'backendLogBootstrapper',
'mysteriumProcessLogCache',
>>>>>>>
'backendLogBootstrapper',
'mysteriumProcessLogCache',
'bugReporterMetrics',
<<<<<<<
bugReporterMetrics,
=======
backendLogBootstrapper,
mysteriumProcessLogCache... |
<<<<<<<
import {app, session as browserSession} from 'electron'
import {
logLevel as processLogLevel
} from '../libraries/mysterium-client/index'
import {install as installFeedbackForm} from './bugReporting/feedback-form'
=======
import trayFactory from '../main/tray/factory'
import {logLevel as processLogLevel} fr... |
<<<<<<<
import bugReporterBootstrap from './modules/bugReporter'
import tequilapiBootstrap from '../../dependencies/tequilapi'
=======
>>>>>>>
<<<<<<<
bugReporterBootstrap(container)
tequilapiBootstrap(container)
proposalFetcherBootstrap(container)
=======
>>>>>>> |
<<<<<<<
const healthCheckPath = '/healthcheck'
=======
const healthcheckPath = '/healthcheck'
const stopPath = '/stop'
>>>>>>>
const healthCheckPath = '/healthcheck'
const stopPath = '/stop'
<<<<<<<
healthCheck: async (timeout) => axioAdapter.get(healthCheckPath, {timeout}),
=======
async healthcheck () {... |
<<<<<<<
return this._sudoExec(`${escapePath(this._path)} --do=install && ${escapePath(this._path)} --do=start`)
}
async reinstall (): Promise<string> {
let command =
`${escapePath(this._path)} --do=uninstall & ${escapePath(this._path)} --do=install && ${escapePath(this._path)} --do=start`
const s... |
<<<<<<<
import connectionStatus from '../connectionStatus'
// TODO tequilAPI should be passed via DI
=======
import config from '../../config'
>>>>>>>
import connectionStatus from '../connectionStatus' |
<<<<<<<
import types from '@/store/types'
=======
import DIContainer from '../../../../src/app/di/vue-container'
>>>>>>>
import types from '@/store/types'
import DIContainer from '../../../../src/app/di/vue-container' |
<<<<<<<
import { createLocalVue, mount } from '@vue/test-utils'
=======
// @flow
import {createLocalVue, mount} from '@vue/test-utils'
>>>>>>>
// @flow
import { createLocalVue, mount } from '@vue/test-utils'
<<<<<<<
=======
import Vue from 'vue'
import type from '@/store/types'
import translations from '@/../ap... |
<<<<<<<
import TequilapiClient from '../../../../src/libraries/mysterium-tequilapi/client'
import types from '@/store/types'
=======
import type { TequilapiClient } from '../../../../src/libraries/mysterium-tequilapi/client'
>>>>>>>
import types from '@/store/types'
import type { TequilapiClient } from '../../../../... |
<<<<<<<
import ConnectionStatusEnum from '../../../src/libraries/mysterium-tequilapi/dto/connection-status-enum'
=======
import IdentityRegistrationDTO from '../../../src/libraries/mysterium-tequilapi/dto/identity-registration'
>>>>>>>
import ConnectionStatusEnum from '../../../src/libraries/mysterium-tequilapi/dto/... |
<<<<<<<
var habitrpg = angular.module('habitrpg', ['ionic', 'userServices', 'groupServices', 'challengeServices', 'memberServices', 'sharedServices', 'notificationServices', 'storeServices', 'ngResource', 'ngCordova'])
=======
var habitrpg = angular.module('habitrpg', ['ionic', 'ngResource'])
>>>>>>>
var habitrpg = ... |
<<<<<<<
=======
function setAuthHeaders(uid, apiToken){
$http.defaults.headers.common['x-api-user'] = uid;
$http.defaults.headers.common['x-api-key'] = apiToken;
authenticated = true;
}
//TODO change this once we have auth built
setAuthHeaders('ec1d... |
<<<<<<<
// Backbone - account - mapping
"main_account_mapping_title":"الخريطة إلى DAppChain",
"main_account_mapping_text":"DAppChain هي عبارة عن شبكة سلسلة جانبية تم تطويرها استنادًا إلى سلسلة ترون الرئيسية ، وهي حل للتحجيم لشبكة TRON MainNet.",
"main_account_mapping_text_1":"1.مقدار أعلى من tps بالمقابل الح... |
<<<<<<<
var desktopTapHandler = function desktopTapHandler(socket, callback) {
socket.on('tap', function (data) {
if (callback) callback(data);
=======
var desktopTapHandler = function desktopTapHandler(callback) {
imperio.callbacks.tap = callback;
imperio.socket.on('tap', function () {
if (callb... |
<<<<<<<
// modified gyro share to detect time of emission
=======
>>>>>>>
// modified gyro share to detect time of emission
<<<<<<<
// modified gyrohandler to detect time between emit and receive
=======
>>>>>>>
// modified gyrohandler to detect time between emit and receive |
<<<<<<<
const desktopTapHandler = (socket, callback) => {
socket.on('tap', data => {
if (callback) callback(data);
=======
const desktopTapHandler = callback => {
imperio.callbacks.tap = callback;
imperio.socket.on('tap', () => {
if (callback) callback();
>>>>>>>
const desktopTapHandler = callback => {... |
<<<<<<<
app.use(cookieParser());
=======
app.set('view engine', 'ejs');
>>>>>>>
app.use(cookieParser());
app.set('view engine', 'ejs'); |
<<<<<<<
=======
// Zoom in/out the game grid
var zoomIn = function () {
// Using the minimum of height and width accounts for mobile devices
var sideLen = Math.min(document.body.clientHeight, document.body.clientWidth);
var gridHeight = document.getElement... |
<<<<<<<
import updateQueryBuilderCache from './updateQueryBuilderCache';
=======
import {
reasignPersonaStatements
} from 'lib/services/persona';
>>>>>>>
import updateQueryBuilderCache from './updateQueryBuilderCache';
import {
reasignPersonaStatements
} from 'lib/services/persona'; |
<<<<<<<
import { routeNodeSelector } from 'redux-router5';
=======
import VisualisationTypeIcon from './VisualisationTypeIcon';
>>>>>>>
import VisualisationTypeIcon from './VisualisationTypeIcon';
<<<<<<<
render = () =>
(
<div>
<header id="topbar">
<div className="heading heading-light... |
<<<<<<<
import { sagas as personasSagas } from './persona';
=======
import { sagas as alertsSagas } from './alerts';
>>>>>>>
import { sagas as personasSagas } from './persona';
import { sagas as alertsSagas } from './alerts';
<<<<<<<
...map(personasSagas, runSaga)
=======
...map(alertsSagas, runSaga),
>>... |
<<<<<<<
uploadPersonas: recycleState(uploadPersona, [LOGOUT, ORG_LOGOUT]),
=======
alerts: recycleState(alerts, [LOGOUT, ORG_LOGOUT]),
>>>>>>>
uploadPersonas: recycleState(uploadPersona, [LOGOUT, ORG_LOGOUT]),
alerts: recycleState(alerts, [LOGOUT, ORG_LOGOUT]), |
<<<<<<<
return res.status(200).send(replaceId(identifier));
=======
// assign persona and personaIdentifier to statements
asignIdentifierToStatements({ organisation, identifier });
return res.status(200).send(identifier);
>>>>>>>
// assign persona and personaIdentifier to statements
... |
<<<<<<<
MANAGE_ALL_ORGANISATIONS,
];
export default scopes;
=======
// MANAGE_ALL_ORGANISATIONS,
];
>>>>>>>
// MANAGE_ALL_ORGANISATIONS,
];
export default scopes; |
<<<<<<<
=======
$scope.setInflationLumenaut = function() {
$scope.inflation = 'GCCD6AJOYZCUAQLX32ZJF2MKFFAUJ53PVCFQI3RHWKL3V47QYE2BNAUT';
$scope.setInflation();
}
>>>>>>>
$scope.setInflationLumenaut = function() {
$scope.inflation = 'GCCD6AJOYZCUAQLX32ZJF2MKFFAUJ53PVCFQI3RHWKL3V47QYE2BNAUT';
$... |
<<<<<<<
"current_MaxTPS":"Current/Max TPS",
=======
/*
##################################################################################
# #
# exchange #
# ... |
<<<<<<<
const { translate, translateUrl } = require('./providers/google-translate')
=======
const { debounce } = require('sdk/lang/functional')
const { translate, translateUrl, translatePageUrl } = require('./providers/google-translate')
const { getMostRecentBrowserWindow } = require('sdk/window/utils')
>>>>>>>
cons... |
<<<<<<<
updateResult(res.translation)
if (sp.prefs.langFrom === 'auto') {
=======
// TODO create preferences
if(res.alternatives) {
updateResult(res.translation, res.alternatives)
} else if(res.dictionary) {
updateResult(res.translation, res.dictionary)
} else {
... |
<<<<<<<
=======
isString = extd.isString,
isHash = extd.isHash,
format = extd.format,
>>>>>>> |
<<<<<<<
Object.defineProperty(TelegramContext.prototype, `${method}To`, {
enumerable: false,
configurable: true,
writable: true,
value(id, ...rest) {
return this._client[method](id, ...rest);
},
});
=======
>>>>>>> |
<<<<<<<
/**
* Signature Validation
*
* https://devdocs.line.me/en/#webhooks
*/
isValidSignature = (rawBody, signature: string): boolean =>
=======
isValidSignature = (rawBody: string, signature: string): boolean =>
>>>>>>>
/**
* Signature Validation
*
* https://devdocs.line.me/en/#webhoo... |
<<<<<<<
=======
import DelayableJobQueue from './DelayableJobQueue';
import type { PlatformContext } from './PlatformContext';
>>>>>>>
import type { PlatformContext } from './PlatformContext';
<<<<<<<
_messageDelay: number = 1000;
=======
_jobQueue: DelayableJobQueue;
>>>>>>>
_messageDelay: number = 1000;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.