conflict_resolution stringlengths 27 16k |
|---|
<<<<<<<
data.state = context.store.getState();
=======
data.chunk = assets[route.chunk] && assets[route.chunk].js;
>>>>>>>
data.state = context.store.getState();
data.chunk = assets[route.chunk] && assets[route.chunk].js; |
<<<<<<<
import { ErrorPageWithoutStyle } from './pages/error/ErrorPage';
import errorPageStyle from './pages/error/ErrorPage.scss';
import passport from './core/passport';
=======
import { ErrorPageWithoutStyle } from './routes/error/ErrorPage';
import errorPageStyle from './routes/error/ErrorPage.css';
import create... |
<<<<<<<
import { port, auth, analytics } from './config';
import configureStore from './store/configureStore';
import { setRuntimeVariable } from './actions/runtime';
=======
import { port, auth } from './config';
>>>>>>>
import configureStore from './store/configureStore';
import { setRuntimeVariable } from './acti... |
<<<<<<<
const store = configureStore({}, {
cookie: req.headers.cookie,
});
store.dispatch(setRuntimeVariable({
name: 'initialNow',
value: Date.now(),
}));
await match(routes, {
=======
await UniversalRouter.resolve(routes, {
>>>>>>>
const store = configureStore({}, {
... |
<<<<<<<
}
/*
Open popup window
*/
function installHelpButtons() {
document.getElementById("btnAbout").onclick = openAbout;
document.getElementById("btnHelp").onclick = openHelp;
}
function openWindow(page) {
window.open('/help/' + lang_key + '/' + page + '.html',
'Help... |
<<<<<<<
var myObj= $(which);
if (myObj.value.length>maxLength) myObj.value=myObj.value.substring(0,maxLength);
$("textCountUp" + which).innerHTML = myObj.value.length;
$("textCountDown" + which).innerHTML = maxLength-myObj.value.length;
=======
var myObj= document.getElementById(which);
if (m... |
<<<<<<<
t.ok(m.webrtcMinimumVersion, 'Minimum Browser version detected');
});
test('Browser supported by adapter.js', function (t) {
t.plan(1);
t.ok(m.webrtcDetectedVersion >= m.webrtcMinimumVersion, 'Browser version supported by adapter.js');
});
test('create RTCPeerConnection', function (t) {
t.plan(1);
t... |
<<<<<<<
var endTime = null;
var webSocket;
=======
var signalingReady = false;
var socket;
var started = false;
>>>>>>>
var webSocket;
<<<<<<<
=======
var prevStats;
var turnDone = false;
var xmlhttp;
>>>>>>>
var prevStats; |
<<<<<<<
this.collectStatsStartTime = Date.now();
call.gatherStats(call.pc1, this.analyzeStats_.bind(this), this.encoderSetupTime_.bind(this), 100);
setTimeoutWithProgressBar(function() {
=======
call.gatherStats(call.pc1, this.analyzeStats_.bind(this), 1000);
setTimeoutWithProgressBar(function() {... |
<<<<<<<
=======
'samples/web/content/manual-test/**/*',
'samples/web/content/apprtc/js/compiled/*.js',
>>>>>>>
'samples/web/content/apprtc/js/compiled/*.js', |
<<<<<<<
if (isChromeApp()) {
document.cancelFullScreen = function() {
chrome.app.window.current().restore();
};
} else {
document.cancelFullScreen = document.webkitCancelFullScreen ||
document.mozCancelFullScreen || document.cancelFullScreen;
}
if (isChromeApp()) {
document.bod... |
<<<<<<<
/* globals addCodecParam, displayError, displayStatus,
gatheredIceCandidateTypes, hasTurnServer, iceCandidateType, localStream,
maybePreferAudioReceiveCodec, maybePreferAudioSendCodec,
=======
/* globals addCodecParam, channelReady:true, displayError, displayStatus,
gatheredIceCandidateTypes, goog, h... |
<<<<<<<
//this._stackV = 0;
this._pushTime = 0;
this._popTime = 0;
=======
>>>>>>>
this._pushTime = 0;
this._popTime = 0; |
<<<<<<<
let renderelement = ReactDOM.findDOMNode(this);
let props = this.props;
let context = this._reactInternalInstance._context;
=======
var renderelement = this.props.canvas || ReactDOM.findDOMNode(this);
var props = this.props;
// var instance = this._reactInternalInst... |
<<<<<<<
handleInput: function() {\n\
=======
handleChange: React.autoBind(function() {\n\
>>>>>>>
handleChange: function() {\n\ |
<<<<<<<
* appchan x - Version 2.2.1 - 2013-07-29
=======
* 4chan X - Version 1.2.24 - 2013-07-31
>>>>>>>
* appchan x - Version 2.2.1 - 2013-07-31 |
<<<<<<<
var $, $$, DAY, Favicon, HOUR, MINUTE, Main, NAMESPACE, SECOND, Time, VERSION, anonymize, conf, config, d, engine, expandComment, expandThread, filter, flatten, g, getTitle, imgExpand, imgGif, imgHover, key, keybinds, log, nav, options, quoteBacklink, quoteDR, quoteInline, quoteOP, quotePreview, redirect, rep... |
<<<<<<<
// @version 1.3.7
// @minGMVer 1.14
=======
// @version 1.3.10
// @minGMVer 1.13
>>>>>>>
// @version 1.3.10
// @minGMVer 1.14
<<<<<<<
* 4chan X - Version 1.3.7 - 2014-02-23
=======
* 4chan X - Version 1.3.10 - 2014-02-21
>>>>>>>
* 4chan X - Version 1.3.10 - 2014-02-23
<<<<<<<
... |
<<<<<<<
var err, nTimeout, notice, req, timeEl;
=======
var err, notice, req, timeEl, _ref;
>>>>>>>
var err, nTimeout, notice, req, timeEl, _ref;
<<<<<<<
}, {
name: "4plebs",
boards: ["hr", "pol", "s4s", "tg", "tv", "x"],
files: ["hr", "pol", "s4s", "tg", "tv", "x"],
... |
<<<<<<<
* appchan x - Version 2.9.7 - 2014-03-22
=======
* 4chan X - Version 1.4.1 - 2014-03-23
>>>>>>>
* appchan x - Version 2.9.7 - 2014-03-23
<<<<<<<
if (left < 0) {
x = -window.scrollX;
=======
if (!/(mailto:|.+:\/\/)/.test(text)) {
text = (/@/.test(text) ? 'mailto:' : 'http://') +... |
<<<<<<<
var $, $$, DAY, Favicon, HOUR, MINUTE, Main, NAMESPACE, Recaptcha, SECOND, Time, anonymize, conf, config, cooldown, d, expandComment, expandThread, firstRun, g, getTitle, imgExpand, imgGif, imgHover, imgPreloading, key, keybinds, log, nav, nodeInserted, options, pathname, qr, quoteBacklink, quoteInline, quote... |
<<<<<<<
// @version 1.3.2
// @minGMVer 1.14
=======
// @version 1.3.7
// @minGMVer 1.13
>>>>>>>
// @version 1.3.7
// @minGMVer 1.14 |
<<<<<<<
* 4chan X - Version 1.2.19 - 2013-07-21
=======
* 4chan X - Version 1.2.24 - 2013-07-24
>>>>>>>
* 4chan X - Version 1.2.24 - 2013-07-24
<<<<<<<
var cb;
if (d.readyState !== 'loading') {
=======
var cb, _ref;
if ((_ref = d.readyState) === 'interactive' || _ref === 'complete') {
>>>>>>>
... |
<<<<<<<
var arr, back, checked, description, dialog, favicon, hiddenNum, hiddenThreads, indicator, indicators, input, key, li, obj, option, overlay, ta, time, ul, _i, _j, _k, _l, _len, _len2, _len3, _len4, _ref, _ref2, _ref3, _ref4, _ref5;
dialog = $.el('div', {
id: 'options',
className: 're... |
<<<<<<<
for (let item of this._subscribedToData[key]) {
if (framework === 'vue' || item.component.hasOwnProperty('$vnode'))
=======
for (let i = 0; i < this._subscribedToData[key].length; i++) {
const item = this._subscribedToData[key][i];
if (item.component.hasOwnProperty('$vnode'... |
<<<<<<<
g.seconds = g.sage ? 60 : 30;
qr.cooldownStart();
} else {
error = $.el('span', {
className: 'error',
textContent: data
});
$.append(dialog, error);
qr.autohide.unset();
=======
>>>>>>>
<<<<<<<
=======
}
... |
<<<<<<<
{
name: 'Kakediagram',
content: 'packages/ffe-chart-donut-react/USAGE.md',
components: 'packages/ffe-chart-donut-react/src/[A-Z]+([A-Za-z]).js'
},
{
name: 'Accordion',
components: 'packages/ffe-accordion-react/src/Accordion*.js'... |
<<<<<<<
* appchan x - Version 2.9.9 - 2014-03-27
=======
* 4chan X - Version 1.4.1 - 2014-04-02
>>>>>>>
* appchan x - Version 2.9.9 - 2014-04-02
<<<<<<<
},
notify: function(el) {
var notice, notif;
notice = new Notice('warning', el);
if (!(Header.areNotificationsEnabled && d.hidden)) {
... |
<<<<<<<
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... |
<<<<<<<
'ffe-details-list',
=======
'ffe-decorators-react',
>>>>>>>
'ffe-decorators-react',
'ffe-details-list', |
<<<<<<<
'ffe-expandable-react',
=======
'ffe-decorators-react',
'ffe-details-list',
'ffe-dropdown-react',
>>>>>>>
'ffe-decorators-react',
'ffe-details-list',
'ffe-dropdown-react',
'ffe-expa... |
<<<<<<<
'ffe-file-upload-react',
=======
'ffe-decorators-react',
'ffe-details-list',
'ffe-dropdown-react',
'ffe-expandable-react',
>>>>>>>
'ffe-decorators-react',
'ffe-details-list',
'ffe-d... |
<<<<<<<
* appchan x - Version 2.2.1 - 2013-07-31
=======
* 4chan X - Version 1.2.24 - 2013-08-01
>>>>>>>
* appchan x - Version 2.2.1 - 2013-08-01 |
<<<<<<<
var el, fileInfo, img, parentClass, post;
parentClass = node.parentNode.className;
=======
var el, img, post, rootClass;
rootClass = node.className;
>>>>>>>
var el, img, parentClass, post;
parentClass = node.parentNode.className; |
<<<<<<<
* appchan x - Version 2.4.1 - 2013-10-14
=======
* 4chan X - Version 1.2.41 - 2013-10-16
>>>>>>>
* appchan x - Version 2.4.1 - 2013-10-16 |
<<<<<<<
var thumb;
if (!(this.file && (this.file.isImage || this.file.isVideo))) {
=======
var clone, thumb, _ref, _ref1;
if (!(((_ref = this.file) != null ? _ref.isImage : void 0) || ((_ref1 = this.file) != null ? _ref1.isVideo : void 0))) {
>>>>>>>
var clone, thumb, _ref, _ref1;
... |
<<<<<<<
rules: {
'type-empty': [2, 'never'],
'scope-enum': [
2,
'always',
[
'release',
'eslint-config-ffe',
'eslint-config-ffe-base',
'stylelint-config-ffe',
'ffe-accordion',
... |
<<<<<<<
* 4chan X - Version 1.2.19 - 2013-07-21
=======
* 4chan X - Version 1.2.24 - 2013-07-24
>>>>>>>
* 4chan X - Version 1.2.24 - 2013-07-24
<<<<<<<
var cb;
if (d.readyState !== 'loading') {
=======
var cb, _ref;
if ((_ref = d.readyState) === 'interactive' || _ref === 'complete') {
>>>>>>>
... |
<<<<<<<
* appchan x - Version 2.9.8 - 2014-03-26
=======
* 4chan X - Version 1.4.1 - 2014-03-27
>>>>>>>
* appchan x - Version 2.9.8 - 2014-03-27
<<<<<<<
$.on(d, 'QRAddPreSubmitHook', function(_arg) {
var cb;
cb = _arg.detail;
return QR.preSubmitHooks.push(cb);
=======
$.sync('c... |
<<<<<<<
var thumb;
if (!(this.file && (this.file.isImage || this.file.isVideo))) {
=======
var clone, thumb, _ref, _ref1;
if (!(((_ref = this.file) != null ? _ref.isImage : void 0) || ((_ref1 = this.file) != null ? _ref1.isVideo : void 0))) {
>>>>>>>
var clone, thumb, _ref, _ref1;
... |
<<<<<<<
* appchan x - Version 2.8.5 - 2014-01-17
=======
* 4chan X - Version 1.3.2 - 2014-01-17
>>>>>>>
* appchan x - Version 2.8.5 - 2014-01-17
<<<<<<<
var $, $$, Anonymize, ArchiveLink, AutoGIF, Banner, Board, Build, Callbacks, CatalogLinks, Clone, Color, Conf, Config, CustomCSS, DataBoard, DeleteLink, Dice, Do... |
<<<<<<<
partitions: [],
tenantTags: [],
=======
>>>>>>>
tenantTags: [],
<<<<<<<
partitions(state) {
return state.partitions
},
tenantTags(state) {
return state.tenantTags
},
=======
>>>>>>>
tenantTags(state) {
return state.tenantTags
},
<<<<<<<
async fetchPartitions({ commit }) {... |
<<<<<<<
self.get('notifications').showAlert('博客所有权已成功移交给 ' + user.get('name'), {type: 'success', key: 'owner.transfer.success'});
}).catch(function (error) {
self.get('notifications').showAPIError(error, {key: 'owner.transfer'});
=======
this.get('notificati... |
<<<<<<<
{
name: 'Tabeller',
content: 'packages/ffe-tables-react/USAGE.md',
components: 'packages/ffe-tables-react/src/[A-Z]+([A-Za-z]).js',
},
=======
{
name: 'Skjema',
components: 'packages/ffe-form-react/src/[A-Z]+([A-Za-z]).js',
... |
<<<<<<<
* @abstract
* @param {import("ol/style/Style.js").StyleLike} style The sketchStyle used for the drawing
* interaction.
* @param {VectorSource<import("ol/geom/Geometry.js").default>} source Vector source.
* @return {?import("ol/interaction/Draw.js").default|import("ngeo/interaction/DrawAzimut.j... |
<<<<<<<
goog.require('ol.format.GeoJSON');
goog.require('ol.geom.MultiLineString');
goog.require('ol.geom.MultiPoint');
=======
>>>>>>>
goog.require('ol.format.GeoJSON'); |
<<<<<<<
=======
import Point from 'ol/geom/Point.js';
import LineString from 'ol/geom/LineString.js';
import LinearRing from 'ol/geom/LinearRing.js';
import Polygon from 'ol/geom/Polygon.js';
import MultiPoint from 'ol/geom/MultiPoint.js';
import MultiLineString from 'ol/geom/MultiLineString.js';
import MultiPolygon ... |
<<<<<<<
let coordProj = this.scope_['coordinatesProjections'];
=======
/**
* The maximum zoom we will zoom on result.
* @type {number}
* @export
*/
this.maxZoom = 16;
var coordProj = this.scope_['coordinatesProjections'];
>>>>>>>
/**
* The maximum zoom we will zoom on result.
* @type {nu... |
<<<<<<<
const msg = this.gettextCatalog_.getString(
=======
var gettextCatalog = this.gettextCatalog_;
var msg = gettextCatalog.getString(
>>>>>>>
const gettextCatalog = this.gettextCatalog_;
const msg = gettextCatalog.getString(
<<<<<<<
const msg = this.gettextCatalog_.getString(
=======
var gettex... |
<<<<<<<
// Clear the capabilities if the roles changes
this.$scope_.$watch(() => this.gmfAuthenticationService_.getRolesIds().join(','), () => {
this.gmfPrintState_.state = PrintStateEnum.CAPABILITIES_NOT_LOADED;
=======
olEvents.listen(this.map.getView(), 'change:rotation', (event) => {
this... |
<<<<<<<
* @param {!gettext} gettext Gettext service.
* @param {!angular.$compile} $compile Angular compile service.
* @param {!angular.$filter} $filter Angular filter
=======
* @param {angularGettext.Catalog} gettextCatalog Gettext catalog.
* @param {angular.$compile} $compile Angular compile service.
* @param ... |
<<<<<<<
const msg = this.gettextCatalog_.getString(
=======
var gettextCatalog = this.gettextCatalog_;
var msg = gettextCatalog.getString(
>>>>>>>
const gettextCatalog = this.gettextCatalog_;
const msg = gettextCatalog.getString(
<<<<<<<
const msg = this.gettextCatalog_.getString('There are unsaved ch... |
<<<<<<<
/**
* @param {String} countryCode - ISO 3166-1 alpha 2 country code whos stores
* should get returned. If the countrycode is not valid or known an empty
* array is returned
* @returns {Array<Store>} one or multiple stores as array
*/
getStoresForCountry: function(countryCode) {
return... |
<<<<<<<
* @property {OGCLayer[]} [ogcLayers] A list of layer definitions that are used by (WMS) and (WFS)
* queries.
=======
* @property {Array<WMSLayer>} [wmsLayers] A list of layer definitions that are used by WMS queries.
* These are **not** used by the (WMTS) queries (the wmtsLayers is used by WMTS quer... |
<<<<<<<
* Get the snapping configuration object from a Layertree controller
* @param {gmfThemes.GmfLayer} node Layer node from the theme.
* @return {?gmfThemes.GmfSnappingConfig} Snapping configuration, if found.
* @export
*/
gmf.Themes.getSnappingConfig = function(node) {
const config = (node.metadata && node.m... |
<<<<<<<
const userChange = function(evt) {
const roleId = (evt.user.username !== null) ? evt.user.role_id : undefined;
=======
/**
* Permalink service
* @type {gmf.Permalink}
*/
var permalink = $injector.get('gmfPermalink');
var userChange = function(evt) {
var roleId = (evt.user.username !=... |
<<<<<<<
const error = this.gettextCatalog.getString('Incorrect old password.');
=======
var error = gettextCatalog.getString('Incorrect old password.');
>>>>>>>
const error = gettextCatalog.getString('Incorrect old password.');
<<<<<<<
const errors = [];
=======
var gettextCatalog = this.get... |
<<<<<<<
* Get the background layer object to use to initialize the map from the
* state manager.
* @param {Array<import("ol/layer/Base.js").default>} layers Array of background layer objects.
=======
* Get the background layer object to use to initialize the map from the state manager.
* @param {!Array.<!import(... |
<<<<<<<
const point = feature.getGeometry();
if (!(point instanceof Point)) {
throw new Error('Wrong geometry type');
}
const coordinates = point.getCoordinates();
=======
const coordinates = /** @type {import('ol/geom/Point.js').default} */(
feature.getGeometry()
)... |
<<<<<<<
/**
* @param {gmfx.AuthenticationEvent} evt Event.
*/
const userChange = function(evt) {
const user = evt.detail.user;
const roleId = (user.username !== null) ? user.role_id : undefined;
=======
const userChange = (evt) => {
const roleId = (evt.user.username !== null) ? evt.user.role_i... |
<<<<<<<
ThemeManagerService.prototype.updateCurrentTheme = function(themeName, fallbackThemeName) {
=======
exports.prototype.updateCurrentTheme = function(themeName, fallbackThemeName, opt_silent) {
>>>>>>>
ThemeManagerService.prototype.updateCurrentTheme = function(themeName, fallbackThemeName, opt_silent) { |
<<<<<<<
gmf.DisplayquerywindowController = function($element, $scope, ngeoQueryResult,
=======
gmf.DisplayquerywindowController = function($scope, ngeoQueryResult, ngeoMapQuerent,
>>>>>>>
gmf.DisplayquerywindowController = function($element, $scope, ngeoQueryResult, ngeoMapQuerent, |
<<<<<<<
// Validate that the files we were asked to upload are all valid SARIF files
for (const file of sarifFiles) {
if (!validateSarifFileSchema(file)) {
return false;
}
}
const commitOid = util.getRequiredEnvParam('GITHUB_SHA');
=======
... |
<<<<<<<
goog.require('ol.Observable');
goog.require('ol.math');
=======
goog.require('ol.Map');
goog.require('ol.layer.Group');
>>>>>>>
goog.require('ol.Observable');
goog.require('ol.math');
goog.require('ol.Map');
goog.require('ol.layer.Group');
<<<<<<<
* @param {gmf.PrintStateEnum} gmfPrintState GMF print state... |
<<<<<<<
let maxResolution = 0;
let minResolution = 0;
let ogcLayers;
=======
let maxResolution;
let minResolution;
let wmsLayers;
let wfsLayers;
>>>>>>>
let maxResolution = 0;
let minResolution = 0;
let wmsLayers;
let wfsLayers;
<<<<<<<
=======
ogcImageType,
... |
<<<<<<<
* @typedef {Object} MarkerOptions
* @property {[number, number]} [position]
* @property {string} [icon]
*/
/**
* @typedef {Object} MapOptions
* @property {string} div
* @property {import("ol/coordinate.js").Coordinate} center
* @property {number} [zoom=10]
* @property {boolean} [showCoords=true]
* @p... |
<<<<<<<
const source = {
id,
layer
=======
var source = {
id: id,
layer: layer,
layers: ['bar']
>>>>>>>
const source = {
id,
layer,
layers: ['bar']
<<<<<<<
const url = 'https://geomapfish-demo.camptocamp.net/2.2/wsgi/mapserv_proxy';
const requestUr... |
<<<<<<<
=======
import Raven from 'raven-js/src/raven.js';
import RavenPluginsAngular from 'raven-js/plugins/angular.js';
import olSourceVector from 'ol/source/Vector.js';
>>>>>>>
import olSourceVector from 'ol/source/Vector.js'; |
<<<<<<<
module.value('ngeoSnappingSource', new olSourceVector());
module.value('gmfContextualdatacontentTemplateUrl', 'gmf/contextualdata');
module.run(/* @ngInject */ ($templateCache) => {
// @ts-ignore: webpack
=======
exports.module.value('gmfContextualdatacontentTemplateUrl', 'gmf/contextualdata');
exports.mod... |
<<<<<<<
* @return {string|undefined} 'out-of-resolution' or null.
=======
* @return {string|undefined} 'out-of-resolution' or undefined.
>>>>>>>
* @return {string|undefined} 'out-of-resolution' or undefined.
<<<<<<<
const gmfLayer = /** @type {gmfThemes.GmfLayerWMS} */ (treeCtrl.node);
const view = this.map.... |
<<<<<<<
const osmSource = getSourceById(queryManager.sources_, 115);
expect(osmSource.params.LAYERS).toBe('ch.swisstopo.dreiecksvermaschung');
=======
var osmSource = getSourceById(queryManager.sources_, 115);
expect(osmSource.getLayers(0).join(',')).toBe('ch.swisstopo.dreiecksvermaschung');
... |
<<<<<<<
* <p>{{[7.1234, 46.9876] | ngeoDMSCoordinates:2:'[{x}; {y}]'}}</p>
=======
* <p>{{[7.1234, 46.9876] | ngeoDMSCoordinates:2:[{y}; {x]}}</p>
>>>>>>>
* <p>{{[7.1234, 46.9876] | ngeoDMSCoordinates:2:'[{y}; {x]'}}</p>
<<<<<<<
* '{x} {y}'. Where "{x}" will be replaced by the first
* ... |
<<<<<<<
const isQueryable = function(item) {
return item.queryable && resolution >= item.minResolutionHint && resolution <= item.maxResolutionHint;
};
if (!gmfLayerWMS.childLayers.some(isQueryable)) {
return [];
}
const childLayerN... |
<<<<<<<
const id = olUtilGetUid(dataSource.gmfLayer);
=======
if (dataSource.gmfLayer == undefined) {
return;
}
const id = olBase.getUid(dataSource.gmfLayer);
if (id == undefined) {
return;
}
>>>>>>>
if (dataSource.gmfLayer == undefined) {
return;
}
const id = ol... |
<<<<<<<
gmf.DisplayquerywindowController = function($element, $scope, ngeoQueryResult,
ngeoFeatureHelper, ngeoFeatureOverlayMgr) {
=======
gmf.DisplayquerywindowController = function($scope, ngeoQueryResult,
ngeoFeatureOverlayMgr) {
>>>>>>>
gmf.DisplayquerywindowController = function($element, $scope, ngeoQueryR... |
<<<<<<<
const getAltitudeSuccess = function(resp) {
=======
var getRasterSuccess = function(resp) {
>>>>>>>
const getRasterSuccess = function(resp) {
<<<<<<<
const getAltitudeError = function(resp) {
console.error('Error on getting altitude.');
=======
var getRasterError = function(resp) {
conso... |
<<<<<<<
StatsWriterPlugin = require('webpack-stats-plugin').StatsWriterPlugin,
=======
HtmlWebpackPlugin = require('html-webpack-plugin'),
>>>>>>>
StatsWriterPlugin = require('webpack-stats-plugin').StatsWriterPlugin,
HtmlWebpackPlugin = require('html-webpack-plugin'), |
<<<<<<<
=======
function isTracedLanguage(language) {
return ['cpp', 'java', 'csharp'].includes(language);
}
exports.isTracedLanguage = isTracedLanguage;
function isScannedLanguage(language) {
return !isTracedLanguage(language);
}
exports.isScannedLanguage = isScannedLanguage;
/**
* Gets the options for `pat... |
<<<<<<<
async function addBuiltinSuiteQueries(languages, resultMap, suiteName, configFile) {
=======
async function addBuiltinSuiteQueries(configFile, languages, codeQL, resultMap, suiteName) {
>>>>>>>
async function addBuiltinSuiteQueries(languages, codeQL, resultMap, suiteName, configFile) {
<<<<<<<
async functio... |
<<<<<<<
const dateFormat = (function () {
const token = /d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|"[^"]*"|'[^']*'/g;
const timezone = /\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g;
const timezoneClip = /[^-+\dA... |
<<<<<<<
/** callback function called when the text is submitted */
onSubmit?: (string) => mixed,
/** height in pixels for the whole component */
=======
/** Callback function called when the text is submitted */
onSubmit: (string) => mixed,
/** Height in pixels for the whole component */
>>>>>>>
/** Ca... |
<<<<<<<
=======
//Media selection back link
var node = typeof opts.node.current != 'undefined'?opts.node.current:opts.node;
var $media_preview = $('<div class="row selectedItemPreview"><div class="col-xs-12 col-sm-4 col-md-3 left"></div><div class="col-xs-12 col-sm-8 col-md-9 right"><h2>'+node.title+'</h2><p c... |
<<<<<<<
const {
computed,
run,
get,
set,
Handlebars,
RSVP,
A: emberArray,
String: { htmlSafe } } = Ember;
=======
const { computed, run, get, set, String: { htmlSafe }, RSVP, $, A, observer } = Ember;
>>>>>>>
const {
computed,
run,
get,
set,
Handlebars,
RSVP,
A: emberArray,
String: { ... |
<<<<<<<
logger.startGroup('Extracting ' + language);
if (language === languages_1.Language.python) {
await setupPythonExtractor(logger);
}
=======
logger.startGroup(`Extracting ${language}`);
>>>>>>>
logger.startGroup(`Extracting ${language}... |
<<<<<<<
});
export default Router;
=======
this.route('slider');
});
>>>>>>>
this.route('slider');
});
export default Router; |
<<<<<<<
const { Controller, computed, RSVP, run } = Ember;
=======
const { computed, Controller, A, RSVP, run } = Ember;
>>>>>>>
const { Controller, computed, RSVP, A, run } = Ember;
<<<<<<<
sizes: Ember.A([
'small (12-inch)',
'medium (14-inch)',
'large (16-inch)',
'insane (42-inch)'
]),
vege... |
<<<<<<<
var keys, _opts, _view, _ddoc,
=======
var keys, _opts, _view, _list,
>>>>>>>
var keys, _opts, _view, _ddoc, _list
<<<<<<<
_ddoc = this.config.ddoc_name;
=======
_list = this.config.list_name;
>>>>>>>
_ddoc = this.config.ddoc_name;
_list = this.config.list_name;
... |
<<<<<<<
function createNormalNativeApp(projectName, cmd) {
const root = path.resolve(projectName);
=======
function createReactNativeCLIProject(projectName, cmd) {
var root = path.resolve(projectName);
>>>>>>>
function createReactNativeCLIProject(projectName, cmd) {
const root = path.resolve(projectName);
<<<... |
<<<<<<<
=======
iframe.contentDocument.head.insertAdjacentHTML('beforeend', quotebackjs);
>>>>>>>
iframe.contentDocument.head.insertAdjacentHTML('beforeend', quotebackjs); |
<<<<<<<
const path = require('path');
const vscodeLanguageClient = require('vscode-languageclient');
=======
const humanizeString = require("humanize-string");
const camelcase = require("camelcase");
>>>>>>>
const path = require('path');
const vscodeLanguageClient = require('vscode-languageclient');
const humanizeSt... |
<<<<<<<
this.shaderCache = {};
this.attributeCache = [];
=======
this.shaderCache = new Map();
>>>>>>>
this.shaderCache = new Map();
this.attributeCache = []; |
<<<<<<<
this._mouse = {
position: [0, 0],
oldPosition: [0, 0]
};
this.dirty = false;
=======
>>>>>>>
<<<<<<<
Gizmo.registerHandle = function (handle) {
=======
Gizmo.registerHandle = function (handle) {
>>>>>>>
Gizmo.registerHandle = function (handle) {
<<<<<<<
Gizmo.getHandle = function (id... |
<<<<<<<
* @returns {object} Object containing 'i0', 'i1', 'f0' and 'f1' members. (Integer, Integer, Float, Float)
=======
* @returns {Object} Object containing "i0", "i1", "f0" and "f1" members. (Integer,Integer,Float,Float)
>>>>>>>
* @returns {Object} Object containing 'i0', 'i1', 'f0' and 'f1' members. (Inte... |
<<<<<<<
/*
* @class For handling loading of meshrenderercomponents
* @constructor
* @param {World} world The goo world
* @param {function} getConfig The config loader function. See {@see DynamicLoader._loadRef}.
* @param {function} updateObject The handler function. See {@see DynamicLoader.update}.
* @exte... |
<<<<<<<
plane.normal.x = this._left.x * this._coeffLeft[0] + this._direction.x * this._coeffLeft[1];
plane.normal.y = this._left.y * this._coeffLeft[0] + this._direction.y * this._coeffLeft[1];
plane.normal.z = this._left.z * this._coeffLeft[0] + this._direction.z * this._coeffLeft[1];
plane.constant = this.tra... |
<<<<<<<
define([
'goo/renderer/light/DirectionalLight',
'goo/math/Vector3',
'test/CustomMatchers'
], function (
DirectionalLight,
Vector3,
CustomMatchers
) {
'use strict';
describe('DirectionalLight', function () {
beforeEach(function () {
jasmine.addMatchers(CustomMatchers);
});
it('gets the color f... |
<<<<<<<
/*
* @class For handling loading of camera components
* @constructor
* @param {World} world The goo world
* @param {function} getConfig The config loader function. See {@see DynamicLoader._loadRef}.
* @param {function} updateObject The handler function. See {@see DynamicLoader.update}.
* @extends C... |
<<<<<<<
'goo/util/PromiseUtil',
'goo/util/ObjectUtil'
],
=======
'goo/loaders/JsonUtils',
'goo/util/PromiseUtil'
],
>>>>>>>
'goo/util/PromiseUtil',
'goo/util/ObjectUtil'
],
<<<<<<<
/*
* @class Handler for loading skeletons into engine
* @extends ConfigHandler
* @param {World} world
* @param {Functi... |
<<<<<<<
this.clipPlane.setDirect(waterPlane.normal.x, -waterPlane.normal.y, waterPlane.normal.z, waterPlane.constant);
=======
this.clipPlane.setd(waterPlane.normal.x, -waterPlane.normal.y, waterPlane.normal.z, -waterPlane.constant);
>>>>>>>
this.clipPlane.setDirect(waterPlane.normal.x, -waterPlane.norma... |
<<<<<<<
'goo/util/PromiseUtil',
'goo/util/ObjectUtil'
], function(
=======
'goo/loaders/JsonUtils',
'goo/util/PromiseUtil'
],
/** @lends */
function(
>>>>>>>
'goo/util/PromiseUtil',
'goo/util/ObjectUtil'
],
/** @lends */
function(
<<<<<<<
/*
* @class Handler for loading skeletons into engine
* @extends... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.