conflict_resolution stringlengths 27 16k |
|---|
<<<<<<<
Router.go('post_page', {_id: comment.postId});
throwError("Your comment has been deleted.");
=======
Router.go("/posts/"+comment.postId);
flashMessage("Your comment has been deleted.", "success");
// Router.go("/comments/deleted");
>>>>>>>
Router.go('post_page', {_id: comme... |
<<<<<<<
import { createTestClient } from 'apollo-server-testing';
=======
// import { createTestClient } from 'apollo-server-testing'
import { WebApp } from 'meteor/webapp';
import request from 'supertest';
>>>>>>>
import { createTestClient } from 'apollo-server-testing';
// import { createTestClient } from 'apol... |
<<<<<<<
showViewsNav: false,
=======
getTitle: function() {
return i18n.t("Search") + ' - ' + getSetting('title', "Telescope");
},
getDescription: function() {
return getSetting('description');
},
>>>>>>>
showViewsNav: false,
getTitle: function() {
return i18n.t("Search"... |
<<<<<<<
test('onClick prop should be called', () => {
const onClickMock = jest.fn();
const ButtonShallowInstance = shallow(<Button onClick={onClickMock} />);
ButtonShallowInstance.instance().clickHandler();
expect(onClickMock).toHaveBeenCalledTimes(1);
});
=======
test('should call ReactGA wh... |
<<<<<<<
// if the email is already in the Mailchimp list, no need to throw an error
if (error.code === 214) {
return {result: 'already-subscribed'};
=======
console.log(error)
let name, message;
if (error.code == 212) {
name = 'has_unsubscribed';
} e... |
<<<<<<<
AccountController = RouteController.extend({
=======
UserEditController = FastRender.RouteController.extend({
>>>>>>>
UserEditController = RouteController.extend({
<<<<<<<
return {
user : Meteor.user(),
invites: Invites.find({invitingUserId:Meteor.userId()})
};
},
fastRender: true
=... |
<<<<<<<
=======
export type StaticStyles = {[key: string]: {}}
>>>>>>>
<<<<<<<
export type HOCProps<Theme, Props> = Props & {
theme?: Theme,
=======
export type HOCProps<Theme, Props> = Props & {|
theme: Theme,
>>>>>>>
export type HOCProps<Theme, Props> = Props & {
theme: Theme, |
<<<<<<<
export const primary = "#3ed6f0";
export const secondary = "#252e3e";
export const gray = "#e2e2e2";
export const white = "#f7f7f7";
=======
export const primary = "#249cbc";
export const primaryLight = "#4ac2e2";
export const primaryDark = "#007696";
export const secondary = "#d1665a";
export const secondary... |
<<<<<<<
* Constructs an error with a pointer to an URL with more information.
* @param {String} id the error ID that maps to an ID on a web page.
* @param {String} message human readable error.
* @param {Error} [err] the original error, if there is one.
*
* @returns {Error}
*/
fun... |
<<<<<<<
controllers.constant('internalPages', [
{ name: 'Chrome Apps', location: 'chrome://apps/' },
{ name: 'Extensions', location: 'chrome://extensions/' },
{ name: 'History', location: 'chrome://history/' },
{ name: 'Downloads', location: 'chrome://downloads/' },
{ name: 'Bookmarks', location: 'c... |
<<<<<<<
};
/* Converts implicit form control labeling to explicit by
* adding an unique id to form controls if they don't already
* have one and then setting the corresponding label element's
* for attribute to form control's id value. This explicit
* linkage is better supported by adaptive technologies.
* See S... |
<<<<<<<
if (compilation.__HAS_RUN_BSB__) return Promise.resolve()
compilation.__HAS_RUN_BSB__ = true
return new Promise((resolve, reject) => {
exec(bsb, { maxBuffer: Infinity, cwd: buildDir }, (err, stdout, stderr) => {
let output = `${stdout.toString()}\n${stderr.toString()}`
if (err) {
... |
<<<<<<<
// - Simplest Possible Graph - no customisations
var temp_graph = new SimpleGraph("simplest_graph_holder", temp_labels, temp_data);
// - Temperature Graph - adds colour, fill, and a minimum value for the y axis
var temp_graph = new SimpleGraph("temp_graph_holder", temp_labels, temp_data,
{lineColor... |
<<<<<<<
horizontalGesture: false,
reloadOnContextChange: false,
inertia: 1,
=======
lerp: 0.1,
>>>>>>>
horizontalGesture: false,
reloadOnContextChange: false,
lerp: 0.1,
<<<<<<<
touchMultiplier: 2,
tablet: {
smooth: false,
direction: 'vertical',
horizontalGesture: false,
breakpoint... |
<<<<<<<
const distance = (Math.abs(this.instance.delta[this.directionAxis] - this.instance.scroll[this.directionAxis]));
if ((distance < 0.5 && this.instance.delta[this.directionAxis] != 0) || (distance < 0.5 && this.instance.delta[this.directionAxis] == 0)) {
=======
this.updateSc... |
<<<<<<<
horizontalGesture: false,
reloadOnContextChange: false,
inertia: 1,
=======
lerp: 0.1,
>>>>>>>
horizontalGesture: false,
reloadOnContextChange: false,
lerp: 0.1,
<<<<<<<
touchMultiplier: 2,
tablet: {
smooth: false,
direction: 'vertical',
horizontalGestur... |
<<<<<<<
const { computed, inject, RSVP } = Ember;
const twiddleAppName = 'demo-app';
=======
const { inject, RSVP } = Ember;
const twiddleAppName = 'app';
>>>>>>>
const { computed, inject, RSVP } = Ember;
const twiddleAppName = 'app'; |
<<<<<<<
/* global require, module */
var fs = require('fs');
=======
/* global require, module, process */
>>>>>>>
/* global require, module, process */
var fs = require('fs');
<<<<<<<
},
fileCreator: [{filename: '/lib/blueprints.js', content: mapContent}]
=======
},
sourcemaps: {
enabled: !isProduc... |
<<<<<<<
Mad.Player.fromFile(file, function (player) {
if(globalPlayer) globalPlayer.destroy();
globalPlayer = player;
if (player.id3) {
var id3 = player.id3.toHash();
var id3element = document.getElementById('ID3');
var id3string = "<div class='player'><div cl... |
<<<<<<<
PATCH: 'pre2',
BRANCH: 'dev'
=======
PATCH: '',
BRANCH: ''
>>>>>>>
PATCH: '',
BRANCH: 'dev' |
<<<<<<<
try {
this.fetchWorker = new FetchWorker();
} catch (ex) {
console.log(ex);
}
setTimeout(function() {thisB.realInit2()}, 1);
=======
if (window.getComputedStyle(this.browserHolderHolder).display != 'none') {
setTimeout(function() {thisB.realInit2()}, 1);
} else... |
<<<<<<<
var beforeProcess = Date.now();
=======
>>>>>>>
<<<<<<<
function doCrossDomainRequest(url, handler, credentials, timings) {
=======
function doCrossDomainRequest(url, handler, credentials, custAuth) {
>>>>>>>
function doCrossDomainRequest(url, handler, credentials, custAuth) {
<<<<<<<
... |
<<<<<<<
var AMINO_ACID_TRANSLATION = {
'TTT': 'F',
'TTC': 'F',
'TTA': 'L',
'TTG': 'L',
'CTT': 'L',
'CTC': 'L',
'CTA': 'L',
'CTG': 'L',
'ATT': 'I',
'ATC': 'I',
'ATA': 'I',
'ATG': 'M',
'GTT': 'V',
'GTC': 'V',
'GTA': 'V',
'GTG': 'V',
'TCT': 'S',
'TCC'... |
<<<<<<<
MICRO: 8,
PATCH: 'a',
BRANCH: 'dev'
};
=======
MICRO: 9,
PATCH: '',
BRANCH: ''
}
>>>>>>>
MICRO: 9,
PATCH: '',
BRANCH: 'dev'
}; |
<<<<<<<
Log.error(Utils.colors.error("File not found: "), configFileName);
return;
=======
console.error(Utils.colors.error("File not found: "), configFileName);
throw new Error("No config file present!");
>>>>>>>
Log.error(Utils.colors.error("File not found: "), configFileName);
throw new Error("No conf... |
<<<<<<<
};
if (typeof module !== "undefined") {module.exports = translations;}
=======
"et" : "translations/et.json", // Estonian
};
>>>>>>>
"et" : "translations/et.json", // Estonian
};
if (typeof module !== "undefined") {module.exports = translations;} |
<<<<<<<
"is" : "translations/is.json", // Icelandic
=======
"ru" : "translations/ru.json", // Russian
"af" : "translations/af.json", // Afrikaans
"hu" : "translations/hu.json", // Hungarian
>>>>>>>
"ru" : "translations/ru.json", // Russian
"af" : "translations/af.json", // Afrikaans
"hu" : "translations/hu.... |
<<<<<<<
class: event.class,
firstYear: event.start.getFullYear()
=======
firstYear: event.start.getFullYear(),
location: location,
geo: geo,
description: description
>>>>>>>
class: event.class,
firstYear: event.start.getFullYear(),
loca... |
<<<<<<<
=======
export const getUsersByUsername = createSelector(
getUsers,
(users) => {
const usersByUsername = {};
for (const id in users) {
if (users.hasOwnProperty(id)) {
const user = users[id];
usersByUsername[user.username] = user;
... |
<<<<<<<
import {General} from 'constants';
=======
import mimeDB from 'mime-db';
import {Constants} from 'constants';
>>>>>>>
import {General} from 'constants';
import mimeDB from 'mime-db'; |
<<<<<<<
import {ErrorTypes} from 'action_types';
=======
import serializeError from 'serialize-error';
import Client from 'client';
import {ErrorTypes} from 'constants';
>>>>>>>
import {ErrorTypes} from 'action_types';
import serializeError from 'serialize-error';
import Client from 'client'; |
<<<<<<<
const CLIENT_ID = '10525470235.apps.googleusercontent.com';
const CLIENT_SECRET = '4DERCyUerlYZDmc7qbneQlgf';
const SCOPES = 'https://www.googleapis.com/auth/drive.install ' +
'https://www.googleapis.com/auth/drive.file ' +
'https://www.googleapis.com/auth/drive.readonly.metadata';
window.googleAuth = null... |
<<<<<<<
'*yarnpkg.com': 'usa',
'*cloudfront.net': 'usa',
=======
'assets.fastgit.org': 'usa',
>>>>>>>
'assets.fastgit.org': 'usa',
'*yarnpkg.com': 'usa',
'*cloudfront.net': 'usa', |
<<<<<<<
const path = require('path')
const filename = path.join(getDefaultConfigBasePath(), '/logs/gui.log')
=======
const level = process.env.NODE_ENV === 'development' ? 'debug' : 'info'
>>>>>>>
const level = process.env.NODE_ENV === 'development' ? 'debug' : 'info'
const path = require('path')
const filename = pa... |
<<<<<<<
if (options.lockBody) {
lockBody(true);
}
},
_onEnd = function () {
targets = $([]);
$wrapper.remove().find('*').remove();
if (options.lockBody) {
lockBody(false);
===... |
<<<<<<<
targetSet = '',
targets = $([]),
target = $(),
targetIndex = 0, // Isn't it the same as currentIndex?
image = $(),
imageWidth = 0,
imageHeight = 0,
swipeDiff = 0,
inProgress = false,
currentIn... |
<<<<<<<
options[prefix + 'transform'] = 'translateX(' + positionX + ')';
options[prefix + 'transition'] = prefix + 'transform ' + speed + 's ease-in';
=======
options[prefix + 'transform'] = 'translateX(' + positionX + ') translateY(-50%)';
options[prefix + 'transition'... |
<<<<<<<
if (Airbus_FMA.CurrentPlaneState.autoPilotThrottleActive && Airbus_FMA.CurrentPlaneState.thisFlightDirectorActive && (Airbus_FMA.CurrentPlaneState.highestThrottleDetent == ThrottleMode.FLEX_MCT)) {
=======
if (Airbus_FMA.CurrentPlaneState.autoPilotThrottleActive && (Airbus_FMA.CurrentP... |
<<<<<<<
function patch ({user, namespace, name, body}) {
return Garden(user).namespaces(namespace).shoots(name).mergePatch({body})
=======
exports.patch = async function ({user, namespace, name, body}) {
return Garden(user).namespaces(namespace).shoots.mergePatch({name, body})
>>>>>>>
function patch ({user, name... |
<<<<<<<
this.A32NXCore = new A32NX_Core();
this.A32NXCore.init(this._lastTime);
=======
this.defaultInputErrorMessage = "NOT ALLOWED";
>>>>>>>
this.A32NXCore = new A32NX_Core();
this.A32NXCore.init(this._lastTime);
this.defaultInputErrorMessage = "NOT ALLOWED"; |
<<<<<<<
this.beforeTakeoffPhase = true; // MODIFIED
=======
this.externalPowerWhenApuMasterOnTimer = -1 // MODIFIED
this.doorPageActivated = false
this.selfTestDiv = this.querySelector("#SelfTestDiv");
this.selfTestTimer = -1;
this.selfTestTimerStarted = false;
>>>>>... |
<<<<<<<
let mcduStartPage = SimVar.GetSimVarValue("L:A320_NEO_CDU_START_PAGE", "number");
if (mcduStartPage < 1) {
if (mcduStartPage < 1) {
CDUIdentPage.ShowPage(this);
}
else if (mcduStartPage === 10) {
CDUDirectToPage.ShowPage(t... |
<<<<<<<
setTemplate(template, large = false) {
=======
setTemplate(template) {
>>>>>>>
setTemplate(template, large = false) {
<<<<<<<
=======
getNavDataDateRange() {
return SimVar.GetGameVarValue("FLIGHT NAVDATA DATE RANGE", "string");
}
>>>>>>>
getNavDataDateRange() {
... |
<<<<<<<
=======
const app = require('../../lib/app')
const common = require('../support/common')
>>>>>>>
const common = require('../support/common')
<<<<<<<
let app
before(function () {
app = global.createServer()
})
after(function () {
app.close()
})
=======
... |
<<<<<<<
this.handleRunningCadence_();
=======
this.handleRunningTemperature_();
>>>>>>>
this.handleRunningCadence_();
this.handleRunningTemperature_();
<<<<<<<
handleRunningCadence_: function() {
if (!this.userSettings_.activateRunningCadence) {
return;
... |
<<<<<<<
optionEnableSub: 'reviveGoogleMapsLayerType'
}, {
optionKey: 'reviveGoogleMapsLayerType',
optionType: 'list',
optionLabels: ['All'],
optionList: [{
key: 'roadmap',
name: 'Roadmap'
}, {
key: 'satellite',
name: 'Sa... |
<<<<<<<
const serviceAccountList = [
getServiceAccount('garden-foo', 'robot-foo'),
getServiceAccount('garden-bar', 'robot-bar')
]
const serviceAccountSecretList = [
getServiceAccountSecret('garden-foo', 'robot-foo'),
getServiceAccountSecret('garden-bar', 'robot-bar')
]
const gardenAdministrators = getAdminist... |
<<<<<<<
this.resource("submit-suggestion");
this.resource("faqs");
=======
//this.resource("submit-suggestion");
>>>>>>>
this.resource("faqs");
//this.resource("submit-suggestion"); |
<<<<<<<
export default Ember.Route.extend(ResetScrollMixin, {
=======
export default Ember.Route.extend({
meta: Ember.inject.service(),
>>>>>>>
export default Ember.Route.extend(ResetScrollMixin, {
meta: Ember.inject.service(), |
<<<<<<<
loadTemplate: function (filePath, options, callback) {
=======
getTemplate: function (filePath, options, callback) {
filePath = path.resolve(filePath);
>>>>>>>
loadTemplate: function (filePath, options, callback) {
filePath = path.resolve(filePath);
<<<<<<<
_loadDir: functi... |
<<<<<<<
User.find({_id: { $in: m.topUsers }}, {_id: 1, banned: true, deactivated: true}).then(users => {
m.topUsers = users.filter(u => !u.banned && !u.deactivated).sort((a, b) => m.pixelCounts[b._id] - m.pixelCounts[a._id]).map(u => u.id);
m.isUpdating = false;
... |
<<<<<<<
// Don't allow Oauth logins from normal login area.
if(user.isOauth === true) return done(null, false, { error: { message: "Incorrect username or password provided.", code: "invalid_credentials" } });
=======
if (user.loginError()) return done(null, false, { err... |
<<<<<<<
success : function( response ) {
=======
success : function(x) {
// This event is used to show an updated list of who will be notified of editorial comments and status updates.
$( '#ef-post_following_box' ).trigger( 'following_list_updated' );
>>>>>>>
success : function( response ) {
... |
<<<<<<<
var self = this;
// judge mousemove start or end
var isMoving = false;
var outer = self.outer;
=======
>>>>>>> |
<<<<<<<
if (Math.abs(offset[axis]) - Math.abs(offset[otherAxis]) > 10) {
evt.preventDefault();
=======
var res=this._moveHandler(evt);
if(!res&&Math.abs(offset[axis]) - Math.abs(offset[otherAxis]) > 10) {
>>>>>>>
var res=this._moveHandler(evt);
... |
<<<<<<<
if (Math.abs(offset[axis]) - Math.abs(offset[otherAxis]) > 10) {
evt.preventDefault();
=======
var res = this._moveHandler(evt);
if (!res && Math.abs(offset[axis]) - Math.abs(offset[otherAxis]) > 10) {
>>>>>>>
var res = this._moveHandler(evt);
if (!res && Math.abs(offset... |
<<<<<<<
=======
'use strict';
>>>>>>>
'use strict';
<<<<<<<
// loaded image
this.loadedImage = [];
// default type
=======
// default type
>>>>>>>
// loaded image
this.loadedImage = [];
// default type
<<<<<<<
// Callback function when your finger is moving
=======
... |
<<<<<<<
initOnStart({ turnID } = {}) {
this.turnID = turnID;
this.score = 0;
}
initOnRound({ tellerID = '', cards = [] } = {}) {
this.isTeller = this.socketID === tellerID;
this.cards = cards;
}
toggleReady(isReady) {
=======
initRound() {
this.submittedCard = null;
this.votedCar... |
<<<<<<<
socket.on('update player', onUpdatePlayer);
=======
socket.on('ready player', onReadyPlayer);
>>>>>>>
socket.on('update player', onUpdatePlayer);
socket.on('ready player', onReadyPlayer); |
<<<<<<<
DUCK_THROTTLE: 100,
DUCK_SPEED: 1000,
=======
LIFT_CARD_UP: 4500,
LIFT_CARD_DELETE: 3500,
NONE_INTERVAL: 0,
WRAP_UP: {
TELLER_SELECT: 3500,
},
>>>>>>>
DUCK_THROTTLE: 100,
DUCK_SPEED: 1000,
LIFT_CARD_UP: 4500,
LIFT_CARD_DELETE: 3500,
NONE_INTERVAL: 0,
WRAP_UP: {
TELLER_SELECT... |
<<<<<<<
const { NicknameInput } = renderWaitingRoom(roomID);
setupWaitingRoomSocket();
=======
const { NicknameInput, AllReadyText } = renderWaitingRoom(roomID);
// const { PlayerList } = renderLeftTab();
setupWaitingRoomSocket({ AllReadyText });
>>>>>>>
const { NicknameInput, AllReadyText } = renderWait... |
<<<<<<<
};
export const changeNickname = (NicknameInput) => {
const newNickname = NicknameInput.instance.value;
if (!newNickname || newNickname.length > 12) {
// 이전 닉네임으로 되돌아가는 기능 추가해야 함
return;
}
socket.emit('update player', { nickname: newNickname, color: '#578' });
=======
};
export const toggleR... |
<<<<<<<
/*Tests_SRS_NODE_COMMON_MQTT_BASE_16_009: [** If the message has properties, the property keys and values shall be uri-encoded, then serialized and appended at the end of the topic with the following convention: `<key>=<value>&<key2>=<value2>&<key3>=<value3>(...)`.]*/
/*Tests_SRS_NODE_DEVICE_MQTT_18... |
<<<<<<<
import SPELLS_WARLOCK from './SPELLS_WARLOCK';
=======
import SPELLS_DEMON_HUNTER from './SPELLS_DEMON_HUNTER';
>>>>>>>
import SPELLS_WARLOCK from './SPELLS_WARLOCK';
import SPELLS_DEMON_HUNTER from './SPELLS_DEMON_HUNTER';
<<<<<<<
...SPELLS_WARLOCK,
=======
...SPELLS_DEMON_HUNTER,
>>>>>>>
...SPEL... |
<<<<<<<
const getRoot = function() {
let root = document.getElementById('smarttoc_wrapper')
if (!root) {
root = document.body.appendChild(document.createElement('DIV'))
root.id = 'smarttoc_wrapper'
}
return root
}
export default function createTOC({ article, headings, userOffset = [0, 0] }) {
heading... |
<<<<<<<
it('should detect interfaces added to types', () => {
const interface1 = new GraphQLInterfaceType({
name: 'Interface1',
fields: {
field1: { type: GraphQLString },
},
resolveType: () => null,
});
const oldType = new GraphQLObjectType({
name: 'Type1',
inte... |
<<<<<<<
'config',
'ngTagsInput'
=======
'angularSpinner',
'config'
>>>>>>>
'angularSpinner',
'config',
'ngTagsInput' |
<<<<<<<
schema: []
=======
docs: {
url: 'https://github.com/Gillespie59/eslint-plugin-angular/blob/master/docs/rules/definedundefined.md'
},
schema: [],
fixable: 'code'
>>>>>>>
docs: {
url: 'https://github.com/Gillespie59/eslint-plugin-angular/b... |
<<<<<<<
/**
* All your services should have a name starting with the parameter you can define in your config object.
* The second parameter can be a Regexp wrapped in quotes.
* You can not prefix your services by "$" (reserved keyword for AngularJS services) ("service-name": [2, "ng"]) [Y125](https://github.com/joh... |
<<<<<<<
/**
* You should use the angular.isFunction method instead of the default JavaScript implementation (typeof function(){} ==="[object Function]").
*
* @ruleName typecheck-function
* @config 2
*/
module.exports = function(context) {
'use strict';
=======
'use strict';
>>>>>>>
/**
* You should use th... |
<<<<<<<
/**
* You should use the angular.isString method instead of the default JavaScript implementation (typeof "" === "[object String]").
*
* @ruleName typecheck-string
* @config 2
*/
module.exports = function(context) {
'use strict';
=======
'use strict';
>>>>>>>
/**
* You should use the angular.isStr... |
<<<<<<<
/**
* All your directives should have a name starting with the parameter you can define in your config object.
* The second parameter can be a Regexp wrapped in quotes.
* You can not prefix your directives by "ng" (reserved keyword for AngularJS directives) ("directive-name": [2, "ng"]) [Y073](https://githu... |
<<<<<<<
/**
* You should prefer the factory() method instead of service() [Y040](https://github.com/johnpapa/angular-styleguide#style-y040)
*
* @ruleName no-service-method
* @config 2
*/
module.exports = function(context) {
'use strict';
=======
'use strict';
>>>>>>>
/**
* You should prefer the factory() ... |
<<<<<<<
/**
* All your DI should use the same syntax : the Array or function syntaxes ("di": [2, "function or array"])
*
* @ruleName di
* @config [2, 'function']
*/
module.exports = function(context) {
'use strict';
=======
'use strict';
>>>>>>>
/**
* All your DI should use the same syntax : the Array or... |
<<<<<<<
/**
* If you have one empty controller, maybe you have linked it in your Router configuration or in one of your views.
* You can remove this declaration because this controller is useless
*
* @ruleName empty-controller
* @config 0
*/
module.exports = function(context) {
'use strict';
=======
'use s... |
<<<<<<<
/**
* You should use the angular.forEach method instead of the default JavaScript implementation [].forEach.
*
* @ruleName foreach
* @config 0
*/
module.exports = function(context) {
'use strict';
=======
'use strict';
>>>>>>>
/**
* You should use the angular.forEach method instead of the default ... |
<<<<<<<
rulesConfiguration.addRule('no-http-callback', 0);
=======
rulesConfiguration.addRule('no-inline-template', [0, {'allow-simple': true}]);
>>>>>>>
rulesConfiguration.addRule('no-http-callback', 0);
rulesConfiguration.addRule('no-inline-template', [0, {'allow-simple': true}]); |
<<<<<<<
router.get('/spa-config', controllers.socialProviders);
if (config.web.idSite.enabled) {
router.get(config.web.idSite.uri, controllers.idSiteVerify);
=======
if (web.idSite.enabled) {
router.get(web.idSite.uri, controllers.idSiteVerify);
>>>>>>>
router.get('/spa-config', controll... |
<<<<<<<
router.get(web.forgotPassword.uri, controllers.forgotPassword);
router.post(web.forgotPassword.uri, controllers.forgotPassword);
=======
router.get(config.web.forgotPassword.uri, controllers.forgotPassword);
router.post(config.web.forgotPassword.uri, bodyParser.json({ limit: '2... |
<<<<<<<
app.on('stormpath.error', done);
app.on('stormpath.ready', done);
=======
app.on('stormpath.ready', function() {
helpers.destroyApplication(application, done);
});
>>>>>>>
app.on('stormpath.error', done);
app.on('stormpath.ready', function() {
... |
<<<<<<<
var GCC = process.env['CC'] || 'gcc';
var LOG_LEVEL = process.env['Log_LEVEL'] || 'DEBUG';
=======
var GCC = process.env['CC'];
if (!GCC) {
if (SYSTEM === 'freebsd') {
GCC = 'gcc47';
} else {
GCC = 'gcc';
}
}
var BUILDDIR = process.env['BUILDDIR'];
if (BUILDDIR === undefined) {
... |
<<<<<<<
import storeConfig from '@/../store/modules/WiFi/WiFi';
import { SET_AP_SPIN_SHOW, SET_AP_ITEMS, SET_STA_ITEMS, SET_SCAN_STATUS, SET_CHANNEL,
SET_STA_SPIN_SHOW, SET_AP_JAM_BY_INDEX, SET_STA_JAM_BY_INDEX } from '../../../store/mutation-types';
// eslint-disable-next-line import/no-webpack-loader-syntax
const a... |
<<<<<<<
} else if (typeof value !== 'number') {
var copy = {}; // apply child translation on a copy
=======
f.log(value);
} else if (valueType !== '[object Number]' && valueType !== '[object Function]' && valueType !== '[object RegExp]') {
... |
<<<<<<<
return (
<ComponentErrorBoundary
componentType={_dashprivate_layout.type}
componentId={_dashprivate_layout.props.id}
>
{this.getComponent(_dashprivate_layout, children, loadingState, setProps)}
</ComponentErrorBoundary>
... |
<<<<<<<
promises.push(updateOutput(outputIdAndProp, getState, requestUid, dispatch));
=======
promises.push(updateOutput(outputComponentId, outputProp, getState, requestUid, dispatch, changedProps.map(function (prop) {
return id + '.' + prop;
})));
>>>>>>>
... |
<<<<<<<
viewer.updated = true;
=======
BrainBrowser.events.triggerEvent("zoom", zoom);
>>>>>>>
BrainBrowser.events.triggerEvent("zoom", zoom);
viewer.updated = true; |
<<<<<<<
=======
let path = require('path')
var http = require('http')
>>>>>>>
let path = require('path')
var http = require('http')
<<<<<<<
let isCI = process.env.TRAVIS || process.env.CI
let timeout = isCI ? 10000 : 5000
=======
let timeout = process.env.TRAVIS ? 10000 : 5000
let url = `http://localhost:2000`
>... |
<<<<<<<
=======
.option('--overwrite', 'overwrite the [target/--output-path] directory')
.option('-e, --environment <environment>', 'build environment [development]', 'development')
.option('--prod', 'alias for --environment=production')
.option('--dev', 'alias for --environment=development')
>>>>>>>... |
<<<<<<<
export function watch (...args) {
vm.$watch(...args)
}
// Proxy traps
const traps = {
get (target, key) {
return vm && vm.$data[key]
},
set (target, key, value) {
sendValue(key, value)
return setValue(key, value)
}
}
const SharedDataProxy = new Proxy({}, traps)
=======
const proxy = {}... |
<<<<<<<
}
export function scrollIntoView (scrollParent, el) {
const top = el.offsetTop
const height = el.offsetHeight
scrollParent.scrollTop = top + (height - scrollParent.offsetHeight) / 2
=======
}
export function set (object, path, value, cb = null) {
const sections = path.split('.')
while (sections.le... |
<<<<<<<
assert.ok(afterMarkers[1].isEmpty, 'final afterMarker is empty');
=======
assert.ok(afterMarkers[1].empty(), 'final afterMarker is empty');
});
test('#clone a marker', (assert) => {
const marker = builder.createMarker('hi there!');
const cloned = marker.clone();
assert.equal(marker.builder, cloned.... |
<<<<<<<
},
crop: function(test) {
test.expect(2);
createTest(test, "crop.png")(test.done);
=======
},
quality: function(test) {
test.expect(3);
async.series([
createTest(test, 'quality.jpg'),
function(callback) {
fs.stat('tmp/quality.jpg', function(err, stats) {
... |
<<<<<<<
PricingClient = require('./PricingClient');
=======
MonitorClient = require('./MonitorClient'),
>>>>>>>
PricingClient = require('./PricingClient');
MonitorClient = require('./MonitorClient'),
<<<<<<<
initializer.PricingClient = PricingClient;
=======
initializer.MonitorClient = MonitorClie... |
<<<<<<<
module.exports.inject = function (windowInj, localStorageInj, documentInj, MathInj, conf) {
=======
var window, localStorage, angular, document;
module.exports.inject = function (windowInj, localStorageInj, conf, angularInj, documentInj) {
>>>>>>>
var window, localStorage, angular, document, ... |
<<<<<<<
import Progress from 'progress';
=======
import previewImage from 'preview-image';
>>>>>>>
import previewImage from 'preview-image';
import Progress from 'progress';
<<<<<<<
Progress,
=======
previewImage,
>>>>>>>
previewImage,
Progress, |
<<<<<<<
import classNames from 'classnames';
import { I18nReciever as Reciever } from 'i18n';
import { TimePicker as I18nDefault } from 'i18n/default';
=======
import isString from 'lodash/isString';
>>>>>>>
import isString from 'lodash/isString';
import { I18nReciever as Reciever } from 'i18n';
import { TimePicke... |
<<<<<<<
<Reciever componentName="TimePicker" defaultI18n={I18nDefault}>
{i18n => (
<PanelFooter
buttonText={props.confirmText}
linkText={i18n.current.month}
linkCls="link--current"
onClickLink={() => this.onSelectMonth(C... |
<<<<<<<
whereDoesCharComeFrom([origin, characterIndex], function(steps){
=======
whereDoesCharComeFrom(origin, characterIndex, function(steps){
steps.forEach(registerOriginIdsForStep)
>>>>>>>
whereDoesCharComeFrom([origin, characterIndex], function(steps){
steps.forEa... |
<<<<<<<
GenericBuilder.prototype.prepEnv = function() {
=======
function hasCustomRules (projectRoot) {
return fs.existsSync(path.join(projectRoot, 'custom_rules.xml'));
}
GenericBuilder.prototype.prepEnv = function () {
>>>>>>>
GenericBuilder.prototype.prepEnv = function() {
<<<<<<<
return Object.keys(thi... |
<<<<<<<
},
// This "custom" type is used to accept every layer that user want to define himself.
// We can wrap these custom layers like heatmap or yandex, but it means a lot of work/code to wrap the world,
// so we let user to define their own layer outside the directive,
// and... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.