conflict_resolution stringlengths 27 16k |
|---|
<<<<<<<
import '/imports/api/2.0/polls/server';
=======
import '/imports/api/2.0/presentations/server';
import '/imports/api/2.0/slides/server';
>>>>>>>
import '/imports/api/2.0/polls/server';
import '/imports/api/2.0/presentations/server';
import '/imports/api/2.0/slides/server'; |
<<<<<<<
this._iceQueues = {};
=======
this._trackRecordedStream();
}
_trackRecordedStream () {
this._bbbGW.on(C.STREAM_IS_RECORDED, (stream) => {
Logger.info("[BaseManager] Server notifies that stream ", stream, " is recorded");
this.setStreamAsRecorded(stream);
});
>>>>>>>
... |
<<<<<<<
const enableExternalVideo = Meteor.settings.public.app.enableExternalVideo;
return enableExternalVideo && getVideoUrl();
=======
const { enabled: enableExternalVideo } = Meteor.settings.public.externalVideoPlayer;
return enableExternalVideo && getVideoId();
>>>>>>>
const { enabled: enableExternalVi... |
<<<<<<<
});
// Suspect code per ticket: #104 removed for deeper inspection.
// fs.readdir("/dev/serial/by-path", function(err_path, paths) {
// if (err_path) {
// if (err.errno === 34) return callback(null, []);
// return console.log(err);
// }
// var dirName, items;
... |
<<<<<<<
require("./analytics").sendCollect(e);
};
export const isCoreTeam = userId => {
const allCoreTeam = config.coreteam.members;
return !!allCoreTeam.find(member => member === userId);
=======
sendCollect(e);
};
export const analyticsSendBotCollect = e => {
sendBotCollect(e);
>>>>>>>
sendCollect(e... |
<<<<<<<
const sendWelcomeMessage = async username => {
const message = `Olá, Impulser! Eu sou *Atena*, deusa da sabedoria e guardiã deste reino! Se chegaste até aqui suponho que queiras juntar-se a nós, estou certa?! Vejo que tens potencial, mas terás que me provar que és capaz!
Em meus domínios terás que realizar ... |
<<<<<<<
const customUpdate = async (user, interactionScore, interaction) => {
// TODO: Remove argument interaction.
// just added because function calculateReactions need that
return userModel.findOne({ rocketId: user }).then((doc, err) => {
if (err) {
console.log('erro ao fazer update no usuario ', use... |
<<<<<<<
const updateScore = async (user, score) => {
if (user) {
console.log("Entrou no updateScore");
const newScore = user.score + score;
const newLevel = calculateLevel(newScore);
await doLevelChangeActions(user._id, user.level, newLevel);
user.level = newLevel;
user.score = newScore;
... |
<<<<<<<
import blogRoutes from "./blog";
=======
import apiRoutes from "./api";
>>>>>>>
import blogRoutes from "./blog";
import apiRoutes from "./api";
<<<<<<<
router.use("/blog", blogRoutes);
=======
router.use("/api/v1", apiRoutes);
>>>>>>>
router.use("/blog", blogRoutes);
router.use("/api/v1", apiRoutes)... |
<<<<<<<
const name = achievement.name.split(' | ')
const level = showLevel ? ` ${user.level}` : ''
=======
const name = achievement.name.split(" | ");
>>>>>>>
const name = achievement.name.split(' | ')
<<<<<<<
} ${achievement.range} | ${name[1]}${level}]!`
=======
} ${achievement.range} | ${name[1]}]... |
<<<<<<<
export const sendToUser = async (message, user) => {
await driver.sendDirectToUser(message, user);
};
=======
runBot();
/*
const files = fs.readdirSync(emojiDir);
for (const file of files) {
const pathToFile = path.join(emojiDir, file);
try {
const stat = fs.statSync(... |
<<<<<<<
=======
import AchievementLevelController from "./achievementLevel";
import axios from "axios";
>>>>>>>
<<<<<<<
import { doLevelChangeActions } from "../utils/levels";
=======
import { isValidToken } from "../utils/teams";
import interactionController from "./interaction";
>>>>>>>
import { doLevelChangeA... |
<<<<<<<
// @version 3.7.2
=======
// @version 2.30.5
>>>>>>>
// @version 3.7.2
<<<<<<<
* Copyright (c) 2012 Nicolas Stepien <stepien.nicolas@gmail.com>, James Campos <james.r.campos@gmail.com>
* http://aeosynth.github.com/4chan-x/
* 4chan X 3.7.2
=======
* Copyright (c) 2012 Nicolas Stepi... |
<<<<<<<
var $, $$, DAY, Favicon, HOUR, MINUTE, NAMESPACE, QR, SECOND, Time, anonymize, conf, config, d, expandComment, expandThread, firstRun, g, getTitle, imgExpand, imgGif, imgHover, imgPreloading, key, keybinds, log, main, nav, nodeInserted, options, quoteBacklink, quoteInline, quoteOP, quotePreview, redirect, rep... |
<<<<<<<
// @version 3.9.5
=======
// @version 2.31.6
>>>>>>>
// @version 3.9.5
<<<<<<<
* Copyright (c) 2012 Nicolas Stepien <stepien.nicolas@gmail.com>, James Campos <james.r.campos@gmail.com>
* http://aeosynth.github.com/4chan-x/
* 4chan X 3.9.5
=======
* Copyright (c) 2012 Nicolas Stepi... |
<<<<<<<
var $, $$, Anonymize, AutoGif, Conf, Config, ExpandComment, ExpandThread, Favicon, FileInfo, Filter, Get, ImageExpand, ImageHover, Keybinds, Main, Nav, Options, QR, QuoteBacklink, QuoteCT, QuoteInline, QuoteOP, QuotePreview, Quotify, Redirect, ReplyHiding, ReportButton, RevealSpoilers, Sauce, StrikethroughQuo... |
<<<<<<<
// @version 3.12.0
=======
// @version 2.33.8
>>>>>>>
// @version 3.12.0
<<<<<<<
* Copyright (c) 2012 Nicolas Stepien <stepien.nicolas@gmail.com>, James Campos <james.r.campos@gmail.com>
* http://aeosynth.github.com/4chan-x/
* 4chan X 3.12.0
=======
* Copyright (c) 2012 Nicolas St... |
<<<<<<<
=======
if (!$('form[name=post]')) return;
if (conf['Scrolling']) {
if (conf['Scroll BG']) {
updater.focus = true;
} else {
$.on(window, 'focus', (function() {
return updater.focus = true;
}));
$.on(window, 'blur', (function() {
... |
<<<<<<<
=======
if (location.hostname === 'sys.4chan.org') {
$.onLoad(qr.sys);
return;
}
if (location.hostname === 'images.4chan.org') {
if (conf['404 Redirect']) {
$.onLoad(function() {
if (d.title === '4chan - 404') return redirect.init();
})... |
<<<<<<<
// @version 3.8.2
=======
// @version 2.31.1
>>>>>>>
// @version 3.8.2
<<<<<<<
* Copyright (c) 2012 Nicolas Stepien <stepien.nicolas@gmail.com>, James Campos <james.r.campos@gmail.com>
* http://aeosynth.github.com/4chan-x/
* 4chan X 3.8.2
=======
* Copyright (c) 2012 Nicolas Stepi... |
<<<<<<<
// @version 3.7.0
=======
// @version 2.30.4
>>>>>>>
// @version 3.7.0
<<<<<<<
* Copyright (c) 2012 Nicolas Stepien <stepien.nicolas@gmail.com>, James Campos <james.r.campos@gmail.com>
* http://aeosynth.github.com/4chan-x/
* 4chan X 3.7.0
=======
* Copyright (c) 2012 Nicolas Stepi... |
<<<<<<<
subTitle: 'Easiest option to share events with people!',
formLink: 'https://forms.gle/5Kv3XKJBA5g5FWRC7',
=======
subTitle: 'The easiest option to share events!',
formLink: 'https://goo.gl/forms/u00WBxeK1kQco0uQ2',
>>>>>>>
subTitle: 'The easiest option to share events!',
formLink: 'https://forms.... |
<<<<<<<
'plugins/setlanguage.js',
=======
'plugins/outline.js',
>>>>>>>
'plugins/setlanguage.js',
'plugins/outline.js', |
<<<<<<<
'javax.microedition' : { project:'platform/frameworks/base', tree:'opengl/java' },
=======
'javax.microedition' : { project:null, tree:null },
'javax.xml' : { project:'platform/libcore', tree:'luni/s... |
<<<<<<<
let navnotargetPrevented = false; // Indicates the navnotarget event is prevented or not
let navbeforefocusPrevented = false; // Indicates the navbeforefocus event is prevented or not
=======
let navnotargetPrevented = false; // Indicates the navnotarget event is prevented or not
let navbeforescrollP... |
<<<<<<<
config.moduleName = modules[0];
config.parentModuleName = modules[1];
if (config.appScript === 'ts') {
config.referencePath = path.relative(config.modulePath, config.appDir);
}
=======
config.moduleName = utils.lowerCamel(modules[0]);
config.parentModuleName = utils.lowerCamel(m... |
<<<<<<<
var _readDir = Promise.promisify(RNFSManager.readDir);
var _exists = Promise.promisify(RNFSManager.exists);
var _stat = Promise.promisify(RNFSManager.stat);
var _readFile = Promise.promisify(RNFSManager.readFile);
var _writeFile = Promise.promisify(RNFSManager.writeFile);
var _appendFile = Promise.promisify(RNF... |
<<<<<<<
/**
* Create a new label for this SAT.
* @param {object} optionalAttributes - Optional attributes that may be used by
* subclasses of SatLabel.
* @return {SatLabel} - The new label.
*/
Sat.prototype.newLabel = function(optionalAttributes) {
=======
Sat.prototype.newLabel = function(labelId = -1) {
>>>... |
<<<<<<<
if (result.value instanceof Date && !isNaN(result.value.getTime())) {
result.errors = null;
=======
if (result.value instanceof Date && !isNaN(result.value.getTime())) {
result.errors = null;
}
else if (!options.convert) {
result.errors = this.createError('date.... |
<<<<<<<
if (schema === undefined) {
delete obj._flags.empty;
}
else {
obj._flags.empty = Cast.schema(schema);
}
=======
obj._flags.empty = schema === undefined ? undefined : Cast.schema(this._currentJoi, schema);
>>>>>>>
if (schema === undefined... |
<<<<<<<
root.extend = function () {
const extensions = Hoek.flatten(Array.prototype.slice.call(arguments));
Hoek.assert(extensions.length > 0, 'You need to provide at least one extension');
this.assert(extensions, internals.extensionsSchema);
const joi = Object.assign({}, this);
... |
<<<<<<<
private: msg.private,
text: () => `${`${c.bold.green(client.getAuthor(msg.author))} : ${msg.private ? `${c.underline(msg.content.text)}` : msg.content.text}`}`,
=======
text: () => `${`${c.bold.green(client.getAuthor(msg.author))} : ${msg.private ? `${c.bgGreen(msg.content.text)}` : msg.content.te... |
<<<<<<<
this.showInlineMessage(loc, message, validationType.type);
=======
this.showInlineError(field, message);
>>>>>>>
this.showInlineError(field, message, validationType.type);
<<<<<<<
//getTimeFromField
if (timepicker) {
timeparts = timepicker.getTimeFromFiel... |
<<<<<<<
//ApprovaOS Change - Added parameter checkox and icon to show check box and icon on demand for particular node
decorateNode(a, icon, hideCheckbox) {
=======
decorateNode(a) {
a = this.isjQuery(a) ? a : $(a);
>>>>>>>
//ApprovaOS Change - Added parameter checkox and icon to show check box and icon... |
<<<<<<<
if (url.indexOf('/list') === -1 && url !== '/components/applicationmenu') {
customOpts.headerHamburger = true;
=======
if (url.indexOf('/list') === -1) {
customOpts.setOption('headerHamburger', true);
>>>>>>>
if (url.indexOf('/list') === -1 && url !== '/components/applicationmenu') {
... |
<<<<<<<
it('Should convert date from Gregorian (if needed) before formatting date (when fromGregorian is true)', () => {
Locale.set('ar-SA');
expect(Locale.formatDate(new Date(2018, 5, 20), { pattern: 'yyyy/MM/dd', fromGregorian: true })).toEqual('1439/10/06');
Locale.set('en-US');
});
it('Should co... |
<<<<<<<
=======
await browser.driver.sleep(config.sleep);
>>>>>>>
await browser.driver.sleep(config.sleep);
<<<<<<<
=======
await browser.driver.sleep(config.sleep);
>>>>>>>
await browser.driver.sleep(config.sleep);
<<<<<<<
=======
await browser.driver.sleep(config.sleep);
>>>>>>>... |
<<<<<<<
const isTypeColumn = /^(column|column-grouped|column-stacked)$/.test(o.type);
const isTypePie = o.type === 'pie' || o.type === 'donut';
=======
const isTypeColumn = /^(column|column-grouped|column-stacked|column-positive-negative)$/.test(o.type);
const isTypePie = o.type === 'pie';
>>>>>>>
const is... |
<<<<<<<
if (this.settings.content instanceof jQuery && !this.settings.beforeShow) {
=======
if (this.settings.content instanceof jQuery) {
this.settings.content.removeClass('hidden is-hidden');
>>>>>>>
if (this.settings.content instanceof jQuery && !this.settings.beforeShow) {
thi... |
<<<<<<<
const copiedDataAttrs = ` ${self.getDataAttributes(attributes, toExclude).str}`;
const trueValue = (value && 'value' in value ? value.value : text).replace(/"/g, '/quot/');
const iconHtml = self.listIcon.hasIcons ? self.listIcon.items[index].html : '';
=======
const attributesToCopy = ... |
<<<<<<<
//Class-based detection for IE
if (!!navigator.userAgent.match(/Trident/)) {
$('html').addClass('ie');
}
=======
//Pager
var pager = elem.find('.pager').pager();
pager.on('paging', function (e, args) {
console.log('Paging: '+ args.currentPage);
});
... |
<<<<<<<
if (req.params.example === 'list') {
return getFullListing(componentName, req, res, next);
}
=======
if (req.params.component === 'applicationmenu' && (req.params.example.indexOf('example-') > -1 || req.params.example.indexOf('test-') > -1)) {
console.log(req.params.component, req.par... |
<<<<<<<
import * as debug from '../utils/debug';
import { utils } from '../utils/utils';
import { stringUtils as str } from '../utils/string';
import { Tmpl } from '../tmpl/tmpl';
import { ListFilter } from '../listfilter/listfilter';
import { Locale } from '../locale/locale';
// jQuery Components
import '../utils/ani... |
<<<<<<<
/// <reference path="views/devicerules/removedevicerule.js" />
/// <reference path="moment-with-locales.min.js" />
=======
/// <reference path="moment-with-locales.min.js" />
/// <reference path="jquery-ui-i18n.min.js" />
>>>>>>>
/// <reference path="views/devicerules/removedevicerule.js" />
/// <reference p... |
<<<<<<<
elem.find('.homepage').homepage();
=======
//Validation
//Should be one of the last items to invoke
elem.find('[data-validate]').validate();
elem.find('[data-validate-on="submit"]').validate();
>>>>>>>
elem.find('.homepage').homepage();
//Validation... |
<<<<<<<
=======
var locationsArray = self.locationData.deviceLocationList;
for (var i = 0; i < locationsArray.length; i++) {
// Define the pushpin location
var loc = new Microsoft.Maps.Location(locationsArray[i].latitude, locationsArray[i].longitude);
// A... |
<<<<<<<
exec = require('child_process').exec,
fs = require('fs'),
deskTime = 60;
=======
path = require('path'),
fs = require('fs');
>>>>>>>
exec = require('child_process').exec,
deskTime = 60;
path = require('path'),
fs = require('fs'); |
<<<<<<<
imports: [ 'external' ],
=======
description: 'external module names can be specified (affects UMD only)',
>>>>>>>
description: 'external module names can be specified (affects UMD only)',
imports: [ 'external' ], |
<<<<<<<
grunt.registerTask('nested', ['assemble:nested_layouts']);
// this is just for when doing debugging and jshint blows up
grunt.registerTask('dev', ['clean', 'assemble']);
=======
>>>>>>>
grunt.registerTask('nested', ['assemble:nested_layouts']); |
<<<<<<<
const React = require('React');
const ReactNative = require('react-native-desktop');
=======
const AsyncStorage = require('AsyncStorage');
const Linking = require('Linking');
const React = require('react');
const ReactNative = require('react-native');
>>>>>>>
const AsyncStorage = require('AsyncStorage');
con... |
<<<<<<<
const json = JSON.stringify(asset);
const assetRegistryPath = 'react-native-macos/Libraries/Image/AssetRegistry';
=======
const json = JSON.stringify(filterObject(asset, assetPropertyBlacklist));
const assetRegistryPath = 'react-native/Libraries/Image/AssetRegistry';
>>>>>>>
co... |
<<<<<<<
var React = require('react-native-desktop');
=======
var ReactNative = require('react-native');
>>>>>>>
var ReactNative = require('react-native-desktop'); |
<<<<<<<
kuzzle.emit('data:create', requestObject);
if (!requestObject.isPersistent()) {
return kuzzle.dsl.testFilters(requestObject);
}
// simulate an empty result from dsl.testFilters
return Promise.resolve([]);
=======
return kuzzle.pluginsManager.trigger(... |
<<<<<<<
const View = require('View');
const warning = require('fbjs/lib/warning');
const NativeModules = require('NativeModules');
=======
const ViewPropTypes = require('ViewPropTypes');
>>>>>>>
const ViewPropTypes = require('ViewPropTypes');
<<<<<<<
const processColor = require('processColor');
=======
const war... |
<<<<<<<
{verb: 'post', url: '/profiles/_mget', controller: 'security', action: 'mGetProfiles'},
=======
{verb: 'post', url: '/users/_search', controller: 'security', action: 'searchUsers'},
{verb: 'post', url: '/users/_create', controller: 'security', action: 'createUser'},
{verb: 'pos... |
<<<<<<<
onResponderTerminate: this.touchableHandleResponderTerminate,
onMouseEnter: this.props.onMouseEnter,
onMouseLeave: this.props.onMouseLeave,
=======
onResponderTerminate: this.touchableHandleResponderTerminate,
style,
children,
>>>>>>>
onResponderTerminate: this.touch... |
<<<<<<<
var React = require('react-native-desktop');
=======
var React = require('react');
var ReactNative = require('react-native');
>>>>>>>
var React = require('react');
var ReactNative = require('react-native-desktop');
<<<<<<<
var originalRenderComponent = React.renderComponent;
=======
>>>>>>> |
<<<<<<<
{verb: 'get', url: '/roles/:_id', controller: 'security', action: 'getRole'},
{verb: 'get', url: '/profiles/:_id', controller: 'security', action: 'getProfile'},
{verb: 'get', url: '/profiles/:_id/_rights', controller: 'security', action: 'getProfileRights'},
=======
{verb: 'get', url: '/_adminExists'... |
<<<<<<<
paddingTop: 50,
padding: 20,
elevation:elevation
=======
paddingTop: 5,
elevation: elevation,
>>>>>>>
paddingTop: 50,
padding: 20,
elevation: elevation, |
<<<<<<<
var PRESS_RETENTION_OFFSET = { top: 20, left: 20, right: 20, bottom: 30 };
=======
const PRESS_RETENTION_OFFSET = {top: 20, left: 20, right: 20, bottom: 30};
>>>>>>>
const PRESS_RETENTION_OFFSET = {top: 20, left: 20, right: 20, bottom: 30};
<<<<<<<
activeProps: {
style: {
opacity: pr... |
<<<<<<<
var DocumentSelectionState = require('DocumentSelectionState');
var EventEmitter = require('EventEmitter');
var NativeMethodsMixin = require('NativeMethodsMixin');
var Platform = require('Platform');
var PropTypes = require('ReactPropTypes');
var React = require('React');
var ReactNative = require('ReactNative'... |
<<<<<<<
} else if (Platform.OS === 'ios' || Platform.OS === 'macos') {
var RCTTextView = requireNativeComponent('RCTTextView', null);
var RCTTextField = requireNativeComponent('RCTTextField', null);
var RCTSecureTextField = requireNativeComponent('RCTSecureTextField', null);
=======
} else if (Platform.OS === '... |
<<<<<<<
if (__dirname.match(/node_modules[\/\\]react-native-desktop[\/\\]local-cli$/)) {
=======
var root = process.env.REACT_NATIVE_APP_ROOT;
if (root) {
return [path.resolve(root)];
}
if (__dirname.match(/node_modules[\/\\]react-native[\/\\]local-cli$/)) {
>>>>>>>
var root = process.env.REACT_NATIV... |
<<<<<<<
$(".demographics").hide();
$(".attendance").hide();
$(".discipline").hide();
$("#column-group-select").chosen().on('change', function(e, params) {
=======
$(".language").hide();
$(".sped").hide();
$(".program").hide();
$(".free-reduced").hide();
$("#column-group-select").ch... |
<<<<<<<
const shouldShowHomeroom = homeroom && school && isHomeroomMeaningful(school.school_type);
const shouldShowPhoto = (student.has_photo && window.location.search.indexOf('photo') !== -1);
=======
const shouldShowHomeroom = homeroom && isHomeroomMeaningful(school.school_type);
>>>>>>>
const shou... |
<<<<<<<
import SchoolWideAbsences from '../app/assets/javascripts/school_administrator_dashboard/dashboard_components/absences_dashboard/SchoolWideAbsences';
=======
import SchoolCoursesPage from '../app/assets/javascripts/school_courses/SchoolCoursesPage';
>>>>>>>
import SchoolWideAbsences from '../app/assets/javas... |
<<<<<<<
'Notes to principal',
'Principal finalizes',
'Export spreadsheet'
=======
'Share with principal',
'Principal finalizes'
>>>>>>>
'Share with principal',
'Principal finalizes',
'Export spreadsheet'
<<<<<<<
: [0, 1, 2, 3, 4, 5];
=======
: [0, 1, 2, 3];
}
canChangeSchoolOrGrad... |
<<<<<<<
return this.deleteFromDatabase(profile._id))
.then(deleteResponse => {
=======
return this.deleteFromDatabase(profile._id, options)
.then((deleteResponse) => {
>>>>>>>
return this.deleteFromDatabase(profile._id, options)
.then(deleteResponse => { |
<<<<<<<
import './config/sprockets-shims';
import './legacy';
=======
import './config/sprockets-shims.js';
>>>>>>>
import './config/sprockets-shims'; |
<<<<<<<
module.exports = function (kuzzle) {
var extractRoleIds = function (policies) {
return policies.map(policy => {
if (typeof policy === 'string') {
return policy;
=======
var extractRoleIds = policiesOrRoles => {
return policiesOrRoles.map(element => {
if (element.roleId) {
... |
<<<<<<<
//= require ./student_profile_v2/mcas_score_chart
=======
//= require ./student_profile_v2/student_profile_header
>>>>>>>
//= require ./student_profile_v2/mcas_score_chart
//= require ./student_profile_v2/student_profile_header |
<<<<<<<
=======
debug('[%s] broker client received a message: %a', this.eventName, msg);
>>>>>>> |
<<<<<<<
return Promise.all(promises);
=======
total = response.total;
return q.all(promises);
>>>>>>>
total = response.total;
return Promise.all(promises);
<<<<<<<
if (!modifiedRequestObject.data.body || !modifiedRequestObject.data.body.profileId) {
return... |
<<<<<<<
export * from './debug';
export * from './utils';
export * from './accessibility';
=======
export * from './debug';
>>>>>>>
export * from './debug';
export * from './accessibility'; |
<<<<<<<
},
{
'path': '/progress',
'title': 'Progress - 进度条'
=======
},
{
'path': '/pagination',
'title': 'Pagination - 分页器'
>>>>>>>
},
{
'path': '/progress',
'ti... |
<<<<<<<
import Swipeaction from './swipeaction';
=======
import Stepper from './stepper';
>>>>>>>
import Swipeaction from './swipeaction';
import Stepper from './stepper';
<<<<<<<
Swipeaction,
=======
Stepper,
>>>>>>>
Swipeaction,
Stepper,
<<<<<<<
Swipeaction,
=======
Stepper,
>>>>>>>
Swipeacti... |
<<<<<<<
},
{
'path': '/actionsheet',
'title': 'ActionSheet - 动作面板'
=======
},
{
'path': '/search-bar',
'title': 'SearchBar - 搜索栏'
>>>>>>>
},
{
'path': '/actionsheet',
... |
<<<<<<<
const ownerNotification = (req, res) => {
const message = req.body;
message.from = process.env.EMAIL_FROM;
const templateDir = path.join(__dirname, 'templates', 'ownerNotification');
const template = new EmailTemplate(templateDir);
template.render(message, (err, result) => {
=======
const emailTempl... |
<<<<<<<
import ggcalendar from '../../api/gg-calendar';
=======
import stats from '../../api/stats';
>>>>>>>
import ggcalendar from '../../api/gg-calendar';
import stats from '../../api/stats';
<<<<<<<
/* Google Calendar API */
app.use('/api/ggcalendar', ggcalendar);
=======
/* stats API */
app.use('/api/... |
<<<<<<<
Kuzzle.__with__({
console: {
error: sinon.spy()
},
process: {
exit: processExitSpy,
on: processOnSpy,
emit: sinon.stub(),
removeAllListeners: processRemoveAllListenersSpy
}
})(() => {
mock = new KuzzleMock();
... |
<<<<<<<
let
BadRequestError = require('kuzzle-common-objects').errors.BadRequestError,
SizeLimitError = require('kuzzle-common-objects').errors.SizeLimitError,
assertHasBody = require('../../util/requestAssertions').assertHasBody,
assertHasId = require('../../util/requestAssertions').assertHasId,
assertBodyHa... |
<<<<<<<
var editorHtml = '<div class="\\{classNames.SimpleWysiwyg\\}" data-action-mouseup="onPutCaret" data-selector="simple-wysiwyg" contenteditable data-action-input="onInput" data-action-keydown="onPutCaret" data-action-paste="onPaste"<!-- BEGIN showSource:exist --> style="display:none;"<!-- END showSource:exist -->... |
<<<<<<<
import tooltipHtml from './tooltip.html';
import extend from 'deep-extend';
=======
>>>>>>>
import tooltipHtml from './tooltip.html';
<<<<<<<
selectedOption: '',
btnOptions: [],
useLink: true,
showSource: false,
hideEditor: false,
btnPosition: 'top'
}
=======
selectedOption: '',
btnOption... |
<<<<<<<
var editorHtml = '<div class="\\{classNames.SimpleWysiwyg\\}" data-action-mouseup="onPutCaret" data-selector="simple-wysiwyg" contenteditable data-action-input="onInput" data-action-keydown="onPutCaret" data-action-paste="onPaste"<!-- BEGIN showSource:exist --> style="display:none;"<!-- END showSource:exist -->... |
<<<<<<<
//////////////////////////////
// Zero Unit
//////////////////////////////
it('zero unit', function (done) {
lintFile('zero-unit.scss', {
'rules': {
'zero-unit': 1
}
}, function (data) {
assert.equal(4, data.warningCount);
done();
});
});
=======
/////... |
<<<<<<<
<button className={styles.loginBtn} onClick={this.login}>
=======
<button
className={styles.loginBtn}
onClick={this.openLoginModal}
>
<People />
>>>>>>>
<button
... |
<<<<<<<
import { IMG_HOST, SITE_NAME } from '../../constants/helmetData';
import { queryCampaignInfoList } from '../../actions/campaignInfo';
const campaignListFromEntries = campaignEntries =>
campaignEntries
.valueSeq()
.map(info => ({
name: info.get('name'),
title: info.get('title'),
}))
... |
<<<<<<<
API_HOST: process.env.RAZZLE_API_HOST || 'https://api.goodjob.life',
CONTENTFUL_API_HOST: process.env.RAZZLE_CONTENTFUL_API_HOST || 'https://content.goodjob.life',
FACEBOOK_APP_ID: process.env.RAZZLE_FACEBOOK_APP_ID || '1750216878594984',
GA_ID: process.env.RAZZLE_GA_ID || 'UA-79990667-1',
PIXEL_ID: p... |
<<<<<<<
{
id: uuidv4(),
name: "Ashutosh Dwivedi",
img: "https://avatars0.githubusercontent.com/u/42907572?s=460&u=3c5c03fdddeec2483819b845bd549616d48b71e5&v=4",
links: {
website: "",
linkedin: "https://www.linkedin.com/in/ashutosh-dwivedi-b3025b196/",
gi... |
<<<<<<<
{
id: uuidv4(),
name: "Danish Shaikh",
img: "https://avatars3.githubusercontent.com/u/22702540?v=4",
links: {
website: "https://danishsshaikh.github.io/",
linkedin: "https://www.linkedin.com/in/danishsshaikh/",
github: "https://github.com/danishsshaikh",
... |
<<<<<<<
},
{
id: uuidv4(),
name: "Tomas Ramirez",
img: "https://avatars1.githubusercontent.com/u/38819979?s=460&u=d910d85c5e360dbe46eacfdc5286194db20d8cf7&v=4",
links: {
website: "https://www.ramireztomas.com/",
linkedin: "www.linkedin.com/in/tomas-ramirez-156820149",
... |
<<<<<<<
},
{
id: uuidv4(),
name: "Abhishek Rathore",
img: "https://avatars3.githubusercontent.com/u/40576705?v=4",
links: {
website: "",
linkedin: "www.linkedin.com/in/abhishek-rathore-666972127",
github: "https://github.com/abhishekra07",
},
jobTitle:... |
<<<<<<<
{
id: uuidv4(),
name: "Meer Estiyak",
img: "https://avatars3.githubusercontent.com/u/50128043?v=4",
links: {
website: "https://mmestiyak.github.io",
linkedin: "https://www.linkedin.com/in/mmestiyak",
github: "https://github.com/mmestiyak"
},
jobTit... |
<<<<<<<
return encodeURI(config.url + '/api/1.0/' + path);
=======
return config.url + encodeURI('/api/1.0/' + path);
>>>>>>>
return encodeURI(config.url + '/api/1.0/' + path);
<<<<<<<
return encodeURI(config.url + '/api/' + path);
=======
return config.url + encodeURI('/api/' + path);
>>>>>>>
return... |
<<<<<<<
{
id: uuidv4(),
name: "Edwin Boon",
img: "https://www.github.com/edwinboon.png",
links: {
website: "https://www.edwinboon.dev/",
linkedin: "",
github: "https://github.com/edwinboon",
},
jobTitle: "Frontend Developer",
location: {
city: "E... |
<<<<<<<
{
id: uuidv4(),
name: "Charles Loges IV",
img: "https://avatars2.githubusercontent.com/u/4064474?v=4",
links: {
website: "https://www.charlesloges.com/",
linkedin: "https://www.linkedin.com/in/charles-loges-iv-9a534956/",
github: "https://github.com/cloges4",
... |
<<<<<<<
country: "India",
},
},
=======
country: "India"
}
},
{
id: uuidv4(),
name: "Maaz Ahmad Khan",
img: "https://avatars1.githubusercontent.com/u/26876218?s=400&u=04502e2e0d4a1838c7b55f2aa7ac460c5a4ffd54&v=4",
links: {
website: "https://github.com/MAK947/... |
<<<<<<<
return kuzzle.hotelClerk.removeSubscription(requestObject1, context)
=======
return kuzzle.hotelClerk.removeSubscription(unsubscribeRequest, connection)
>>>>>>>
return kuzzle.hotelClerk.removeSubscription(unsubscribeRequest, context)
<<<<<<<
return kuzzle.hotelClerk.removeSubscription(re... |
<<<<<<<
}
]
}
,{
id: uuidv4(),
name: "Patrick Oguamanam",
img: "",
links: {
website: "",
linkedin: "https://www.linkedin.com/patrickoguamanam",
github: "https://github.com/thedev-patrick"
},
jobTitle: "Web Developer",
location: {
city: "Lagos",
state: "",
... |
<<<<<<<
country: "Argentina"
}
},
{
id: uuidv4(),
name: "Min Shin Khant",
img: "https://avatars2.githubusercontent.com/u/47337883?s=400&u=180116e1471ae3ab4cd515bfea088da4725fce02&v=4",
links: {
website: "https://minshinkhant.github.io/",
linkedin: "https://www.linkedin.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.