conflict_resolution stringlengths 27 16k |
|---|
<<<<<<<
if (!this.get('isMoving')) {
if (event.target !== this.get('currentDragEvent').target && hasSameSortingScope) { //if not dragging over self
=======
if (!this.get('isMoving') && this.get('currentDragEvent')) {
if (normalizedEvent.target !== this.get('currentDragEvent').target && hasSameSort... |
<<<<<<<
Msg_Req.REQ_FETCH_SHOP_INFO = 120400; //获取商店信息
Msg_Req.REQ_BUY_PRODUCT = 120401; //购买物品
Msg_Req.REQ_REFRESH_SHOP = 120402; //手动刷新商店
=======
Msg_Req.REQ_ADD_SKILL_LEVEL = 120305; //提高英雄技能等级
>>>>>>>
Msg_Req.REQ_ADD_SKILL_LEVEL = 120305; //提高英雄技能等级
Msg_Req.REQ_F... |
<<<<<<<
date: new Date('2018-11-09'),
changes: 'Added checklist and suggestions for WG with high initial overhealing.',
contributors: [blazyb],
},
{
=======
date: new Date('2018-11-07'),
changes: 'Added support for random LB blooms in Photosynthesis.',
contributors: [blazyb],
},
{
>>>... |
<<<<<<<
readStreamToEnd(res, function(errorBody){
fire( ERROR_EVENT, statusCode, errorBody );
});
=======
emit( ERROR_EVENT, statusCode );
>>>>>>>
readStreamToEnd(res, function(errorBody){
emit( ERROR_EVENT, statusCode, errorBody... |
<<<<<<<
generateFrontEnd('React');
console.log('Hit React switch!')
=======
selectionConditions[react] = 'react';
obj.module.rules.push({
test: /\.(js|jsx)$/,
exclude: /node_modules/,
use: {
loader: 'babel-loader',
options: {
presets: ['... |
<<<<<<<
const markoController = require('./controllers/marko');
=======
const infernoController = require('./controllers/inferno');
>>>>>>>
const markoController = require('./controllers/marko');
const infernoController = require('./controllers/inferno');
<<<<<<<
router.get('/marko', markoController.home);
=======... |
<<<<<<<
const SelectInputElement = wrapper.find('getContext(SelectInput)');
assert.equal(SelectInputElement.prop('errorText'), false);
=======
const SelectInputElement = wrapper.find('SelectInput');
assert.equal(SelectInputElement.prop('errorText'), undefined);
>>>>>>>... |
<<<<<<<
const server = require('./lib/server');
const publisher = require('./lib/publisher');
const constants = require('./lib/constants');
=======
const { createAWSExports, createAmplifyConfig } = require('./lib/frontend-config-creator');
const constants = require('./lib/constants');
>>>>>>>
const server = requir... |
<<<<<<<
Type = require('../core').Type,
Status = require('../core').Status,
MessageList = require('../core').MessageList,
Presence = require('../core').Presence,
=======
Core = require('../core'),
Type = Core.Type,
Heartbeat = require('../core/lib/Heartbeat.js'),
>>>>>>>
Core = requir... |
<<<<<<<
}
Presence.prototype = new Resource();
=======
// add parent callback
this.parentCallback = function() {
self._xserver.timeouts();
};
this.parent.timer.add( this.parentCallback );
};
>>>>>>>
};
<<<<<<<
var userClientMap = {};
Presence.prototype.setStatus = function(client, message, sendAck) {
... |
<<<<<<<
export default ({ app, router, store, urlPath, redirect }) => {
const cfg = getApolloClientConfig({ app, router, store, urlPath, redirect });
=======
export default async ({ app, router, store, urlPath, redirect }) => {
>>>>>>>
export default async ({ app, router, store, urlPath, redirect }) => {
const ... |
<<<<<<<
var bogart = require('../lib/bogart')
, Q = require("promised-io/lib/promise")
, assert = require('assert')
, path = require('path')
, security = require("../lib/security");
=======
var bogart = require('../lib/bogart')
, Q = require("promised-io/lib/promise")
, assert = r... |
<<<<<<<
settings.appendChild(await createSpeechSynthToggle());
try {
settings.appendChild(await createTranslatorModeToggle());
} catch (e) {
console.error("BAD BAD", e);
}
=======
if (!isAndroid) settings.appendChild(await createSpeechSynthToggle());
>>>>>>>
if (!isAndroid) settings.appendChild(a... |
<<<<<<<
export findLocalizedText from './find-localized-text';
export * from './locale-helpers';
export objectInvert from './object-invert';
export findPreservingIds from './find-preserving-ids';
export findUnusedSlug from './find-unused-slug';
export slugify from './slugify';
=======
export { default as objectInvert... |
<<<<<<<
* @param {String} method one of 'GET' 'POST' 'PUT' 'DELETE'
* @param {String} contentSource the url to make a request to, or a stream to read from
=======
* @param {String} method one of 'GET' 'POST' 'PUT' 'PATCH' 'DELETE'
* @param {String} url the url to make a request to
>>>>>>>
* @param {String} meth... |
<<<<<<<
},
=======
self.initVersion();
} ,
initVersion: function(){
var ret = {"v1":[{"version":"v1","text":"v1"}],"v2":[{"version":"v2","text":"v2"}]}
>>>>>>>
self.initVersion();
},
initVersion: function() {
var ret = {
"v1": [{
"version": "v1",
"text": "v1... |
<<<<<<<
=======
// non-modifying HTML parsing rules for cheerio
var CHEERIO_OPTIONS = {
normalizeWhitespace: false,
xmlMode: false,
decodeEntities: false
};
var cheerioRenderOptions = cheerio.prototype.options;
cheerioRenderOptions.decodeEntities = false;
>>>>>>>
<<<<<<<
var styleEl = whacko('<style>'... |
<<<<<<<
$('.togglesmall').each(function(index, html) {
var switchery = new Switchery(html,
{
size: 'small',
color: '#59aa29',
secondaryColor: '#c4c4c4' ... |
<<<<<<<
SENSOR_ALIGNMENT.align_gyro = parseInt(orientation_gyro_e.val());
SENSOR_ALIGNMENT.align_acc = parseInt(orientation_acc_e.val());
SENSOR_ALIGNMENT.align_mag = parseInt(orientation_mag_e.val());
=======
// track feature usage
if (isFeatureEnabled('RX... |
<<<<<<<
case MSP_codes.MSP_SET_3D:
console.log('3D settings saved');
break;
case MSP_codes.MSP_SET_SENSOR_ALIGNMENT:
console.log('Sensor alignment saved');
break;
=======
case MSP_codes.MSP_SET_RX_CONFIG:
... |
<<<<<<<
// TODO: Check if this needs to be Buffer or not.
const body = Buffer.from(arrayBuffer);
if (!filePath)
dicomDB.attachment.insert(
couchDoc._id,
'object.dcm',
body,
'application/dicom',
{ rev: data.re... |
<<<<<<<
assert.ok(util.inspect(x).indexOf('inspect') != -1);
// util.inspect.styles and util.inspect.colors
function test_color_style(style, input, implicit) {
var color_name = util.inspect.styles[style];
var color = ['', ''];
if(util.inspect.colors[color_name])
color = util.inspect.colors[color_name];
va... |
<<<<<<<
if (startup.lazyConstants()[sig]) {
err = process._kill(pid, startup.lazyConstants()[sig]);
=======
if (startup.lazyConstants()[sig] &&
sig.slice(0, 3) === 'SIG') {
r = process._kill(pid, startup.lazyConstants()[sig]);
>>>>>>>
if (startup.lazyConstants(... |
<<<<<<<
return (this[offset] * 0x1000000) +
((this[offset + 1] << 16) |
(this[offset + 2] << 8) |
(this[offset + 3]) >>> 0);
};
=======
return (this[offset] * 0x1000000) +
((this[offset + 1] << 16) |
(this[offset + 2] << 8) |
this[offset + 3]);
};
>>>>>>>
return (this[offset... |
<<<<<<<
// Load module
if ('/\\'.indexOf(process.argv[1].charAt(0)) < 0
&& process.argv[1].charAt(1) != ':'
&& !(/^http:\/\//).exec(process.argv[1])) {
process.argv[1] = path.join(cwd, process.argv[1]);
=======
if (process.argv[1] == 'debug') {
// Start the debugger agent
... |
<<<<<<<
import { Animated, Dimensions, Platform, Share } from 'react-native';
=======
import { Animated, Dimensions, Share, BackAndroid } from 'react-native';
>>>>>>>
import { Animated, Dimensions, Platform, Share, BackAndroid } from 'react-native'; |
<<<<<<<
sendTextMessage: function(dialog, text) {
ActorClient.sendTextMessage(dialog.peer.peer, text);
=======
setMessageShown: function(peer, message) {
ActorClient.onMessageShown(peer, message);
},
sendMessageText: function(dialog, text) {
ActorClient.sendMessageText(dialog.peer.peer, text);
>... |
<<<<<<<
"twisted again by": "ретвіст від",
=======
"Twistday Reminder": "Twistday Reminder",
"Show upcoming in near future": "Show upcoming in near future",
"Who's celebrating Twistday": "Who's celebrating Twistday",
"Today's luckies:": "Today's luckies:",
"Upcoming ones:": "Upcomi... |
<<<<<<<
=======
const npm = require('./npm.js')
const chromeWebStore = require('./chrome-web-store.js')
>>>>>>>
<<<<<<<
'crates': require('./crates.js'),
'npm': require('./npm.js')
=======
npm,
'chrome-web-store': chromeWebStore,
>>>>>>>
'chrome-web-store': require('./chrome-web-store.js'),
'crates'... |
<<<<<<<
id: "validate-pano-marker",
=======
markerContainer: controlLayer,
>>>>>>>
id: "validate-pano-marker",
markerContainer: controlLayer,
<<<<<<<
currentLabel.setProperty('startTimestamp', new Date().getTime());
setPanorama(label.getAuditProperty('gsvPanoramaI... |
<<<<<<<
let getSessionInterval = null;
let getTransactionStatusInterval = null;
export const walletConnectModalInit = () => async (dispatch, getState) => {
// Q: dapp name
const webConnector = new WebConnector("https://walletconnect.balance.io", { "dappName": "Balance Manager" });
dispatch({ type: WALLET_CONNECT... |
<<<<<<<
function updateMissionProgress() {
let labelsProgress = getProperty("labelsProgress");
=======
function updateMissionProgress(skip) {
var labelsProgress = getProperty("labelsProgress");
>>>>>>>
function updateMissionProgress(skip) {
let labelsProgress = getProperty("labels... |
<<<<<<<
'</tr>'+
'<tr>'+
'<th>Time Submitted</th>'+
'<td id="timestamp" colspan="3"></td>'+
'</tr>'+
'<tr>'+
'<th>Label ID</... |
<<<<<<<
var coll = {"type":"FeatureCollection",
"features":[
{"type":"Feature","geometry":{"type":"LineString",
"coordinates":[
[-77.041402,38.8764389],
[-77.059005,38.8864323],
... |
<<<<<<<
import {
web3WebSocketPendingTxs,
web3SetHttpProvider,
web3SetWebSocketProvider
} from '../helpers/web3';
import { warningOffline, warningOnline } from './_warning';
=======
import { web3SetProvider } from '../helpers/web3';
>>>>>>>
import { web3SetHttpProvider, web3SetWebSocketProvider } from '../help... |
<<<<<<<
apiShapeshiftGetQuotedPrice,
apiGetGasPrices
=======
apiShapeshiftGetMarketInfo,
apiGetGasPrices,
>>>>>>>
apiShapeshiftGetQuotedPrice,
apiGetGasPrices,
<<<<<<<
=======
const EXCHANGE_GET_MARKET_INFO_REQUEST =
'exchange/EXCHANGE_GET_MARKET_INFO_REQUEST';
const EXCHANGE_GET_MARKET_INFO_SUCCESS... |
<<<<<<<
if (!svl.map.getStatus("lockDisablePanning") && !svl.map.getStatus("disablePanning")){
var heading = svl.panorama.pov.heading;
var pitch = svl.panorama.pov.pitch;
var zoom = svl.panorama.pov.zoom;
heading = (heading + degree + 360) % 360;
svl.... |
<<<<<<<
return "adjust-heading-angle-4";
}
=======
return "adjust-heading-angle-3";
}]
>>>>>>>
return "adjust-heading-angle-4";
}]
<<<<<<<
"transition": function () {
var completedRate = 25 / numStates;
... |
<<<<<<<
/**
* Central function that handles the creation of choropleths and maps.
* @param _ Allows the use of Underscore.js
* @param $ Allows the use of jQuery.
* @param difficultRegionIds Used to identify difficult regions.
* @param params Object that includes properties that can change the process of choropleth... |
<<<<<<<
} else if (
_value >= timeUnits.ms.second &&
_value < timeUnits.ms.minute
) {
_value = BigNumber(
BigNumber(`${_value}`)
.dividedBy(BigNumber(`${timeUnits.ms.second}`))
.toFixed(2),
).toString();
=======
} else if (_value >= t... |
<<<<<<<
"message": 'Awesome! Let’s finish labeling the last curb ramp in the intersection. ' +
'First, <span class="bold">grab and drag the Street View image.</span>',
=======
"message": 'Awesome! We’re almost done with the training. Let’s learn how to walk. First, ' +
... |
<<<<<<<
import { capitalize } from '../../helpers/utilities';
import { colors, fonts } from '../../styles';
const mdBreakpoint = '712px';
const xsBreakpoint = '363px';
=======
import { colors, fonts, responsive } from '../../styles';
>>>>>>>
import { colors, fonts } from '../../styles';
const mdBreakpoint = '712px... |
<<<<<<<
import FetchLoader from "xgplayer-loader-fetch";
import XgBuffer from "xgplayer-buffer";
import Context from "../../xgplayer-utils/Context";
=======
import Context from 'xgplayer-utils/Context'
import FlvDemuxer from 'xgplayer-flv/demux'
>>>>>>>
import FetchLoader from "xgplayer-loader-fetch";
import XgBuf... |
<<<<<<<
import lang from '../languages';
import OpenSeaLogo from '../assets/opensea-logo.svg';
import { fonts, responsive } from '../styles';
=======
import { lang } from 'balance-common';
import OpenSeaLogo from '../assets/opensea-icon.png';
>>>>>>>
import { lang } from 'balance-common';
import OpenSeaLogo from '..... |
<<<<<<<
value: PropTypes.any.isRequired,
change: PropTypes.func.isRequired,
propName: PropTypes.string.isRequired,
editProps: PropTypes.object,
defaultProps: PropTypes.object,
isDisabled: PropTypes.bool,
validate: PropTypes.func,
shouldBlockWhileLoading: P... |
<<<<<<<
var c = {simple: true}, i;
=======
>>>>>>>
var c = {simple: true}, i;
<<<<<<<
c.method = c.method.toUpperCase();
=======
return buildPromise(c);
}
function buildPromise (c, requester) {
var _requester = requester || request;
>>>>>>>
c.method = c.method.toUpperCase();
return b... |
<<<<<<<
let _messageId = 0;
=======
const html = `
<!doctype html>
<html>
<head>
<style>
html {
margin: 0;
padding: 0;
overflow: hidden;
width: 100%;
height: 100%;
}
body {
margin: 0;
padding: 0;
ove... |
<<<<<<<
import czech from './_czech.json';
=======
import italian from './_italian.json';
import portuguese from './_portuguese.json';
import russian from './_russian.json';
import spanish from './_spanish.json';
import polish from './_polish.json';
>>>>>>>
import czech from './_czech.json';
import italian from './_... |
<<<<<<<
import interactionsTabIcon from '../assets/interactions-tab.svg';
import uniquetokensTabIcon from '../assets/star-tab.svg';
=======
>>>>>>>
import uniquetokensTabIcon from '../assets/star-tab.svg';
<<<<<<<
tabPosition: -87 + this._firstTabOffset(),
=======
activeLang: 'en',
tabPosition:... |
<<<<<<<
const Concept = require('./model/concept');
const ValidatedConcept = require('./model/validatedconcept');
const Resource = require('./model/resource');
const ResourceValidator = require('./serializer/resourcevalidator');
const ValidatedResource = require('./model/validatedresource');
const Relationship = requi... |
<<<<<<<
module.exports.Admin = require('./lib/admin');
=======
module.exports.BusinessNetworkRegistry = require('./lib/businessnetworkregistry');
module.exports.ManagementConnection = require('./lib/managementconnection');
/**
* Expose key concerto-common classes to make simplify client application dependencies
*/... |
<<<<<<<
goog.require("vivliostyle.layoututil");
=======
goog.require('vivliostyle.pagefloat');
>>>>>>>
goog.require("vivliostyle.layoututil");
goog.require('vivliostyle.pagefloat');
<<<<<<<
/** @type {!Array.<adapt.layout.FragmentLayoutConstraint>} */ this.fragmentLayoutConstraints = [];
/** @type {adapt.la... |
<<<<<<<
/** @type {number} */ this.fragmentIndex = 1;
=======
/** @type {?string} */ this.repeatOnBreak = null;
/** @type {number} */ this.fragmentIndex = 1;
/** @type {!Array.<string>} */ this.fragmentSelectorIds = [];
>>>>>>>
/** @type {?string} */ this.repeatOnBreak = null;
/** @type {numb... |
<<<<<<<
import italian from './_italian.json';
=======
import german from './_german.json';
>>>>>>>
import italian from './_italian.json';
import german from './_german.json';
<<<<<<<
it: italian,
=======
de: german,
>>>>>>>
it: italian,
de: german, |
<<<<<<<
accountClearState,
ledgerConnectInit,
=======
ledgerConnectInit
>>>>>>>
ledgerConnectInit, |
<<<<<<<
/**
*
* @param {*} source
* @param {*} target
*/
self.setDefaultCompany = function (source, target) {
if (source && target) {
if (!target.company_id && _.isEmpty(target.company_ids)) {
if (source.company_id) {
target.company_id = source.company_id;
}
if (source.company_ids) {
... |
<<<<<<<
load() {
this.entities = {}
this.relations = []
let files;
try {
files = fs.readdirSync(path.join(this.app.path, 'entities'))
} catch (e) {
files = []
fs.mkdirSync(path.join(this.app.path, 'entities'))
return Promise.resolve(false)
}
=======
_loadFromPath(basePath, opts) {
return n... |
<<<<<<<
this.add(endpoint, {save: false, apply: false})
=======
this.add(endpoint, opts)
>>>>>>>
this.add(endpoint, opts)
<<<<<<<
updateEndpoints() {
this.router = new express.Router()
=======
load() {
this.endpoints = []
this._loadFromPath(this.app.path, {
save: false
})
}
loadFrom... |
<<<<<<<
let relativePath = path.join('entities', this.name + '.json')
=======
let basepath = this.app.path
if (this.fromAddon) {
basepath = path.join(this.app.path, 'addons', this.fromAddon)
}
>>>>>>>
let relativePath = path.join('entities', this.name + '.json')
let basepath = this.app.path
if (thi... |
<<<<<<<
=======
tooltip={`Increased your Shred damage by a total of <b>${formatNumber(this.shredDamage)}</b> and ${swipeName} by <b>${formatNumber(this.swipeDamage)}</b>.
<ul>
<li><b>${(100 * this.shredsWithThrash / this.shredsTotal).toFixed(0)}%</b> of your Shreds benefited from Wild Fleshr... |
<<<<<<<
import networkList from '../references/ethereum-networks.json';
/**
* @desc save to local storage
* @param {String} [key='']
* @param {Object} [data={}]
* @return {Object}
*/
export const saveLocal = (key = '', data = {}) =>
localStorage.setItem(key, JSON.stringify(data));
/**
* @desc get from loc... |
<<<<<<<
const shapeshift = axios.create({
baseURL: 'https://shapeshift.io',
timeout: 30000, // 30 secs
headers: {
'Content-Type': 'application/json',
Accept: 'application/json'
}
});
=======
export const apiShapeshiftGetMarketInfo = (
depositSelected = '',
withdrawalSelected = '',
) =>
api.get(
... |
<<<<<<<
import { startCase } from 'lodash';
import { ImageGrid } from 'kitsu/screens/Feed/components/ImageGrid';
import { ImageLightbox } from 'kitsu/components/ImageLightbox';
=======
import { startCase, isEmpty } from 'lodash';
import dataBunny from 'kitsu/assets/img/data-bunny.png';
>>>>>>>
import { startCase } f... |
<<<<<<<
Object.keys(this.props.exchangeDetails).length && this.props.exchangeDetails.quotedRate
=======
Object.keys(this.props.exchangeDetails).length &&
this.props.exchangeDetails.rate
>>>>>>>
Object.keys(this.props.exchangeDetails).length &&
this.props.exchangeDetails.quotedRate
<<<<... |
<<<<<<<
import QuickUpdateStack from './quickUpdate';
=======
import FeedStack from './feed';
>>>>>>>
import QuickUpdateStack from './quickUpdate';
import FeedStack from './feed';
<<<<<<<
QuickUpdateStack,
=======
FeedStack,
>>>>>>>
FeedStack, |
<<<<<<<
scrollToCommentInput = (index) => {
this.postList.scrollToIndex({
animated: true,
index,
viewPosition: 1,
viewOffset: POST_COMMENT_OFFSET * -1,
});
}
=======
>>>>>>> |
<<<<<<<
simplex = require("./rank/simplex"),
=======
initRank = require("./rank/initRank"),
>>>>>>>
initRank = require("./rank/initRank"),
simplex = require("./rank/simplex"),
<<<<<<<
PriorityQueue = require("cp-data").PriorityQueue,
Set = require("cp-data").Set,
Digraph = require("graph... |
<<<<<<<
minLen.push(minLenMap[id] = { e: e, u: u, v: v, len: 1 });
=======
minLen.push(minLenMap[id] = { u: u, v: v, len: 0 });
>>>>>>>
minLen.push(minLenMap[id] = { e: e, u: u, v: v, len: 0 }); |
<<<<<<<
=======
import Grid from '@material-ui/core/Grid';
>>>>>>>
import Grid from '@material-ui/core/Grid';
<<<<<<<
<div className="analytics--container" style={body}>
<h1 className="headerText center">Country overview</h1>
<OverviewTop />
... |
<<<<<<<
import CBSNavigation from '../../../../../Navigation/Web.React/lib/index.js';
=======
import CBSNavigation from '../Navigation/CBSNavigation';
import HealthRiskSelector from "../healthRisk/HealthRiskSelector";
import LastWeekTotals from "../lastWeekTotals/LastWeekTotals";
>>>>>>>
import CBSNavigation from '.... |
<<<<<<<
{/*<Map />*/}
=======
<HealthRiskPerDistrictTable />
{/* <Map /> */}
<ReportsPerHealthRiskPerDay></ReportsPerHealthRiskPerDay>
>>>>>>>
{/* <Map /> */}
<ReportsPerHealthRiskPerDay></ReportsP... |
<<<<<<<
import AccountInteractions from './AccountInteractions';
import AccountUniqueTokens from './AccountUniqueTokens';
=======
>>>>>>>
import AccountUniqueTokens from './AccountUniqueTokens';
<<<<<<<
<Route
exact
path={`${this.props.match.url}/interactions`}
... |
<<<<<<<
* node = require('neo-js-blockchain');
=======
* neo = require('@cityofzion/neo-js');
>>>>>>>
* node = require('@cityofzion/neo-js');
<<<<<<<
* node = require('neo-js-blockchain');
=======
* neo = require('@cityofzion/neo-js');
>>>>>>>
* node = require('@cityofzion/neo-js'); |
<<<<<<<
import { sentryOptions } from './Sentry';
=======
import { contentIcons } from './ContentIcons';
>>>>>>>
import { sentryOptions } from './Sentry';
import { contentIcons } from './ContentIcons';
<<<<<<<
sentryOptions: {
...sentryOptions,
},
=======
contentIcons: contentIcons,
>>>>>>>
... |
<<<<<<<
requiredTiles,
=======
sidebarComponents,
>>>>>>>
requiredTiles,
sidebarComponents,
<<<<<<<
requiredTiles,
=======
sidebarComponents,
>>>>>>>
requiredTiles,
sidebarComponents, |
<<<<<<<
pt_BR: 'Português (Brasil)',
=======
ja: '日本語',
>>>>>>>
ja: '日本語',
pt_BR: 'Português (Brasil)', |
<<<<<<<
"cMisc-CallServerEvent" : (eventName, d) => mp.events.callRemote(eventName, d)
=======
"cMisc-CallServerEvent" : (eventName, id, price) => {
mp.events.callRemote(eventName, id, price);
},
>>>>>>>
"cMisc-CallServerEvent" : (eventName, id, price) => mp.events.callRemote(eventName, id, price); |
<<<<<<<
'moment',
'bidi/bidi',
], function($, IPython, utils, dialog, events, keyboard, moment, bidi) {
=======
'moment'
], function($, IPython, utils, i18n, dialog, events, keyboard, moment) {
>>>>>>>
'moment',
'bidi/bidi',
'moment'
], function($, IPython, utils, i18n, dialog, events, keyboa... |
<<<<<<<
'bidi/bidi',
], function($, utils, dialog, keyboard, moment, bidi) {
=======
], function($, utils, i18n, dialog, keyboard, moment) {
>>>>>>>
'bidi/bidi',
], function($, utils, i18n, dialog, keyboard, moment, bidi) {
<<<<<<<
el.text('Last Checkpoint: ' + human_date).attr('title', long_date);
... |
<<<<<<<
{ pattern: "node_modules/knockout/build/output/knockout-latest.debug.js", included: true, watched: false },
=======
"node_modules/jquery-mockjax/dist/jquery.mockjax.min.js",
>>>>>>>
"node_modules/jquery-mockjax/dist/jquery.mockjax.min.js",
{ pattern: "node_modules/knockout/build/outpu... |
<<<<<<<
_addOrChangeColors: function(colors) {
=======
_addOrChangeColors: function () {
>>>>>>>
_addOrChangeColors: function () {
<<<<<<<
} else {
this._customColors = $("<div>").addClass(this.css.customColors);
this._customColors.appendTo(this._c... |
<<<<<<<
en: "Clinic",
=======
en: "VDC",
fr: "Arrondissement"
},
"related_entities.health_center.name": {
en: "VDC",
>>>>>>>
en: "Clinic",
fr: "Arrondissement"
},
"related_entities.health_center.name": {
en: "Clinic", |
<<<<<<<
require('./db-get');
=======
require('./db');
>>>>>>>
require('./db');
require('./db-get'); |
<<<<<<<
};
exports.duplicate_form_submissions = {
map: function(doc) {
if (doc.type == "data_record" &&
doc.sms_message &&
doc.sms_message.form) {
emit([doc.sms_message.form,
doc.sms_message.from,
doc.sms_message.message],... |
<<<<<<<
exports['filter tests'] = function(test) {
var contact = {
phone: 'x'
=======
exports['docs fail filter'] = function(test) {
var related_entities = {
clinic: {
contact: {
phone: "x"
}
}
>>>>>>>
exports['docs fail filter'] = function(test... |
<<<<<<<
var getSettingsUpdates = function() {
return {
name: $scope.editUserModel.name,
fullname: $scope.editUserModel.fullname,
email: $scope.editUserModel.email,
phone: $scope.editUserModel.phone,
language: $scope.editUserModel.language &&
... |
<<<<<<<
locale = utils.getLocale(doc),
eventType = getEventType(config, doc);
=======
mute;
>>>>>>>
eventType = getEventType(config, doc);
<<<<<<<
function addErr(event_type) {
var msg = getMessage(config, event_type);
... |
<<<<<<<
exports.getAppInfo = function(user) {
var gateway,
info,
muvuku;
=======
exports.getAppInfo = function() {
var info,
muvuku,
app_settings = getSettings();
>>>>>>>
exports.getAppInfo = function() {
var gateway,
info,
muvuku,
app_settings = ge... |
<<<<<<<
app.get('/api/v1/messages', function(req, res) {
auth.check(req, 'can_view_data_records', null, function(err, ctx) {
if (err) {
return error(err, res);
}
auth.check(req, 'can_view_unallocated_data_records', null, function(err, ctx) {
if (err) {
return error(err, res);
}
... |
<<<<<<<
var updateParent = function(DB, doc, callback) {
if (doc.type === 'person' && doc.parent && doc.parent._id) {
DB.get()
.get(doc.parent._id)
.then(function(parent) {
if (parent.contact.phone !== doc.phone) {
return callback();
}
parent.contact... |
<<<<<<<
=======
exports.sms_forms = function (doc, req) {
events.on('afterResponse', function() {
var db = require('db').current(),
isAdmin = utils.isUserAdmin(req.userCtx),
baseURL = require('duality/core').getBaseURL(),
district = utils.getUserDistrict(req.userCtx),... |
<<<<<<<
phoneUtil = require('google-libphonenumber').PhoneNumberUtil.getInstance(),
=======
>>>>>>> |
<<<<<<<
const db = require('../db-nano'),
dbPouch = require('../db-pouch'),
{ logger } = require('../lib/logger'),
infoDocId = id => id + '-info';
=======
const db = require('../db-pouch'),
logger = require('../lib/logger'),
infoDocId = id => id + '-info';
>>>>>>>
const db = require('../db-pouc... |
<<<<<<<
//Markdown
import VueShowdown from 'vue-showdown'
import Editor from 'v-markdown-editor'
import 'v-markdown-editor/dist/v-markdown-editor.css'
(function (OC, window, $, undefined) {
=======
(function (OC, window) {
>>>>>>>
//Markdown
import VueShowdown from 'vue-showdown'
import Editor from 'v-markdown-edi... |
<<<<<<<
this.setState({
showAddWidgetModal: true,
newWidget: getEmptyWidgetDefinition()
})
}
filterModalEnabler = () => {
this.setState({
showFilterModal: true,
selectedFilter: getEmptyFilterDefinition()
})
=======
this.setState({
... |
<<<<<<<
null
}
<div id="dashboardArea" style={dashboardDefinition.styles}>
=======
null}
<div ref="dashboardArea" id="dashboardArea" style={dashboardDefinition.styles}>
>>>>>>>
null
}
<div ref="dashboardArea" id="dashboardArea" style={dashboardDef... |
<<<<<<<
=======
// const tempChartData = {
// cols: [{id: 'task', label: 'Task', type: 'string'},
// {id: 'hours', label: 'Hours', type: 'number'},
// {id: 'revenue', label: 'Amount', type: 'number'}],
// rows: [{c:[{v: 'Work'}, {v: 11}, {v: 8}]},
// {c:[{v: 'Eat'}, {v: 2}, {v... |
<<<<<<<
export const DATE_FORMAT_OPTIONS = [
{
label: 'DD-MM-YYYY',
value: 'DD-MM-YYYY'
}, {
label:'DD-MM-YY',
value:'DD-MM-YY'
}, {
label:'YY-MM-DD',
value:'YY-MM-DD'
}, {
label:'DD-MMM-YYYY',
value:'DD-MMM-YYYY'
}, {
label:'DD-MMM-YY',
value:'DD-MMM-YY'
},
{
... |
<<<<<<<
newWidgetApiParams: {},
widgetApiParams: [],
=======
widgetApiParams: this.props.dashboardDefinition.widgetsParams?this.props.dashboardDefinition.widgetsParams:[],
>>>>>>>
newWidgetApiParams: {},
<<<<<<<
const { dashboardDefinition, dashboardIndex, upd... |
<<<<<<<
onResultTabChanged,
resultSectionActiveKey
=======
onResultTabChanged,
resultLoading,
dataLoading,
visualisationLoading
>>>>>>>
onResultTabChanged,
resultSectionActiveKey,
resultLoading,
dataLoading,
visualisationLoading
<<<<<<<
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.