conflict_resolution stringlengths 27 16k |
|---|
<<<<<<<
dragTail(zoomMode);
showDoubleClickNotifier(gd);
=======
dragTail();
if(SHOWZOOMOUTTIP && gd.data && gd._context.showTips) {
Lib.notifier(Lib._(gd, 'Double-click to zoom back out'), 'long');
SHOWZOOMOUTTIP = false;
}
>>>>>>>
dragTail();... |
<<<<<<<
=======
// allocate any extra select buffers
var bufferCount = this.groupCount()
while(this.selectBuffers.length < bufferCount) {
this.selectBuffers.push(
createSelect(
this.shell.gl,
[this.shell.height,this.shell.width]))
}
if(!this.ax... |
<<<<<<<
'nowatch', 'verbose', 'randomize',
'failFast', 'doNotFailOnEmptyTestSuite',
'Chrome', 'Firefox', 'IE11'
=======
'nowatch', 'failFast', 'randomize',
'Chrome', 'Firefox', 'IE11',
'verbose', 'showSkipped', 'report-progress', 'report-spec', 'report-dots'
>>>>>>>
... |
<<<<<<<
=======
const util = require('../../tools/util');
>>>>>>>
const util = require('../../tools/util'); |
<<<<<<<
CHAT_TEXT: 'chat', // TODO
CHAT_UNREAD: '{0} ({1})', // 0 -> CHAT_TEXT, 1 -> number]
READ_MORE: 'Read More',
SHOW_IMAGE: 'Show Image',
HIDE_IMAGE: 'Hide Image',
CHAT_MESSAGE_BOX_PLACEHOLDER: 'Message',
SIGN_UP_CHAT: 'Sign Up To Chat',
JOIN_CHAT: 'Set Username To Chat'
},
INVALID_USERNAME: 'USE... |
<<<<<<<
import { APP, LS_PREFERENCES_KEY, SUPPORTED_CARDS } from './Constants';
=======
import { BsFillBookmarksFill } from "react-icons/bs"
import { APP, LS_PREFERENCES_KEY, SUPPORTED_CARDS, SUPPORTED_TAGS } from './Constants';
>>>>>>>
import { APP, LS_PREFERENCES_KEY, SUPPORTED_CARDS } from './Constants';
import {... |
<<<<<<<
const RoomLinkValidator = require("./components/room-link-validator").RoomLinkValidator;
const RLVStatus = require("./components/room-link-validator").validationStatuses;
=======
const log = require("./components/logging").get("bridge");
>>>>>>>
const RoomLinkValidator = require("./components/room-link-vali... |
<<<<<<<
diagram.fieldCounter = 0;
diagram.fieldRelsCounter = 0;
diagram.nodetypesCounter = [];
diagram.reltypesCounter = [];
diagram.fieldsForRels = {};
diagram.stringValues = {
'e' : gettext("equals"),
'le': gettext("is less than or equal to"),
'lt': gettext("is less than"),
'gt': gettext("is greater ... |
<<<<<<<
import {allowSaves, forbidSaves} from 'gModules/canvas_state/actions'
import * as spaceActions from 'gModules/spaces/actions'
=======
import * as spaceActions from 'gModules/spaces/actions.js'
import {undo, redo} from 'gModules/checkpoints/actions'
>>>>>>>
import {allowSaves, forbidSaves} from 'gModules/canv... |
<<<<<<<
const {inSelectedCell, metric, hovered, isInScreenshot} = this.props
const relationshipClass = relationshipClasses[relationshipType(metric.edges)]
=======
const {inSelectedCell, hovered} = this.props
const {canvasState: {metricCardView}} = this.props
const relationshipClass = relationshipC... |
<<<<<<<
const hasRequisiteProperties = hasAllNonEmpty(
=======
const isErrorFree = _.isEmpty(_.get(this, 'state.fact.simulation.sample.errors'))
const hasRequisiteProperties = factIsHydrated(
>>>>>>>
const hasRequisiteProperties = factIsHydrated( |
<<<<<<<
// {
// title: STRINGS.USER_VERIFICATION.TITLE_BANK_ACCOUNT,
// subtitle: bank_account.card_number,
// content: (
// <BankForm initialValues={bank_account} formValues={bankFormValues}>
// <InformationSection
// text={
// bank_account.verified
// ? ''
// ... |
<<<<<<<
import ClosedSpaceSidebar from './closed_sidebar'
=======
import SpacesShowToolbar from './Toolbar/index'
import ClosedSpaceSidebar from './closed_sidebar.js'
>>>>>>>
import SpacesShowToolbar from './Toolbar/index'
<<<<<<<
import {allowEdits, forbidEdits} from 'gModules/canvas_state/actions'
import * as spa... |
<<<<<<<
organizationShow(id) { this.render(<OrganizationShow organizationId={id}/>, {backgroundColor: 'GREY'}) },
organizationsNew() { this.render(<CreateOrganizationPageContainer/>, {backgroundColor: 'GREY'}) },
=======
organizationShow(id) { this.render(<OrganizationShow organizationId={id} key={id}/>, {backg... |
<<<<<<<
export function changeMetricClickMode(metricClickMode) {
return { type: 'CHANGE_CANVAS_STATE', values: {metricClickMode: _.isEmpty(metricClickMode) ? 'DEFAULT' : metricClickMode} }
}
export function changeActionState(actionState) {
return { type: 'CHANGE_CANVAS_STATE', values: {actionState} }
=======
exp... |
<<<<<<<
if (this.needsNewScales(nextProps)) {
this.computeNewScales(nextProps)
}
}
needsNewScales(prevProps) {
return (prevProps.width !== this.props.width) ||
(prevProps.cutOffRatio !== this.props.cutOffRatio) ||
(prevProps.bins !== this.props.bins) ||
(_.get(prevProps, 'simula... |
<<<<<<<
=======
</div>
<div className='col-md-5'><span className='name'>{fact.name}</span></div>
<div className='col-md-2'>
<div className='variableName'>
<span className='prefix'>#</span>
<span className='variable'>{fact.variable_name}</span>
>>>>>>>
<<<<<<<
<div... |
<<<<<<<
function AddAtIndex(l, e, destIndex) {
const index = l.findIndex(el => el === e)
if (index >= destIndex) { return [...l.slice(0, destIndex), e, ...l.slice(destIndex, index), ...l.slice(index+1)] }
else { return [...l.slice(0, index), ...l.slice(index+1, destIndex+1), e, ...l.slice(destIndex+1)] }
}
@conn... |
<<<<<<<
import cuid from 'cuid'
=======
>>>>>>>
<<<<<<<
import * as userOrganizationMembershipActions from 'gModules/userOrganizationMemberships/actions.js'
import * as userOrganizationInvitationActions from 'gModules/userOrganizationInvitations/actions.js'
=======
>>>>>>>
<<<<<<<
dispatch(sActions.fe... |
<<<<<<<
organizationId={this.props.denormalizedSpace.organization_id}
=======
metricIdsMap={this.metricIdsMap()}
>>>>>>>
organizationId={this.props.denormalizedSpace.organization_id}
metricIdsMap={this.metricIdsMap()} |
<<<<<<<
import {Category} from './categories/category'
import {CategoryForm} from './categories/form'
=======
import {FactListContainer} from 'gComponents/facts/list/container.js'
import {FactGraph} from './facts/factGraph'
>>>>>>>
import {Category} from './categories/category'
import {CategoryForm} from './categori... |
<<<<<<<
import {actionCreatorsFor} from 'redux-crud'
import $ from 'jquery'
=======
import {actionCreatorsFor} from 'redux-crud';
>>>>>>>
import {actionCreatorsFor} from 'redux-crud'
<<<<<<<
else if (value) {
dispatch(sActions.fetchSuccess([value]))
dispatch(initSpace(spaceId, value.graph))
... |
<<<<<<<
import math from 'mathjs'
var jStat = require('jstat').jStat
=======
import math from 'mathjs';
import {jStat} from 'jstat'
>>>>>>>
import math from 'mathjs'
import {jStat} from 'jstat' |
<<<<<<<
spaceShowEmbed(id) { this.render(<SpaceShow spaceId={id} embed={true}/>, {isFluid: true, showFooter: false, embed: true}) },
=======
scratchpad() { this.render(<SpaceShow spaceId={5170}/>, {isFluid: true, showFooter: false}) },
>>>>>>>
spaceShowEmbed(id) { this.render(<SpaceShow spaceId={id} embed={tru... |
<<<<<<<
// TODO(matthew): Unnecessary requests.
dispatch(userOrganizationMembershipActions.fetchByOrganizationId(organizationId))
dispatch(userOrganizationInvitationActions.fetchByOrganizationId(organizationId))
=======
>>>>>>> |
<<<<<<<
import {SpaceToolbar} from './Toolbar/index'
import SpaceSidebar from './sidebar'
=======
import SpacesShowToolbar from './Toolbar/index'
import {SpaceSidebar} from './sidebar'
>>>>>>>
import {SpaceToolbar} from './Toolbar/index'
import {SpaceSidebar} from './sidebar' |
<<<<<<<
import multipleSelectionR from './multiple_selection/reducer'
import displayErrorR from './displayErrors/reducer.js';
=======
import displayErrorR from './displayErrors/reducer.js'
>>>>>>>
import multipleSelectionR from './multiple_selection/reducer'
import displayErrorR from './displayErrors/reducer.js' |
<<<<<<<
const [{errors, width, value}, {editorState}] = [this.props, this.state]
const hasErrors = !_.isEmpty(errors)
const className = `TextInput ${width}` + (!_.isEmpty(value) && hasErrors ? ' hasErrors' : '')
=======
const [{hasErrors, width, value, validInputs, errorInputs}, {editorState}] = [this... |
<<<<<<<
readableId={readableId}
shouldShowReadableId={shouldShowReadableId}
onOpenModal={onOpenModal}
=======
readableId={metric.readableId}
anotherFunctionSelected={anotherFunctionSelected}
onToggleSidebar={onToggleSidebar}
>>>>>>>
... |
<<<<<<<
const SpaceHeader = ({canMakeMorePrivateModels, space, onSave, onDestroy, onPublicSelect, onPrivateSelect, onSaveName}) => {
let privacy_header = (<span> <Icon name='globe'/> Public </span>)
=======
const SpaceHeader = ({canMakeMorePrivateModels, space, isLoggedIn, onSave, onCopy, onDestroy, onPublicSelect,... |
<<<<<<<
// Make sure that we're not overwritting `help`, `init,` or `version` args in generators
if (argv._.length === 0) {
// handle request for usage and options
if (argv.help || argv.h) {
out.displayHelpScreen();
process.exit(0);
}
// handle request for initializing a new plopfile
... |
<<<<<<<
isInScreenshot,
editing,
=======
exportedAsFact,
>>>>>>>
isInScreenshot,
exportedAsFact,
<<<<<<<
{(hovered || shouldShowReadableId || hasGuesstimateDescription) &&
<MetricToken
readableId={readableId}
shouldShowReadableId={shoul... |
<<<<<<<
var changeCase = require('change-case');
var handlebars = require('handlebars');
=======
var inquirer = require('inquirer'),
changeCase = require('change-case'),
handlebars = require('handlebars');
>>>>>>>
var inquirer = require('inquirer');
var handlebars = require('handlebars');
var changeCase = ... |
<<<<<<<
pad = " ",
items = [],
util = require('util'),
tty = require('tty'),
charm = require('charm')(process),
running = false,
drawn = false,
auto_stamp = false,
looper = null,
settings = {
invert: true,
interval: 250
};
=======
pad = " ",
items = [],
util = require('util... |
<<<<<<<
var fonts = config.fonts || [
'"Arial", "Helvetica", sans-serif',
=======
var fonts = [
'"Arial", "Helvetica", sans-serif'
>>>>>>>
var fonts = config.fonts || [
'"Arial", "Helvetica", sans-serif' |
<<<<<<<
// add to cache
URL_TO_ID_CACHE[url] = storageId
return storageId
=======
>>>>>>> |
<<<<<<<
userCtrl.loadingModal = $uibModal
=======
$rootScope.pageLoadingProgress = 0;
user.loadingModal = $uibModal
>>>>>>>
$rootScope.pageLoadingProgress = 0;
userCtrl.loadingModal = $uibModal |
<<<<<<<
scimUser.id = user.id;
scimUser.schemas = [];
scimUser.schemas[0] = "urn:ietf:params:scim:schemas:core:2.0:User";
scimUser.displayName = editUserCtrl.user.givenName + " "
+ editUserCtrl.user.familyName;
scimUser.name = {
givenName : editUserCtrl.user.givenName,
familyName : editUserCtrl.user... |
<<<<<<<
, button: { fullscreen: true, preview: true }
, autogrow: false
=======
, button: { fullscreen: true
, preview: true
, bar: "auto"
}
>>>>>>>
, autogrow: false
, button: { fullscreen: true
, preview: true
, bar: "auto"
... |
<<<<<<<
const sinon = require("sinon");
=======
const SynchronousPromise = require("synchronous-promise").SynchronousPromise;
>>>>>>>
const sinon = require("sinon");
const SynchronousPromise = require("synchronous-promise").SynchronousPromise; |
<<<<<<<
let overlay;
function AnnulusFilter() {
PIXI.Filter.call(this, null, shaderContent);
this.uniforms.worldCoordinates = new Float32Array([0.0, 0.0]);
this.uniforms.worldSize = new Float32Array([1000.0, 1400.0]);
this.uniforms.magicMatrix = new PIXI.Matrix;
}
AnnulusFilter.prototype = Object.create(PIXI.... |
<<<<<<<
arch: arch,
version: "0.35.4",
=======
arch: "x64",
version: "0.36.0",
>>>>>>>
arch: arch,
version: "0.36.0", |
<<<<<<<
return "in "+seconds+" seconds";
=======
return seconds + " seconds ago";
>>>>>>>
return seconds + " seconds ago";
<<<<<<<
} else if ( minutes === 1 ) {
return "one minute ago";
} else {
return minutes+" minutes ago";
=======
>>>>>>>
<<<<<<<
return filesize;
};
/*!
line... |
<<<<<<<
breadcrumbs: false,
=======
data: false,
>>>>>>>
breadcrumbs: false,
data: false, |
<<<<<<<
import React, { Component } from 'react';
import ReactDOM from 'react-dom';
=======
var React = require('react');
var ReactDOM = require('react-dom');
var sha384 = require('js-sha512').sha384;
>>>>>>>
import React, { Component } from 'react';
import ReactDOM from 'react-dom';
var sha384 = require('js-sha512... |
<<<<<<<
'enumerable': false
=======
'enumberable': false,
'configurable': true
>>>>>>>
'enumerable': false,
'configurable': true
<<<<<<<
'enumerable': false
=======
'enumberable': false,
'configurable': true
>>>>>>>
'enumerable': false,
'configurable': true
<<<<<<<
'enumerable': false
===... |
<<<<<<<
"enumerable": false
=======
"enumberable": false,
"configurable": true
>>>>>>>
"enumerable": false,
"configurable": true
<<<<<<<
"enumerable": false
=======
"enumberable": false,
"configurable": true
>>>>>>>
"enumerable": false,
"configurable": true
<<<<<<<
"enumerable": false
===... |
<<<<<<<
'enumerable': false
=======
'enumberable': false,
'configurable': true
>>>>>>>
'enumerable': false,
'configurable': true
<<<<<<<
'enumerable': false
=======
'enumberable': false,
'configurable': true
>>>>>>>
'enumerable': false,
'configurable': true
<<<<<<<
'enumerable': false
===... |
<<<<<<<
"enumerable": false
=======
"enumberable": false,
"configurable": true
>>>>>>>
"enumerable": false,
"configurable": true
<<<<<<<
"enumerable": false
=======
"enumberable": false,
"configurable": true
>>>>>>>
"enumerable": false,
"configurable": true
<<<<<<<
"enumerable": false
===... |
<<<<<<<
"enumerable": false
=======
"enumberable": false,
"configurable": true
>>>>>>>
"enumerable": false,
"configurable": true
<<<<<<<
"enumerable": false
=======
"enumberable": false,
"configurable": true
>>>>>>>
"enumerable": false,
"configurable": true
<<<<<<<
"enumerable": false
===... |
<<<<<<<
'enumerable': false
=======
'enumberable': false,
'configurable': true
>>>>>>>
'enumerable': false,
'configurable': true
<<<<<<<
'enumerable': false
=======
'enumberable': false,
'configurable': true
>>>>>>>
'enumerable': false,
... |
<<<<<<<
"enumerable": false
=======
"enumberable": false,
"configurable": true
>>>>>>>
"enumerable": false,
"configurable": true
<<<<<<<
"enumerable": false
=======
"enumberable": false,
"configurable": true
>>>>>>>
"enumerable": false,
"configurable": true
<<<<<<<
"e... |
<<<<<<<
"enumerable": false
=======
"enumberable": false,
"configurable": true
>>>>>>>
"enumerable": false,
"configurable": true
<<<<<<<
"enumerable": false
=======
"enumberable": false,
"configurable": true
>>>>>>>
"enumerable": false,
"configurable": true
<<<<<<<
"enumerable": false
===... |
<<<<<<<
description: $(modal).find('#id_description_ifr').contents().find("[data-id=id_description]").html(),
=======
activity_type: $(modal).find('#id_activity_type').val(),
description: $(modal).find('#id_description').val(),
>>>>>>>
description: $(modal).find('#id_description_ifr')... |
<<<<<<<
PipEncode: require('./lib/pipencode'),
=======
PipMap: require('./lib/pipmap'),
>>>>>>>
PipEncode: require('./lib/pipencode'),
PipMap: require('./lib/pipmap'), |
<<<<<<<
if(this.dependencySet_){
this.setupDependencies();
}
=======
this.getDirector().eventDispatcher.updateDispatchOrder(this);
>>>>>>>
if(this.dependencySet_){
this.setupDependencies();
}
this.getDirector().eventDispatcher.updateDispatchOrder(this); |
<<<<<<<
if(charge < maxCharge){
charge = Math.max(charge - chargeDecayRate, 0);
}
=======
// Lock charge at 100 once user reaches 100
if(charge < 100){
charge = Math.max(charge - chargeDecayRate, 0);
}
>>>>>>>
// Lock charge at 100 once user reaches 100
if(charge < maxChar... |
<<<<<<<
body.removeClass().addClass('header-fixed header-light sidebar-dark sidebar-fixed sidebar-minified-out')
window.isMinified = false; // Because It is not minified (aka it is opened)
window.isCollapsed = false;
=======
body.removeClass('sidebar-fixed-offcanvas sidebar-static side... |
<<<<<<<
assert.equal(
base.apply_array(
seqs.from_diff("this is a test", "calculus was a hard test"),
"this is a test"),
"calculus was a hard test");
=======
// t.equal(
// base.apply_array(
// seqs.from_string_rep(values.SET("this is a test", "calculus was a hard test")),
// "this is a test"),
// "calcul... |
<<<<<<<
localStorage.setItem('latestStoppedEntry', JSON.stringify(TogglButton.$latestStoppedEntry));
PopUp.$resumeButton.setAttribute('data-event', 'resume');
PopUp.$resumeButtonContainer.style.display = "block";
=======
p = TogglButton.findProjectByPid(TogglButton.$latestStopp... |
<<<<<<<
projectElem = $(".title .project-item-select-holder") || $(".breadcrumbs-list li:nth-child(2) .breadcrumb-item-text");
=======
projectElem = $(".breadcrumbs-list li:nth-last-child(3) .breadcrumb-item-text");
>>>>>>>
projectElem = $(".title .project-item-select-holder") || $(".breadcrumbs-list li... |
<<<<<<<
$permissionsList: document.querySelector("#permissions-list"),
$newPermission: document.querySelector("#new-permission"),
$originsSelect: document.querySelector("#origins"),
origins: [],
=======
$pomodoroStopTimeTracking: null,
$stopAtDayEnd: null,
>>>>>>>
$permissionsList: document.querySelect... |
<<<<<<<
},
tabUpdated: function (tabId, changeInfo, tab) {
console.log (tabId);
console.log (changeInfo);
console.log (tab);
if (changeInfo.status === "complete") {
var domain = TogglButton.extractDomain(tab.url),
permission = {origins: domain.origins},
origins,
h... |
<<<<<<<
$stopAtDayEnd: null,
=======
$pomodoroStopTimeTracking: null,
>>>>>>>
$pomodoroStopTimeTracking: null,
$stopAtDayEnd: null,
<<<<<<<
Settings.$stopAtDayEnd = document.querySelector("#stop-at-day-end");
=======
Settings.$pomodoroStopTimeTracking = document.querySelector("#pomodoro-stop-time");
... |
<<<<<<<
this.intentRunner.registerIntent({
name: "tabs.openWindow",
description: "Opens a new (blank) window",
examples: ["open window"],
match: `
open window
open (a |) (new | blank |) window (for me|)
new (blank |) window
`,
async run(context) {
await browser.windows.creat... |
<<<<<<<
'timezone.js',
'ical.js',
'fcmoment.js',
'request.js',
'shell/calendarshell.js',
'shell/rightset.js',
'shell/calendarrightshell.js',
'shell/calendarcollectionshell.js',
'components/event-date-edition.js',
'components/event-date-cons... |
<<<<<<<
=======
VelocityMirrors.update({
framework: options.framework,
port: parseInt(options.port)
}, {
$set: {
state: 'ready',
lastModified: Date.now()
}
});
>>>>>>> |
<<<<<<<
},
userParams && {
init: {
exposeGlobals: userParams.initGlobals,
reinstallApp: negateDefined(userParams.reuse),
},
},
deviceConfig.behavior,
detoxConfig.behavior,
{
init: {
exposeGlobals: true,
reinstallApp: true,
},
cleanup:... |
<<<<<<<
(runnerConfig.runnerConfig ? `--opts ${runnerConfig.runnerConfig}` : ''),
(cliConfig.configuration ? `--configuration ${cliConfig.configuration}` : ''),
(cliConfig.loglevel ? `--loglevel ${cliConfig.loglevel}` : ''),
(cliConfig.noColor ? '--no-colors' : ''),
(cliConfig.cl... |
<<<<<<<
//Leo: I've disabled calendar events as they are exactly the same as push in the code. You may enable them for Android if needed, but set as ":android:".
=======
const {
userNotificationPushTrigger,
userNotificationCalendarTrigger,
} = require('./utils/notifications');
>>>>>>>
//Leo: I've disabled cale... |
<<<<<<<
{this.renderScreenButton('Animations', Screens.AnimationsScreen)}
=======
{this.renderScreenButton('Orientation', Screens.Orientation)}
>>>>>>>
{this.renderScreenButton('Orientation', Screens.Orientation)}
{this.renderScreenButton('Animations', Screens.AnimationsScreen... |
<<<<<<<
=======
const whichSync = require('which').sync;
const { parse, quote } = require('./utils/shellQuote');
>>>>>>>
const whichSync = require('which').sync; |
<<<<<<<
import AnimationsScreen from './AnimationsScreen';
=======
import Orientation from './Orientation';
>>>>>>>
import Orientation from './Orientation';
import AnimationsScreen from './AnimationsScreen';
<<<<<<<
TimeoutsScreen,
AnimationsScreen
=======
TimeoutsScreen,
Orientation
>>>>>>>
TimeoutsSc... |
<<<<<<<
, embedly = require('../lib/embedly')
=======
, embedly = require('../')
, require_either = embedly.utils.require_either
>>>>>>>
, embedly = require('../')
<<<<<<<
;[" http://blog.embed.ly/bob | http://posterous.com "
, " http://blog.embe... |
<<<<<<<
=======
>>>>>>>
<<<<<<<
, embedly = require('../lib/embedly')
=======
, embedly = require('../')
, require_either = embedly.utils.require_either
>>>>>>>
, embedly = require('../') |
<<<<<<<
return jsDbgPromise(JsDbg.ReadPointer, that._pointer.toString())
=======
return jsDbgPromise(MemoryCache.ReadPointer, that._pointer)
>>>>>>>
return jsDbgPromise(MemoryCache.ReadPointer, that._pointer.toString())
<<<<<<<
return jsDbgPromise(JsDbg.ReadNumber, that._pointer.... |
<<<<<<<
if (urlParams.has('hands')){
session.raisehands = true;
}
var screensharebutton=false;
if (urlParams.has('ssb')){
var screensharebutton=true;;
}
if (urlParams.has('bigbutton')){
session.bigmutebutton=true;
getById("mutebutton").style.width = "min(40vh,40vw)";
getById("mutebutton").style.height = "min(40v... |
<<<<<<<
AccountController = RouteController.extend({
=======
UserEditController = FastRender.RouteController.extend({
>>>>>>>
UserEditController = RouteController.extend({
<<<<<<<
return {
user : Meteor.user(),
invites: Invites.find({invitingUserId:Meteor.userId()})
};
},
fastRender: true
=... |
<<<<<<<
);
},
'click .not-upvoted .upvote': function(e, instance){
e.preventDefault();
if(!Meteor.user()){
Meteor.Router.to('/signin');
throwError(i18n.t("Please log in first"));
}
Meteor.call('upvoteComment', this._id, function(error, result){
trackEven... |
<<<<<<<
clearSeenErrors();
var content = $commentForm.val();
=======
clearSeenMessages();
var content = instance.editor.exportFile();
>>>>>>>
clearSeenMessages();
var content = $commentForm.val(); |
<<<<<<<
sc_require('system/text_selection') ;
=======
sc_require('mixins/static_layout') ;
>>>>>>>
sc_require('system/text_selection') ;
sc_require('views/field') ;
sc_require('mixins/static_layout') ;
<<<<<<<
},
selectStart: function(evt) {
return YES;
=======
},
fieldValueDidChange: functi... |
<<<<<<<
// ..........................................................
// CONSTANTS
//
// Implementation note: We use two spaces after four-letter prefixes and one
// after five-letter prefixes so things align in monospaced consoles.
/**
If {@link SC.Logger.format} is true, this delimiter will be put between argume... |
<<<<<<<
view.triggerItemAtIndex(1);
SC.RunLoop.begin();
view.set('isEnabled', YES);
SC.RunLoop.end();
equals(view.get('value'), "Item2", "the second item should be selected.");
var items=view.displayItems();
equals(items[0].title, "Item1", 'Computed properties should match');
equals(item... |
<<<<<<<
isOverflowSegment: YES,
layoutDirection: this.get('layoutDirection')
=======
isOverflowSegment: YES,
isVisible: this.get('shouldHandleOverflow')
>>>>>>>
isOverflowSegment: YES,
layoutDirection: this.get('layoutDirection'),
isVisible: this.get('shouldHandleOverflow')
... |
<<<<<<<
afterEach(function(done) {
outSession.close(done);
});
afterEach(function(done) {
inSession.close(done);
});
function client(done) {
var chan = outSession.sendChannel();
var msg = jschan.msg({ hello: 'world' });
=======
describe('basic reply subChannel', function() {
>>>>>>... |
<<<<<<<
},
{
"city": "Victoria",
"name": "Discovery Coffee House and Lounge",
"country": "Canada",
"address": "664 Discovery Street",
"coordinates": ["48.4320183", "-123.3650072"],
"description": {
"Internet": "Free open internet",
"Power Outlets": "There are a few",
"Seating": "Coffee shop and q... |
<<<<<<<
},
{
"city": "Victoria",
"name": "Discovery Coffee House and Lounge",
"country": "Canada",
"address": "664 Discovery Street",
"coordinates": ["48.4320183", "-123.3650072"],
"description": {
"Internet": "Free open internet",
"Power Outlets": "There are a few",
"Seating": "Coffee shop and q... |
<<<<<<<
import {
awsRegionLocations,
logo,
dateFormats,
DEPLOYMENT_STATUS,
} from './constants';
=======
import { awsRegionLocations, logo, dateFormats } from './constants';
import { helpModal } from './modals';
>>>>>>>
import {
awsRegionLocations,
logo,
dateFormats,
DEPLOYMENT_STATUS,
} from './cons... |
<<<<<<<
src: 'core/client/**/*.js'
},
exclude: [
'core/client/templates/**/*.js'
]
=======
src: [
'core/client/**/*.js',
// Ignore... |
<<<<<<<
var FileList = require('filelist').FileList;
=======
var fs = require('fs')
, FileList = require('./file_list').FileList;
>>>>>>>
var fs = require('fs')
, FileList = require('filelist').FileList; |
<<<<<<<
Jsonary.pageContext = pageContext;
function render(element, data, uiStartingState, contextCallback) {
var context = pageContext.render(element, data, null, uiStartingState, contextCallback);
=======
setInterval(function () {
// Clean-up sweep of pageContext's element lookup
var keysToRemove = [];
... |
<<<<<<<
if (isNotFound(err)) {
// New accounts will start out as sequence zero
callback(null, 0);
=======
if (err &&
"object" === typeof err &&
"object" === typeof err.remote &&
err.remote.error === "actNotFound") {
// New accounts will start out as sequence one
... |
<<<<<<<
this.editor = window.layoutEditor;
=======
this.editor = layoutEditor;
this.isFormSubmitting = false;
>>>>>>>
this.editor = layoutEditor;
<<<<<<<
window.Orchard.Layouts.LayoutEditorHost = window.Orchard.Layouts.LayoutEditorHost || {};
$(function () {
window.l... |
<<<<<<<
var AuthInfo = require('./authinfo').AuthInfo;
var blobClient = require('./blob').BlobClient;
var crypt = require('./crypt').Crypt;
=======
var async = require('async');
var blobClient = require('./blob');
var AuthInfo = require('./authinfo').AuthInfo;
var crypt = require('./crypt').Crypt;... |
<<<<<<<
var crypt = require('./crypt').Crypt;
var request = require('superagent');
var async = require('async');
var extend = require("extend");
var BlobClient = {};
=======
var request = require('superagent');
var extend = require('extend');
var crypt = require('./crypt').Crypt;
>>>>>>>
var crypt = require... |
<<<<<<<
var assert = require('assert'),
RippleTxt = require('../src/js/ripple/rippletxt').RippleTxt,
AuthInfo = require('../src/js/ripple/authinfo').AuthInfo,
VaultClient = require('../src/js/ripple/vaultclient').VaultClient,
Blob = require('../src/js/ripple/blob').BlobClient.Blob,
UInt256 ... |
<<<<<<<
// ND: We could consider sharing the work with tx_blob when doing
// local_signing
tx.addId(tx.hash());
=======
>>>>>>> |
<<<<<<<
'publish',
=======
'editContentTools',
>>>>>>>
'editContentTools',
'publish', |
<<<<<<<
cssnano = require("gulp-cssnano"),
=======
sass = require("gulp-sass"),
autoprefixer = require("gulp-autoprefixer"),
minify = require("gulp-minify-css"),
>>>>>>>
cssnano = require("gulp-cssnano"),
sass = require("gulp-sass"), |
<<<<<<<
setTimeout(function () {
if (that.settings.mode === 'structure') {
=======
if (this.settings.mode === 'structure') {
// FIXME this setTimeout is needed because
// plugins are initialized after all the scripts are proce... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.