conflict_resolution
stringlengths
27
16k
<<<<<<< brackets.fs.readFile(blob._fullPath, encoding, function (err, data) { ======= brackets.fs.readFile( blob._fullPath, encoding, function( err, data) { >>>>>>> brackets.fs.readFile(blob._fullPath, encoding, function (err, data) { <<<<<<< if (err) { this.rea...
<<<<<<< var _ = require("thirdparty/lodash"), AppInit = require("utils/AppInit"), EditorManager = require("editor/EditorManager"), Editor = require("editor/Editor").Editor, KeyEvent ...
<<<<<<< require("spec/QuickOpen-test"); ======= require("spec/StringMatch-test"); >>>>>>> require("spec/QuickOpen-test"); require("spec/StringMatch-test");
<<<<<<< .append(Mustache.render(searchResultsTemplate, {searchList: searchList})) ======= .append(Mustache.render(searchResultsTemplate, {searchList: searchList, Strings: Strings})) .scrollTop(0) // Otherwise scroll pos from previous contents is remembered >>>>>...
<<<<<<< var defaultPrefs = { enabled: true }, enabled, // Only show preview if true prefs = null, // Preferences previewMark, // CodeMirror marker highlighting the preview text $previewCo...
<<<<<<< exports.FILE_QUICK_NAVIGATE_FILE = "file.quickNaviateFile"; exports.FILE_QUICK_NAVIGATE_DEFINITION = "file.quickNaviateDefinition"; exports.FILE_QUICK_NAVIGATE_LINE = "file.quickNaviateLine"; ======= exports.FILE_QUICK_NAVIGATE = "file.quickNaviate"; exports.FIND_IN_FILES = "findInFiles"; ...
<<<<<<< /*global define, $, Mustache, window */ ======= /*global define, $, window, Mustache */ >>>>>>> /*global define, $, window, Mustache */ <<<<<<< var _naturalWidth = 0, _fullPath; ======= var _naturalWidth = 0, _scale = 100, _scaleDivInfo = null; // coordinates of hidden sc...
<<<<<<< * - be resolved with a document for the specified file path or * - be resolved without document, i.e. when an image is displayed or * - be rejected with FileSystemError if the file can not be read. ======= * - be resolved with a file for the specified file path or * - be rejected if t...
<<<<<<< /** * Designates the DOM node that will contain the currently active editor instance. EditorManager * will own the content of this DOM node. * @param {!jQueryObject} holder */ function setEditorHolder(holder) { if (_currentEditor) throw new Error("Cannot chan...
<<<<<<< startLoad.done(function () { // Clear project path map _projectInitialLoad = { previous : [], /* array of arrays containing full paths to open at each depth of the tree */ id : 0, /* incrementing id */ full...
<<<<<<< // Linting/errors/warnings "CMD_TOGGLE_LINTING" : "Lint Files on Save", "CMD_GOTO_FIRST_ERROR" : "Go to First Error/Warning", "ERRORS_PANEL_TITLE" : "{0} Errors", "SINGLE_ERROR" : "1 {0} Erro...
<<<<<<< if (DocumentManager.getCurrentDocument()) { ======= // Update all nodes in the project tree. // All other updating is done by DocumentManager.notifyPathNameChanged() below var nodes = _projectTree.find(".jstree-leaf, .jstree-open, .jstree-closed"...
<<<<<<< /** Handles removals from DocumentManager's working set list */ function _onWorkingSetRemove(event, removedDoc) { // There's one case where an editor should be disposed even though the current document // didn't change: removing a document from the working set (via the "X" button). (This...
<<<<<<< require("spec/CSSManager-test.js"); ======= require("spec/KeyMap-test.js"); >>>>>>> require("spec/KeyMap-test.js"); require("spec/CSSManager-test.js");
<<<<<<< ======= /** * A stack of keydown event handler functions that corresponds to the * current stack of modal dialogs. * * @type {Array.<Function>} */ var _keydownListeners = []; >>>>>>> /** * A stack of keydown event handler functions that corr...
<<<<<<< exports.FILE_QUICK_NAVIGATE = "file.quickNaviate"; ======= exports.DEBUG_RUN_UNIT_TESTS = "debug.runUnitTests"; exports.DEBUG_JSLINT = "debug.jslint"; exports.DEBUG_SHOW_PERF_DATA = "debug.showPerfData"; >>>>>>> exports.FILE_QUICK_NAVIGATE = "file.quickNaviate"; exports.DEBUG_RUN_UNIT...
<<<<<<< _removePopUp($popUp, true); // TODO: right now Menus and Context Menus do not take focus away from // the editor. We need to have a focus manager to correctly manage focus // between editors and other UI elements. ...
<<<<<<< * Sets the cursor position in the document. * @param {number} line The 0 based line number. * @param {number} char The 0 based character position. */ Document.prototype.setCursor = function (line, char) { this._editor.setCursor(line, char); }; /** * Sets the selecti...
<<<<<<< var mode = LanguageManager.getLanguageForPath(entry.fullPath).getMode(); if (mode === HintUtils.MODE_NAME) { files.push(file); ======= var languageID = LanguageManager.getLanguageForPath(entry.fullPath).getId()...
<<<<<<< // Notify all open documents CollectionUtils.forEach(_openDocuments, function (doc, id) { // TODO: Only notify affected documents? For now _notifyFilePathChange // just updates the language if the extension changed, so it's fine // to call for all open docs....
<<<<<<< /** * Sets the auto close brackets. Affects all Editors. * @param {boolean} value */ Editor.setCloseBrackets = function (value) { _closeBrackets = value; _instances.forEach(function (editor) { editor._codeMirror.setOption("autoCloseBrackets", _closeBracket...
<<<<<<< currentDocument, // doc for change event currentImagePreviewContent = "", // Current image preview content, or "" if no content is showing. lastPreviewedColorOrGradient = "", // Color/gradient value of last previewed. lastPreviewedImagePath = ""; ...
<<<<<<< * @private * Get all current theme objects * * @return {array} collection of the current theme instances */ ======= * @private * Will trigger a refresh of codemirror instance and editor resize so that * inline widgets get properly rendered * * @param {CodeMirror} c...
<<<<<<< entry = entries[entryI]; if (shouldShow(entry)) { jsonEntry = { data: entry.name, attr: { id: "node" + _projectInitialLoad.id++ }, metadata: { entry: entry } }; if (e...
<<<<<<< selectors.push({selector: currentSelector.trim(), line: selectorStartLine, character: currentPosition, selectorEndLine: i, selectorEndChar: stream.start}); currentSelector = ""; currentPosition = -1; ======= select...
<<<<<<< $(this.hostEditor).off("scroll", this._updateRelatedContainer); // de-ref all the Documents in the search results this._rules.forEach(function (searchResult) { searchResult.textRange.dispose(); }); ======= $(this).off("offsetTopChanged", this._updat...
<<<<<<< ======= MainViewManager = require("view/MainViewManager"), FileUtils = require("file/FileUtils"), >>>>>>> MainViewManager = require("view/MainViewManager"), <<<<<<< PanelManager.createBottomPanel("errors", $(panelHtml), 100); ======= va...
<<<<<<< // utils const createMap = (keys, create) => { // "Map" here means JavaScript Object not JavaScript Map. const obj = {}; for (let i = 0; i < keys.length; i += 1) { const key = keys[i]; obj[key] = create(key); } return obj; }; const canTrap = (state) => { // XXX should we do like shouldInst...
<<<<<<< /** * Update file name if necessary */ function _onFileNameChange(e, oldName, newName) { if (_currentlyViewedPath === oldName) { _setCurrentlyViewedPath(newName); } } ======= /** * Return the provider of a custom viewer for the given path if one exi...
<<<<<<< exports.isTextFile = isTextFile; ======= exports.getDirectoryPath = getDirectoryPath; >>>>>>> exports.getDirectoryPath = getDirectoryPath; exports.isTextFile = isTextFile;
<<<<<<< var CLICK_RENAME_MINIMUM = 500, MIDDLE_MOUSE_BUTTON = 2; ======= var CLICK_RENAME_MINIMUM = 500, LEFT_MOUSE_BUTTON = 0; >>>>>>> var CLICK_RENAME_MINIMUM = 500, MIDDLE_MOUSE_BUTTON = 2, LEFT_MOUSE_BUTTON = 0; <<<<<<< // If we're renaming, allow the clic...
<<<<<<< SpecRunnerUtils = require("spec/SpecRunnerUtils"), FileSystem = require("filesystem/FileSystem"), FileSystemError = require("filesystem/FileSystemError"), FileUtils = require("file/FileUtils"), Async = require("utils/Asyn...
<<<<<<< ======= }, function (error) { $("#img-data").html(dimensionString); >>>>>>>
<<<<<<< case STATE_INSTALL_CANCELLED: if (newState === STATE_INSTALL_CANCELLED) { // TODO: do we need to wait for acknowledgement? That will require adding a new // "waiting for cancelled" state. var success = this._installer.cancel(); ...
<<<<<<< ======= /** * @private * @type{?jQuery.Promise} * Holds the most recent promise from startServer(). Used in * StaticServerProvider.readyToServe */ var _serverStartupPromise = null; /** * @private * @type{StaticServerProvider} * Stores the singleton...
<<<<<<< /// Copyright (c) <%= new Date().getFullYear() %> Fazli Sapuan, Matthew Saw and Eugene Cheah /// ======= /// Copyright (c) <%= new Date().getFullYear() %> gpu.js Team /// /// Permission is hereby granted, free of charge, to any person obtaining a copy /// of this software and associated documentation files (t...
<<<<<<< function u(){} u.BASE_URL = 'https://api.stormpath.com/v1'; /** adds '/v1' to relative URL, to work with nock request mocker */ u.v1 = function(s){return '/v1' + s;}; ======= function random(){ return '' + Math.random()*Date.now(); } >>>>>>> function u(){} u.BASE_URL = 'https://api.stormpath.com/v1'; /*...
<<<<<<< app.get('/login/:token', mw.ga, mw.addTitle('Open Collective'), render); app.get('/login', mw.ga, mw.addTitle('Open Collective Login'), render); ======= app.get('/', mw.ga, mw.addTitle('OpenCollective - Collect and disburse money transparently'), render); >>>>>>> app.get('/', mw.ga, mw.addTitle('Open...
<<<<<<< /** * Authentication */ app.get('/api/auth/:service(github)', aN.authenticateService); app.get('/auth/:service(github)/callback', aN.authenticateServiceCallback); ======= // For some reason during OAuth, the redirect through piping automatically changes // the body, but not the window locatio...
<<<<<<< const versionResult = execa( 'npm', ['version', version, '--userconfig', npmrc, '--no-git-tag-version', '--allow-same-version'], { cwd: basePath, env, } ); versionResult.stdout.pipe( stdout, {end: false} ); versionResult.stderr.pipe( stderr, {end: false} )...
<<<<<<< WorkflowManager.androidDownload(url, filename, rev, length); }, "click [name='ins_attach_isNode']": function (event, template, attachVersion) { // var url = Meteor.absoluteUrl("api/files/instances/") + attachVersion._rev + "/" + attachVersion.filename; var furl = event.target.dat...
<<<<<<< api.use('steedos:e164-phones-countries@1.0.3'); api.use('steedos:i18n-iso-countries@3.3.0'); api.use('steedos:accounts-t9n@1.14.2_4'); ======= api.use('steedos:accounts-t9n@1.14.2_6'); >>>>>>> api.use('steedos:e164-phones-countries@1.0.3'); api.use('steedos:i18n-iso-countries@3.3.0'); api.use('steedos...
<<<<<<< WorkflowManager.canAdd = function(fl, curSpaceUser, organization) { ======= WorkflowManager.canAdd = function (fl, curSpaceUser, organizations) { >>>>>>> WorkflowManager.getCategoriesForms = function(categorieId) { var re = new Array(); var forms = db.forms.find({ category: categorieId, state: "...
<<<<<<< "weixin-pay": "1.1.7", "xml2js": "0.4.17" ======= mkdirp: "0.3.5" >>>>>>> "weixin-pay": "1.1.7", "xml2js": "0.4.17" mkdirp: "0.3.5"
<<<<<<< api.addFiles('lib/models/billing_pay_records.coffee'); ======= api.addFiles('lib/models/space_settings.coffee'); >>>>>>> api.addFiles('lib/models/billing_pay_records.coffee'); api.addFiles('lib/models/space_settings.coffee');
<<<<<<< import VaSlider from './vuestic-components/va-slider/VaSlider.vue' ======= >>>>>>> <<<<<<< import VaDatePicker from './vuestic-components/va-date-picker/VaDatePicker' import Card from './vuestic-components/vuestic-card/VuesticCard' ======= import DatePicker from './vuestic-components/vuestic-date-pick...
<<<<<<< model.get('errors').add('meta_title', '优化标题不能超过 150 个字符。'); ======= model.get('errors').add('metaTitle', 'Meta Title cannot be longer than 150 characters.'); >>>>>>> model.get('errors').add('metaTitle', '优化标题不能超过 150 个字符。'); <<<<<<< model.get('errors').add('me...
<<<<<<< export const MEDIUM_SCREEN_WIDTH = 992; export const APP_CONTAINER_MAX_WIDTH = 1400; export const IDEA_PREVIEW_MAX_WIDTH = 350; // export const IDEA_PREVIEW_MIN_WIDTH = 280; export const NB_IDEA_PREVIEW_TO_SHOW = 4; export const APP_CONTAINER_PADDING = 15; ======= export const MEDIUM_SCREEN_WIDTH = 992; expo...
<<<<<<< ======= >>>>>>> <<<<<<< ======= _readFile(file, callback) { const reader = new FileReader(); reader.onload = (event) => { const data = event.target.result; callback(data) } reader.readAsDataURL(file) }, >>>>>>> <<<<<<< return this._readFile(src, () => { th...
<<<<<<< 'router.async.router': 'first', 'router.sync.router': 'first', // TODO rm 'styles.css': 'reduce', ======= 'router.sync.router': 'first', >>>>>>> <<<<<<< // Catch errors // TODO - change this error handler error page annomaly // Note I'm still using a sync router just to ge this working (...
<<<<<<< .use(require('ssb-server/plugins/onion')) ======= .use(require('ssb-server/plugins/local')) .use(require('ssb-gossip')) .use(require('ssb-replicate')) .use(require('ssb-friends')) .use(require('ssb-invite')) .use(require('ssb-blobs')) .use(require('ssb-ws')) >>>>>>> .use(require('ssb-ser...
<<<<<<< THREADED: { id: "threaded", label: i18n._('Threaded view') }, CHRONOLOGICAL: { id: "chronological", label: i18n._('Chronological view') }, REVERSE_CHRONOLOGICAL: { id: "rev...
<<<<<<< "relationships.js": require('./relationships.js'), ======= "git.js": require('./git.js'), >>>>>>> "relationships.js": require('./relationships.js'), "git.js": require('./git.js'),
<<<<<<< }, { label: 'Check for updates', click () { checkForUpdates(); } ======= }, { type: 'separator' }, { ...
<<<<<<< ======= languages: ['en', 'pt-BR', 'es', 'it', 'zh-TW', 'de-DE','hi', 'mr', 'pl', 'ko'], >>>>>>>
<<<<<<< io.set('log level', 1); app.use(methodOverride()); app.use(bodyParser()); app.use(cookieParser()); app.use(express.static(__dirname + '/client')); app.use(errorhandler({ dumpExceptions: true, showStack: true })); ======= app.configure(function() { app.use(express.methodOverride()); app.use(e...
<<<<<<< describe('Get A Contact By Id Batch', function(){ it('Should return a contact record based on a array of ids', function (done) { client.contacts.getByIdBatch({ ids: [1, 2] },function(err, data, res) { if (err) { throw err; } exp...
<<<<<<< await pubsub.publish( STREAM_CREATED, { userStreamCreated: { id: id, ...args.stream }, ownerId: context.userId } ) ======= await pubsub.publish( USER_STREAM_CREATED, { userStreamCreated: { id: id, ...args.stream }, ownerId: context.userId } ) >>>>>>> await pubsub.publish( USER_STREAM_CREATE...
<<<<<<< const SpriteSmithPlugin = require('webpack-spritesmith'); ======= >>>>>>> <<<<<<< {test: /\.ts$/, loader: 'ts-loader'}, {test: /\.scss$/, loaders: ['style?insertAt=bottom', 'css?sourceMap', 'resolve-url', 'sass?sourceMap']}, {test: /\.(gif|svg|png|jpe?g|ttf|woff2?|eot)$/, loader: 'url?...
<<<<<<< import ButtonsExample from './ButtonsExample'; import DividerExample from './DividerExample'; ======= import ButtonExample from './ButtonExample'; >>>>>>> import ButtonExample from './ButtonExample'; import DividerExample from './DividerExample'; <<<<<<< ======= card: CardExample, button: ButtonExampl...
<<<<<<< var genSelfSigned = function(hostname, outputKey, outputCert, callback) { ======= exports.genSelfSigned = function(outputKey, outputCert, options, callback) { >>>>>>> var genSelfSigned = function(outputKey, outputCert, options, callback) { <<<<<<< * * @param {String} hostname Hostname to be used as CN. =...
<<<<<<< }; exports['test_getExportedMember'] = function(test, assert) { var modulePath = __filename; async.parallel([ function testGetFailedToLoadModule(callback) { misc.getExportedMember('/some/unknown/path-foo-bar', 'member', function(err, value) { assert.ok(err); assert.match(err.mess...
<<<<<<< import vSwitch from './components/switch'; import { col, row } from './components/grid'; import spin from './components/spin'; import cascader from './components/cascader'; import input from './components/input'; import select from './components/select'; import timePicker from './components/timePicker'; import ...
<<<<<<< self.nodes.delete(connectorId); connectornode.obliterate(); ======= delete self.nodes[connectorId]; connectornode.disable(); >>>>>>> self.nodes.delete(connectorId); connectornode.disable(); <<<<<<< for (var child of children.values()) { ======= l...
<<<<<<< var setAllLayersSuspended = function(value) { project.getStacks().forEach(function(stack) { var existingLayer = stack.getLayer(getTracingLayerName(stack)); if (existingLayer) { existingLayer.svgOverlay.setAllSuspended(value) } }); }; var updateNodesinAllLayers = functi...
<<<<<<< last_stack_viewer_closes_project: { default: true }, ======= warn_on_potential_gl_issues: { default: true, }, >>>>>>> last_stack_viewer_closes_project: { default: true, }, warn_on_potential_gl_issues: { default: t...
<<<<<<< /** * Get the fill color for an active node. */ ======= SkeletonAnnotations.getActiveNodeSubType = function() { return this.atn.subtype; }; >>>>>>> SkeletonAnnotations.getActiveNodeSubType = function() { return this.atn.subtype; }; /** * Get the fill color for an active node. */ <<<<<<< /** * As...
<<<<<<< children; ======= children, level, messageView; >>>>>>> children, messageView;
<<<<<<< import { combineReducers } from 'redux' import { routerReducer as routing } from 'react-router-redux' import datasets from './datasets' import settings from './settings' import hydrating from './hydrating' import newDataset from './newDataset' ======= // @flow import { combineReducers } from 'redux'; import ...
<<<<<<< // 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-...
<<<<<<< backgroundPageConnection.onMessage.addListener((logItem, sender) => { let slimItem; if (logItem.queries) { slimItem = { state: { queries: logItem.queries } }; } if (logItem.mutations) { let mutations = logItem.mutations; let mutationsArray ...
<<<<<<< /* eslint no-template-curly-in-string: "off" */ const routes = { oldLogout: 'legacy/logout', oldLogin: 'legacy/login', oldDebate: 'debate/${slug}', oldProfile: 'debate/${slug}/user/profile', graphql: '${slug}/graphql', styleguide: 'styleguide', root: '', login: 'login', signup: 'signup', cha...
<<<<<<< let tabData; if (logItem.queries) { tabData = { state: { queries: logItem.queries } }; } if (logItem.mutations) { let mutations = logItem.mutations; console.log(mutations); let mutationsArray = Object.keys(mutations).map(function (key, ...
<<<<<<< import { Table, Input, Popconfirm, Typography } from 'antd' import { trimEllip } from '../utils' ======= import { blue, red } from '@ant-design/colors' import { Table, Input, Popconfirm, Tooltip } from 'antd' import NewForm from './new-form' >>>>>>> import { blue, red } from '@ant-design/colors' import { tri...
<<<<<<< /** * Get crash info from global config and setup crash reporter. */ getConfigField('crashReporterDetails').then( function (data) { crashReporter.setupCrashReporter({'window': 'main'}, data); } ).catch(function (err) { let title = 'Error loading configuration'...
<<<<<<< tokenVoteInstructions: "En fonction de l'objectif du module de jetons, incitez les participants à passer à l'action.", gaugeVoteInstructions: "En fonction de l'objectif du module jauge, incitez les participants à passer à l'action." ======= tokenVoteInstructions: "En fonction de l'obje...
<<<<<<< * Close a mailbox * * @param {boolean} [autoExpunge=true] If autoExpunge is true, any messages marked as Deleted in the currently open mailbox will be remove * @param {function} [callback] Optional callback, receiving signature (err) * @returns {undefined|Promise} Returns a promise when no callback is spec...
<<<<<<< * Add a plugin to the sets of plugins already registered by Encore * * For example, if you want to add the "webpack.IgnorePlugin()", then: * .addPlugin(new webpack.IgnorePlugin(requestRegExp, contextRegExp)) * * @param {string} plugin * @return {exports} */ addPl...
<<<<<<< ======= >>>>>>>
<<<<<<< this.envManager.init(); ======= this.filesystem.init(); >>>>>>> this.envManager.init(); this.filesystem.init();
<<<<<<< resolve(rest[0]) === "=>") => { var res = enforest(rest.slice(1), context); if (res.result.hasPrototype(Expr)) { return step(ArrowFun.create(delim, rest[0], res.result.destruct()), ...
<<<<<<< function cloneMatch(oldMatch) { var newMatch = { success: oldMatch.success, rest: oldMatch.rest, patternEnv: {} }; for (var pat in oldMatch.patternEnv) { if (oldMatch.patternEnv.hasOwnProperty(pat)) { newMatch.patternEn...
<<<<<<< } describe "syntax objects" { it "should have identifier testing functions" { let m = macro { case {_} => { var s = makeIdent("foo", null); if (s.isIdentifier()) { return #{true} } return #{false} ...
<<<<<<< util.assignDeep(parsed, options); ======= if (options) { util.objectAssign(parsed, options, true); } >>>>>>> util.objectAssign(parsed, options, true);
<<<<<<< <BookingModal selectedBooking={selectedBooking} onCloseBooking={this.onCloseBooking} onDeleteBooking={onDeleteBooking} roomData={roomData} ...
<<<<<<< calendarDate: new Date(), currentRoom: { _id: '5a5c0d782b191c21b1eebf4e', name: 'Room 1', floor: '8', capacity: 18, bookings: [], assets: { whiteBoard: false, opWalls: false, tv: false, projector: false, pcLab: true, mac...
<<<<<<< function BookingForm({ onMakeBooking, user, roomData, date, updateCalendar, onShowBooking, calendarDate }) { ======= function BookingForm({ onMakeBooking, user, roomData, date, updateCalendar, onShowBooking }) { // Disable sunday (day 0) on the calendar as an booking option >>>>>>> function BookingForm({ ...
<<<<<<< import RoomsList from './components/RoomsList' ======= import BookingForm from './components/BookingForm' >>>>>>> import RoomsList from './components/RoomsList' import BookingForm from './components/BookingForm' <<<<<<< decodedToken: getDecodedToken(), // retrieves the token from local storage if valid,...
<<<<<<< debug(this.moveable.events); /*dojo.connect(this.moveable, 'onMouseDown', this.moveable, function(ev){*/ /*if(ev.button == 2 && conf.menu){*/ /*if(dojo.isFF){*/ /*// Firefox is weird. If a moveable is defined, it overrides*/ /*// the menu. Safari does not have this issue. Other bro...
<<<<<<< var queuerow = n.parentNode.parentNode.parentNode.parentNode.parentNode.rows[n.parentNode.parentNode.parentNode.parentNode.rowIndex - 2]; ======= var thistable = n.parentNode; var queuerow = n.parentNode.parentNode.parentNode.parentNode.rows[n.parentNode.parentNode.parentNode.rowIndex - 2]; >>>>>...
<<<<<<< bunnies: { key: "bunnies", title: "Graph Databases for Bunnies", type: "video", author: "rvanbruggen", thumbnail: asset("img/still/bunnies.png"), introText: "Rik collected the <a href='http://blog.neo4j.org/2013/06/graphs-for-bunnie...
<<<<<<< } from '@plexis/without-diacritics'; export {default as isAlpha} from '@plexis/is-alpha'; ======= } from '@plexis/without-diacritics'; export {default as isLowerCase, default as isLower} from '@plexis/is-lowercase'; >>>>>>> } from '@plexis/without-diacritics'; export {default as isAlpha} from '@plexis/is-alp...
<<<<<<< export {default as startsWith} from '@plexis/starts-with'; export { default as distance, default as calcLevenshtein, default as levenshtein } from '@plexis/distance'; ======= export {default as startsWith} from '@plexis/starts-with'; export {default as isString} from '@plexis/is-string'; >>>>>>> export...
<<<<<<< function getCategoryValues (definitionsElement) { var categoryValues = []; var categoryElements = definitionsElement.getElementsByTagNameNS(NS_BPMN_SEMANTIC, "categoryValue"); if (categoryElements.length != 0) { for (var index = 0; index < categoryElements.length; index++) { ...
<<<<<<< var id = '-not-found-'; ======= var id = 'unknown-vid'; var url = VIDEO_BASE + id; >>>>>>> var id = 'unknown-vid';
<<<<<<< ytdl.getInfo(id, function(err, info) { if (err) return done(err); ======= ytdl.getInfo(url, function(err, info) { assert.ifError(err); >>>>>>> ytdl.getInfo(id, function(err, info) { assert.ifError(err); <<<<<<< var scope = nock(id, { get_video_info: true }); ...
<<<<<<< // memory store this.store = { jwt_token: null, }; ======= // use external storage? if(config.storage) { this.storage = config.storage } else { this.storage = localStorage; } this.inMemory = { jwt_token: null, user_id: null, exp: null, ...
<<<<<<< "CREATE TABLE IF NOT EXISTS users(user_id INTEGER PRIMARY KEY, username TEXT UNIQUE NOT NULL, password TEXT NOT NULL);" + "CREATE TABLE IF NOT EXISTS tokens(token TEXT PRIMARY KEY, timestamp INT DEFAULT (strftime('%s','now')), user_id INTEGER REFERENCES users(user_id));" + "CREATE TABLE IF NOT EXIST...
<<<<<<< function * registerClient(socket) { socket.on('get_name', function(msg) { socket.emit('get_name', {name: name}) ======= function registerClient(socket) { socket.on('get_name', msg => { socket.emit('get_name', {name}) >>>>>>> function * registerClient(socket) { socket.on('get_name'...
<<<<<<< ======= var typeHandlers = { 'string': function(value) { return value; }, 'date': function(value) { return new Date(Date.parse(value) || Date.now()); }, 'boolean': function(value) { if (value === '') { return true; } return value === 'false' ? fals...