conflict_resolution stringlengths 27 16k |
|---|
<<<<<<<
updateFilterSize = () => {
const {selectedDashboardIndex, index} = this.props
this.props.filterResizeHandler(selectedDashboardIndex, index, this.state.width)
}
=======
resizeStartHandler = (direction, styleSize, clientSize, e) => {
if(e.preventDefault) e.preventDefault();
}
dragStartHa... |
<<<<<<<
onResultTabChanged,
resultSectionActiveKey
=======
onResultTabChanged,
resultLoading,
dataLoading,
visualisationLoading
>>>>>>>
onResultTabChanged,
resultSectionActiveKey,
resultLoading,
dataLoading,
visualisationLoading
<<<<<<<
... |
<<<<<<<
super(props)
this.state = {
showEditWidgetModal: false,
showAddWidgetModal: false,
selectedWidget: null,
editorContent: null,
newWidget: null,
newWidgetApiParams: {}
}
=======
super(props)
this.state = ... |
<<<<<<<
"classicLayersSection": false,
"customCssCode": '',
=======
"rememberPanelOpenClosedState": false,
>>>>>>>
"classicLayersSection": false,
"customCssCode": '',
"rememberPanelOpenClosedState": false,
<<<<<<<
//React when a browser action's icon is clicked.
chrome.browserAction.onC... |
<<<<<<<
blockFastHash = cnUtil.get_block_id(shareBuffer).toString('hex');
=======
>>>>>>> |
<<<<<<<
blockFastHash = cnUtil.get_block_id(shareBuffer).toString('hex');
=======
>>>>>>> |
<<<<<<<
let allSidebars = require(CWD + "/sidebar.json");
Object.assign(allSidebars, versionFallback.sidebarData());
=======
const allSidebars = require(CWD + "/sidebars.json");
>>>>>>>
let allSidebars = require(CWD + "/sidebars.json");
Object.assign(allSidebars, versionFallback.sidebarData()); |
<<<<<<<
shell.exec(
`git commit -m "Deploy website" -m "Deploy website version based on ${
currentCommit
}"`
);
=======
if (
shell.exec(
`git commit -m "Deploy website" -m "Deploy website version based on ${currentCommit}"`
).code !== 0
) {
shell.echo(`Error: Committing static website failed`);
sh... |
<<<<<<<
open: false,
due_soon: false,
overdue: false,
closed: false,
mine_as_poc: false,
mine_as_helper: false,
min_due_date: "",
max_due_date: "",
min_request_date: "",
max_request_date: "",
requester_name: "",
department: "",
// Using an at... |
<<<<<<<
'use strict'
const ut = require('./utils')
const err = require('./errors')
const urljoin = require('url-join')
const builder = require('xmlbuilder')
const SitemapItem = require('./sitemap-item')
exports.Sitemap = Sitemap
exports.SitemapItem = SitemapItem
exports.createSitemap = createSitemap
exports.createSite... |
<<<<<<<
'use strict'
const { resolve } = require('path')
const { createReadStream, createWriteStream } = require('fs')
const {clearLine, cursorTo} = require('readline')
const { finished } = require('stream')
const { promisify } = require('util')
const { lineSeparatedURLsToSitemapOptions, SitemapStream } = require('../d... |
<<<<<<<
window.onkeydown = function(evt) {
if(evt.ctrlKey && evt.which == 83) {
evt.preventDefault();
console.log("CTRL+S - SYNCING");
sync.syncNow('/', function(errors) {});
return false;
}
}
=======
//TODO: discuss with Niklas how to wire all these events... |
<<<<<<<
=======
mqtt_client.on('message', function (topic, message) {
try {
message = message.toString();
var action = getActionFromTopic(topic);
var options = getDeviceFromTopic(topic);
debug("receive settings", JSON.stringify({
topic: topic,
action: actio... |
<<<<<<<
import * as it from './translations/it.json';
=======
import * as ru from './translations/ru.json';
>>>>>>>
import * as it from './translations/it.json';
import * as ru from './translations/ru.json';
<<<<<<<
pl,
it
=======
pl,
ru
>>>>>>>
pl,
it,
ru |
<<<<<<<
});
/*
* Code for parsing the slot string from inputSlotString
*
*/
$("#inputSlotString + span .btn").click(function() {
var input = $("#inputSlotString").val().trim();
var slotArray = input.split("+");
console.log(slotArray);
slotArray.forEach(function(slot) {
markSlot(slot);
});
});
/**
... |
<<<<<<<
var coevery = angular.module('coevery', ['ng', 'ngGrid', 'ngResource', 'agt.detour', 'ui.utils', 'coevery.formdesigner', 'SharedServices', 'ui.bootstrap', 'coevery.common']);
=======
var coevery = angular.module('coevery', ['ng', 'ngGrid', 'ngResource', 'agt.detour', 'ui.utils', 'coevery.formdesigner'... |
<<<<<<<
var isMobileWeb = Ti.Platform.osname === 'mobileweb',
isTizen = Ti.Platform.osname === 'tizen',
win = Titanium.UI.createWindow();
=======
var win = Titanium.UI.createWindow({
title:_args.title
});
>>>>>>>
var isMobileWeb = Ti.Platform.osname === 'mobileweb',
isTizen = Ti.Platform.osname === 'tize... |
<<<<<<<
import Intersection from './directives/Intersection.js'
=======
import Mutation from './directives/Mutation.js'
>>>>>>>
import Intersection from './directives/Intersection.js'
import Mutation from './directives/Mutation.js'
<<<<<<<
Intersection,
=======
Mutation,
>>>>>>>
Intersection,
Mutation, |
<<<<<<<
if (Ti.Platform.osname !== 'android' && Ti.Platform.osname !== 'tizen') {
=======
data.push({title:'Contact images',hasChild:true, test:'ui/common/phone/contacts_image'});
if (Ti.Platform.osname !== 'android') {
>>>>>>>
data.push({title:'Contact images',hasChild:true, test:'ui/common/phone/co... |
<<<<<<<
capacitor: {},
bin: {},
=======
bex: {
builder: {
directories: {
input: '',
output: ''
}
}
},
>>>>>>>
capacitor: {},
bin: {},
bex: {
builder: {
directories: {
input: '',
... |
<<<<<<<
force: null, // Choose 'ios', 'android' or 'windows'. Don't do a browser check, just always show this banner
hideOnInstall: true, // Hide the banner after "VIEW" is clicked.
layer: false // Display as overlay layer or slide down the page
}
$.smartbanner.Constructor = SmartBa... |
<<<<<<<
case 'persistState':
console.log('message to persist state hit');
switchPersistMode();
break;
=======
// Todo: Implementing the throttle change
case 'throttleEdit':
let throttleVal = parseInt(msg.data.payload.value);
throttleLimit = throttleVal;
... |
<<<<<<<
// Handle events when the user finishes the content. Useful for logging exercise results.
instance.$.on('finish', function (event) {
if (event.data !== undefined) {
H5P.setFinished(contentId, event.data.score, event.data.maxScore, event.data.time);
}
});
if (H5P.isFramed)
... |
<<<<<<<
'<input class="h5p-admin-restricted" type="checkbox"/>',
library.numContent,
library.numContentDependencies,
library.numLibraryDependencies,
=======
{
text: library.numContent,
class: 'h5p-admin-center'
},
{
text: library.nu... |
<<<<<<<
function handleCustomText(paneClass) {
// Function Objective: Search for and handle block of VTT Message text...
//...in pane Notes or Description
const outCustomRollFuncs = {
before: [],
replace:[],
after: [],
roll: (customTextFuncList, normalRollFunction=undefined)... |
<<<<<<<
},
"halfling-lucky": {
"title": "Halfling Lucky",
"description": "The luck of your people guides your steps",
"type": "bool",
"default": true
=======
},
"genies-vessel": {
"title": "Genie's Vessel: Genie's Wrath - Extra Damage",
"description": "Y... |
<<<<<<<
},
"halfling-lucky": {
"title": "Halfling Lucky",
"description": "The luck of your people guides your steps",
"type": "bool",
"default": true
=======
},
"genies-vessel": {
"title": "Genie's Vessel: Genie's Wrath - Extra Damage",
"description": "Y... |
<<<<<<<
},
"halfling-lucky": {
"title": "Halfling Lucky",
"description": "The luck of your people guides your steps",
"type": "bool",
"default": true
=======
},
"genies-vessel": {
"title": "Genie's Vessel: Genie's Wrath - Extra Damage",
"description": "Y... |
<<<<<<<
},
"halfling-lucky": {
"title": "Halfling Lucky",
"description": "The luck of your people guides your steps",
"type": "bool",
"default": true
=======
},
"genies-vessel": {
"title": "Genie's Vessel: Genie's Wrath - Extra Damage",
"description": "Y... |
<<<<<<<
},
"halfling-lucky": {
"title": "Halfling Lucky",
"description": "The luck of your people guides your steps",
"type": "bool",
"default": true
=======
},
"genies-vessel": {
"title": "Genie's Vessel: Genie's Wrath - Extra Damage",
"description": "Y... |
<<<<<<<
},
"halfling-lucky": {
"title": "Halfling Lucky",
"description": "The luck of your people guides your steps",
"type": "bool",
"default": true
=======
},
"genies-vessel": {
"title": "Genie's Vessel: Genie's Wrath - Extra Damage",
"description": "Y... |
<<<<<<<
docsSideNavCollapsible: false,
=======
algolia: {
apiKey: 'a2f42d84af398a5bc73faf5caf364f6a',
indexName: 'trustworktech_create-react-ssr-app',
},
>>>>>>>
docsSideNavCollapsible: false,
algolia: {
apiKey: 'a2f42d84af398a5bc73faf5caf364f6a',
indexName: 'trustworktech_create-react-s... |
<<<<<<<
{ jhipsterVar, jhipsterFunc },
this.options.testmode ? { local: require.resolve('generator-jhipster/generators/modules') } : null
);
this.prodDatabaseType = jhipsterVar.prodDatabaseType;
/* TODO remove on prod
this.log(chalk.blue('<<<<<BEFORE'));
... |
<<<<<<<
// Generates a JSON-serializable token object representing the interval
// of text between the end of the last generated token and the current
// stream position.
=======
markTokenStart: function() {
this.tokenStart = this.pos;
},
>>>>>>>
markTokenStart: function() {
this.... |
<<<<<<<
=======
function initApp() {
return spawn(sane, [
'new',
'.',
'--skip-npm',
'--skip-bower',
'--skip-analytics'
], { stdio: 'ignore' });
}
>>>>>>> |
<<<<<<<
for ( var i = 0; i < styles.length; i++) {
if ( styles[i].rel.toLowerCase() === 'stylesheet' && !styles[i].hasAttribute('data-norem') ) {
=======
for (i = 0; i < styles.length; i++) {
// here we need to use getAttribute instead of hasAttribute to support IE < 8
... |
<<<<<<<
it('should support rtl resize', done => {
timeout({
children: [
<Table.Column dataIndex='id' resizable width={200}></Table.Column>,
<Table.Column dataIndex='name' width={200}></Table.Column>
],
rtl: true,
onResizeChange... |
<<<<<<<
};
export const normalizeToArray = items => {
if (items) {
if (Array.isArray(items)) {
return items;
}
return [items];
}
return [];
};
export const isSibling = (currentPos, targetPos) => {
const currentNums = currentPos.split('-').slice(0, -1);
const ta... |
<<<<<<<
const paragraphNode = header.find(child => child.type === 'paragraph');
let desc = '';
if (paragraphNode && paragraphNode.children) {
desc = paragraphNode.children.map(itemNode => {
if (itemNode.type === 'inlineCode') {
return `<code>${html2Escape(item... |
<<<<<<<
'intDivisionTruncate.sol',
'stringBytesLength.sol'
=======
'intDivisionTruncate.sol',
'ERC20.sol'
>>>>>>>
'intDivisionTruncate.sol',
'ERC20.sol',
'stringBytesLength.sol'
<<<<<<<
'intDivisionTruncate.sol': 0,
'stringBytesLength.sol': 0
=======
'intDivisionTruncate.sol': 0,
'ER... |
<<<<<<<
this.mainAxis = new THREE.Object3D();
this.cameraDummy = new THREE.Object3D();
=======
this.localPhi = 0;
this.localTheta = 0;
>>>>>>>
this.mainAxis = new THREE.Object3D();
this.cameraDummy =... |
<<<<<<<
if(this.controls.click)
{
var position = this.picking(this.controls.pointClick);
this.updateDummy(position,this.dummy);
this.controls.setPointGlobe(position);
... |
<<<<<<<
function c3DEngine(scene, positionCamera, viewerDiv, debugMode, gLDebug) {
=======
/*
var step = function(val,stepVal)
{
if(val<stepVal)
return 0.0;
else
return 1.0;
};
var exp2 = function(expo)
{
return Math.pow(2,expo);
};
... |
<<<<<<<
var layer = map.colorTerrain.children[i];
//var provider = this.manager.getProvider(layer);
var tileMT = this.providerColorTexture.layersWMTS[colorServices[i]].tileMatrixSet;
=======
var layer = this.providerColorTexture.layersWMTS[colorService... |
<<<<<<<
Globe.prototype.setLayerVisibility = function(id,visible){
=======
Globe.prototype.addColorLayer = function(layerId){
this.colorTerrain.services.push(layerId);
var subLayer = new Layer();
subLayer.services.push(layerId);
var idLayerTile = this.colorTerrain.children.... |
<<<<<<<
var exen = 6356752.3142451793/6378137;
=======
this.ellipsoid = new Ellipsoid(this.size);
>>>>>>>
this.ellipsoid = new Ellipsoid(this.size);
var exen = 6356752.3142451793/6378137;
<<<<<<<
var position = this.ellipsoid().cartographicToCartesian(new CoordCarto().setFrom... |
<<<<<<<
//默认过滤规则相关配置项目
//,disabledTableInTable:true //禁止表格嵌套
//,allowDivTransToP:true //允许进入编辑器的div标签自动变成p标签
//,rgb2Hex:true //默认产出的数据中的color自动从rgb格式变成16进制格式
=======
>>>>>>>
//默认过滤规则相关配置项目
//,disabledTableInTable:true //禁止表格嵌套
//,allowDi... |
<<<<<<<
// Debugging helper to inspect JSON response body content recieved from server
inspectJSON: function() {
this.after(function(err, res, body) {
console.log(util.inspect(JSON.parse(body)));
});
return this;
},
=======
// Debugging helper to inspect HTTP response code r... |
<<<<<<<
// DEV: Process may be different for useState components
=======
// BUG FIX: Don't print the Router as a component
// Change how the children are printed
>>>>>>>
// DEV: Process may be different for useState components
// BUG FIX: Don't print the Router as a component
// Change how the childre... |
<<<<<<<
customChildren: existingChildren.concat(React.createElement('footer', { className: 'footer_footer' },
=======
customInnerChildren: React.createElement('footer', { className: 'footer_footer' },
>>>>>>>
customInnerChildren: existingChildren.concat(Rea... |
<<<<<<<
var url = "https://plus.google.com/hangouts/_?gid=rofl&gd=sessionId:" + session.id;
=======
var url = "https://plus.google.com/hangouts/_?gid=fun&gd=sessionId:" + session.id;
var clock = sinon.useFakeTimers();
>>>>>>>
var url = "https://plus.google.com/hangouts/_?gid=rofl&gd... |
<<<<<<<
exports.server.init({
"transport":"file",
"level":"debug",
"GOOGLE_CLIENT_ID":true,
"GOOGLE_CLIENT_SECRET":true,
"REDIS_DB":1,
"timeoutHttp":true,
"mockAuth": true
=======
exports.server.init({"GOOGLE_CLIENT_ID... |
<<<<<<<
permalinkSessions: null,
unauthenticatedSockets: null,
=======
users: null, // backbone collection of known users (loaded on startup)
events: null, // backbone collection of known events (loaded on startup)
>>>>>>>
permalinkSessions: null,
users: null, // backbone collection of known users (loa... |
<<<<<<<
const mongoose = require('mongoose');
const Test = require('./TestModel.js');
Test.create({
item: 'test1',
number: 1,
createdAt: {type: Date, default: Date.now}
}, (err, test) => {
if(err) console.log('CREATE ERR', err)
else console.log('CREATE', test)
});
// Test.find({}, (err, test) => {
// if(err) ... |
<<<<<<<
let timer;
=======
>>>>>>>
let timer;
<<<<<<<
clearTimeout(timer);
=======
scaleDuration();
>>>>>>>
clearTimeout(timer);
scaleDuration();
<<<<<<<
var funcData = d3.select("#nodes")
.selectAll(".node")
funcData.filter((d) => {
return d.isNew ==... |
<<<<<<<
const skill = await session.skill();
const absences = await session.absences();
=======
const evaluations = await session.evaluations();
>>>>>>>
const evaluations = await session.evaluations();
const absences = await session.absences();
<<<<<<<
console.log("Timetable : "+timetable);
... |
<<<<<<<
const absence = require('./absence');
=======
const homeworks = require('./homeworks');
>>>>>>>
const absence = require('./absence');
const homeworks = require('./homeworks');
<<<<<<<
session.absences = (...args) => absence(session, ...args);
=======
session.homeworks = (...args) => homeworks(sess... |
<<<<<<<
const getMenu = require('./src/fetch/menu');
=======
const getAbsence = require('./src/fetch/absence');
>>>>>>>
const getMenu = require('./src/fetch/menu');
const getAbsence = require('./src/fetch/absence');
<<<<<<<
fetchMenu: getMenu,
=======
fetchAbsence: getAbsence,
>>>>>>>
fetchMenu: get... |
<<<<<<<
import Combatants from 'Parser/Core/Modules/Combatants';
import Module from 'Parser/Core/Module';
import ExpandableStatisticBox from 'Main/ExpandableStatisticBox';
import { STATISTIC_ORDER } from 'Main/StatisticBox';
import { formatPercentage, formatNumber } from 'common/format';
=======
import Analyzer from... |
<<<<<<<
=======
"developer": "MIUI-PT",
"free": true,
"icon": "http://romshare.deployfu.com/downloads/575/c19be5475e866406d78eff7f3486305c.png",
"id": "miuiportugal",
"manifest": "http://www.files.miui-pt.com/manifest/miuipt.js",
"summary": "Smoothest, Fastest, Gorgeous, all the be... |
<<<<<<<
if (currencyCache.userCurrency && currencyCache.userCurrency.currencyType && TimeHelper.isExpired(currencyCache.userCurrency.updated, 3600)) {
resolveStoreCurrency(currencyCache.userCurrency.currencyType);
=======
if (currencyCache.userCurrency && currencyCa... |
<<<<<<<
case /^\/sharedfiles\/editguide\/?$/.test(path):
Array.from(document.getElementsByName("tags[]")).forEach(tag => tag.type = "checkbox");
break;
=======
case /^\/workshop\/browse/.test(path):
(new WorkshopBrowseClass());
break;
>>>>>>>
... |
<<<<<<<
// version 3.0
var storage = chrome.storage.sync;
var apps;
=======
// version 3.1
>>>>>>>
// version 3.1
var storage = chrome.storage.sync;
var apps;
<<<<<<<
var steamID = document.getElementsByName("abuseID")[0].value;
=======
if (document.getElementById("profileBlock")) {
var steamID = document.... |
<<<<<<<
const GameId = (function(){
let self = {};
function parseId(id) {
=======
class GameId {
static parseId(id) {
>>>>>>>
class GameId {
static parseId(id) {
<<<<<<<
constructor(origin, params={}) {
if (!origin) throw `Constructor requires an Origin`;
this.origin = origin;
... |
<<<<<<<
self.getAchievementBar = function(path, appid) {
return Background.action("stats", { "path": path, "appid": appid }).then(response => {
=======
self.getAchievementBar = function(appid) {
return Background.action("stats", appid).then(response => {
>>>>>>>
self.getAchievementBar = f... |
<<<<<<<
//get_store_session();
=======
get_store_session();
fix_menu_dropdown();
>>>>>>>
//get_store_session();
fix_menu_dropdown(); |
<<<<<<<
this.addOwnedElsewhere();
=======
this.displayViewInLibrary();
>>>>>>>
this.addOwnedElsewhere();
this.displayViewInLibrary();
<<<<<<<
Background.action('cards', appid)
.then(result => loadBadgeContent(".es_normal_badge_progress", result), EnhancedSteam.add... |
<<<<<<<
=======
tag_owned = $("#tag_owned").prop('checked');
show_friends_want = $("#show_friends_want").prop('checked');
tag_owned_color = $("#tag_owned_color").val();
show_friends_want_color = $("#show_friends_want_color").val();
>>>>>>>
<<<<<<<
=======
'show_carousel_descriptions': show_carousel_des... |
<<<<<<<
case /^\/sharedfiles\/filedetails\/?$/.test(path):
(new WorkshopPageClass());
=======
case /^\/sharedfiles\/.*/.test(path):
(new SharedFilesPageClass());
>>>>>>>
case /^\/sharedfiles\/filedetails\/?$/.test(path):
(new SharedFilesPageClass()); |
<<<<<<<
Messenger.addMessageListener("dynamicStoreReady", () => {
self.highlightAndTag(parent.querySelectorAll(selector));
=======
Messenger.onMessage("dynamicStoreReady").then(() => {
selectors.forEach(selector => {
self.highlightAndTag(parent.querySelectorAll... |
<<<<<<<
'sortreviewsby': "date",
=======
'sortgroupsby': "default",
>>>>>>>
'sortreviewsby': "date",
'sortgroupsby': "default", |
<<<<<<<
} else if (oldVersion.isSameOrBefore("0.9.5")) {
SyncedStorage.remove("showesbg");
=======
} else if (oldVersion.isSameOrBefore("0.9.5")) {
SyncedStorage.set("hideaboutlinks", SyncedStorage.get("hideinstallsteambutton") && SyncedStorage.get("hideaboutmenu"... |
<<<<<<<
return getStatusObject(giftsAndPasses, coupons);
=======
let promises = [];
if (SyncedStorage.get("highlight_inv_guestpass") || SyncedStorage.get("tag_inv_guestpass") || SyncedStorage.get("highlight_inv_gift") || SyncedStorage.get("tag_inv_gift")) {
promises.push(Backgrou... |
<<<<<<<
* Version: 1.7.0-rc.2 -- 2017-10-25T00:12:31.816Z
=======
* Version: 1.7.0-rc.3 -- 2017-10-26T19:56:45.415Z
>>>>>>>
* Version: 1.7.0-rc.3 -- 2017-10-26T21:39:35.661Z
<<<<<<<
// We need the item bindings to be processed before we can do adjustments
!$scope.$$phase && $scope.$digest();
=======... |
<<<<<<<
localStorage.setItem("netlifySiteURL", store.siteURL)
store.init(instantiateGotrue(), true)
})
=======
if (store.siteURL === null || store.siteURL === undefined) {
localStorage.removeItem("netlifySiteURL");
} else {
localStorage.setItem("netlifySiteURL", store.siteURL);
}
store.init(instan... |
<<<<<<<
import zh_tw from './zh_tw.json';
=======
import gr from './gr.json';
import ms from './ms.json';
import es from './es.json';
>>>>>>>
import gr from './gr.json';
import ms from './ms.json';
import es from './es.json';
import zh_tw from './zh_tw.json';
<<<<<<<
zh_tw: zh_tw[0],
=======
gr: gr[0],
ms: ms[... |
<<<<<<<
import ko from './ko.json';
=======
import id from './id.json';
>>>>>>>
import ko from './ko.json';
import id from './id.json';
<<<<<<<
ko: ko[0],
=======
id: id[0],
>>>>>>>
ko: ko[0],
id: id[0], |
<<<<<<<
var rxPlan = loadRxTests('spec');
plan({ tests: rxPlan.totalTests });
var rx = new Rx({ defaultTypes: true });
for (coreType in Rx.CoreType)
rx.registerType( Rx.CoreType[coreType] );
=======
>>>>>>>
var rxPlan = loadRxTests('spec');
plan({ tests: rxPlan.totalTests });
var rx = new Rx({ defaultTypes:... |
<<<<<<<
import jQuery from "jquery";
import { isMobile } from "../utils/is-mobile";
=======
>>>>>>>
import { isMobile } from "../utils/is-mobile";
<<<<<<<
var self = this;
var $root = jQuery(rootElement);
=======
>>>>>>>
<<<<<<<
$root.on('click.ember', '.ember-view', function(evt, triggeringManager... |
<<<<<<<
isIdempotentRequestError,
exponentialDelay
=======
isIdempotentRequestError,
isRetryableError
>>>>>>>
isIdempotentRequestError,
exponentialDelay
isRetryableError
<<<<<<<
});
describe('exponentialDelay', () => {
it('should return exponential retry delay', () => {
function assertTime(retr... |
<<<<<<<
var $stateProvider, scope, $compile, elem, log;
=======
var log, scope, $compile, elem, $onInit;
>>>>>>>
var $stateProvider, scope, $compile, elem, log;
<<<<<<<
=======
beforeEach(function() {
log = '';
$onInit = jasmine.createSpy('$onInit');
});
>>>>>>>
<<<<<<<
},
nState = {
... |
<<<<<<<
* @param {string|object} stateName The state name (absolute or relative) or state object you'd like to check.
* @param {object=} params A param object, e.g. `{sectionId: section.id}`, that you'd like
=======
* @param {string|object} stateOrName The state name (absolute or relative) or state obj... |
<<<<<<<
var newScope = scope.$new(),
name = getUiViewName(attrs, $element.inheritedData('$uiView')),
=======
var newScope,
name = currentEl && currentEl.data('$uiViewName'),
>>>>>>>
var newScope,
name = ge... |
<<<<<<<
deserialize = require("montage/core/deserializer").deserialize,
=======
defaultEventManager = require("montage/core/event/event-manager").defaultEventManager,
>>>>>>>
deserialize = require("montage/core/deserializer").deserialize,
defaultEventManager = require("montage/core/event/event-manage... |
<<<<<<<
/**
* The scope against which rule expressions will be evaluated
* @type {Scope}
*/
__scope: {
value: null
},
_scope: {
get: function() {
return this.__scope || new Scope();
}
},
=======
>>>>>>>
/**
* The scope agains... |
<<<<<<<
iOffset,
iElement,
=======
iOffset = this._cachedDrawOffset,
iStyle,
>>>>>>>
iOffset = this._cachedDrawOffset,
iElement,
<<<<<<<
pos = this._splinePaths[pathIndex].getPositionAtTime(slide.time... |
<<<<<<<
this._overridePropertyWithDefaults(deserializer, "cardinality", "cardinality");
=======
this._overridePropertyWithDefaults(deserializer, "cardinality");
>>>>>>>
this._overridePropertyWithDefaults(deserializer, "cardinality");
<<<<<<<
t... |
<<<<<<<
/**
Description TODO
@function
@param {Event Handler} event TODO
*/
=======
>>>>>>>
<<<<<<<
/**
Description TODO
@function
@param {Event Handler} event TODO
*/
=======
>>>>>>> |
<<<<<<<
var resolveURI = function (env, root_schema, uri) {
var components, curschema, hash_idx, name;
=======
var resolveURI = function (env, schema_stack, uri) {
var curschema, components, hash_idx, name;
>>>>>>>
var resolveURI = function (env, schema_stack, uri) {
var curschema, components, ha... |
<<<<<<<
=======
// set up for MongoDB
>>>>>>>
// set up for MongoDB
<<<<<<<
};
module.exports = {
generateSchema,
createObjectType
};
=======
}
>>>>>>>
module.exports = {
generateSchema,
createObjectType
}; |
<<<<<<<
// function to generate code for module exports
const createModuleExports = () => {
let string = '';
string += `module.exports = new GraphQLSchema({\n`;
string += ` query: RootQuery,\n`;
string += ` mutation: Mutation\n`;
string += `});`
return string;
}
=======
}
>>>>>>>
// function to g... |
<<<<<<<
/* Fetch parent entity for a domain. If domain is not in
* entityMap, return 'unknown'
*/
function getParentEntity (urlToCheck) {
if (!entityMap) { return 'unknown' }
const urlToCheckParsed = tldjs.parse(urlToCheck)
const parentEntity = entityMap[urlToCheckParsed.domain]
if (parentEntity) {
... |
<<<<<<<
// Though semi can be omitted in this case, it's definitly not a good coding style.
// Two options:
// 1. throw a warning
// 2. do some reformat, such as replace semi with a newline?
it('newline within multiline comment', function () {
var src = "var a = 123;/*\n*/a++;\n"
//expect(semi.remove(... |
<<<<<<<
export default function (props) {
=======
export default function(props) {
let cardNameInput;
>>>>>>>
export default function (props) {
let cardNameInput;
<<<<<<<
<div>
<Menu
noOverlay={props.noOverlay}
pageWrapId="page-wrap"
oute... |
<<<<<<<
function loadLists () {
var listLocation = settings.getSetting('trackerListLoc')
var blockLists = settings.getSetting('blockLists')
blockLists.forEach(function (listName) {
load.JSONfromLocalFile(listLocation + '/' + listName, (listJSON) => {
console.log(`... |
<<<<<<<
=======
import DiagramsHeader from '../components/icons/DiagramsHeader.js';
import { css } from "@emotion/core";
import BeatLoader from "react-spinners/BeatLoader";
const override = css`
display: block;
margin-top: 10px;
border-color: #12b3ab;
`;
>>>>>>>
import { css } from "@emotion/core";
import Bea... |
<<<<<<<
=======
var debugRequest = false;
>>>>>>>
var debugRequest = false;
<<<<<<<
function (requestData) {
let tabId = requestData.tabId;
// Add ATB for DDG URLs
let ddgAtbRewrite = ATB.redirectURL(requestData);
if (ddgAtbRewrite) return ddgAtbRewrite;
// Skip requ... |
<<<<<<<
win.error('An error occured while trying to get subtitles', err);
=======
title = $.trim(torrent.name.replace('[rartv]', '').replace('[PublicHD]', '').replace('[ettv]', '').replace('[eztv]', '')).replace(/[\s]/g, '.');
... |
<<<<<<<
var trackerByParentCompany = checkTrackersWithParentCompany(blockSettings, trackerURL, currLocation);
=======
// block trackers by parent company
var trackerByParentCompany = checkTrackersWithParentCompany(blockSettings, host, currLocation);
>>>>>>>
// block trackers by parent... |
<<<<<<<
/* load all the things ! */
var Q = require ('q');
var fs = require('fs');
function loadLocalProviders() {
var appPath = '';
var providerPath = './src/app/lib/providers/';
var files = fs.readdirSync(providerPath);
return files.map (function (file) {
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.