conflict_resolution stringlengths 27 16k |
|---|
<<<<<<<
id: 'search-list'
});
=======
id: 'movie-list'
});
>>>>>>>
id: 'movie-list'
});
<<<<<<<
movieCollection.fetch();
// Create movie list
var movieList = new App.View.MovieList({
model: movieCollection
});
=======
>>>>>>>... |
<<<<<<<
=======
_createPlugin: function _createPlugin(component, isPlugin) {
if (window.jQuery) {
// this fn called via forIn, so isPlugin might be the field name,
// only explicit 'true' is treated as a plugin.
isPlugin = isPlugi... |
<<<<<<<
* File: jquery.flexisel.js
* Version: 1.0.1
* Description: Responsive carousel jQuery plugin
* Author: 9bit Studios
* Copyright 2012, 9bit Studios
* http://www.9bitstudios.com
* Free to use and abuse under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
*/
=======
* File: jquery.flexis... |
<<<<<<<
import '../styles/main.scss';
import '../../node_modules/normalize.css/normalize.css';
import '../../node_modules/please-wait/build/please-wait.css';
import '../../node_modules/react-select/dist/react-select.css';
import '../../node_modules/react-joyride/lib/react-joyride-compiled.css';
import '../../node_modul... |
<<<<<<<
<ApolloProvider client={apolloClient}>
<Router history={hashHistory} onUpdate={trackUrl}>
<Route component={App} name="app" path="/">
<Route path="dashboard" component={Dashboard} onEnter={redirectToLogin}/>
/* #if debug */
<Route path="replay" path="replay/:replayId" compone... |
<<<<<<<
/**
* Set coordinates by either user coordinates or screen coordinates and recalculate the other one.
* @param {Number} coord_type The type of coordinates used here. Possible values are <b>COORDS_BY_USER</b> and <b>COORDS_BY_SCREEN</b>.
* @param {Array} coordinates An array of affine coordina... |
<<<<<<<
function testOptionClick(option, cb) {
=======
function testMoreBangs() {
var bangs_link = wd.findElement(By.css('.link.bang a'));
testNewTabUrl(bangs_link, "More Bangs link opens bangs page", /duckduckgo\.com\/bang/);
}
function testMoreOptions() {
var options_link = wd.findElement(By.css('.link.more a')... |
<<<<<<<
else if(cmpr==7) UTIF.decode._decodeNewJPEG(img, data, off, len, tgt, toff);
else if(cmpr==8) { var src = new Uint8Array(data.buffer,off,len); var bin = pako["inflate"](src); console.log(bin.length); for(var i=0; i<bin.length; i++) tgt[toff+i]=bin[i]; }
else if(cmpr==32773) UTIF.decode._decodePackBits(da... |
<<<<<<<
import {
CapabilitiesBasedSearchApi,
SearchApi,
WorkerSearchApi
} from './SearchApi'
=======
import { SearchApi, WorkerSearchApi } from './SearchApi'
import { Search } from './lib'
>>>>>>>
import {
CapabilitiesBasedSearchApi,
SearchApi,
WorkerSearchApi
} from './SearchApi'
import { Search } from ... |
<<<<<<<
this.startColor = this.endColor = this.customEase = this._completeCallback = null;
=======
this.startColor = this.startScale = this.startAlpha = this.startSpeed =
this.customEase = null;
>>>>>>>
this.startColor = this.startScale = this.startAlpha = this.startSpeed =
this.customEase = this._complete... |
<<<<<<<
@connect(
state => ({
isReady: state.conversation.conversationId,
}),
{
setCredentials,
setFirstMessage,
createConversation,
},
)
=======
@connect(null, {
setCredentials,
createConversation,
removeAllMessages,
})
>>>>>>>
@connect(
state => ({
isReady: state.conversation.co... |
<<<<<<<
const credentials = getCredentialsFromCookie(channelId)
=======
const credentials = getCredentialsFromLocalStorage()
>>>>>>>
const credentials = getCredentialsFromLocalStorage(channelId)
<<<<<<<
storeCredentialsInCookie(chatId, id, preferences.conversationTimeToLive, channelId)
=======
... |
<<<<<<<
if (aboveVisible) addToScrollPos(cm, null, widget.height);
=======
if (aboveVisible) addToScrollPos(cm, 0, widget.height);
cm.curOp.forceUpdate = true;
>>>>>>>
if (aboveVisible) addToScrollPos(cm, null, widget.height);
cm.curOp.forceUpdate = true;
<<<<<<<
var nonASC... |
<<<<<<<
if (insert == null && mode.lineComment) {
var line = cm.getLine(pos.line), found = line.indexOf(mode.lineComment);
if (found > -1) {
insert = line.slice(0, found);
if (/\S/.test(insert)) insert = null;
else insert += mode.lineComment + line.slice(found + mode.... |
<<<<<<<
// ie_uptoN means Internet Explorer version N or lower
var ie_upto10 = /MSIE \d/.test(navigator.userAgent);
var ie_upto7 = ie_upto10 && (document.documentMode == null || document.documentMode < 8);
var ie_upto8 = ie_upto10 && (document.documentMode == null || document.documentMode < 9);
var ie_11up = ... |
<<<<<<<
INDISCRIMINATE_CONSUMPTION: { //Idol of Indiscriminate Consumption
id: 295962, // NOT CONFIRMED, NO EXAMPLE LOG FOUND
name: "Indiscriminate Consumption",
icon: "ability_druid_primaltenacity",
},
INSIDIOUS_GIFT: { //Lurker's Insidious Gift Mastery Buff
id: 295408,
name: "Insidious Gift... |
<<<<<<<
return false;
=======
>>>>>>>
return false; |
<<<<<<<
DependencyObject.Instance._SetValueWithErrorImpl = function (propd, value, error) {
=======
DependencyObject.Instance._SetValueImpl = function (propd, value, error) {
var propPrecEnum = _PropertyPrecedence;
>>>>>>>
DependencyObject.Instance._SetValueWithErrorImpl = function (propd, value, error) {
<<<<<... |
<<<<<<<
var static_dir = 'static/';
var templates_dir = 'templates/';
var js_dir = 'js/';
var css_dir = 'css/';
var build_tasks = [
'handlebars:compile',
'concat:js',
'sass',
'execute:preProcessLists'
];
var js_file = js_dir + 'popup.js';
var sass_file =... |
<<<<<<<
'measure': 'Messung',
'measureDistancesAndAreas': 'Messung von Abständen und Flächen',
'createNewMeasurement': 'Eine neue Messung durchführen',
'startCreating': 'Führen Sie die Messung durch, indem Sie der Karte Punkte hinzufügen.',
'finishMeasurement': 'Messung beenden',
'lastPoint': 'Letzter Punkt... |
<<<<<<<
SEQ test.seq1 test.seq2
=======
SEQ test.seq1 test.seq2
>>>>>>>
SEQ test.seq1 test.seq2
<<<<<<<
=======
>>>>>>>
<<<<<<<
=======
>>>>>>>
<<<<<<<
=======
>>>>>>>
<<<<<<<
... |
<<<<<<<
"httpsUpgradeList": "https://duckduckgo.com/contentblocking.js?l=https",
"surrogateList": "https://duckduckgo.com/contentblocking.js?l=surrogates",
=======
"httpsUpgradeList": "https://duckduckgo.com/contentblocking.js?l=https2",
>>>>>>>
"surrogateList": "https://duckduckgo.com/contentblockin... |
<<<<<<<
},
{
name: "KievII",
website: "http://kievII.net/",
description: "Web audio application / DSP library, with HTML5 frontend.",
useIf: [
"You want to build an audio Web application with an HTML5 GUI, automations and MozAudio / Web API support."
],
size: "modular: 30Kb to start, ... |
<<<<<<<
src.push("attribute vec4 flags2;");
=======
if (clipping) {
src.push("attribute vec4 flags2;");
}
src.push("attribute vec3 offset;");
>>>>>>>
src.push("attribute vec4 flags2;");
src.push("attribute vec3 offset;"); |
<<<<<<<
scope[ast.name.name] = {
type: "COMPONENT",
sizes: sizes,
cIdx: Array.isArray(cIdx) ? cIdx[0] : cIdx
};
=======
scope[ast.name.name] = {
type: "COMPONENT",
value: iterateSelectors(ctx, sizes, baseName, function(fullName) {
ctx.components[fullNam... |
<<<<<<<
expect(dayPicker.props.weekdayComponent).to.be.a('Function');
=======
expect(dayPicker.props.navbarComponent).to.be.a('Function');
>>>>>>>
expect(dayPicker.props.weekdayComponent).to.be.a('Function');
expect(dayPicker.props.navbarComponent).to.be.a('Function'); |
<<<<<<<
function getStateFromProps(props) {
let month;
if (props.value) {
const day = props.parse(props.value);
if (day) {
month = day;
}
} else {
month =
props.dayPickerProps.initialMonth ||
props.dayPickerProps.month ||
new Date();
}
return {
value: props.value,
... |
<<<<<<<
default:
if (onKeyDown) {
onKeyDown(e);
}
=======
case keys.UP:
this.showPreviousYear(callback);
break;
case keys.DOWN:
this.showNextYear(callback);
break;
>>>>>>>
case keys.UP:
this.showPreviousYear(onKeyDown);
... |
<<<<<<<
<div className={ classNames.month } role="grid">
{React.cloneElement(captionElement, captionProps)}
=======
<div className={ classNames.month }>
{caption}
>>>>>>>
<div className={ classNames.month } role="grid">
{caption} |
<<<<<<<
addCategory: function(rawName, enable=false, shareToken = null) {
var name = rawName.replace(' ', '-');
=======
addCategory: function(rawName, enable=false) {
var name = rawName.replace(/\s+/g, '-');
>>>>>>>
addCategory: function(rawName, enable=false, shareToken = null) {
... |
<<<<<<<
this.addRouter('osrmCar', 'By car (OSRM)', optionsValues.osrmCarURL, null);
nbRoutersAdded++;
=======
this.addRouter('osrmCar', '🚗 ' + t('maps', 'By car (OSRM)'), optionsValues.osrmCarURL, null);
>>>>>>>
this.addRouter('osrmCar', '🚗 ' + t('map... |
<<<<<<<
tracksController.initController(mapController.map);
tracksController.getTracks();
=======
mapController.map.contactsController = contactsController;
>>>>>>>
mapController.map.contactsController = contactsController;
tracksController.initController(mapController.map);
... |
<<<<<<<
const browserWrapper = require('./$BROWSER-wrapper.es6')
=======
const load = require('./load.es6')
const settings = require('./settings.es6')
const entityMap = require('../../data/tracker_lists/entityMap')
>>>>>>>
const browserWrapper = require('./$BROWSER-wrapper.es6')
const load = require('./load.es6')
co... |
<<<<<<<
notion.save_image = storage.secret.notion.save_image;
=======
notion.schema = storage.secret.notion.schema;
notion.type = storage.secret.notion.type;
>>>>>>>
notion.save_image =... |
<<<<<<<
browser.runtime.onMessage.addListener( async function ( request, sender, sendResponse ) {
if ( request.type == msg.MESSAGE_ACTION.NOTION_DL_IMG ) {
try {
const option = request.value,
{ url } = option,
dlRes = await axios({ method: 'get', url, respo... |
<<<<<<<
=======
asyncTest("@loader is current loader with steal syntax", function(){
makeIframe("current-loader/dev-steal.html");
});
asyncTest("@steal is the current steal", function(){
makeIframe("current-steal/dev.html");
});
asyncTest("less loads in the right spot", function(){
makeIframe("less-import... |
<<<<<<<
isBrowserWithWindow = !isNode && typeof window !== "undefined",
isNW = isNode && (function(){
try {
return require("nw.gui") !== "undefined";
} catch(e) {
return false;
}
})();
isNode = isNode && !isNW;
=======
isBrowserWithWindow = !isNode && typeof window !== "undefined",
warn =... |
<<<<<<<
module("Tilde extension");
asyncTest("Basics work", function(){
makeIframe("tilde/site.html");
});
=======
asyncTest("Loads config automatically", function(){
makeIframe("bower/default-config.html");
});
asyncTest("with npm", function(){
makeIframe("bower/npm/index.html");
});
module("Web W... |
<<<<<<<
// TODO create a proxy in nginx and webpack-dev-server
var couchDbServer = 'http://127.0.0.1:5984';
=======
>>>>>>> |
<<<<<<<
"httpsUpgradeList": "https://duckduckgo.com/contentblocking.js?l=https",
=======
"tosdrMessages" : {
"A": "Good",
"B": "Mixed",
"C": "Bad",
"D": "Bad",
"E": "Bad",
"good": "Good",
"bad": "Bad",
"unknown": "Unknown",
"mixed": "Mixe... |
<<<<<<<
"characters/ninja.svg": "Ninja",
=======
"characters/Mr zero.svg":"Mr. Zero",
"characters/Mrs zero.svg": "Mrs. Zero",
"characters/stickman.svg": "Stickman",
"characters/cpt_america.svg": "Captain America",
"characters/daredevil.svg": "DancinDaredevil",
"characters/Mo... |
<<<<<<<
var inputOptionsPromise = new Promise(function (resolve) {
// input your character here in the form, "src_url": "character_name",
=======
var inputOptionsPromise = new Promise(function(resolve) {
// input your character here in the form, "src_url": "character_name",
>>>>>>>
var inputOptionsPro... |
<<<<<<<
"characters/shadowman.svg": "Shadowman",
=======
"characters/santa.svg": "Santa Clause",
>>>>>>>
"characters/shadowman.svg": "Shadowman",
"characters/santa.svg": "Santa Clause", |
<<<<<<<
outdoor: Object.assign({}, OpenDoors, {
canEnterFromTheRight() { return false; },
canLeaveToTheRight() { return false; },
createImages: function () {
this.wallRight = this.createImage("tiles/rooms/wall/outwall.svg");
this.ground = this.createImage("tiles/rooms/floor/out.svg");
this.wa... |
<<<<<<<
"characters/ant.svg": "The AntMan",
=======
"characters/fireman.svg": "Fire Man",
>>>>>>>
"characters/ant.svg": "The AntMan",
"characters/fireman.svg": "Fire Man", |
<<<<<<<
function createTestLevel(level) {
if(level == 2) {
/* 2nd level */
return new Level([
[door.none, door.right, door.minecraft, door.none, door.goal, door.none],
[door.none, door.right, door.Forbidden, door.none, door.none, door.none],
[door.none, door.sofa, door.outdoor, door.chessMat... |
<<<<<<<
var selectedSubtitleStream = subtitleStreams.filter(function (s) {
return s.Index == mediaSource.DefaultSubtitleStreamIndex;
})[0];
var baseParams = {
audioChannels: 2,
StartTimeTicks: startPosition,
AudioStrea... |
<<<<<<<
var http = require('http');
var sys = require('util');
var fs = require('fs');
var config = require('./config').config;
var blacklist = [];
var iplist = [];
var hostfilters = {};
=======
var http = require('http'),
util = require('util');
fs = require('fs'),
config = require('./config')... |
<<<<<<<
import '../mathjax3/input/tex/extpfeil/ExtpfeilConfiguration.js';
=======
import '../mathjax3/input/tex/mhchem/MhchemConfiguration.js';
import '../mathjax3/input/tex/braket/BraketConfiguration.js';
import '../mathjax3/input/tex/physics/PhysicsConfiguration.js';
>>>>>>>
import '../mathjax3/input/tex/extpfeil/... |
<<<<<<<
import '../mathjax3/input/tex/extpfeil/ExtpfeilConfiguration.js';
=======
import '../mathjax3/input/tex/action/ActionConfiguration.js';
>>>>>>>
import '../mathjax3/input/tex/extpfeil/ExtpfeilConfiguration.js';
import '../mathjax3/input/tex/action/ActionConfiguration.js';
<<<<<<<
InputJax: new TeX({package... |
<<<<<<<
import 'mathjax3/input/tex/mhchem/MhchemConfiguration.js';
=======
import 'mathjax3/input/tex/noerrors/NoErrorsConfiguration.js';
>>>>>>>
import 'mathjax3/input/tex/mhchem/MhchemConfiguration.js';
import 'mathjax3/input/tex/noerrors/NoErrorsConfiguration.js'; |
<<<<<<<
import '../mathjax3/input/tex/action/ActionConfiguration.js';
=======
import '../mathjax3/input/tex/braket/BraketConfiguration.js';
import '../mathjax3/input/tex/physics/PhysicsConfiguration.js';
>>>>>>>
import '../mathjax3/input/tex/action/ActionConfiguration.js';
import '../mathjax3/input/tex/braket/Braket... |
<<<<<<<
import React from 'react'
import PropTypes from 'prop-types'
import {Image, TouchableOpacity} from 'react-native'
import resolveAssetSource from 'react-native/Libraries/Image/resolveAssetSource'
=======
import React from 'react';
import PropTypes from 'prop-types';
import { Image, ImageBackground, TouchableOp... |
<<<<<<<
state = {
title: '',
content: '',
tag: ''
};
=======
static displayName = "CreatePost"
static propTypes = {
createPost: PropTypes.func.isRequired,
toggleCreate: PropTypes.func.isRequired,
}
constructor(props) {
super(props)
this.state = {
title: "",
conten... |
<<<<<<<
const contractAccount = process.env.REACT_APP_EOSIO_CONTRACT_ACCOUNT
this.eosio = new EOSIOClient(contractAccount, contractAccount)
=======
const contractAccount = process.env.REACT_APP_EOSIO_ACCOUNT
this.eosio = new EOSIOClient(contractAccount)
>>>>>>>
const contractAccount = process.env... |
<<<<<<<
let mainChannel = null; // Main pc channel for the client as single pc is default.
=======
let quicTransportChannel;
>>>>>>>
let mainChannel = null; // Main pc channel for the client as single pc is default.
let quicTransportChannel;
<<<<<<<
const pcc = new ConferencePeerConnectionChannel(
... |
<<<<<<<
this._videoCodecs = undefined;
=======
this._options = null;
>>>>>>>
this._videoCodecs = undefined;
this._options = null;
<<<<<<<
async publish(stream, options, videoCodecs) {
if (this._ended) {
return Promise.reject('Connection closed');
}
=======
publish(stream, options... |
<<<<<<<
player: req.params.player,
extra: await getExtra(),
=======
player: playerUsername,
>>>>>>>
player: playerUsername,
extra: await getExtra(),
<<<<<<<
player: req.params.player,
... |
<<<<<<<
context_sendTreeToDevice: false,
context_groupTabs: true,
context_ungroupTabs: true,
=======
>>>>>>>
context_sendTreeToDevice: false,
<<<<<<<
context_topLevel_sendTreeToDevice: true,
context_topLevel_groupTabs: false,
context_topLevel_ungroupTabs: false,
=======
>>>>>>>
context_topLevel_s... |
<<<<<<<
<div class="privacy-practices site-info site-info--full-height card">
<div class="hero privacy-practices__overview border--bottom text--center
js-privacy-practices-overview">
${overview(domain, tosdr)}
=======
<div class="privacy-practices site-info card">
<div class="borde... |
<<<<<<<
'sendTreeToDevice': {
title: browser.i18n.getMessage('context_sendTreeToDevice_label'),
titleMultiselected: browser.i18n.getMessage('context_sendTreeToDevice_label_multiselected')
},
'groupTabs': {
title: browser.i18n.getMessage('context_groupTabs_label'),
requi... |
<<<<<<<
gStyleLoader = document.querySelector('#style-loader');
=======
}
async function init() {
log('initialize sidebar on load');
window.addEventListener('resize', onResize);
>>>>>>>
gStyleLoader = document.querySelector('#style-loader');
}
async function init() {
log('initialize sidebar on load');
... |
<<<<<<<
let canceled = false;
if (serializedTab && gLastMousedown) {
const results = await sendTSTAPIMessage(Object.assign({}, gLastMousedown.detail, {
=======
if (serializedTab && lastMousedown) {
sendTSTAPIMessage(Object.assign({}, lastMousedown.detail, {
>>>>>>>
let canceled = false;
if (seriali... |
<<<<<<<
import {
refreshContextMenuItems,
contextMenuClickListener,
} from './context-menu.js';
import { gMetricsData } from './metrics.js';
=======
import * as ContextMenu from './context-menu.js';
>>>>>>>
import * as ContextMenu from './context-menu.js';
import { gMetricsData } from './metrics.js';
<<<<<<<
wi... |
<<<<<<<
// Shows a box (eg inbox or sent) immediately,
// even though the contents have not yet been decrypted
function showEncryptedBox(boxSummary, box) {
boxSummary.EmailHeaders.forEach(function(header){
header.HexMessageID = bin2hex(header.MessageID)
});
var data = {
token: session... |
<<<<<<<
if(getEvtX('clientX', ev)) {
var width = getEvtX('clientX', ev) - startLeft;
if (width > parentWidth - startPosLeft) width = parentWidth - startPosLeft;
if (width >= minWidth) {
self.val([self.range[0], self.range[0] + width / parentWidth], {dontApplyDelta: true});
... |
<<<<<<<
// Hoist @import
text = text.replace(/@import\s+(?:url\s*\(\s*['"]?|['"])[^"'\s]+(?:['"]?\s*\)|['"])\s*([\w\s\(\)\d\:,\-]*);/g, function(e) {
temp += e;
});
text = temp + text;
=======
// Hoist @import
text = text.replace(/@import\s+(?:url\s*\(\s*['"]?|['"])[^"'\s]+(?:['"]... |
<<<<<<<
return readFile(file, options, $refs)
.then(function (resolver) {
$ref.pathType = resolver.plugin.name;
file.data = resolver.result;
return parseFile(file, options, $refs);
})
.then(function (parser) {
$ref.value = parser.result;
return parser.result... |
<<<<<<<
<br><br>If you choose to show subreddit styles, you will see flair images and spoiler tags, but be warned: <em>you may see bright images, comment highlighting, etc.</em> If you do, please message the mods for that subreddit.",
advanced: true
},
=======
<br><br>If you choose to show subreddit sty... |
<<<<<<<
require(['jquery-1.11.2.min', 'guiders', 'favico', 'snuownd', 'jquery.sortable-0.9.12', 'jquery.edgescroll-0.1', 'jquery.tokeninput', 'jquery-fieldselection.min'], function() {
RESUtils.init.complete();
=======
require(['jquery-1.11.3.min', 'guiders', 'favico', 'snuownd', 'jquery.sortable-0.9.12', 'jqu... |
<<<<<<<
addModule('subRedditTagger', function(module, moduleID) {
module.moduleName = 'Subreddit Tagger';
module.category = [ 'Filters', 'Posts' ];
module.description = 'Adds tags to posts based on which subreddit they were posted to.';
module.options = {
=======
addModule('subRedditTagger', {
moduleID: 'subRedd... |
<<<<<<<
RESUtils.htmlClasses = [];
RESUtils.documentClasses = {
concat: function(oldItems, newItems) {
var items = [].concat([].slice.call(newItems))
.map(function(item) {
return item.split(' ');
})
.reduce(function(prev, items) {
return prev.concat(items)
}, []);
return [].concat(oldItems, ite... |
<<<<<<<
RESUtils.addCSS('#tagPageControls { display: inline-block; position: relative; top: 9px;}');
// some styles to override /r/dashboard stylesheet.
RESUtils.addCSS('#userTaggerContents, #newCommentsContents { margin-right: 305px; font-size: small; }');
RESUtils.addCSS('#userTaggerContents table, #newCommen... |
<<<<<<<
description: 'The saved tab on pages with the multireddit side bar is now located in that collapsible bar. This will restore it to the header. If you have the \'Save Comments\' module enabled then you\'ll see both the links <em>and</em> comments tabs.'
},
doNoCtrlF: {
type: 'boolean',
value: false,... |
<<<<<<<
RESUtils.allRegex = /^https?:\/\/(?:[-\w\.]+\.)?reddit\.com\//i;
RESUtils.commentsRegex = /^https?:\/\/(?:[-\w\.]+\.)?reddit\.com\/[-\w\.\/]*\/comments/i;
RESUtils.nosubCommentsRegex = /https?:\/\/(?:[-\w\.]+\.)?reddit\.com\/comments\/[-\w\.\/]*/i;
RESUtils.friendsCommentsRegex = /^https?:\/\/(?:[-\w\.]+\.)?red... |
<<<<<<<
'modules/hosts/github.js',
=======
'modules/hosts/pastebin.js',
>>>>>>>
'modules/hosts/pastebin.js',
'modules/hosts/github.js', |
<<<<<<<
type: 'text',
value: 'white',
description: 'Color for highlighted text.',
advanced: true
=======
type: 'color',
value: '#FFFFFF',
description: 'Color for highlighted text.'
>>>>>>>
type: 'color',
value: '#FFFFFF',
description: 'Color for highlighted text.'
advanced: true
<<<... |
<<<<<<<
options: {
searchSubredditByDefault: {
type: 'boolean',
value: true,
description: 'Search the current subreddit by default when using the search box, instead of all of reddit.'
},
userFilterBySubreddit: {
=======
options: {
addSearchOptions: {
>>>>>>>
options: {
searchSubredditByDefau... |
<<<<<<<
var senders = ['/u/' + username],
sendFromCacheKey = 'RESUtils.sendFromCache.' + username;
// We moderate a subreddit
if (RESUtils.isModeratorAnywhere()) {
RESUtils.getCacheable({
key: sendFromCacheKey,
endpoint: 'subreddits/mine/moderator.json?limit=100&show=all',
handleData: function (... |
<<<<<<<
self.data.url('modules/hosts/graphiq.js'),
=======
self.data.url('modules/hosts/spotify.js'),
>>>>>>>
self.data.url('modules/hosts/graphiq.js'),
self.data.url('modules/hosts/spotify.js'), |
<<<<<<<
selfTextMaxHeight: {
type: 'text',
value: '0',
description: 'Add a scroll bar to text expandos taller than [x] pixels (enter zero for unlimited).',
advanced: true
},
commentMaxHeight: {
type: 'text',
value: '0',
description: 'Add a scroll bar to comments taller than [x] pixels (enter ... |
<<<<<<<
}
const bob = {
ethereumPrivateKey: '7e5374ec2ef0d91761a6e72fdf8f6ac665519bfdf6da0a2329cf0d804514b816',
encryptionPrivateKey: 'flN07C7w2Rdhpucv349qxmVRm/322gojKc8NgEUUuBY=',
encryptionPublicKey: 'C5YMNdqE4kLgxQhJO1MfuQcHP5hjVSXzamzd/TxlR0U=' }
const secretMessage = {data:'My name is Satoshi Buterin'};
... |
<<<<<<<
const indentString = require('indent-string')
=======
const mkdirp = require('mkdirp')
// https://github.com/englercj/tsd-jsdoc/issues/64#issuecomment-462020832
>>>>>>>
const indentString = require('indent-string')
const mkdirp = require('mkdirp')
<<<<<<<
// Write out to types.d.ts file in /lib
fs.writeFil... |
<<<<<<<
system = env.get('BADGES_SYSTEM'),
Client = require('badgekit-api-client');
=======
system = config.BADGES_SYSTEM,
Client = require('badgekit-api-client'),
jade = require('jade');
>>>>>>>
system = env.get('BADGES_SYSTEM'),
Client = require('badgekit-api-client'),
jade = requir... |
<<<<<<<
// Remember: Backbone 0.9.2 stable version has a memory issue on remove()
this.discoverView.remove();
if (!this.$el.find(this.searchView).length) {
this.$el.append(this.searchView.el);
=======
this.discover.remove();
if (!this.$el.find(this.search).length) {
this.... |
<<<<<<<
import Tombstone from './Modules/Talents/Tombstone';
import Voracious from './Modules/Talents/Voracious';
import RapidDecomposition from './Modules/Talents/RapidDecomposition';
=======
import WillOfTheNecropolis from './Modules/Talents/WillOfTheNecropolis';
>>>>>>>
import Tombstone from './Modules/Talents/To... |
<<<<<<<
<draggable v-show="suite.tasks.length > 0 || AppStatus.editMode" element="ul"
:options="{filter:'.no-draggable', group:'tasks'}"
class="collapsible no-margin"
data-collapsible="accordion"
v-model="suite.tasks"
:move="checkMove">
=======... |
<<<<<<<
import Circle from './circle';
=======
import Shape from './shape';
>>>>>>>
import Circle from './circle';
import Shape from './shape';
<<<<<<<
function Shape(color, path) {
this.type = "Shape";
this.guid = guid();
this.properties = {};
this.properties[rtv.frame] = {c: color, path: path, v: ... |
<<<<<<<
var pageMetadata = pageMap[ pageMapKey ][ mode ];
if( ! pageMetadata ) return next( new Error( "Could not find pageKey " + pageMapKey + " in page key map." ) );
=======
var pageMetadata = pageMap[ pageMapKey ];//[ mode ];
>>>>>>>
var pageMetadata = pageMap[ pageMapKey ];//[ mode ];
if( ! pageM... |
<<<<<<<
var c = options.getProviderOptions("twitter") || options.getProviderOptions("twitter.status");
var uri = url.parse("https://api.twitter.com/1.1/statuses/oembed.json");
uri.query = {
=======
var url = "https://api.twitter.com/1.1/statuses/oembed.json";
var qs = {
>>>>>... |
<<<<<<<
var system = new System(this.world, attributes);
if (system.init) system.init(attributes);
=======
var system = new SystemClass(this.world, attributes);
if (system.init) system.init();
>>>>>>>
var system = new SystemClass(this.world, attributes);
if (system.init) system.init(attribute... |
<<<<<<<
});
test("passes attributes to system.init", t => {
var world = new World();
var mockAttributes = { test: 10 };
var initArg1;
class mockSystem {
init(attributes) {
initArg1 = attributes;
}
}
world.registerSystem(mockSystem, mockAttributes);
t.is(initArg1, mockAttributes);
======... |
<<<<<<<
, soundcloud: {
login: ''
, password: ''
}
=======
, mailchimp: {
login: ''
, password: ''
}
>>>>>>>
, soundcloud: {
login: ''
, password: ''
}
, mailchimp: {
login: ''
, password: ''
} |
<<<<<<<
var usersByGoogleHybridId = {};
=======
var usersByReadabilityId = {};
>>>>>>>
var usersByGoogleHybridId = {};
var usersByReadabilityId = {};
<<<<<<<
everyauth.googlehybrid
.myHostname('http://local.host:3000')
.consumerKey(conf.google.clientId)
.consumerSecret(conf.google.clientSecret)
.scope(['htt... |
<<<<<<<
var usersByVimeoId = {};
=======
var usersByJustintvId = {};
>>>>>>>
var usersByVimeoId = {};
var usersByJustintvId = {};
<<<<<<<
everyauth
.vimeo
.consumerKey(conf.vimeo.consumerKey)
.consumerSecret(conf.vimeo.consumerSecret)
.findOrCreateUser( function (sess, accessToken, accessSecret, vimeoUser) {... |
<<<<<<<
import Nightstalker from './modules/talents/Nightstalker';
import Subterfuge from './modules/talents/Subterfuge';
import MasterAssassin from './modules/talents/MasterAssassin';
=======
import MasterPoisoner from './modules/talents/MasterPoisoner';
>>>>>>>
import MasterPoisoner from './modules/talents/MasterP... |
<<<<<<<
prevOutput.value = prevOutput.value.trim();
// Repush the previous output
output.push(prevOutput);
=======
// If the previous output is not just whitespace, trim it
... |
<<<<<<<
},
batch: function(items, params) {
var size = params.shift(),
fill = params.shift(),
result,
last,
missing;
if (!Twig.lib.is("Array", items)) {
throw new Twig.Error("batch filter expects ite... |
<<<<<<<
if (typeof console !== "undefined" &&
typeof console.log !== "undefined") {
Twig.log.error = function() {
console.log.apply(console, arguments);
=======
if (typeof console !== "undefined") {
if (typeof console.error !== "undefined") {
Twig.log.error = fu... |
<<<<<<<
<div className='home-wrapper' key={this.props.view}>
<Footer></Footer>
<div className='home-body'>
=======
<div className="home-wrapper" key={this.props.view}>
<div className="home-body">
>>>>>>>
<div className='home-wrapper'... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.