conflict_resolution
stringlengths
27
16k
<<<<<<< ======= var reservedNames_ = { "__defineGetter__": true, "__defineSetter__": true, "apply": true, "arguments": true, "call": true, "caller": true, "eval": true, "hasOwnProperty": true, "isPrototypeOf": true, "__lookupGetter__": true, "__lookupSetter__": true, "...
<<<<<<< kwlen = kw.length; for (i = 0; i < kwlen; i += 2) { ======= var kwlen = kw.length; var varnames = this.im_func.func_code['co_varnames']; var numvarnames = varnames && varnames.length; for (var i = 0; i < kwlen; i += 2) { >>>>>>> kwlen = kw.lengt...
<<<<<<< function escKeyHandler() { deselectAllEdges(); deselectAllNodes(); }//escKeyHandler ======= /* * Make a node "in the commons" (with a green circle) lose its * green circle so it stays on the console/map/... */ >>>>>>> function escKeyHandler() { deselectAllEdges(); deselectAllNodes(); }//escKeyHan...
<<<<<<< if (o === null || o.constructor === Sk.builtin.lng || o.tp$index || o === true || o === false) { return true; } return Sk.builtin.checkInt(o); ======= return o === null || typeof o === "number" || o.constructor === Sk.builtin.lng || o.constructor === Sk.builtin.nmber || o.tp$index; >...
<<<<<<< Sk.builtin.ord = function ord(x) { if (!Sk.builtin.checkString(x)) { throw new Sk.builtin.TypeError("ord() expected a string of length 1, but " + Sk.abstr.typeName(x) + " found"); } else if (x.v.length !== 1) { throw new Sk.builtin.TypeError("ord() expected a character, but string of len...
<<<<<<< goog.exportSymbol("Sk.__future__", Sk.__future__); ======= // Information about method names and their internal functions for // methods that differ (in visibility or name) between Python 2 and 3. // // Format: // internal function: { // "classes" : <array of affected classes>, // 2 : <visible Pytho...
<<<<<<< Sk.builtins["bytes"] = Sk.builtin.bytes; ======= Sk.builtins["range"] = new Sk.builtin.func(Sk.builtin.xrange); delete Sk.builtins["xrange"]; delete Sk.builtins["StandardError"]; delete Sk.builtins["unicode"]; >>>>>>> Sk.builtins["bytes"] = Sk.builtin.bytes; ...
<<<<<<< if (!(this instanceof Sk.builtin.lng)) return new Sk.builtin.lng(x, base); if (x === undefined) this.biginteger = new Sk.builtin.biginteger(0); else if (x instanceof Sk.builtin.lng) this.biginteger = x.biginteger.clone(); else if (x instanceof Sk.builtin.biginteger) this.biginteger = x; ...
<<<<<<< this.lst = lst.v.slice(); this.sq$length = this.lst.length; this.tp$iter = () => this; ======= this.lst = lst.v; this.$done = false; this.tp$iter = this; >>>>>>> this.lst = lst.v; this.$done = false; this.tp$iter = () => this;
<<<<<<< link.x.receive(packet) .then(function(inner){ // this pipe is valid, if it hasn't been seen yet, we need to resync if(!link.seen[pipe.uid]) { log.debug('never seen pipe',pipe.uid,pipe.path) link.addPipe(pipe,true); // must see it first process.nextTi...
<<<<<<< import processThreadContent from 'shared/draft-utils/process-thread-content'; import { ThreadHeading } from 'src/views/thread/style'; import { SegmentedControl, Segment } from 'src/components/segmentedControl'; import ThreadRenderer from '../threadRenderer'; import { closeComposer } from '../../actions/composer...
<<<<<<< import MainRouter from './MainRouter'; import Root from './Root'; ======= import { Body } from './App/style'; // import Root from './Root'; >>>>>>> import MainRouter from './MainRouter'; <<<<<<< <ThemeProvider theme={theme}> <MainRouter /> </ThemeProvider> ======= <Router history...
<<<<<<< export const getCurrentUserProfile = graphql(GET_CURRENT_USER_PROFILE_QUERY, { options: { fetchPolicy: 'cache-and-network' }, }); ======= export const getCurrentUserProfile = graphql(GET_CURRENT_USER_PROFILE_QUERY); /* Delete a thread */ const TOGGLE_NOTIFICATION_SETTINGS_MUTATION = gql` mutation togg...
<<<<<<< <Link to={'/spectrum/hugs-n-bugs'} onClick={() => track(events.SUPPORT_PAGE_REPORT_BUG)} > <Button gradientTheme={'warn'} icon={'bug'} style={{ marginTop: '24px', width: '100%' }} ...
<<<<<<< import archiveChannel from './archiveChannel'; import restoreChannel from './restoreChannel'; ======= import joinChannelWithToken from './joinChannelWithToken'; import enableChannelTokenJoin from './enableChannelTokenJoin'; import disableChannelTokenJoin from './disableChannelTokenJoin'; import resetChannelJo...
<<<<<<< import redraft from 'redraft'; import { getLinkPreviewFromUrl, timeDifference } from '../../../helpers/utils'; ======= import { getLinkPreviewFromUrl, timeDifference, convertTimestampToDate, } from '../../../helpers/utils'; >>>>>>> import redraft from 'redraft'; import { getLinkPreviewFromUrl, time...
<<<<<<< mapOutlet : function( sourceKey, targetKey, outletName ){ if( targetKey == undefined ) targetKey = "global"; if( outletName == undefined ) outletName = source; if( ! this._outlets.hasOwnProperty( targetKey ) ) this._outlets[ targetKey ] = {}; this._outlets[ targetKey ][ outletName ] =...
<<<<<<< import { ScrollBody, Bubble, BubbleGroup, FromName } from './style'; ======= // eslint-disable-next-line import ChatMessage from '../ChatMessage'; import { ScrollBody } from './style'; >>>>>>> import { ScrollBody, Bubble, BubbleGroup, FromName } from './style'; import ChatMessage from '../ChatMessage';
<<<<<<< import Thread from './views/thread'; import RedirectOldThreadRoute from './views/thread/redirect-old-route'; ======= import { FullscreenThreadView } from './views/thread'; >>>>>>> import RedirectOldThreadRoute from './views/thread/redirect-old-route'; import { FullscreenThreadView } from './views/thread'; <...
<<<<<<< activeCommunity, ======= metadata, frequencies: { active }, story, >>>>>>> activeCommunity, metadata, frequencies: { active }, story, <<<<<<< Object.keys(participants).length >= 3 && activeCommunity !== 'everything' ======= Object.keys(part...
<<<<<<< import styled from 'styled-components/native'; import { TouchableOpacity } from 'react-native'; ======= import styled, { css } from 'styled-components/native'; import { Stylesheet } from 'react-native'; import Avatar from '../Avatar'; >>>>>>> import styled, { css } from 'styled-components/native'; import { T...
<<<<<<< fetchMore={props.fetchMore} ======= fetchMore={props.data.fetchMore} refetch={props.data.refetch} refetching={props.data.refetching} >>>>>>> fetchMore={props.fetchMore} refetch={props.data.refetch} refetching={props.data.refetching}
<<<<<<< messageGroups, ======= errors, >>>>>>> messageGroups, errors,
<<<<<<< import StoryMaster from './components/StoryMaster'; import DetailView from './components/DetailView'; // import ListDetail from './components/ListDetail'; ======= import { Provider } from 'react-redux' import { initStore } from '../store' import PostList from './components/PostList'; import Chat from './compo...
<<<<<<< ======= // if user has no dm threads, make sure they stay on /new if ( data.user && data.user.directMessageThreadsConnection.edges.length === 0 ) { return ( <View> {isMobile && <Titlebar title={'Messages'} provideBack={false} />} <MessagesList> ...
<<<<<<< import React from 'react'; import styled, { css } from 'styled-components'; ======= import styled, { css } from 'styled-components'; >>>>>>> import React from 'react'; import styled, { css } from 'styled-components'; <<<<<<< ======= z-index: ${zIndex.composer}; @media (max-width: 768px) { max-wid...
<<<<<<< if (user.uid && frequencies.active === 'notifications' && unread >= 0) { sortedStories.unshift(<NuxJoinCard />); } if (user.uid && messageGroups.active === 'new' || messageComposer.isOpen) { sortedMessageGroups.unshift( <NewMessageCard active={messageComposer.isOpen} />, )...
<<<<<<< import billingSettings from './billingSettings'; import hasChargeableSource from './hasChargeableSource'; import hasFeatures from './hasFeatures'; ======= import brandedLogin from './brandedLogin'; >>>>>>> import billingSettings from './billingSettings'; import hasChargeableSource from './hasChargeableSource...
<<<<<<< ======= import {setTotal, setPage} from "pagination.jsx"; >>>>>>> <<<<<<< filterTarget } from "actions.js"; ======= filterTarget, } from "filters.jsx"; >>>>>>> filterTarget, BATCH } from "actions.js"; <<<<<<< ======= const BATCH = "batch"; const batch = (...actions) => { return { type: B...
<<<<<<< } export const canViewThread = async ( userId: string, threadId: string, loaders: any ) => { const thread = await getThreadById(threadId); if (!thread || thread.deletedAt) return false; const [ channel, community, channelPermissions, communityPermissions, ] = await Promise.all([...
<<<<<<< state = { nuxFrequency: true, }; ======= state = { cache: new CellMeasurerCache({ fixedWidth: true, minHeight: MIN_STORY_CARD_HEIGHT, keyMapper: index => this.props.stories[index].id, }), }; componentWillReceiveProps = nextProps => { // If any of the things the st...
<<<<<<< require('../stories/TimeInput'); ======= require('../stories/Tooltip'); >>>>>>> require('../stories/TimeInput'); require('../stories/Tooltip');
<<<<<<< title: node.isRequired, ======= ...Header.propTypes, withNewIcons: bool, >>>>>>> ...Header.propTypes, title: node.isRequired, <<<<<<< subtitle: null, withoutDivider: false, ======= withNewIcons: false, >>>>>>> subtitle: null, withoutDivider: false, <<<<<<< ======...
<<<<<<< /* prettier-ignore */ const Search = Loadable({ loader: () => import('./views/search'/* webpackChunkName: "Splash" */), loading: ({ isLoading }) => isLoading && <LoadingScreen />, }); const About = () => ( <div> <h3>About</h3> </div> ); ======= /* prettier-ignore */ const Pricing = Loadable({ l...
<<<<<<< onClick={() => this.trackNavigationClick('logo')} ======= data-cy="navbar-logo" >>>>>>> onClick={() => this.trackNavigationClick('logo')} data-cy="navbar-logo" <<<<<<< onClick={() => this.trackNavigationClick('home')} ======= data-cy=...
<<<<<<< ======= const { expandOwnerDetails } = require('./user_details'); const { getPosts } = require('./posts_graphql'); const { formatSinglePost } = require('./details'); >>>>>>> const { formatSinglePost } = require('./details'); <<<<<<< queryTag: itemSpec.tagName, queryUsername: itemSpec.userUse...
<<<<<<< import { PUBLIC_STRIPE_KEY } from '../../api/constants'; import { payInvoiceMutation } from '../../api/invoice'; ======= import { PUBLIC_STRIPE_KEY } from '../../api'; >>>>>>> import { PUBLIC_STRIPE_KEY } from '../../api/constants';
<<<<<<< {this.state.featured.length > 0 && this.state.featured.map((freq, i) => { const community = communities.find( community => community.id === freq.communityId, ); ======= {this.state.allFrequencies && this.stat...
<<<<<<< const { getCheckedVariable, log } = require('./helpers'); const { PAGE_TYPES, GRAPHQL_ENDPOINT } = require('./consts'); const initData = {}; const posts = {}; /** * Takes type of page and data loaded through GraphQL and outputs * correct list of posts based on the page type. * @param {String} pageType Type...
<<<<<<< !isEditing && isChannelMember && (isChannelOwner || isCommunityOwner || thread.isCreator) && ( <DropWrap className={flyoutOpen ? 'open' : ''}> <IconButton glyph="settings" onClick={this.toggleFlyout} /> <Flyout> ...
<<<<<<< import ArchiveForm from './archiveForm'; // import { ChannelInvitationForm } from '../../../components/emailInvitationForm'; ======= import LoginTokenSettings from './loginTokenSettings'; >>>>>>> import ArchiveForm from './archiveForm'; import LoginTokenSettings from './loginTokenSettings';
<<<<<<< <Wrapper data-e2e-id="pricing-page"> <Intro /> <Paid /> <Discount /> <CommunityList setOwnsCommunities={this.setOwnsCommunities} ref={component => (this.ownedCommunitiesSection = component)} /> ======= <Wrapper data-cy="pricing-page"> ...
<<<<<<< import { getCommunity } from '../db/communities'; ======= import { throwError } from './errors'; >>>>>>> import { getCommunity } from '../db/communities'; import { throwError } from './errors'; <<<<<<< const { communities: { active } } = getState(); if (!active || active === 'everything') return; ====...
<<<<<<< }; export type DBStripeCustomer = { created: number, currency: ?string, customerId: string, email: string, metadata: ?{ communityId?: string, communityName?: string, }, ======= }; export type FileUpload = { filename: string, mimetype: string, encoding: string, stream: any, >>>>>...
<<<<<<< const Notification = require('./types/Notification'); ======= const DirectMessageGroup = require('./types/DirectMessageGroup'); >>>>>>> const DirectMessageGroup = require('./types/DirectMessageGroup'); const Notification = require('./types/Notification'); <<<<<<< const notificationQueries = require('./queri...
<<<<<<< {theme.old && notificationComponent} ======= >>>>>>> {theme.old && notificationComponent}
<<<<<<< `; /* NOTE(@mxstbr): This is super hacky, but I couldn't find a way to give two mentions in the same message a different key. (i.e. "Yo @mxstbr, where is @brianlovin at? I can't find @brianlovin" would only show the mention once) */ let i = 0; export const Mention = props => { return ( <Link key={`mentio...
<<<<<<< if ( isEverything && this.state.showDiscoverCard && user.uid || user.uid && frequencies.active === 'discover' ) { sortedStories.unshift(<NuxJoinCard />); } if (user.uid && frequencies.active === 'hugs-n-bugs') { sortedStories.unshift(<ReportBugCard />); } if (!u...
<<<<<<< children?: Node, }; ======= children?: Children, |}; >>>>>>> children?: Node, |};
<<<<<<< DEFAULT_SESSIONS, ======= DEFAULT_MESSAGES, >>>>>>> DEFAULT_SESSIONS, DEFAULT_MESSAGES, <<<<<<< sessions: DEFAULT_SESSIONS, ======= messages: DEFAULT_MESSAGES, >>>>>>> sessions: DEFAULT_SESSIONS, messages: DEFAULT_MESSAGES,
<<<<<<< export const THREAD_NOTIFICATION = 'thread notification'; export const COMMUNITY_INVITE_NOTIFICATION = 'community invite notification'; export const SEND_COMMUNITY_INVITE_EMAIL = 'community invite email'; export const SLACK_IMPORT = 'slack import'; ======= export const THREAD_NOTIFICATION = 'thread notificati...
<<<<<<< unread, frequencies, communities, activeFrequency, loaded, ======= >>>>>>> frequencies, communities, activeFrequency, loaded,
<<<<<<< type StripeCard { brand: String exp_month: Int exp_year: Int last4: String } type StripeSource { id: ID card: StripeCard isDefault: Boolean } type StripeItem { id: ID amount: Int quantity: Int planId: String planName: String } type StripeSubscriptionItem { created: Int plan...
<<<<<<< hasRights && !isFrozen && ( <Input> <ChatInputWrapper type="only"> <ChatInput threadType="story" thread={thread.id} currentUser={loggedInUser} forceScrollToBott...
<<<<<<< // import { createQuery } from 'shared/rethinkdb/create-query'; import type { DBUsersChannels, DBChannel } from 'shared/types'; ======= import { incrementMemberCount, decrementMemberCount, setMemberCount, } from './channel'; >>>>>>> import { incrementMemberCount, decrementMemberCount, setMemberCo...
<<<<<<< const tabBarVisible = navigation => { const { routes } = navigation.state; const nonTabbarRoutes = ['Thread', 'ThreadDetail', 'DirectMessageThread']; let showTabbar = true; routes.forEach(route => { if (nonTabbarRoutes.indexOf(route.routeName) >= 0) { showTabbar = false; } }); return...
<<<<<<< const { topbar, theme } = stores; ======= const { profile, topbar } = stores; >>>>>>> const { profile, topbar, theme } = stores;
<<<<<<< markAllNotificationsSeen = () => { const { allUnseenCount } = this.state; if (allUnseenCount === 0) { return null; } else { this.setState({ allUnseenCount: 0, }); this.props .markAllNotificationsSeen() .then(({ data: { markAllNotificationsSeen } }) ...
<<<<<<< classicTheme: boolean ======= removeWord: Function, hasWord: Function >>>>>>> removeWord: Function, hasWord: Function, classicTheme: boolean <<<<<<< classicTheme={classicTheme} ======= onFinishBackup={onFinishBackup} removeWord={removeWord} hasWord={hasW...
<<<<<<< placeholder: '+ Embed', embedUrl: '', ======= creating: true, >>>>>>> placeholder: '+ Embed', embedUrl: '', creating: true, <<<<<<< <Byline>New Story</Byline> <Textarea onChange={this.changeTitle} style={...
<<<<<<< ======= const LS_BODY_KEY = 'last-thread-composer-body'; const LS_TITLE_KEY = 'last-thread-composer-title'; const LS_COMPOSER_EXPIRE = 'last-thread-composer-expire'; const DISCARD_DRAFT_MESSAGE = 'Are you sure you want to discard this draft?'; const ONE_DAY = (): string => { const time = new Date().getTim...
<<<<<<< }, getAddressesWithFundsError: { id: 'api.errors.getAddressesWithFundsError', defaultMessage: '!!!Error while getting addresses with funds.', description: '"Error while getting addresses with funds." error message' }, generateTransferTxError: { id: 'api.errors.generateTransferTxError', ...
<<<<<<< // Select the first thread on SSR if none is selected componentWillMount() { const { mountedWithActiveThread } = this.props; if ( mountedWithActiveThread || this.props.selectedId || !this.props.data.threads ) return; const threadNodes = this.props.data.threads ...
<<<<<<< const freq = isEverything && getCurrentFrequency(story.frequencyId, frequencies); return React.isValidElement(story) ? story : <StoryCard isActive={activeStory === story.id} key={key} link={`/~${activeFrequency}/${story.id}`} media={story.content...
<<<<<<< classicTheme: boolean, }; ======= |}; >>>>>>> classicTheme: boolean, |};
<<<<<<< display: flex; flex-direction: row; ======= display: ${props => props.visible ? 'flex' : 'none'}; flex-direction: row-reverse; >>>>>>> flex-direction: row; display: ${props => props.visible ? 'flex' : 'none'};
<<<<<<< import idx from 'idx'; ======= import queryString from 'query-string'; >>>>>>> import queryString from 'query-string'; import idx from 'idx'; <<<<<<< import type { ThreadInfoType } from 'shared/graphql/fragments/thread/threadInfo'; import ChatMessages from '../../../components/messageGroup'; import { Loadin...
<<<<<<< padding: 8px 0; ======= max-width: 11vw; overflow: hidden; >>>>>>> padding: 8px 0; overflow: hidden;
<<<<<<< import { subscribeToNewMessages } from '../../subscriptions'; ======= import { btoa } from 'abab'; import { subscribeToNewMessages } from 'shared/graphql/subscriptions'; >>>>>>> import { btoa } from 'abab'; import { subscribeToNewMessages } from '../../subscriptions';
<<<<<<< require('css.escape'); ======= // This needs to be imported before everything else import './helpers/consolidate-streamed-styles'; >>>>>>> // This needs to be imported before everything else import './helpers/consolidate-streamed-styles'; require('css.escape');
<<<<<<< cy.get('[data-cy="navbar-splash-apps"]').should('be.visible'); cy.get('[data-cy="navbar-splash-pricing"]').should('be.visible'); ======= >>>>>>> cy.get('[data-cy="navbar-splash-apps"]').should('be.visible');
<<<<<<< import * as events from 'shared/analytics/event-types'; import { track } from 'src/helpers/events'; ======= import { isViewingMarketingPage } from 'src/helpers/is-viewing-marketing-page'; >>>>>>> import * as events from 'shared/analytics/event-types'; import { track } from 'src/helpers/events'; import { isVi...
<<<<<<< { id: 'ce2b4488-4c75-47e0-8ebc-2539c1e6a193', communityId: 'ce2b4488-4c75-47e0-8ebc-2539c1e6a191', createdAt: new Date(DATE), name: 'Private', description: 'Private chatter', slug: 'private', isPrivate: true, isDefault: false, }, ======= { id: 'ce2b4488-4c75-47e0-8eb...
<<<<<<< // @flow import { graphql, gql } from 'react-apollo'; import { subscribeToNewMessages } from 'shared/graphql/subscriptions'; import messageInfoFragment from 'shared/graphql/fragments/message/messageInfo'; import directMessageThreadInfoFragment from 'shared/graphql/fragments/directMessageThread/directMessageThre...
<<<<<<< import updateAdministratorEmail from './updateAdministratorEmail'; import addPaymentSource from './addPaymentSource'; import removePaymentSource from './removePaymentSource'; import makePaymentSourceDefault from './makePaymentSourceDefault'; import cancelSubscription from './cancelSubscription'; import enableCo...
<<<<<<< import UpgradeAnalyticsModal from './UpgradeAnalyticsModal'; import UpgradeModeratorSeatModal from './UpgradeModeratorSeatModal'; import RestoreChannelModal from './RestoreChannelModal'; ======= import ChatInputLoginModal from './ChatInputLoginModal'; >>>>>>> import UpgradeAnalyticsModal from './UpgradeAnaly...
<<<<<<< import ScrollManager from 'src/components/scrollManager'; import Head from 'src/components/head'; import ModalRoot from 'src/components/modals/modalRoot'; import Gallery from 'src/components/gallery'; import Toasts from 'src/components/toasts'; import { Loading, LoadingScreen } from 'src/components/loading'; im...
<<<<<<< componentWillUnmount() { this.unsubscribe(); } subscribe = () => { this.setState({ subscription: this.props.subscribeToNewNotifications(), }); }; unsubscribe = () => { const { subscription } = this.state; if (subscription) { // This unsubscribes the subscription ...
<<<<<<< import MessagesTab from './components/messagesTab'; import NotificationsTab from './components/notificationsTab'; import Head from '../../components/head'; ======= import MessagesTab from './components/messagesTab'; import NotificationsTab from './components/notificationsTab'; >>>>>>> import MessagesTab from...
<<<<<<< function setSegmentOverlapToleranceTime(value) { segmentOverlapToleranceTime = value; } function getSegmentOverlapToleranceTime() { return segmentOverlapToleranceTime; } ======= function setCacheLoadThresholdForType(type, value) { cacheLoadThresholds[type] = value...
<<<<<<< appendingMediaChunk, ======= isAppendingInProgress, >>>>>>> <<<<<<< ======= function onAppended(e) { let ranges = null; if (buffer === e.buffer) { if (e.error) { if (e.error.code === SourceBufferController.QUOTA_EXCEEDED_ERROR_CODE) { ...
<<<<<<< smallGapLimit, lowLatencyEnabled; ======= smallGapLimit, manifestUpdateRetryInterval; >>>>>>> smallGapLimit, lowLatencyEnabled, manifestUpdateRetryInterval; <<<<<<< function getLowLatencyEnabled() { return lowLatencyEnabled; } func...
<<<<<<< import classnames from 'classnames'; import Footer from '../footer/Footer'; ======= import classNames from 'classnames'; >>>>>>> import classnames from 'classnames'; // import Footer from '../footer/Footer'; <<<<<<< banner?: Node, isTopBarVisible?: boolean, isBannerVisible?: boolean, languageSelecti...
<<<<<<< eventBus.off(Events.BYTES_APPENDED_END_FRAGMENT, onBytesAppended, this); ======= eventBus.off(Events.BYTES_APPENDED, onBytesAppended, this); eventBus.off(Events.PERIOD_SWITCH_STARTED, onPeriodSwitchStarted, this); >>>>>>> eventBus.off(Events.BYTES_APPENDED_END_...
<<<<<<< ======= * @deprecated since version 2.6.0. * ABR rules now switch from Throughput to Buffer Occupancy mode when there is sufficient buffer. * This renders the rich buffer mechanism redundant. * * @param {number} value * @memberof module:MediaPlayer * @instance */ fu...
<<<<<<< const timelineConverter = config.timelineConverter; ======= config = config || {}; let timelineConverter = config.timelineConverter; >>>>>>> config = config || {}; const timelineConverter = config.timelineConverter;
<<<<<<< it('should configure setSegmentOverlapToleranceTime', function () { let val = mediaPlayerModel.getSegmentOverlapToleranceTime(); expect(val).to.equal(0.05); player.setSegmentOverlapToleranceTime(1.5); val = mediaPlayerModel.getSegmentOverlapToleranceTime(...
<<<<<<< const settings = Settings(context).getInstance(); const bufferLevelRule = BufferLevelRule(context).create({ textController: textControllerMock, dashMetrics: new DashMetricsMock(), metricsModel: new MetricsModelMock(), abrController: new AbrControllerMock(), mediaPlayerModel: new MediaPlayerM...
<<<<<<< ======= let trackType = 'audio'; >>>>>>>
<<<<<<< // Sync executed queue with buffer range (to check for silent purge) const bufferedRanges = sourceBufferController.getAllRanges(buffer); const streamDuration = streamProcessor.getStreamInfo().duration; streamProcessor.getFragmentModel().syncExecutedRequestsWithBu...
<<<<<<< function getMaxIndex(rulesContext) { let streamProcessor = rulesContext.getStreamProcessor(); ======= function onMediaFragmentLoaded(e) { if (e && e.chunk && e.chunk.mediaInfo) { let type = e.chunk.mediaInfo.type; let start = e.chunk.start; if (type ...
<<<<<<< if (!currentRepresentationInfo) return; ======= >>>>>>> if (!currentRepresentationInfo) return; <<<<<<< function onPlaybackStarted() { if (isStopped || !scheduleWhilePaused) { start(); } } ======= >>>>>>> function onPlaybackStarted() { if ...
<<<<<<< if (bufferController) { const range = bufferController.getRangeAt(time); if (range !== null) { ======= if (buffer) { const range = sourceBufferController.getBufferRange(buffer, time); if (range !== null && !hasSeekTarget) { >>>>>>> if (b...
<<<<<<< if (player.isPaused()) { setPlayBtn(); } else { setPauseBtn(); } }, setPlayBtn = function () { var span = document.getElementById('iconPlayPause'); if (span !== null) { span.class...
<<<<<<< function postponeUpdate(postponeTimePeriod) { var delay = postponeTimePeriod; ======= function resetAvailabilityWindow() { availableRepresentations.forEach(rep => { rep.segmentAvailabilityRange = null; }); } function postponeUpdate(availabilityDelay) { ...
<<<<<<< if (!metrics || !bufferStateVO || useBufferOccupancyABR) { ======= if (!metrics || isNaN(throughput) || !bufferStateVO || hasRichBuffer) { >>>>>>> if (!metrics || isNaN(throughput) || !bufferStateVO || useBufferOccupancyABR) {
<<<<<<< compatibleWithPreviousStream, isLowLatencySeekingInProgress, playbackStalled, minPlaybackRateChange; ======= compatibleWithPreviousStream, uriFragmentModel; let catchUpPlaybackRate = DEFAULT_CATCHUP_PLAYBACK_RATE; >>>>>>> compatibleWithPreviousStre...
<<<<<<< ko.bindingHandlers.typeahead = { update: function(element, valueAccessor) { var value = ko.utils.unwrapObservable(valueAccessor()); $(element).typeahead({source: value}); } }; ======= ko.bindingHandlers.fadeIn = { init: function(element, valueAccessor, allBindingsAccessor, vm) { var postbox...
<<<<<<< import daedalusTransferIcon from '../assets/images/sidebar/daedalus-transfer-white.inline.svg'; ======= import settingsIcon from '../assets/images/sidebar/settings-ic.inline.svg'; >>>>>>> import settingsIcon from '../assets/images/sidebar/settings-ic.inline.svg'; import daedalusTransferIcon from '../assets/i...
<<<<<<< ======= .alias('r', 'reporter') .default('r', 'console') .describe('r', 'reporter module [console, json, html, coverage, threshold, spec]') .alias('t', 'threshold') .default('t', 100) .describe('t', 'code coverage threshold in percentage') .alias('m', 't...