conflict_resolution
stringlengths
27
16k
<<<<<<< // Process the reports and store them in Ion const simplifiedReports = []; ======= // Process the reports and store them in Onyx >>>>>>> // Process the reports and store them in Onyx const simplifiedReports = []; <<<<<<< * Update the lastReadActio...
<<<<<<< var strings = require('../../resources/index'); var wrapCliCallback = require('../wrap-cli-callback'); ======= const colors = require('colors/safe'); const strings = require('../../resources/index'); const wrapCliCallback = require('../wrap-cli-callback'); >>>>>>> const strings = require('../../resources/in...
<<<<<<< var expect = require('chai').expect; var path = require('path'); var sinon = require('sinon'); ======= const colors = require('colors/safe'); const expect = require('chai').expect; const path = require('path'); const sinon = require('sinon'); >>>>>>> const expect = require('chai').expect; const path = requir...
<<<<<<< var expect = require('chai').expect; var sinon = require('sinon'); ======= const colors = require('colors/safe'); const expect = require('chai').expect; const sinon = require('sinon'); >>>>>>> const expect = require('chai').expect; const sinon = require('sinon'); <<<<<<< var execute = function(){ logS...
<<<<<<< export function checkValidFile(value) { ======= export default function checkValidInt(value) { >>>>>>> export default function checkValidFile(value) {
<<<<<<< var strings = require('../../resources/index'); var wrapCliCallback = require('../wrap-cli-callback'); ======= const colors = require('colors/safe'); const strings = require('../../resources/index'); const wrapCliCallback = require('../wrap-cli-callback'); >>>>>>> const strings = require('../../resources/in...
<<<<<<< var expect = require('chai').expect; var sinon = require('sinon'); ======= const colors = require('colors/safe'); const expect = require('chai').expect; const sinon = require('sinon'); >>>>>>> const expect = require('chai').expect; const sinon = require('sinon'); <<<<<<< var execute = function(){ logS...
<<<<<<< var expect = require('chai').expect; var sinon = require('sinon'); ======= const colors = require('colors/safe'); const expect = require('chai').expect; const sinon = require('sinon'); >>>>>>> const expect = require('chai').expect; const sinon = require('sinon'); <<<<<<< var execute = function(dirName, po...
<<<<<<< var expect = require('chai').expect; var sinon = require('sinon'); ======= const colors = require('colors/safe'); const expect = require('chai').expect; const sinon = require('sinon'); >>>>>>> const expect = require('chai').expect; const sinon = require('sinon'); <<<<<<< var execute = function(componentNa...
<<<<<<< if (typeof customResponses[lang] !== 'undefined') { t.equal(body, customResponses[lang], 'got correct response from ' + lang); ======= var doCRLF = ["python", "python3"]; var crlf = (process.platform == 'win32')?'\r\n':'\n'; if (noCarriageReturn.indexOf(lang) !== -1) { ...
<<<<<<< var logger = { err: sinon.stub(), warn: () => {} }; ======= const logger = { log: sinon.stub() }; >>>>>>> const logger = { err: sinon.stub(), warn: () => {} }; <<<<<<< var logger = { err: sinon.stub(), warn: () => {} }; ======= const logger = { log: sinon.stub() }; >>>>>>> ...
<<<<<<< ======= const log = { err: function(msg){ return logger.log(colors.red(msg)); }, ok: function(msg){ return logger.log(colors.green(msg)); }, warn: function(msg, noNewLine){ return logger[noNewLine ? 'logNoNewLine' : 'log'](colors.yellow(msg)); } }; >>>>>>> <<<<<<< if(!!err){ ...
<<<<<<< this.canvas = options.canvas; this.context = this.canvas.getContext('2d'); ======= this.context = options.canvas; this.context.imageSmoothingEnabled = false; this.context.mozImageSmoothingEnabled = false; this.context.oImageSmoothingEnabled = false; this.context.webkitImageSmoothin...
<<<<<<< node = ((renderer.getNativeFromInternal(id): any): HTMLElement); ======= nodes = ((renderer.findNativeByFiberID(id): any): ?Array<HTMLElement>); >>>>>>> nodes = ((renderer.getNativeFromInternal(id): any): ?Array<HTMLElement>);
<<<<<<< ======= findNativeByFiberID: (id: number) => ?Array<NativeType>, >>>>>>> <<<<<<< getCommitDetails: (rootID: number, commitIndex: number) => CommitDetails, getFiberCommits: (rootID: number, fiberID: number) => FiberCommits, getInteractions: (rootID: number) => Interactions, getInternalIDFromNative:...
<<<<<<< ======= >>>>>>> <<<<<<< assert.notOk(_pickerMenu.is(':visible'), '#StartYearDemo responded to a button click event by closing the menu.'); ======= assert.equal(_pickerMenu.css('display'), 'none', '#StartYearDemo responded to a button click event by closing the men...
<<<<<<< Version 3.0-alpha5 ======= Version 2.8.3 >>>>>>> Version 3.0-alpha6 <<<<<<< ======= // Creates an alias to jQuery UI's .button() that dosen't // conflict with Bootstrap.js button (#35) $.widget.bridge('jqueryUIButton', $.ui.button); >>>>>>> // Creates an alias to jQuery UI's .button()...
<<<<<<< var request = require('request'), ======= 'use strict'; var http = require('http'), https = require('https'), request = require('request'), >>>>>>> 'use strict'; var request = require('request'),
<<<<<<< import { clamp, getDataContents, getBoundingClientRect, getViewportRect, setPosAndSize } from "../utils"; ======= import { clamp, getDataContents, getBoundingClientRect, getViewportRect } from "../utils"; import marked from "marked"; >>>>>>> import { clamp, getDataContents, getBoundingClientRect, getViewport...
<<<<<<< ======= >>>>>>> <<<<<<< var onBehalf; if (this.state.ageSelected === this.props.ages.WITH_CONSENT.value) { onBehalf = ( <label htmlFor='agreedOnBehalf'> <input id='agreedOnBehalf' type='checkbox' className='js-terms-checkbox' ...
<<<<<<< const { values } = useFormikContext(); const bgUnits = get(values, 'initialSettings.bloodGlucoseUnits'); ======= const formikContext = useFormikContext(); const { values } = formikContext; const bgUnits = values.initialSettings.bloodGlucoseUnits; >>>>>>> const formikContext = useFormikContext(); ...
<<<<<<< describe('translateBg', () => { it('should translate a BG value to the desired target unit', () => { expect(utils.translateBg(180, MMOLL_UNITS)).to.equal(10); expect(utils.translateBg(10, MGDL_UNITS)).to.equal(180); }); }); describe('roundBgTarget', () => { it('should round a tar...
<<<<<<< /* jshint ignore:start */ <div className='container-nav-outer footer'> <div className='container-nav-inner'> <div className='footer-section footer-section-top'> <NotesLink /> <div className="footer-subtext">{"Record notes on the go"}</div> </div> ...
<<<<<<< ======= console.log('handleApiError ', error); var utcTime = usrMessages.MSG_UTC + new Date().toISOString();//sundial.utcDateString(); >>>>>>> var utcTime = usrMessages.MSG_UTC + new Date().toISOString(); <<<<<<< handleActionableError: function(error, message, link) { var utcTime =...
<<<<<<< <p>Please click the link in the email we just sent you at <strong>{{sent}}</strong> to verify and activate your account.</p> ======= <p> Please click the link in the email we just sent you at <br/> <strong>{this.props.sent}</strong> ...
<<<<<<< dataSources={this.props.dataSources} fetchDataSources={this.props.fetchDataSources} connectDataSource={this.props.connectDataSource} disconnectDataSource={this.props.disconnectDataSource} authorizedDataSource={this.props.authorizedDataSource} ======= ...
<<<<<<< start: 'react-app start', build: 'react-app build', test: 'react-app test --env=jsdom', ======= start: 'react-scripts start', build: 'react-scripts build', test: 'react-scripts test', eject: 'react-scripts eject', >>>>>>> start: 'react-app start', build: 'react-app build',...
<<<<<<< var autoFocus = input.autoFocus; ======= var defaultChecked = input.defaultChecked; >>>>>>> var autoFocus = input.autoFocus; var defaultChecked = input.defaultChecked; <<<<<<< autoFocus={autoFocus} ======= defaultChecked={defaultChecked} >>>>>>> autoFocus={autoFocu...
<<<<<<< ======= elem.setState({page: '/patients/454/data'}); >>>>>>> <<<<<<< }); ======= */ describe('acceptance', () => { it('should set the state for termsAccepted ', () => { >>>>>>> <<<<<<< ======= /* it('should allow user to use blip', () => { >>>>>>> <<<<<<< it(...
<<<<<<< var plugins = [ defineEnvPlugin, new ExtractTextPlugin('style.[contenthash].css') ]; var appEntry = (process.env.MOCK === 'true') ? './app/main.mock.js' : './app/main.js'; ======= var plugins = [ defineEnvPlugin, new ExtractTextPlugin('style.css') ]; var appEntry = './app/main.js'; >>>>>>> var plugins = [ de...
<<<<<<< }, renderLogo: function() { return ( <a href="http://tidepool.org/" target="_blank" className="login-nav-tidepool-logo" > <img src={logoSrc} alt="Tidepool"/> </a> ); ======= >>>>>>> <<<<<<< ======= >>>>>>> <<<<<<< ======= >>>>>>>
<<<<<<< ======= var WeeklyChart = React.createClass({ chartOpts: ['bgClasses', 'bgUnits', 'timePrefs'], log: bows('Weekly Chart'), propTypes: { bgClasses: React.PropTypes.object.isRequired, bgUnits: React.PropTypes.string.isRequired, initialDatetimeLocation: React.PropTypes.string, patientData: ...
<<<<<<< `; export const TextLink = Styled(Link)` color: ${colors.text.link}; text-decoration: none; line-height: ${lineHeights[0]}; font-family: ${fonts.default}; &:hover { color: ${colors.text.link}; text-decoration: none; } `; export const CheckboxGroupTitle = Styled(Text)` font-size: ${fontSi...
<<<<<<< dataSources: state.blip.dataSources || [], authorizedDataSource: state.blip.authorizedDataSource, ======= updatingPatientBgUnits: state.blip.working.updatingPatientBgUnits.inProgress, >>>>>>> updatingPatientBgUnits: state.blip.working.updatingPatientBgUnits.inProgress, dataSources: state....
<<<<<<< ======= const bfj = require('bfj'); const config = require('../config/webpack.config.prod'); >>>>>>> const bfj = require('bfj'); <<<<<<< return resolve({ stats: stats.stats[0], ======= const resolveArgs = { stats, >>>>>>> const resolveArgs = { stats: stats.stat...
<<<<<<< ======= // Generates an `index.html` file with the <script> injected. new HtmlWebpackPlugin({ inject: true, template: paths.appHtml, minify: { removeComments: true, collapseWhitespace: true, removeRedundantAttributes: true, useShortDoctype: true, ...
<<<<<<< if (!utils.isChrome() && !this.state.dismissedBrowserWarning) { ======= if (!utils.isChrome()) { /* jshint ignore:start */ >>>>>>> if (!utils.isChrome()) {
<<<<<<< var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; ======= var _typeof = typeof Symbol === ...
<<<<<<< <div id="app-no-print" className="grid patient-data-subnav"> <div className="grid-item one-whole large-one-third"> <a href="" className={basicsLinkClass} onClick={this.props.onClickBasics}>{t('Basics')}</a> <a href="" className={dayLinkClass} onClick={this.props.onClickOneD...
<<<<<<< if (typeof dat.temp === 'undefined') { dat.temp = dat.temp || true // store dats in memory only } ======= dat.temp = dat.temp || true // store dats in memory only log('Creating new gateway with options: %j', { dir, dat, max, net, period, ttl }) >>>>>>> if (typeof dat.temp === 'undef...
<<<<<<< name:'MissionControl', imageSrc:'https://i.imgur.com/nSRLFas.gif', githubLink: 'https://github.com/DAVFoundation/missioncontrol/issues', description:'Controls and orchestrates missions between autonomous vehicles and DAV users', tags: ['Javascript','Docker','Thrift','Good First Issue'] ====...
<<<<<<< description: 'Modern applications with built-in automation.', tags: ['Docs','Front-End','Rust','MultiOS'], ======= description: 'Modern applications with built-in automation', tags: ['Docs', 'Front-End', 'Rust', 'MultiOS'], >>>>>>> description: 'Modern applications with built-in automatio...
<<<<<<< }, { name: 'Bitcoin', imageSrc: 'https://img.rawpixel.com/s3fs-private/rawpixel_images/website_content/v211-mint-aum-currency-13.jpg?auto=format&bg=F4F4F3&con=3&cs=srgb&dpr=1&fm=jpg&ixlib=php-1.1.0&mark=rawpixel-watermark.png&markalpha=90&markpad=13&markscale=10&markx=25&q=75&usm=15&vib=3&w=1000&s=4...
<<<<<<< var BUTTONS_STYLE = STYLES.concat([ 'link', 'text-link' ======= var BUTTONS_STYLES = STYLES.concat([ 'link' >>>>>>> var BUTTONS_STYLES = STYLES.concat([ 'link', 'text-link'
<<<<<<< setup(app) { app.get('/', (req, res, next) => { global.appPromise .then(() => { const app = require(paths.nodeBuildAppJs).default; app.handle(req, res); }) .catch(next); }); }, before(app) { ======= before(app, server) {...
<<<<<<< Ember.Handlebars.helper('motd', function(messages) { var str = '', network = this.get('parentController.parentController.content'); messages.forEach(function(text) { str += App.Parser.exec(text, network) + '<br />'; }); return new Ember.Handlebars.SafeString(str); }); var generateUserLink = function(...
<<<<<<< it('verifies that message', () => { waitsForPromise(() => lint(editor).then((messages) => { const expected = `'foo' is not defined. (no-undef)` const expectedUrl = 'http://eslint.org/docs/rules/no-undef' expect(messages[0].severity).toBe('error') expect...
<<<<<<< return helpers.processJobResponse(response, textEditor, showRule, this.worker) ======= >>>>>>>
<<<<<<< let Passphrase; ======= let testPassphrase; >>>>>>> let Passphrase; let testPassphrase; <<<<<<< ======= describe('$scope.constructor()', () => { it.skip('sets $watch on $ctrl.input_passphrase to keep validating it', () => { // Skipped because it doesn't work const spy = sinon.sp...
<<<<<<< clearVotes: 'CLEAR_VOTES', penddingVotes: 'PENDDING_VOTES', ======= transactionAdded: 'TRANSACTION_ADDED', transactionsUpdated: 'TRANSACTIONS_UPDATED', transactionsLoaded: 'TRANSACTIONS_LOADED', >>>>>>> clearVotes: 'CLEAR_VOTES', penddingVotes: 'PENDDING_VOTES', transactionAdded: 'TRANSACTION...
<<<<<<< require('./services/sign-verify.spec'); ======= require('./services/lsk.spec'); >>>>>>> require('./services/sign-verify.spec'); require('./services/lsk.spec');
<<<<<<< let limit = (this.transactions.length || 10) + (more ? 10 : 0); if (limit < 10) { limit = 10; } return this.accountApi.transactions.get(this.account.get().address, limit) ======= loadTransactions(limit) { return this.account.listTransactions(this.account.get().addre...
<<<<<<< <Button label='LOGIN' primary raised onClick={this.onLoginSubmission.bind(this)} className='login-button' ======= <Button label='LOGIN' primary raised onClick={this.onLoginSubmission.bind(this, this.state.passphrase)} >>>>>>> <Button label='LOGI...
<<<<<<< $state = _$state_; Passphrase = _Passphrase_; account = _Account_; ======= Passphrase = _Passphrase_; $cookies = _$cookies_; /* eslint-disable no-unused-vars */ $timeout = _$timeout_; /* eslint-enable no-unused-vars */ >>>>>>> $state = _$state_; Passphrase = _Passphras...
<<<<<<< this.promptSecondPassphrase() .then((secondPassphrase) => { this.accountApi.transactions.create( this.recipient.value, this.amount.raw, this.account.get().passphrase, secondPassphrase, ) .then( (data) => { ...
<<<<<<< import SecondPassphraseInput from '../secondPassphraseInput'; ======= import ActionBar from '../actionBar'; >>>>>>> import SecondPassphraseInput from '../secondPassphraseInput'; import ActionBar from '../actionBar'; <<<<<<< <section className={`${grid.row} ${grid['between-xs']}`}> <Button ...
<<<<<<< import { getAccount, setSecondPassphrase, send, transactions } from './account'; ======= import { getAccount, setSecondSecret, send, transactions, extractPublicKey, extractAddress } from './account'; >>>>>>> import { getAccount, setSecondPassphrase, send, transactions, extractPublicKey, extractAddress } ...
<<<<<<< dialog, Account, AccountApi) { ======= dialog, SendModal, Account, AccountApi, Notification) { >>>>>>> dialog, Account, AccountApi, Notification) {
<<<<<<< import history from '../../history'; ======= import i18n from '../../i18n'; >>>>>>> import history from '../../history'; import i18n from '../../i18n'; <<<<<<< context: { store, history }, childContextTypes: { store: PropTypes.object.isRequired, history: PropTypes.object....
<<<<<<< import sinonStubPromise from 'sinon-stub-promise'; import PropTypes from 'prop-types'; ======= >>>>>>> import PropTypes from 'prop-types';
<<<<<<< import { expect } from 'chai'; import sinon from 'sinon'; ======= import chai, { expect } from 'chai'; import sinonChai from 'sinon-chai'; >>>>>>> import { expect } from 'chai';
<<<<<<< addToVoteList: 'ADD_TO_VOTE_LIST', removeFromVoteList: 'REMOVE_FROM_VOTE_LIST', ======= toastDisplayed: 'TOAST_DISPLAYED', toastHidden: 'TOAST_HIDDEN', loadingStarted: 'LOADING_STARTED', loadingFinished: 'LOADING_FINISHED', >>>>>>> addToVoteList: 'ADD_TO_VOTE_LIST', removeFromVoteList: 'REMOV...
<<<<<<< import i18n from '../../i18n'; import * as dialogActions from '../../actions/dialog'; import ClickToSendHOC from './index'; import store from '../../store'; ======= import ClickToSend from './index'; import RelativeLink from '../relativeLink'; >>>>>>> import i18n from '../../i18n'; import ClickToSend from '....
<<<<<<< import { expect } from 'chai'; import sinon from 'sinon'; ======= import chai, { expect } from 'chai'; import sinonChai from 'sinon-chai'; >>>>>>> import { expect } from 'chai'; <<<<<<< describe('Forging', () => { ======= chai.use(sinonChai); describe('Forging HOC', () => { >>>>>>> describe('Forging HO...
<<<<<<< import { IconMenu, MenuItem, MenuDivider } from 'react-toolbox/lib/menu'; ======= import { IconMenu, MenuItem } from 'react-toolbox/lib/menu'; import React from 'react'; >>>>>>> import { IconMenu, MenuItem, MenuDivider } from 'react-toolbox/lib/menu'; import React from 'react'; <<<<<<< import SaveAccountBut...
<<<<<<< import { shallow } from 'enzyme'; import configureMockStore from 'redux-mock-store'; ======= import { mount } from 'enzyme'; import PropTypes from 'prop-types'; >>>>>>> import configureMockStore from 'redux-mock-store'; import { shallow } from 'enzyme'; import PropTypes from 'prop-types';
<<<<<<< import votingMiddleware from './voting'; ======= import savedAccountsMiddleware from './savedAccounts'; >>>>>>> import votingMiddleware from './voting'; import savedAccountsMiddleware from './savedAccounts'; <<<<<<< votingMiddleware, ======= savedAccountsMiddleware, >>>>>>> votingMiddleware, save...
<<<<<<< import offlineMiddleware from './offline'; ======= import notificationMiddleware from './notification'; >>>>>>> import offlineMiddleware from './offline'; import notificationMiddleware from './notification'; <<<<<<< offlineMiddleware, ======= notificationMiddleware, >>>>>>> offlineMiddleware, not...
<<<<<<< require('../src/components/toaster/stories'); ======= require('../src/components/send/stories'); >>>>>>> require('../src/components/toaster/stories'); require('../src/components/send/stories');
<<<<<<< ======= import Passphrase from '../passphrase'; import PassphraseInput from '../passphraseInput'; >>>>>>> import PassphraseInput from '../passphraseInput'; <<<<<<< ======= autologin() { const savedAccounts = localStorage.getItem('accounts'); if (savedAccounts && !this.props.account.afterLogout) ...
<<<<<<< const I18nScannerPlugin = require('../src/i18n-scanner'); ======= const HardSourceWebpackPlugin = require('hard-source-webpack-plugin'); >>>>>>> const I18nScannerPlugin = require('../src/i18n-scanner'); const HardSourceWebpackPlugin = require('hard-source-webpack-plugin'); <<<<<<< new I18nScannerPlugin(...
<<<<<<< '/src/mipmain.js', '/src/builtins/video/**' ======= '/src/mipmain.js' ], test: [ '/src/**', '/test/**' >>>>>>> '/src/mipmain.js', '/src/builtins/video/**' ], test: [ '/src/**', '/test/**'
<<<<<<< var getExtensionUrl = chromeRuntime.getURL; ======= var getExtensionUrl = chrome.extension.getURL; var chromeNotifications = chrome.notifications; var chromeContextMenus = chrome.contextMenus; var chromeIdle = chrome.idle; var chromeOmnibox = chrome.omnibox; >>>>>>> var getExtensionUrl = chromeRuntime.getURL...
<<<<<<< js_single: ["src/js/cs.js", "src/js/cs-*.js", "src/js/injected.js", "src/js/lastfmCallback.js", "src/js/options.js", "src/js/player.js", "src/js/updateNotifier.js"], ======= js_single: ["src/js/cs.js", "src/js/cs-*.js", "src/js/ga.js", "src/js/injected.js", "src/js/options.js", "src/js/player.js", "src/js...
<<<<<<< var urlRegex = frag.indexOf('\'') != -1 ? /'([\s\S]*)'/ : /"([\s\S]*)"/; ======= var urlRegex = frag.indexOf('\'') !== -1 ? /'(.*)'/ : /"(.*)"/; >>>>>>> var urlRegex = frag.indexOf('\'') !== -1 ? /'([\s\S]*)'/ : /"([\s\S]*)"/; <<<<<<< if (hasMultiline && hasMultiline.lastIndexOf(",")...
<<<<<<< it('query with pipe and back pressure', (done) => TESTS['query with pipe and back pressure'](done)) ======= it('query with duplicate output column names', done => TESTS['query with duplicate output column names'](done)) >>>>>>> it('query with pipe and back pressure', (done) => TESTS['query with p...
<<<<<<< it.skip('query with pipe and back pressure', (done) => TESTS['query with pipe and back pressure'](done)) ======= it('query with duplicate output column names', done => TESTS['query with duplicate output column names'](done)) >>>>>>> it.skip('query with pipe and back pressure', (done) => TESTS['qu...
<<<<<<< 'copy-eula', 'electron:' + electronBuild, ======= 'electron:' + (process.platform === 'darwin' ? 'osxBuild' : 'winBuild'), 'copy-license-docs', >>>>>>> 'electron:' + electronBuild, 'copy-license-docs', <<<<<<< 'copy-eula', ...
<<<<<<< pushMany(manyComponentObjects: ComponentObjects[]): Promise<ComponentObjects[]> { // This ComponentObjects.manyToString will handle all the base64 stuff so we won't send this payload // to the pack command (to prevent duplicate base64) ======= pushMany(manyComponentObjects: ComponentObjects[]): Pr...
<<<<<<< const components = await consumer.commit( [id], message, exactVersion, releaseType, force, verbose, ignoreMissingDependencies ); return R.head(components); ======= return consumer.commit([id], message, force, verbose, ignoreMissingDependencies); >>>>>>> return consumer.c...
<<<<<<< ======= // todo: make sure mainFileName and testsFileNames are available // TODO: Make sure to add the component origin arg >>>>>>> // TODO: Make sure to add the component origin arg <<<<<<< if (bitDir && !componentMap && !fs.existsSync(bitDir)) return Promise.reject(new ComponentNotFo...
<<<<<<< import * as globalConfig from '../api/consumer/lib/global-config'; ======= import npmClient from '../npm-client'; >>>>>>> import * as globalConfig from '../api/consumer/lib/global-config'; import npmClient from '../npm-client';
<<<<<<< componentsDirStructure() { // TODO: Change this according to the user configuration return `${BITS_DIRNAME}/{namespace}/{name}`; } _getComponentStructurePart(componentStructure, componentPart) { switch (componentPart) { case 'name': return 'name'; case 'namespace': ...
<<<<<<< write(writePath?: string, force?: boolean = true): Promise<any> { const filePath = writePath || this.path; ======= write(path?: string, force?: boolean = true): Promise<any> { const filePath = path || this.path; logger.debug(`writing a file to the file-system at ${filePath}`); >>>>>>> write...
<<<<<<< async isolateComponent(rawId: string | BitId, opts: IsolateOptions): Promise<ComponentWithDependencies> { const bitId = typeof rawId === 'string' ? BitId.parse(rawId) : rawId; const componentsWithDependencies = await this.scope.getMany([bitId]); const concreteOpts = { componentsWithDependenc...
<<<<<<< import ScopeSearch from './commands/private-cmds/_search-cmd'; ======= import ScopeShow from './commands/private-cmds/_show-cmd'; >>>>>>> import ScopeSearch from './commands/private-cmds/_search-cmd'; import ScopeShow from './commands/private-cmds/_show-cmd'; <<<<<<< new ScopeSearch(), ======= new...
<<<<<<< search(): Promise<[]> { throw new Error('not implemented yet'); } ======= show(bitId: BitId): Promise<> { return this.getScope() .loadComponent(bitId); } >>>>>>> search(): Promise<[]> { throw new Error('not implemented yet'); } show(bitId: BitId): Promise<> { return this....
<<<<<<< import flattenDependencies from '../scope/flatten-dependencies'; ======= import R from 'ramda'; >>>>>>> import flattenDependencies from '../scope/flatten-dependencies'; import R from 'ramda'; <<<<<<< import type { BitDependencies } from '../scope/scope'; ======= import npmInstall from '../npm'; >>>>>>> i...
<<<<<<< InsertFieldValueBlock.prototype._buildVals = function() { ======= InsertFieldValueBlock.prototype.set = function(field, value, options) { if (options == null) { options = {}; } return this._set(field, value, options); }; InsertFieldValueBlock.prototype.setFields = fu...
<<<<<<< grunt.loadTasks('build/tasks'); grunt.loadNpmTasks('grunt-contrib-watch'); grunt.loadNpmTasks('grunt-contrib-jasmine'); grunt.loadNpmTasks('grunt-contrib-qunit'); grunt.loadNpmTasks('grunt-contrib-connect'); grunt.loadNpmTasks('grunt-mocha'); grunt.loadNpmTasks('grunt-curl'); ======= >>>>>>> grunt....
<<<<<<< it('overrides the default value of audit.tagExclude', function () { axe._load({}); assert.deepEqual(axe._audit.tagExclude, ['experimental']); axe.configure({ tagExclude: ['ninjas'] }); assert.deepEqual(axe._audit.tagExclude, ['ninjas']); }); it('should throw if visible frames and no resolve',...
<<<<<<< value: true, error: null, relatedNodes: [] ======= error: null >>>>>>> error: null, relatedNodes: [] <<<<<<< value: true, error: null, relatedNodes: [] ======= error: null >>>>>>> error: null, relatedNodes: [] <<<<<<< ...
<<<<<<< axe.a11yCheck(document, {}, function(results) { assert.isNotOk(results.violations[0].helpUrl); ======= axe.run(noPassOpt, function (err, results) { assert.isNull(err); assert.isNull(results.violations[0].helpUrl); >>>>>>> axe.run(noPassOpt, function (err, results) { assert.isNull(err); a...
<<<<<<< ======= apiMocker.express.use(bodyParser.urlencoded({extended: true})); apiMocker.express.use(bodyParser.json()); apiMocker.express.use(xmlparser()); apiMocker.express.use(apiMocker.corsMiddleware); >>>>>>>
<<<<<<< function mapToUrl(files, port) { return grunt.file.expand(files).map(function (file) { return 'http://localhost:' + port + '/' + file; }); } grunt.loadNpmTasks("grunt-browserify"); ======= >>>>>>> grunt.loadNpmTasks("grunt-browserify"); <<<<<<< babelify: { dist: { options: { transf...
<<<<<<< function extender(shouldBeTrue) { return function (check) { var sourceData = checksData[check.id] || {}; var messages = sourceData.messages || {}; var data = Object.assign({}, sourceData); delete data.messages; data.message = check.result === shouldBeTrue ? messages.pass : messages.fail; a...
<<<<<<< if (!elm.id) { return; } let doc = (elm.getRootNode && elm.getRootNode()) || document; const id = '#' + escapeSelector(elm.id || ''); ======= if (!elm.getAttribute('id')) { return; } const id = '#' + escapeSelector(elm.getAttribute('id') || ''); >>>>>>> if (!elm.getAttr...
<<<<<<< componentWillMount: function() { // Apple stock data from Mike Bostock's chart at // http://bl.ocks.org/mbostock/3883195 var parseDate = d3.time.format("%d-%b-%y").parse; d3.tsv("data/applestock.tsv", function(error, data) { data.forEach(function(d) { d.date = parseDate(d.date); ...
<<<<<<< // update progress bar document .querySelector('#progress-bar') .style.setProperty('--progress', percentComplete + '%'); $('#progress-text').html(`${percentComplete}%`); ======= progress.innerText = `Progress: ${percentComplete}%`; if (percentComplete === 100) { ...
<<<<<<< const { notify, gcmCompliant, findMetric, sendEvent, ONE_DAY_IN_MS } = require('./utils'); const Storage = require('./storage'); const storage = new Storage(localStorage); ======= const { notify, gcmCompliant } = require('./utils'); const bytes = require('bytes'); >>>>>>> const { notify, gcmCompliant, findMe...