conflict_resolution stringlengths 27 16k |
|---|
<<<<<<<
selected: function( event, ui ) {
var item = ui.item.data( "item.autocomplete" ),
previous = self.previous;
=======
select: function( event, ui ) {
var item = ui.item.data( "item.autocomplete" );
if ( false !== self._trigger( "select", event, { item: item } ) ) {
self.eleme... |
<<<<<<<
.attr("aria-hidden", "true")
.attr("aria-expanded", "false")
;
=======
submenus
.prev("a")
.prepend('<span class="ui-menu-icon ui-icon ui-icon-carat-1-e"></span>');
>>>>>>>
.attr("aria-hidden", "true")
.attr("aria-expanded", "false")
;
<<<<<<<
self.element.attr("aria-active... |
<<<<<<<
beforeAll(async () => await setupTest(), global.DATABASE_SETUP_TEARDOWN_TIMEOUT)
afterAll(async () => await cleanupTest(), global.DATABASE_SETUP_TEARDOWN_TIMEOUT)
describe('test assignment query', async () => {
it('works', async () => {
const testAdminUser = await createUser()
expect(testAdminUser.id... |
<<<<<<<
// Attach the ACE editor instance to the element. Useful for testing.
var $wfEditor = $('#' + editorId);
$wfEditor.get(0).aceEditor = editor;
acePack.addPackOverride('snippets/groovy.js', '../workflow-cps/snippets/workflow.js');
... |
<<<<<<<
vl.toVegaSpec = function(enc, data) {
var mark = marks[enc.marktype()];
var spec = template();
var group = spec.marks[0];
var mdef = markdef(mark, enc);
=======
function toVegaSpec(enc, data) {
var spec = template(),
group = spec.marks[0],
mark = marks[enc.marktype()],
mdef = ... |
<<<<<<<
proto.timeUnit = function(et) {
return this._enc[et].timeUnit;
};
proto.numberFormat = function(et, fieldStats) {
return this._enc[et].axis.numberFormat ||
this.config(
fieldStats && fieldStats.max > this.config('maxSmallNumber') ?
'largeNumberFormat' : 'smallNumberFormat'
... |
<<<<<<<
maxContacts: Int
=======
contactsCount: Int
>>>>>>>
maxContacts: Int
contactsCount: Int
<<<<<<<
bulkSendMessages(assignmentId: Int!): [CampaignContact]
=======
sendMessages(contactMessages: [ContactMessage]): [CampaignContact]
>>>>>>>
bulkSendMessages(assignmentId: Int!): [Cam... |
<<<<<<<
return {
restrict: 'E',
bindToController: true,
scope: {
text: '='
},
controllerAs: 'ctrl',
template:'<button class="btn btn-default" type="button" ng-click="ctrl.openModal()">Preview</button>',
controlle... |
<<<<<<<
var isDownloading = false;
var isPausing = false;
=======
var isDownloading = 0;
>>>>>>>
var isDownloading = false;
var isPausing = false;
<<<<<<<
function generateZip(isFromFS, fs, isRetry, forced){
=======
function generateZip(isFromFS, fs, isRetry){
// remove pause button
if (ehDownloadDialog.contain... |
<<<<<<<
var minStamp = opts.min && new Date(opts.min).getTime();
var maxStamp = opts.max && new Date(opts.max).getTime();
=======
var initialInRange = inRange(currentDate);
if (!initialInRange) {
currentDate = (opts.min) ? opts.parse(opts.min) : opts.parse(opts.max);
input.value = opts.format(current... |
<<<<<<<
for (var i=0; i<rules.length; i++) {
=======
for (var i = 0; i < rules.length; i++) {
>>>>>>>
for (var i = 0; i < rules.length; i++) {
<<<<<<<
return {regexp: regexp, groups: groups, fast: fast, error: errorRule}
=======
return {regexp: combined, groups: groups, error: errorRule}
>>>... |
<<<<<<<
test('sorts literals by length', () => {
let lexer = moo.compile({
op: ['=', '==', '===', '+', '+='],
space: / +/,
})
lexer.reset('=== +=')
expect(lexer.next()).toMatchObject({value: '==='})
expect(lexer.next()).toMatchObject({type: 'space'})
expect(lexer.next()).toMatchObj... |
<<<<<<<
=======
>>>>>>> |
<<<<<<<
// gogo
streamsb: {
match: ['*://streamsb.net/*', '*://streamsb.com/*'],
},
// gogo
dood: {
match: ['*://dood.to/*', '*://dood.watch/*', '*://doodstream.com/*'],
},
=======
// animedao.to
vcdn: {
match: ['*://vcdn.space/v/*'],
},
// otakustv.com
youtubeEmbed: {
match: ['*... |
<<<<<<<
MangaSee: {
match: ['*://mangasee123.com/manga*', '*://mangasee123.com/read-online*'],
},
=======
AnimeTribes: {
match: ['*://animetribes.ru/watch/*'],
},
>>>>>>>
MangaSee: {
match: ['*://mangasee123.com/manga*', '*://mangasee123.com/read-online*'],
},
AnimeTribes: {
match: ['*:... |
<<<<<<<
PrimeVideo: {
match: [
'*://*.primevideo.com/*',
]
},
MangaKatana: {
match: [
'*://mangakatana.com/manga/*'
]
},
manga4life: {
match: [
'*://manga4life.com/*'
]
},
=======
bato: {
match: [
'*://bato.to/*',
]
},
>>>>>>>
PrimeVideo: {
ma... |
<<<<<<<
MangaHere: {
match: ['*://*.mangahere.cc/manga/*'],
},
MangaFox: {
match: ['*://*.fanfox.net/manga/*', '*://*.mangafox.la/manga/*'],
},
=======
AnimeUnity: {
match: ['*://animeunity.it/anime/*'],
},
>>>>>>>
AnimeUnity: {
match: ['*://animeunity.it/anime/*'],
},
MangaHere: {
... |
<<<<<<<
AnimeSimple: {
match: ['*://*.animesimple.com/*'],
},
AnimeUnity: {
match: ['*://animeunity.it/anime/*'],
},
MangaHere: {
match: ['*://*.mangahere.cc/manga/*'],
},
MangaFox: {
match: ['*://*.fanfox.net/manga/*', '*://*.mangafox.la/manga/*'],
},
=======
JustAnime: {
match:... |
<<<<<<<
AniMixPlay: {
match: ['*://animixplay.com/v*'],
},
=======
MyAnimeListVideo: {
match: ['*://myanimelist.net/anime/*/*/episode/*'],
},
>>>>>>>
AniMixPlay: {
match: ['*://animixplay.com/v*'],
},
MyAnimeListVideo: {
match: ['*://myanimelist.net/anime/*/*/episode/*'],
}, |
<<<<<<<
{
title: 'animestrue',
url: 'https://www.animestrue.net/',
testCases: [
{//season 1 syncpage
url: 'https://www.animestrue.net/anime/highschool-dxd/temporada1/episodio2',
expected: {
sync: true,
title: 'Highschool DxD',
identifier: 'highschool-dxd... |
<<<<<<<
animestrue: {
match: [
'*://*.animestrue.net/anime/*/temporada*'
]
},
PrimeVideo: {
match: [
'*://*.primevideo.com/*',
]
},
=======
MangaKatana: {
match: [
'*://mangakatana.com/manga/*'
]
},
>>>>>>>
animestrue: {
match: [
'*://*.animestrue.net/ani... |
<<<<<<<
// 9anime
vidstream: {
match: ['*://vidstream.pro/e/*'],
},
=======
AnimeLab: {
match: ['*://www.animelab.com/*'],
},
>>>>>>>
AnimeLab: {
match: ['*://www.animelab.com/*'],
},
// 9anime
vidstream: {
match: ['*://vidstream.pro/e/*'],
}, |
<<<<<<<
Fastani: {
match: ['*://fastani.net/*'],
},
=======
BSTO: {
match: ['*://bs.to/serie/*'],
},
>>>>>>>
BSTO: {
match: ['*://bs.to/serie/*'],
},
Fastani: {
match: ['*://fastani.net/*'],
}, |
<<<<<<<
AnimeFever: {
match: [
'*://*.animefever.tv/*'
]
},
=======
serimanga: {
match: [
'*://serimanga.com/*'
]
},
>>>>>>>
AnimeFever: {
match: [
'*://*.animefever.tv/*'
]
},
serimanga: {
match: [
'*://serimanga.com/*'
]
}, |
<<<<<<<
window.SHOW_TAGS=${process.env.SHOW_TAGS || false}
=======
window.EXPERIMENTAL_TEXTERUI="${process.env.EXPERIMENTAL_TEXTERUI || ""}"
>>>>>>>
window.SHOW_TAGS=${process.env.SHOW_TAGS || false}
window.EXPERIMENTAL_TEXTERUI="${process.env.EXPERIMENTAL_TEXTERUI || ""}" |
<<<<<<<
import { getConfig } from "./lib/config";
import { r, Organization } from "../models";
=======
import { r, Organization, cacheableData } from "../models";
>>>>>>>
import { getConfig } from "./lib/config";
import { r, Organization, cacheableData } from "../models";
<<<<<<<
textingHoursEnd: organization =... |
<<<<<<<
"Ctrl-F": () => {
dialog.setSearchOpen(!dialog.isSearchOpen);
},
=======
"Ctrl-Alt-S": () => {
// Converting between sans serif and serif
},
"Ctrl-Alt-L": () => {
keyEvents.parseLinkToFoot(content.content, content);
},
"Ctrl... |
<<<<<<<
export default Ember.Route.extend(styleBody, {
titleToken: '安装',
=======
const {Route, inject} = Ember;
export default Route.extend(styleBody, {
titleToken: 'Setup',
>>>>>>>
const {Route, inject} = Ember;
export default Route.extend(styleBody, {
titleToken: '安装', |
<<<<<<<
obj = Array.isArray(obj) ? obj : [obj];
callback(null, obj);
=======
process.nextTick(callback.bind(null, null, obj));
>>>>>>>
obj = Array.isArray(obj) ? obj : [obj];
process.nextTick(callback.bind(null, null, obj)); |
<<<<<<<
Popup: dataTable.Popup,
=======
LocalStorage: localStorageSink$,
>>>>>>>
Popup: dataTable.Popup,
LocalStorage: localStorageSink$, |
<<<<<<<
return getUsers(organizationId, cursor, campaignsFilter, role, sortBy);
},
tags: async (_, { organizationId }, { user }) => {
await accessRequired(user, organizationId, "SUPERVOLUNTEER");
return getTags(organizationId);
=======
return getUsers(
organizationId,
c... |
<<<<<<<
icon_inline: true
};
=======
icon_inline: true,
rounded_corners: true
}
>>>>>>>
icon_inline: true,
rounded_corners: true
}; |
<<<<<<<
'select-tree': 'SelectTree 选择器',
=======
search: 'Search 搜索框',
>>>>>>>
'select-tree': 'SelectTree 选择器',
search: 'Search 搜索框', |
<<<<<<<
it("handleDeliveryReport delivered", async () => {
const org = await cacheableData.organization.load(organizationId);
let campaign = await cacheableData.campaign.load(testCampaign.id, {
forceLoad: true
});
await cacheableData.campaignContact.loadMany(campaign, org, {});
queryLog = [];
const mes... |
<<<<<<<
export { default as Timeline } from './timeline'
=======
export { default as Transfer } from './transfer'
export { default as Switch } from './switch'
export { default as Rate } from './rate'
>>>>>>>
export { default as Timeline } from './timeline'
export { default as Transfer } from './transfer'
export { de... |
<<<<<<<
<input type="text" onFocus={onFocus} onBlur={onBlur} readOnly className="hi-select__input-readOnly" />
=======
<input type="text" onKeyDown={handleKeyDown} onFocus={onFocus} readOnly />
>>>>>>>
<input type="text" onFocus={onFocus} readOnly className="hi-select__input-readO... |
<<<<<<<
// input 框内的显示的时间内容
texts: ['', ''],
placeholder: '',
=======
text: '',
rText: '',
leftPlaceholder: '',
rightPlaceholder: '',
>>>>>>>
// input 框内的显示的时间内容
texts: ['', ''],
placeholder: '',
rText: '',
leftPlaceholder: '',
rightPlaceh... |
<<<<<<<
import $$ from './tool.js'
import Provider from '../context'
=======
>>>>>>>
import Provider from '../context' |
<<<<<<<
// - erp.support(params) gives either an array of support elements
// - (for discrete distributions with finite support) or an object
// - with 'lower' and 'upper' properties (for continuous distributions
// - with bounded support).
// - erp.proposer is an erp for making mh proposals conditioned on the previou... |
<<<<<<<
function gaussianProposalParams(params, prevVal) {
var mu = prevVal;
var sigma = params[1] * 0.7;
return [mu, sigma];
}
function dirichletProposalParams(params, prevVal) {
var concentration = 0.1; // TODO: choose the right parameters.
var driftParams = params.map(function(x) {return concentration * x... |
<<<<<<<
var gaussianERP = new ERP(
function gaussianSample(params){
var mu = params[0];
var sigma = params[1];
var u, v, x, y, q;
do {
u = 1 - Math.random();
v = 1.7156 * (Math.random() - .5);
x = u - 0.449871;
y = Math.abs(v) + 0.386595;
q = x*x + y*(0.196*y - 0.25472*x)... |
<<<<<<<
var paramStruct = require('../paramStruct');
var guide = require('../guide');
=======
>>>>>>>
var guide = require('../guide');
<<<<<<<
importance: 'default',
onlyMAP: false,
params: {}
=======
ignoreGuide: false,
onlyMAP: false
>>>>>>>
importance: 'default',
only... |
<<<<<<<
importance: 'default',
=======
ignoreGuide: false,
onlyMAP: false,
>>>>>>>
importance: 'default',
onlyMAP: false,
<<<<<<<
this.importanceOpt = options.importance;
=======
this.ignoreGuide = options.ignoreGuide;
this.onlyMAP = options.onlyMAP;
>>>>>>>
this.imp... |
<<<<<<<
return assembleAnswerOptions(allSteps)
=======
.orderBy('id')
>>>>>>>
.orderBy('id')
return assembleAnswerOptions(allSteps) |
<<<<<<<
env.sample = function(s, k, a, erp, options) {
return env.coroutine.sample(s, k, a, erp, options);
=======
env.sample = function(s, k, a, dist) {
if (!dists.isDist(dist)) {
throw 'sample() expected a distribution but received \"' + JSON.stringify(dist) + '\".';
}
return env.coroutine... |
<<<<<<<
const layout = new Layout1d({itemSize: {height: 50}});
// render(
// html`${scroller({
// items,
// template: (item, idx) => html`
// <section><div class="title">${idx} - ${item.name}</div></section>
// `,
// layout,
// })}`,
// container);
=======
const layout = ne... |
<<<<<<<
import {VirtualScroller} from '../../src/VirtualScroller.js';
import {Layout1d} from '../../src/layouts/Layout1d.js';
import {scroller} from '../../lit-html/lit-scroller.js';
import {html, render} from '../../node_modules/lit-html/lib/lit-extended.js';
=======
import Layout from '../../layouts/layout-1d.js';
... |
<<<<<<<
import postcss from '../transforms/postcss'
import { debounce, resolveModule } from '../../utils/common'
=======
import resolve from 'resolve'
import { debounce } from '../../utils/common'
>>>>>>>
import resolve from 'resolve'
import postcss from '../transforms/postcss'
import { debounce } from '../../utils/... |
<<<<<<<
// import cssModulesify from 'css-modulesify'
import stylus from 'stylus'
import nib from 'nib'
=======
>>>>>>>
import stylus from 'stylus'
import nib from 'nib' |
<<<<<<<
entry: {
app: path.join(__dirname, './src/client/index.js')
},
output: {
path: path.resolve(__dirname, 'build'),
filename: 'bundle.js',
publicPath: '/'
},
mode: process.env.NODE_ENV,
module: {
rules: [
{
test: /\.jsx?/,... |
<<<<<<<
const { closeOnBackdropClick } = this.props;
if (
!event.target.classList.contains(className('view')) ||
!closeOnBackdropClick
)
return;
=======
if ( !this.props.closeOnBackdropClick ) return;
>>>>>>>
if ( !this.props.closeOnBackdropClick ) return;
if (
!even... |
<<<<<<<
Boost,
=======
Promote,
>>>>>>>
Boost,
Promote,
<<<<<<<
[ROUTES.SCREENS.BOOST]: {
screen: Boost,
navigationOptions: {
header: () => null,
},
},
=======
[ROUTES.SCREENS.PROMOTE]: {
screen: RootComponent()(Promote),
navigationOptions: {
heade... |
<<<<<<<
isConnected: state.application.isConnected,
=======
nav: state.nav.routes,
>>>>>>>
isConnected: state.application.isConnected,
nav: state.nav.routes, |
<<<<<<<
const { menuItems, isAddAccountIconActive } = this.state;
const { buildVersion, appVersion } = VersionNumber;
=======
const { menuItems, isAddAccountIconActive, storageT } = this.state;
const { version } = PackageJson;
const { buildVersion } = VersionNumber;
>>>>>>>
const { menuItems,... |
<<<<<<<
import ProfileEdit from './profileEdit/screen/profileEditScreen';
=======
import Redeem from './redeem/screen/redeemScreen';
>>>>>>>
import ProfileEdit from './profileEdit/screen/profileEditScreen';
import Redeem from './redeem/screen/redeemScreen';
<<<<<<<
ProfileEdit,
Promote,
Reblogs,
=======
>>... |
<<<<<<<
console.log(res);
getUserData().then((userData) => {
if (userData.length > 0) {
realmData = userData;
userData.forEach((accountData) => {
dispatch(
addOtherAccount({ username: accountData.username }),
);
});
}
... |
<<<<<<<
export async function runDatabaseMigrations(event, context, eventCallback) {
=======
export async function updateOptOuts(event, awsContext) {
// Especially for auto-optouts, campaign_contact.is_opted_out is not
// always updated and depends on this batch job to run
// We avoid it in-process to avoid db-... |
<<<<<<<
getUserDataWithUsername(currentAccount.name).then(realmData => {
const _currentAccount = currentAccount;
_currentAccount.username = _currentAccount.name;
[_currentAccount.local] = realmData;
dispatch(updateCurrentAccount({ ..._currentAccount }));
... |
<<<<<<<
isLoading: true,
navigationParams: {},
=======
isLoading: true,
>>>>>>>
isLoading: true,
navigationParams: {},
<<<<<<<
this.fetchInterval = setInterval(this._fetchuserPointActivities, 6 * 60 * 1000);
}
if (get(navigation, 'state.params', null)) {
const navi... |
<<<<<<<
<Fragment>
<View style={styles.container}>
<SearchInput
onChangeText={text => console.log('text :', text)}
handleOnModalClose={navigationGoBack}
placeholder={`#${tag}`}
editable={false}
autoFocus={false}
/>
<... |
<<<<<<<
async componentDidMount() {
await getAuthStatus()
.then(result => {
if (result === true) {
goToAuthScreens();
} else {
goToNoAuthScreens();
}
})
.catch(() => {
goToAuthScreens();
});
}
=======
async componentDidMount() {
... |
<<<<<<<
import {
Splash, Login, PinCode, SteemConnect,
} from '../screens';
=======
import {
Editor, Login, PinCode, Splash,
} from '../screens';
>>>>>>>
import {
Splash, Login, PinCode, SteemConnect, Editor,
} from '../screens';
<<<<<<<
[ROUTES.SCREENS.STEEM_CONNECT]: { screen: SteemConnect },
[ROUTES.DR... |
<<<<<<<
=======
>>>>>>> |
<<<<<<<
refreshControl = () => {
const { fetchUserActivity, refreshing, isDarkTheme } = this.props;
return (
<RefreshControl
refreshing={refreshing}
onRefresh={fetchUserActivity}
progressBackgroundColor="#357CE6"
tintColor={!isDarkTheme ? '#357ce6' : '#96c0ff'}
... |
<<<<<<<
nsfw,
isNotificationMenuOpen,
commentNotification,
followNotification,
mentionNotification,
reblogNotification,
transfersNotification,
voteNotification,
=======
>>>>>>>
isNotificationMenuOpen,
commentNotification,
followNotification,
men... |
<<<<<<<
if (isConnected) {
this._fetchApp();
} else {
Alert.alert('No internet connection');
}
=======
this._refreshGlobalProps();
await this._getUserData();
await this._getSettings();
this.globalInterval = setInterval(this._refreshGlobalProps, 60000);
>>>>>>>
if (isCon... |
<<<<<<<
getUserDataWithUsername(currentAccount.name).then(realmData => {
const _currentAccount = currentAccount;
_currentAccount.username = _currentAccount.name;
[_currentAccount.local] = realmData;
dispatch(updateCurrentAccount({ ..._currentAccount }));
... |
<<<<<<<
isLoading: true,
navigationParams: {},
=======
isLoading: true,
>>>>>>>
isLoading: true,
navigationParams: {},
<<<<<<<
this.fetchInterval = setInterval(this._fetchuserPointActivities, 6 * 60 * 1000);
}
if (get(navigation, 'state.params', null)) {
const navi... |
<<<<<<<
type ActionChoice {
name: String!
details: String!
}
type Action {
name: String
displayName: String
instructions: String
clientChoiceData: [ActionChoice]
}
=======
type PhoneNumberCounts {
areaCode: String!
availableCount: Int!
allocatedCount: Int!
}
type B... |
<<<<<<<
refreshControl = () => {
const { fetchUserActivity, refreshing, isDarkTheme } = this.props;
return (
<RefreshControl
refreshing={refreshing}
onRefresh={fetchUserActivity}
progressBackgroundColor="#357CE6"
tintColor={!isDarkTheme ? '#357ce6' : '#96c0ff'}
... |
<<<<<<<
InteractionStep,
=======
datawarehouse,
>>>>>>>
InteractionStep,
datawarehouse, |
<<<<<<<
[ROUTES.SCREENS.PROFILE]: { screen: RootComponent()(Profile) },
[ROUTES.SCREENS.SPLASH]: { screen: Splash },
=======
[ROUTES.SCREENS.SPLASH]: { screen: RootComponent()(Splash) },
>>>>>>>
[ROUTES.SCREENS.SPLASH]: { screen: Splash }, |
<<<<<<<
import FreeEstm from './freeEstm/screen/freeEstmScreen';
=======
import Voters from './voters';
>>>>>>>
import FreeEstm from './freeEstm/screen/freeEstmScreen';
import Voters from './voters'; |
<<<<<<<
} from '../../../providers/steem/dsteem';
=======
} from "../../../providers/steem/dsteem";
import { getFormatedCreatedDate } from "../../../utils/time";
>>>>>>>
} from '../../../providers/steem/dsteem';
import { getUserData, getAuthStatus } from '../../../realm/realm';
import { getFormatedCreatedDate } from... |
<<<<<<<
import RNIap, { purchaseErrorListener, purchaseUpdatedListener } from 'react-native-iap';
=======
import { withNavigation } from 'react-navigation';
import RNIap, {
purchaseErrorListener,
purchaseUpdatedListener,
ProductPurchase,
PurchaseError,
} from 'react-native-iap';
// import { Alert } from 'reac... |
<<<<<<<
=======
isHideReblogOption,
isHideImage,
hanldeImagesHide,
>>>>>>>
isHideImage,
hanldeImagesHide, |
<<<<<<<
=======
const routingAction = navigation.state && navigation.state.params;
// Routing action state ex if coming for video or image or only text
if (routingAction && routingAction.action) {
this._handleRoutingAction(routingAction.action);
} else {
this.setState({ autoFocusText... |
<<<<<<<
import SteemConnect from './steem-connect/steemConnect';
=======
import { Profile } from './profile';
>>>>>>>
import SteemConnect from './steem-connect/steemConnect';
import { Profile } from './profile';
<<<<<<<
Notification,
SteemConnect,
=======
Splash,
>>>>>>>
SteemConnect,
Splash, |
<<<<<<<
ProfileEdit,
Promote,
Reblogs,
SearchResult,
=======
Reblogs,
Redeem,
SearchResult,
>>>>>>>
ProfileEdit,
Reblogs,
Redeem,
SearchResult, |
<<<<<<<
return Math.round(rating * 10) / 10;
=======
return Math.round((rating / 2) * 10) / 10;
}
function formatSubtitle(subtitle) {
return {
kind: 'captions',
label: subtitle.langName,
srclang: subtitle.lang,
src: `${subtitlesEndpoint}/${encodeURIComponent(subtitle.url)}`,
default: subtit... |
<<<<<<<
import Torrent from '../../api/Torrent';
=======
import Torrent, { formatSpeeds } from '../../api/Torrent';
import {
convertFromBuffer,
startServer
} from '../../api/Subtitle';
>>>>>>>
import Torrent from '../../api/Torrent';
import {
convertFromBuffer,
startServer
} from '../../api/Subtitle';
<<<<<... |
<<<<<<<
* @typedef {(parent: Node, value: Node | string | number, endMark: Node?) => Node | Frag} hAdd
=======
* @typedef {Node | string | number} Value
* @typedef {(parent: Node, value: Value | Value[], endMark?: Node) => Node | Frag} hAdd
>>>>>>>
* @typedef {Node | string | number} Value
* @typedef {(parent: ... |
<<<<<<<
displayDateFormat = 'YYYY-MM-DD @ HH:mm';
=======
const displayDateFormat = 'DD MMM YY @ HH:mm';
>>>>>>>
const displayDateFormat = 'YYYY-MM-DD @ HH:mm'; |
<<<<<<<
// new webpack.BannerPlugin(
// 'require("source-map-support").install();',
// { raw: true, entryOnly: false }
// ),
=======
// Add source map support for stack traces in node
// https://github.com/evanw/node-source-map-support
new webpack.BannerPlugin(
'require("source-... |
<<<<<<<
=======
/*
editor.getSession().on("changeScrollTop", function() {
console.log("changeScrollTop");
var nodes = document.getElementsByClassName("ace_content");
console.log(nodes[0].offsetTop);
console.log(nodes[0].style["margin-top"]);
});
editor.getSession().on("changeScrollLeft"... |
<<<<<<<
export function fetchImage({ imageId, imageExt, key }, callback) {
Hyperfile.fetch(HYPERFILE_DATA_PATH, imageId, key, (error, blobPath) => {
=======
function fetchImage({ imageId, imageExt, key }, callback) {
Hyperfile.fetch(HYPERFILE_DATA_PATH, imageId, key, (error, blob) => {
>>>>>>>
export function fe... |
<<<<<<<
//// Contants
=======
// // Contants
>>>>>>>
// ## Constants
<<<<<<<
//// Imperative top-levels.
mkdirp.sync(HYPERFILE_DATA_PATH)
mkdirp.sync(HYPERFILE_CACHE_PATH)
//// Pure helper functions.
=======
// // Helper functions - may be called within action functions or from UI code.
>>>>>>>
// ## Impera... |
<<<<<<<
{ type: 'naive', id: 're-frame', url: './re-frame/index.html', label: 're-frame (Reagent)' },
=======
{ type: 'naive', id: 'd3', url: './d3/index.html', label: 'DBMON D3' },
{ type: 'naive', id: 'morphdom', url: './morphdom/index.html', label: 'DBMON Morphdom' },
>>>>>>>
{ type: 'naive', id: 're... |
<<<<<<<
{ type: 'naive', id: 'elem', url: './elm', label: 'DBMON elm' },
=======
{ type: 'naive', id: 'elm', url: './elm', label: 'DBMON elm' },
>>>>>>>
{ type: 'naive', id: 'elm', url: './elm', label: 'DBMON elm' },
<<<<<<<
{ type: 'optimized', id: "cycle + snabbdom", label: "DBMON Cycle.js + Snabb... |
<<<<<<<
if (hidden === '0') { // we want to hide this element
hiddenBy[legendIndex] = true; // add legendIndex to the data object for later use
elems[id].mapElem.animate({"opacity":legendOptions.hideElemsOnClick.opacity}, legendOptions.hide... |
<<<<<<<
Generate = require('../../generate'),
path = require('path'),
Q = require('q');
=======
Generate = require('../../generate');
>>>>>>>
Generate = require('../../generate'),
path = require('path'),
Q = require('q');
<<<<<<<
Generate.inquirer.prompt({message: 'Enter the ' + Genera... |
<<<<<<<
//node.type = createGetSetter.call(osc, ['type', 'frequency', 'waveType']);
var createGetSetter = function (node, arrayOfParams) {
var that = this;
arrayOfParams.forEach(function (param, index) {
node[param] = function (val) {
if (typeof val === 'undefined')... |
<<<<<<<
/** global: edit_selected_txt, edit_bulk_selected_txt, delete_selected_txt */
=======
/** global: edit_selected_txt, delete_selected_txt, token */
>>>>>>>
/** global: edit_selected_txt, edit_bulk_selected_txt, delete_selected_txt, token */ |
<<<<<<<
var crypto= require("crypto");
=======
var dns = require('dns');
>>>>>>>
var crypto= require("crypto");
var dns = require('dns');
<<<<<<<
if (this.forceClose) this.forceClose(e);
=======
self.destroy(e);
>>>>>>>
if (this.forceClose) this.forceClose(e);
self.destroy(e);
<<<<<<<
... |
<<<<<<<
(util.isFunction(list.listener) && list.listener === listener)) {
this._events[type] = undefined;
=======
(typeof list.listener === 'function' && list.listener === listener)) {
delete this._events[type];
>>>>>>>
(util.isFunction(list.listener) && list.listener === listener)) {
d... |
<<<<<<<
assert.equal(0, Buffer('hello').slice(0, 0).length);
// test hex toString
console.log('Create hex string from buffer');
var hexb = new Buffer(256);
for (var i = 0; i < 256; i ++) {
hexb[i] = i;
}
var hexStr = hexb.toString('hex');
assert.equal(hexStr,
'000102030405060708090a0b0c0d0e0f'+
... |
<<<<<<<
import warning from 'warning';
import styles from './DatePicker.less';
=======
import styles from './DatePickerOld.less';
>>>>>>>
import warning from 'warning';
import styles from './DatePickerOld.less'; |
<<<<<<<
sid: this.sid,
user: this.user,
=======
session: this.session,
>>>>>>>
sid: this.sid,
session: this.session, |
<<<<<<<
.option('--use-s3'
, 'use amazon s3')
.option('--s3-bucket <bucketname>'
, 'your Bucket name'
, String)
.option('--s3-profile <s3profile>'
, 'aws credential Profile name'
, String
, 'stf-storage')
.option('--s3-endpoint <s3endpoint>'
, 's3 endpoint'
, String
, 's3-ap-... |
<<<<<<<
options: grunt.util._.merge({
ignores: [
'lib/client/system/libs/*',
'lib/client/system/modules/*',
'lib/websocket/transports/engineio/*',
'test/helpers/connect.js',
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.