conflict_resolution stringlengths 27 16k |
|---|
<<<<<<<
<SelectDevice t={t} devices={devices} />
<UnlockDevice devices={devices} t={t} />
=======
<SelectDevice t={t} devices={devices} />
<UnlockDevice isAppOpen={isAppOpen} t={t} />
>>>>>>>
<SelectDevice t={t} devices={devices} />
<UnlockDevice t={t} devi... |
<<<<<<<
{
isLoading ? (
<div className={styles.loadingOverlay}>
<SpinnerV2 className={`${styles.loadingSpinner} ${this.state.spinnerClass}`} />
</div>
) : null
}
{filteredVotes.length > 0
=======
{isLoading ? (... |
<<<<<<<
config.turnservers.forEach(function (server) {
var hmac = crypto.createHmac('sha1', server.secret);
// default to 86400 seconds timeout unless specified
var username = Math.floor(new Date().getTime() / 1000) + (server.expiry || 86400) + "";
hmac.update(use... |
<<<<<<<
function extractVersion(version) {
if (version.startsWith('v')) {
return version.slice(1);
}
return version;
}
=======
function handleError(err) {
const { error } = err.response.data;
const message = `Messenger API - ${error.code} ${error.type} ${error.message}`;
throw new AxiosError(message,... |
<<<<<<<
const PlayByPlayClient = require('./clients/PlayByPlayClient.js');
import BoxScoreClient from './clients/BoxScoreClient';
=======
import PlayByPlayClient from './clients/PlayByPlayClient';
const BoxScoreClient = require('./clients/BoxScoreClient.js');
>>>>>>>
import BoxScoreClient from './clients/BoxScoreCli... |
<<<<<<<
const {ResourceModel} = require('../model/resource/resourceModel');
const {ResourceEntity} = require('../model/entity/resource/resourceEntity');
=======
const {ResourceTypeModel} = require('../model/resourceType/resourceTypeModel');
>>>>>>>
const {ResourceModel} = require('../model/resource/resourceModel');
... |
<<<<<<<
// Load the passbolt addon-on config app on config pages
pageMod.PageMod({
include: data.url("config-debug.html"),
contentScriptWhen: 'end',
contentStyleFile: [
data.url("css/config_debug_ff.css"),
],
contentScriptFile: [
data.url("js/lib/jquery-2.1.1.min.js"),
data.url('js/lib/uuid.js'),
... |
<<<<<<<
=======
};
/**
* Validate user fields individually
*
* @param field {string} The name of the field to validate
* @param value {string} The value of the field to validate
* @returns {boolean}
* @throw Error if the field is not valid
* @private
*/
User.prototype.__validate = function (field, value) {
... |
<<<<<<<
=======
app.events.config.listen(worker);
},
onDetach: function () {
// onDetach is called twice, avoid it.
if (Worker.exists('Setup')) {
Worker.remove('Setup');
}
>>>>>>>
app.events.config.listen(worker); |
<<<<<<<
setI1(getI2().minus($$$cl15.Integer(16)));
setI2(getI1().negativeValue().plus(getI2()).minus($$$cl15.Integer(1)));
setI1($$$cl15.Integer(3).times($$$cl15.Integer(7)));
setI2(getI1().times($$$cl15.Integer(2)));
setI2($$$cl15.Integer(17).divided($$$cl15.Integer(4)));
setI1(getI2().times($$... |
<<<<<<<
require('default/flow').test();
require('default/default').test();
=======
require('default/flow').test();
require('default/functions').test();
>>>>>>>
require('default/flow').test();
require('default/default').test();
require('default/functions').test(); |
<<<<<<<
self.renderDialog("add_email", options);
// Only show the RP's TOS/PP if the user has not been to this site
// before.
if(!originEmail && options.siteTOSPP) {
dialogHelpers.showRPTosPP.call(self);
}
=======
self.renderDialog("add_email", templateData);
hideHi... |
<<<<<<<
asyncTest("get with invalid requiredEmail - print error screen", function() {
createController({
ready: function() {
mediator.subscribe("start", function(msg, info) {
ok(false, "start should not have been called");
});
var retval = controller.get(HTTP_TEST_DOMAIN, ... |
<<<<<<<
const template = ejs.compile(
fs.readFileSync(path.join(__dirname, "static", "prove_template.ejs")).toString());
=======
const TEMPLATE_PATH = path.join(__dirname, "browserid", "email_templates");
// the underbar decorator to allow getext to extract strings
function _(str) { return str; }
// a map of a... |
<<<<<<<
// store inside the session the details of this pending verification
req.session.pendingVerification = {
email: stageParams.email,
hash: stageParams.hash // we must store both email and password to handle the case where
// a user re-creates an account - specifically... |
<<<<<<<
var csrf_token,
xhr = $;
=======
var csrf_token;
var server_time;
var auth_status;
>>>>>>>
var csrf_token;
var xhr = $;
var server_time;
var auth_status;
<<<<<<<
xhr.ajax({
url: "/wsapi/csrf",
type: "GET",
success: function(result) {
csrf_token =... |
<<<<<<<
if (info.type === "primary") {
if (record.cert) {
=======
if (info.state && 'offline' === info.state) {
redirectToState("primary_offline", info);
}
else if (info.type === "primary") {
// issuer MUST have changed... clear certs
if ("transition_to_primary"... |
<<<<<<<
const coding = require('./coding.js')({postMessage, contextState, controller})
const interaction = require('./interaction.js')({postMessage, api, controller})
=======
const interaction = require('./interaction.js')({api, controller})
>>>>>>>
const coding = require('./coding.js')({postMessage,... |
<<<<<<<
import { modelHTML, sheetselectlistitemHTML, sheetselectlistHTML, keycode } from './constant';
import luckysheetsizeauto from './resize';
import {
luckysheetMoveHighlightCell,
luckysheetMoveHighlightCell2,
luckysheetMoveHighlightRange,
luckysheetMoveHighlightRange2
=======
import luckysheetsiz... |
<<<<<<<
change(date(2019, 7, 20), <>Added <SpellLink id={SPELLS.NULL_DYNAMO.id} /> essence.</>, emallson),
=======
change(date(2019, 7, 21), 'Update error logging to reduce overhead.', Zerotorescue),
change(date(2019, 7, 20), 'Allow for repeated phases in bossfights (e.g. Lady Ashvane / Radiance of Azshara).', ... |
<<<<<<<
this.id_element = element.find('div.ii.gt');
var classValue = this.id_element.attr('class');
if (classValue != null) {
var matches = classValue.match(/(^|\s)m([\S]*)/);
if (matches !== null) {
this.id = matches.pop();
}
}
=======
this.id_element ... |
<<<<<<<
assertEqual(r, '33+33+22');
})();
=======
console.log('r', r);
assertEqual(r, '33+22+=33');
}.enableOverloading())();
>>>>>>>
assertEqual(r, '33+22+=33');
})();
<<<<<<<
assertEqual(r, '33-33+2... |
<<<<<<<
else if (kcode == keycode.DELETE || kcode == keycode.BACKSPACE) {
$("#luckysheet-delete-text").click();
=======
else if (kcode == keycode.DELETE) {
if(imageCtrl.currentImgId != null){
imageCtrl.removeImgItem();
}
... |
<<<<<<<
name: 'Services',
path: 'relationships.services.data[].id',
description: 'Services that the service uses'
},
{
=======
name: 'Filters',
path: 'relationships.filters.data[].id',
description: 'Filters that the service uses'
},
{
>>>>>>>
na... |
<<<<<<<
rdns_tests.forEach(function(i) {
it(i + ' with reverse DNS lookups', function() {
return doCommand(i + ' --rdns')
.should.be.fulfilled
});
})
after(closeConnection)
=======
it('MXS-2984: Malformed `list listeners` output', function() {
retur... |
<<<<<<<
if (!config.xid) {
config.xid = ++[id for each ({ localId: id } in webapps)].sort(function(a, b) b - a)[0];
// NOTE: we can't currently use localId as code because webappsActor
// if the emulator doesn't exit clean DOMApplicationRegistry._nextLocalId
// will not be able to serialize... |
<<<<<<<
}, false);
{
let initialLatitude = 0,
initialLongitude = 0,
latitude = 0,
longitude = 0,
useCurrent = true,
openWin = function openWin() {
let params = {
input: { lat: latitude, lon: longitude, useCurrent: useCurrent },
output: { lat: null, lon: null,... |
<<<<<<<
=======
// Chrome workaround: otherwise text is sometimes invisible (probably a rendering glitch due to the 3D transform graphics backend?)
//_$epubHtml.css("visibility", "hidden"); // "flashing" in two-page spread mode is annoying :(
_$epubHtml.css("opacity", "0.9");
... |
<<<<<<<
renderCurrentView: function(isReflowable) {
if(this.currentView){
=======
function renderCurrentView(isReflowable) {
if(_currentView){
>>>>>>>
function renderCurrentView(isReflowable) {
if(_currentView){
<<<<<<<
=======
var viewCreationParams = {
... |
<<<<<<<
import bitcoreLib from 'bitcore-lib';
=======
import twemoji from 'twemoji';
>>>>>>>
import bitcoreLib from 'bitcore-lib';
import twemoji from 'twemoji';
<<<<<<<
}
export function isValidBitcoinAddress(address) {
if (typeof address !== 'string') {
throw new Error('Please provide a string.');
}
t... |
<<<<<<<
=======
>>>>>>>
<<<<<<<
applySwitches($iframe);
registerTriggers($iframe);
// _mediaOverlayDataInjector.attachMediaOverlayData($iframe, spineItem, _viewerSettings);
=======
_mediaOverlayDataInjector.attachMediaOverlayData($iframe, spineItem,... |
<<<<<<<
=======
// This fixes rendering issues with WebView (native apps), which clips content embedded in iframes unless GPU hardware acceleration is enabled for CSS rendering.
_$el.css("transform", "translateZ(0)");
_$contentFrame = $("#reflowable-content-frame", _$el);
_$i... |
<<<<<<<
bookStyles: _bookStyles
}, [elementClass]);
pageView.on(ReadiumSDK.Views.OnePageView.SPINE_ITEM_OPEN_START, function($iframe, spineItem) {
=======
bookStyles: _bookStyles,
class: cssclass,
contentAlignment: contentAlignment,
ena... |
<<<<<<<
=======
this.isElementVisible = visibilityCheckerFunc;
this.isElementCfiVisible = function (partialCfi) {
var pageIndex = this.getPageForElementCfi(partialCfi,
["cfi-marker", "mo-cfi-highlight"],
[],
["MathJax_Message"]);
var paginationInfo = option... |
<<<<<<<
var _fontSize = 100;
var _isIframeLoaded = false;
=======
var _enablePageTransitions = options.enablePageTransitions;
>>>>>>>
var _fontSize = 100;
var _isIframeLoaded = false;
var _enablePageTransitions = options.enablePageTransitions;
<<<<<<<
//this is called by scroll_view f... |
<<<<<<<
* @memberof Aggregations
*
* @param {String} field Field name to aggregate over.
* @param {String} opts Additional options to include in the aggregation.
* @param {String} name Aggregation name. Defaults to agg_date_histogram_<field>.
* @return {Object} Date Histogram Aggregation.
=======
* ... |
<<<<<<<
* @memberof Aggregations
*
* @param {String} field Field name to aggregate over.
* @param {String} opts Additional options to include in the aggregation.
* @param {String} name Aggregation name. Defaults to agg_cardinality_<field>.
* @return {Object} Cardinality Aggregation.
=======
* @param... |
<<<<<<<
* @memberof Aggregations
*
* @param {String} field Field name to aggregate over.
* @param {String} name Aggregation name. Defaults to agg_terms_<field>.
* @param {Object} opts Additional options to include in the aggregation.
* @return {Object} Range aggregation.
=======
* @param {String} f... |
<<<<<<<
* @memberof Aggregations
*
* @param {String} field Field name to aggregate over.
* @param {String} name Aggregation name. Defaults to agg_sum_<field>.
* @return {Object} Sum Aggregation.
=======
* @param {String} field Field name to aggregate over.
* @param {String} [name] Aggregation name.... |
<<<<<<<
import {
getInventory,
events as inventoryEvents,
} from '../../../utils/inventory';
=======
import { recordEvent } from '../../../utils/metrics';
>>>>>>>
import {
getInventory,
events as inventoryEvents,
} from '../../../utils/inventory';
import { recordEvent } from '../../../utils/metrics'; |
<<<<<<<
this._root && this._hide();
=======
Dimensions.removeEventListener('change', this._windowChanged);
Keyboard.removeListener('keyboardDidChangeFrame', this._keyboardDidChangeFrame);
this._hide();
>>>>>>>
this._root && this._hide();
Dimensions.removeEventListener(... |
<<<<<<<
thunk(rootClone)
// revoke all proxies
revoke(revocableProxies)
=======
const maybeVoidReturn = thunk(rootClone)
//values either than undefined will trigger warning;
!Object.is(maybeVoidReturn, undefined) &&
console.warn(
`Immer callback expects no return value. Ho... |
<<<<<<<
var getIndex = function (name) {
return name.match(/(document|filename)\[(\d+)\]/)[2];
=======
getIndex = function (name) {
return name.match(/files-(\d+)-(document|filename)/)[1];
>>>>>>>
var getIndex = function (name) {
return name.match(/files-(\d+)-(document|filename)/)[1];
<<<<<<<
v... |
<<<<<<<
if (statusMessage) return;
statusMessage = app.statusBar.pushMessage({
msg: app.polyglot.t('listingDelete.deletingListing',
{ listing: `<em>${getTitle(model)}</em>` }),
=======
const statusMessage = app.statusBar.pushMessage({
msg: `Deleting listing <em>${getTitle(model)}</em>... |
<<<<<<<
// Until we have legitimate profile models interfacing with the server,
// we'll create a dummy "users" collection with a dummy set of "user" models
const usersCl = new Collection([
{
id: 'Qm63bf1a74e69375b5b53e940a057e072b4c5fa0a0',
handle: 'sampatt',
},
{
id: 'Qm11111111iv1kgzh14sRkphaD3n5... |
<<<<<<<
localSourceImage: PropTypes.shape({ filename: PropTypes.string, directory: PropTypes.string, mode: PropTypes.string })
=======
localSourceImagePath: PropTypes.string,
permissionDialogTitle: PropTypes.string,
permissionDialogMessage: PropTypes.string,
>>>>>>>
localSourceImage: PropTypes.s... |
<<<<<<<
=======
const action = async ({ tableId }, options) => {
>>>>>>>
<<<<<<<
loadConfig(configPath);
=======
const { config: configPath } = options;
loadConfig(configPath, options);
>>>>>>>
loadConfig(configPath, options);
<<<<<<<
=======
};
function configureCommanderHubDbDeleteCommand(commander... |
<<<<<<<
const watchCommand = require('../commands/watch');
=======
const authCommand = require('../commands/auth');
>>>>>>>
const watchCommand = require('../commands/watch');
const authCommand = require('../commands/auth');
<<<<<<<
.command(watchCommand)
=======
.command(removeCommand)
>>>>>>>
.command(wat... |
<<<<<<<
const functionsCommand = require('../commands/functions');
=======
const listCommand = require('../commands/list');
>>>>>>>
const functionsCommand = require('../commands/functions');
const listCommand = require('../commands/list');
<<<<<<<
.command(functionsCommand)
=======
.command({
...listComma... |
<<<<<<<
const functionsCommand = require('../commands/functions');
=======
const openCommand = require('../commands/open');
>>>>>>>
const functionsCommand = require('../commands/functions');
const openCommand = require('../commands/open');
<<<<<<<
.command(functionsCommand)
=======
.command(openCommand)
>>>>... |
<<<<<<<
=======
addLoggerOptions,
addUseEnvironmentOptions,
>>>>>>>
addUseEnvironmentOptions,
<<<<<<<
exports.handler = async options => {
const { config: configPath, src, dest } = options;
console.log('in');
setLogLevel(options);
logDebugInfo(options);
loadConfig(configPath);
=======
const actio... |
<<<<<<<
const functionsCommand = require('../commands/functions');
=======
const openCommand = require('../commands/open');
>>>>>>>
const functionsCommand = require('../commands/functions');
const openCommand = require('../commands/open');
<<<<<<<
.command(functionsCommand)
=======
.command(openCommand)
>>>>... |
<<<<<<<
/**
* Moves file from srcPath to destPath
*
* @async
* @param {number} portalId
* @param {string} srcPath
* @param {string} destPath
* @returns {Promise}
*/
async function moveFile(portalId, srcPath, destPath) {
return http.put(portalId, {
uri: `${FILE_MAPPER_API_PATH}/rename/${srcPath}?path=${des... |
<<<<<<<
addPortalOptions,
addConfigOptions,
setLogLevel,
getPortalId,
} = require('../lib/commonOpts');
const { trackCommandUsage } = require('../lib/usageTracking');
const { logDebugInfo } = require('../lib/debugInfo');
const {
=======
>>>>>>>
addPortalOptions,
addConfigOptions,
setLogLevel,
getPort... |
<<<<<<<
const initCommand = require('../commands/init');
=======
const lintCommand = require('../commands/lint');
>>>>>>>
const initCommand = require('../commands/init');
const lintCommand = require('../commands/lint');
<<<<<<<
.command(initCommand)
=======
.command(lintCommand)
>>>>>>>
.command(initComman... |
<<<<<<<
type: 'input',
message: 'Enter your personal access key:',
=======
message: 'Enter your personal CMS access key:',
>>>>>>>
type: 'input',
message: 'Enter your personal CMS access key:', |
<<<<<<<
=======
async function action({ secretName, secretValue }, options) {
>>>>>>>
<<<<<<<
loadConfig(configPath);
=======
const { config: configPath } = options;
loadConfig(configPath, options);
>>>>>>>
loadConfig(configPath, options);
<<<<<<<
};
=======
}
function configureSecretsUpdateCommand(p... |
<<<<<<<
const { trackCommandUsage, trackAuthAction } = require('../lib/usageTracking');
const { setLogLevel, addTestingOptions } = require('../lib/commonOpts');
const {
promptUser,
personalAccessKeyPrompt,
PORTAL_NAME,
} = require('../lib/prompts');
=======
const {
promptUser,
personalAccessKeyPrompt,
POR... |
<<<<<<<
'click .js-resync': 'clickResync',
=======
'click .js-purge': 'clickPurge',
>>>>>>>
'click .js-resync': 'clickResync',
'click .js-purge': 'clickPurge',
<<<<<<<
clickResync() {
this.resyncCache();
}
/**
* Call to the server to remove cached files that are being shared on... |
<<<<<<<
=======
const action = async ({ tableId, dest }, options) => {
>>>>>>>
<<<<<<<
loadConfig(configPath);
=======
const { config: configPath } = options;
loadConfig(configPath, options);
>>>>>>>
loadConfig(configPath, options);
<<<<<<<
=======
};
function configureCommanderHubDbFetchCommand(comm... |
<<<<<<<
/*jshint strict:false*/
var utils = require('utils');
=======
/*jshint strict:false maxstatements: 99*/
var utils = require('utils');
casper.start('tests/site/index.html', function() {
this.click('a[href="test.html"]');
});
casper.then(function() {
this.test.comment('Casper.click()');
this.test.... |
<<<<<<<
import ActionBar from './ActionBar';
=======
import ActionBar from './ActionBar';
import ContractMenuItem from './ContractMenuItem';
>>>>>>>
import ActionBar from './ActionBar';
import ContractMenuItem from './ContractMenuItem';
<<<<<<<
this.listenTo(this.model, 'change:state', () => {
if (this.ac... |
<<<<<<<
/**
* Gets a list of currently open Review Opportunities.
* @param {Number} limit The max number to return in one call.
* @param {Number} offset Offset, used with limit to lazy load.
* @return {Promise} Resolves to the api response in JSON.
*/
// This rule modification can be removed when mo... |
<<<<<<<
loadTemplate('modals/editListing/editListing.html', t => {
this.$el.html(t({
createMode: this.createMode,
selectedNavTabIndex: this.selectedNavTabIndex,
returnText: this.options.returnText,
listingCurrency: this.currency,
currencies: this.currencies,
con... |
<<<<<<<
import Moderators from '../../components/moderators/Moderators';
=======
import BulkCoinUpdateBtn from './BulkCoinUpdateBtn';
import Moderators from '../../components/Moderators';
>>>>>>>
import Moderators from '../../components/moderators/Moderators';
import BulkCoinUpdateBtn from './BulkCoinUpdateBtn'; |
<<<<<<<
const localizedPluralizedCount = app.polyglot.t('userPage.store.countListings',
{ smart_count: col.length, display_count: localizeNumber(col.length) });
const listingCountSpan = `<span class="txB">${localizedPluralizedCount}</span>`;
=======
const countPhrase = app.polyglot.t('userPage.store... |
<<<<<<<
logged: true,
=======
openNewTab: true,
>>>>>>>
logged: true,
openNewTab: true, |
<<<<<<<
challengeV3, challengeV3Filtered, challengeV3User, username);
=======
challengeV3,
challengeV3Filtered,
challengeV3User,
challengeV2,
username,
);
>>>>>>>
challengeV3,
challengeV3Filtered,
challengeV3User,
username,
); |
<<<<<<<
"You can do it",
"It is not a sprint, it is a marathon. One step at a time",
=======
"Success is the progressive realization of a worthy goal",
"People with goals succeed because they know where they’re going",
"All you need is the plan, the roadmap, and the courage to press on to your destination",... |
<<<<<<<
=======
/* @flow */
import bitcoin from 'bitcoinjs-lib'
>>>>>>>
/* @flow */
<<<<<<<
t.throws(() => authenticator.isAuthenticationValid(testAddrs[1], challengeText),
=======
const pkBad = bitcoin.ECPair.fromPublicKeyBuffer(testPairs[1].getPublicKeyBuffer())
const authBad = new auth.LegacyAuth... |
<<<<<<<
const digest = bitcoin.crypto.sha256(challengeText)
const valid = (this.publickey.verify(digest, Buffer.from(this.signature, 'hex')) === true)
=======
for (const challengeText of challengeTexts) {
const digest = bitcoin.crypto.sha256(challengeText)
const valid = (this.publickey.verify(... |
<<<<<<<
import test from 'tape-promise/tape'
import * as auth from '../../src/server/authentication'
import os from 'os'
=======
import * as auth from '../../src/server/authentication'
>>>>>>>
import test from 'tape-promise/tape'
import * as auth from '../../src/server/authentication'
import os from 'os'
<<<<<<... |
<<<<<<<
let sr = new StorageRequest(req, res, proofChecker, config.logger)
=======
let sr = new StorageRequest(req, res, config)
>>>>>>>
let sr = new StorageRequest(req, res, proofChecker, config) |
<<<<<<<
import { ecPairToHexString } from 'blockstack'
import { ValidationError, AuthTokenNumberValidationError } from './errors'
=======
import { ecPairToHexString, ecPairToAddress } from 'blockstack'
import { ValidationError } from './errors'
>>>>>>>
import { ecPairToHexString, ecPairToAddress } from 'blockstack'
... |
<<<<<<<
this.browser =
typeof this.options.browser !== undefined
? this.options.browser
: typeof window !== 'undefined';
=======
this.browser = typeof(this.options.browser) !== 'undefined' ? this.options.browser : typeof (window) !== 'undefined';
>>>>>>>
this.browser =
typeof ... |
<<<<<<<
import { throttle, isScrolledIntoView } from '../../../utils/dom';
=======
import Backbone from 'backbone';
import { isScrolledIntoView } from '../../../utils/dom';
>>>>>>>
import { throttle, isScrolledIntoView } from '../../../utils/dom';
import Backbone from 'backbone'; |
<<<<<<<
if(Meteor.isServer) {
Meteor.methods({
delete_category: function(id){
PanoplyCMSCollections.Categories.update({ _id: id },{ $set:{ trash:true } });
},
update_category: function(id, data){
PanoplyCMSCollections.Categories.update({ _id: id }, {
$set: {
title: data.title,
alias: data.al... |
<<<<<<<
this.parent();
this.connect('activate', function () {
settings.set_string('show-in-panel', 'sensor');
settings.set_string('sensor', label);
});
=======
this.parent({reactive: false});
this._label = label;
this._value = value;
>>>>>>>
... |
<<<<<<<
for each (let itemText in items){
item = new PopupMenu.PopupMenuItem(itemText, {reactive: false});
=======
for each (let itemText in tempItems){
item = new PopupMenu.PopupMenuItem(itemText);
section.addMenuItem(item);
}
... |
<<<<<<<
'&forum=' + config.shortname +
'&thread:ident=' + ctx.request.query.identifier,
=======
'&forum=' + config.username +
// '&thread:ident=' + ctx.request.query.identifier,
// 此处如果不对identifier encode, 如果identifier中含有中文,disqus api会不识别报错
'&thread:ident=' + encodeURIComponent(ctx... |
<<<<<<<
const refineArray = (arr, size) => arr.map(obj => { return { ...obj, index: obj.index % size } })
export const calculateSlideSize = (slider) => {
=======
const calculateSlideSize = (slider) => {
>>>>>>>
export const calculateSlideSize = (slider) => { |
<<<<<<<
}
SliderController.styleOptions = {
paginations: ['pagination-style-1', 'pagination-style-2', 'pagination-style-3'],
navs: ['nav-style-1', 'nav-style-2', 'nav-style-3', 'nav-style-4', 'nav-style-5']
}
=======
}
// Create jquery plugin
;(function ($) {
$.fn.slider = function (opts, ...args) {
retu... |
<<<<<<<
export const PageFlySliderClasses = {
=======
const SliderXClasses = {
>>>>>>>
export const SliderXClasses = {
<<<<<<<
export const calculatePFSlideSize = slider => {
=======
const getSlideWidth = slider => {
>>>>>>>
export const getSlideWidth = slider => { |
<<<<<<<
aria-label="Add a new to-do item"
placeholder="Add a to-do..."
=======
id="new-todo"
>>>>>>>
aria-label="Add a new to-do item"
placeholder="Add a to-do..."
id="new-todo" |
<<<<<<<
var arrayIndex, isArray, isFinite, isNumber, objectRef, sortedIndex, timeFormats, toString;
=======
var arrayIndex, isArray, isFinite, isNaN, isNumber, objectRef, sortedIndex, toString;
>>>>>>>
var arrayIndex, isArray, isFinite, isNumber, objectRef, sortedIndex, timeFormats, toString;
<<<<<<<
isFini... |
<<<<<<<
import twemoji from 'twemoji';
=======
import _ from 'underscore';
>>>>>>>
import _ from 'underscore';
import 'jquery-zoom';
import twemoji from 'twemoji';
import is from 'is_js';
import app from '../../../app';
<<<<<<<
'click .js-rating': 'clickRating',
=======
'change .js-variantSelect': 'on... |
<<<<<<<
( metaRequired == metaPressed ) &&
( altRequired == altPressed ) &&
( ctrlRequired == ctrlPressed ) &&
( shiftRequired == shiftPressed )
=======
( altRequired === altPressed ) &&
( ctrlRequired === ctrlPressed ) &&
( shiftRequired === shift... |
<<<<<<<
'test/lib/select2/select2.js',
=======
'test/lib/maskedinput/jquery.maskedinput-1.3.js',
>>>>>>>
'test/lib/select2/select2.js',
'test/lib/maskedinput/jquery.maskedinput-1.3.js', |
<<<<<<<
// Sample Testacular configuration file, that contain pretty much all the available options
// It's used for running client tests on Travis (http://travis-ci.org/#!/vojtajina/testacular)
// Most of the options can be overriden by cli arguments (see testacular --help)
// base path, that will be used to resolv... |
<<<<<<<
'ui.directives',
'ui.config'
]);// Generated by CoffeeScript 1.3.3
=======
'ui.directives'
]).value('ui.config', {});
/**
* Binds a CodeMirror widget to a <textarea> element.
*/
angular.module('ui.directives').directive('uiCodemirror', ['ui.config', '$parse', function (uiConfig, $parse) {
uiConfig... |
<<<<<<<
default: 1,
description: 'Number of indentation characters to add per code level'
=======
default: 2,
description: 'Integer denoting count of indentation required'
>>>>>>>
default: 2,
description: 'Number of inden... |
<<<<<<<
default: 0,
description: 'Number of indentation characters to add per code level'
=======
default: 2,
description: 'Integer denoting count of indentation required'
>>>>>>>
default: 2,
description: 'Number of indentation characters to add... |
<<<<<<<
default: 0,
description: 'Number of indentation characters to add per code level'
=======
default: 2,
description: 'Integer denoting count of indentation required'
>>>>>>>
default: 2,
description: 'Number of indentation characters to add... |
<<<<<<<
default: 0,
description: 'Number of indentation characters to add per code level'
=======
default: 2,
description: 'Integer denoting count of indentation required'
>>>>>>>
default: 2,
description: 'Number of inden... |
<<<<<<<
default: true,
description: 'Remove white space and additional lines that may affect the server\'s response'
=======
default: false,
description: 'Trim request body fields'
>>>>>>>
default: false,
description: 'Remove white space and additional lines that may a... |
<<<<<<<
var wordCount = require( "./stringProcessing/countWords.js" );
var calculateFleschReading = require( "./analyses/calculateFleschReading" );
=======
>>>>>>>
var wordCount = require( "./stringProcessing/countWords.js" );
var calculateFleschReading = require( "./analyses/calculateFleschReading" );
<<<<<<<
"w... |
<<<<<<<
import { getRtlStyle, ScreenReaderText } from "@yoast/components";
=======
import { colors } from "@yoast/components/style-guide";
import { getDirectionalStyle } from "@yoast/helpers";
>>>>>>>
import { colors } from "@yoast/components/style-guide";
import { getDirectionalStyle } from "@yoast/helpers";
import... |
<<<<<<<
export { makeOutboundLink } from "./makeOutboundLink";
export { default as validateFacebookImage } from "./social-preview-image-validation/facebookValidation";
export { default as validateTwitterImage } from "./social-preview-image-validation/twitterValidation";
=======
export { makeOutboundLink } from "./mak... |
<<<<<<<
describe( "A test for filtering function words in supported languages", function() {
// Function word: هذه
const forms = buildStems( "هذه المعلومات", "ar", false );
expect( forms ).toEqual(
new TopicPhrase(
[ new StemOriginalPair( "المعلومات", "المعلومات" ) ],
false )
);
} );
=======
describe( "A... |
<<<<<<<
import pl from "../../premium-configuration/data/morphologyData-pl-v9.json";
=======
import pt from "../../premium-configuration/data/morphologyData-pt-v9.json";
import id from "../../premium-configuration/data/morphologyData-id-v9.json";
>>>>>>>
import pt from "../../premium-configuration/data/morphologyDat... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.