conflict_resolution stringlengths 27 16k |
|---|
<<<<<<<
this.numberOfNodesRemoved = 0;
=======
this.numberOfAccessorsRemoved = 0;
>>>>>>>
this.numberOfNodesRemoved = 0;
this.numberOfAccessorsRemoved = 0;
<<<<<<<
process.stdout.write('Nodes removed: ' + this.numberOfNodesRemoved + '\n');
=======
process.stdout.write('Accessors removed: '... |
<<<<<<<
module.exports = {
'build-cesium': buildCesium,
test: test,
'test-watch': testWatch,
coverage: coverage,
cloc: cloc
};
function test(done) {
var jasmine = new Jasmine();
=======
gulp.task('test', function (done) {
const jasmine = new Jasmine();
>>>>>>>
module.exports = {
'bui... |
<<<<<<<
Kuzzle = require.main.require('lib/api/Kuzzle'),
Profile = require.main.require('lib/api/core/models/security/profile'),
Role = require.main.require('lib/api/core/models/security/role');
=======
Kuzzle = require('../../../../lib/api/Kuzzle'),
ForbiddenError = require.main.require('lib/api/core/erro... |
<<<<<<<
expect(bufferEqual(gltf.shaders.CesiumTexturedBoxTest0FS.extras.source, fragmentShaderData)).toBe(true);
=======
expect(gltf.shaders.CesiumTexturedBoxTest0FS.extras.source.toString()).toEqual(fragmentShaderData.toString());
expect(gltf.shaders.CesiumTexturedBoxTest0FS.extra... |
<<<<<<<
var removeUnusedTechniques = require('../').removeUnusedTechniques;
=======
var removeUnusedPrograms = require('../').removeUnusedPrograms;
var removeUnusedBufferViews = require('../').removeUnusedBufferViews;
>>>>>>>
var removeUnusedTechniques = require('../').removeUnusedTechniques;
var removeUnusedProgram... |
<<<<<<<
var writeSource = require('./writeSource');
=======
var removePipelineExtras = require('./removePipelineExtras');
>>>>>>>
var writeSource = require('./writeSource');
var removePipelineExtras = require('./removePipelineExtras');
<<<<<<<
=======
}
function writeSource(gltf, filePath, name, isEmbedded, call... |
<<<<<<<
var removeUnusedPrograms = require('../').removeUnusedPrograms;
=======
var removeUnusedBufferViews = require('../').removeUnusedBufferViews;
>>>>>>>
var removeUnusedPrograms = require('../').removeUnusedPrograms;
var removeUnusedBufferViews = require('../').removeUnusedBufferViews;
<<<<<<<
removeUnused... |
<<<<<<<
expect(gltf.images[0].extras).not.toBeDefined();
expect(gltf.images[0].uri).toEqual('Cesium_Logo_Flat_Low.png');
return fsReadFile(outputImagePath);
=======
expect(gltf.images.Cesium_Logo_Flat_Low.extras).not.toBeDefined();
expect... |
<<<<<<<
var generateNormals = require('./generateNormals');
var Cesium = require('cesium');
var defaultValue = Cesium.defaultValue;
=======
>>>>>>>
var generateNormals = require('./generateNormals');
<<<<<<<
generateNormals(gltfWithExtras);
addDefaults(gltfWithExtras, stats);
=======
addDefaults(gltfW... |
<<<<<<<
this.validatorShare = deployer.validatorShare
=======
this.slashingManager = contracts.slashingManager
>>>>>>>
this.validatorShare = deployer.validatorShare
this.slashingManager = contracts.slashingManager |
<<<<<<<
url:'xxxxx',
failTime : 3
=======
url:'xxxxx',
tryPeep: true,
peepSystem: true,
repeat:10000
>>>>>>>
url:'xxxxx',
failTime : 3
tryPeep: true,
peepSystem: true,
repeat:10000
<<<<<<<
localStorage.setItem('a', '123245678');
=======
setTimeout(function(){
console.log(1111)
},1000);
>>>>>>>
loca... |
<<<<<<<
class Peep extends Config {
constructor(options) {
super(options);
console.log(options);
=======
class Peep /* extends LocalStorage*/ {
constructor( options ) {
//super(options);
console.log( options );
>>>>>>>
class Peep extends Config {
constructor( options ) {
... |
<<<<<<<
=======
* @author suman
* @fileoverview report
* @date 2017/02/15
*/
var utils = {
typeDecide: function typeDecide(o, type) {
return Object.prototype.toString.call(o) === "[object " + type + "]";
},
serializeObj: function serializeObj(obj) {
var parames = '';
Object.ke... |
<<<<<<<
ApiRT.prototype.count = function (query, index, collection) {
=======
ApiRT.prototype.scroll = function (scrollId) {
var
msg = {
controller: 'read',
action: 'scroll',
body: {
scrollId
}
};
return this.send(msg);
};
ApiRT.prototype.count = function (filters, index,... |
<<<<<<<
import Report from './Report';
class GER extends Report {
constructor(options) {
super(options);
=======
import events from './events';
import utils from './utils';
class GER extends events {
constructor() {
super();
>>>>>>>
import Report from './Report';
import utils from './utils... |
<<<<<<<
if (darwin()) {
systemPreferences.subscribeNotification('AppleInterfaceThemeChangedNotification', () => {
if (mainWindow != null) {
mainWindow.setVibrancy(systemPreferences.isDarkMode()? "ultra-dark": "light");
mainWindow.webContents.reload();
... |
<<<<<<<
export const uuid = () => uuidv4();
export const shortUuid = () => {
const data = new Uint8Array(16);
uuidv4(null, data, 0);
const base64 = btoa(String.fromCharCode.apply(null, data));
return base64
.replace(/\+/g, "-") // Replace + with - (see RFC 4648, sec. 5)
.replace(/\//g, "_") // Replace / with _... |
<<<<<<<
/**
* An Expand is defined as two inputs moving farther away from each other. This gesture does not
* account for any start/end events to allow for the event to interact with the Pan and Pinch events.
* @class Expand
* @extends Gesture
*/
=======
/**
* An Expand is defined as two inputs moving farther a... |
<<<<<<<
import { setStreamUMITreatment, recalculateUMI } from "./actions/stream";
=======
import { setStreamUMITreatment } from "./actions/stream";
import { commitNewMarkerLocations, refreshMarkersAndLocations } from "./actions/marker-location";
>>>>>>>
import { setStreamUMITreatment, recalculateUMI } from "./action... |
<<<<<<<
import { fetchStreams, fetchLatestForStream } from "./stream";
import UUID from "uuid/v1";
=======
import { fetchStreams, fetchLatestForCurrentStream } from "./stream";
>>>>>>>
import { fetchStreams, fetchLatestForCurrentStream } from "./stream";
import UUID from "uuid/v1"; |
<<<<<<<
(function () {
var supportExternalLinks = function (e) {
var href;
var isExternal = false;
var checkDomElement = function (element) {
if (element.nodeName === 'A') {
href = element.getAttribute('href');
}
if (element.classL... |
<<<<<<<
this.ignoreGameMessageSent = false;
this.variant = variant;
=======
>>>>>>>
this.variant = variant;
<<<<<<<
if(pgn.moves.length<=2) {
if(!this.ignoreGameMessageSent) {
showError("Ignoring games with only one move made", null, null,
... |
<<<<<<<
const fetch = (sort, type, id, range = null) => (dispatch, getState) => {
const columns = getState().columns;
const currentColumn = columns.filter(column => column.id === id)[0];
const index = columns.indexOf(currentColumn);
const { user } = getState().auth;
let uid = getUID();
let page = 0;
let ... |
<<<<<<<
const settingsMenu = this.settingsMenu = new SettingsMenu(api, model.player, this.controlbar, localization);
=======
// Settings Menu
const settingsMenu = this.settingsMenu = SettingsMenu(api, model.player, localization);
>>>>>>>
const settingsMenu = this.settingsMenu = new S... |
<<<<<<<
function _setAudioTracks(tracks) {
if(tracks && tracks.length > 0) {
for (var i = 0; i < tracks.length; i++) {
if (tracks[i].enabled) {
_currentAudioTrackIndex = i;
console.log('got current audio track: ', i)... |
<<<<<<<
if (_model.getVideo) {
var provider = _model.getVideo();
provider.setContainer(_videoLayer);
}
=======
var provider = _model.getVideo();
provider.setContainer(_videoLayer);
provider.setVisibility(true);
_se... |
<<<<<<<
{verb: 'post', url: '/roles/_search', controller: 'security', action: 'searchRoles'},
=======
{verb: 'post', url: '/_login', controller: 'auth', action: 'login'},
>>>>>>>
{verb: 'post', url: '/roles/_search', controller: 'security', action: 'searchRoles'},
{verb: 'post', url: ... |
<<<<<<<
renderCaptionsNatively: false
=======
renderCaptionsNatively: false,
nextUpDisplay: true
//qualityLabel: '480p', // specify a default quality
//captionLabel: 'English', // specify a default Caption
>>>>>>>
renderCaptionsNatively: false,
nextUpDispl... |
<<<<<<<
_model.on(NATIVE_FULLSCREEN, _fullscreenChangeHandler);
=======
_model.on('fullscreenchange', _fullscreenChangeHandler);
_model.on('change:mediaType', _onMediaTypeChange, this);
_model.on('change:visualQuality', () => {
_resizeMedia();
}, this);
>>>>>>>
... |
<<<<<<<
test('tracks first frame with provider first frame event', function(assert) {
=======
// mock MediaModel
var MediaModel = function() {
this.set('state', states.IDLE);
};
_.extend(MediaModel.prototype, SimpleModel);
test('tracks first frame with provider first frame event', fu... |
<<<<<<<
_view.clickHandler().setAlternateClickHandlers(function (evt) {
=======
var _this = this;
_view.clickHandler().setAlternateClickHandler(function (evt) {
>>>>>>>
var _this = this;
_view.clickHandler().setAlternateClickHandlers(function (evt) { |
<<<<<<<
_checkPlayOnViewable(model, viewable);
if (shouldPreload(model, viewable)) {
const item = model.get('playlistItem');
model.getVideo().preload(item);
_preloaded = true;
}
=======
>>>>>>>
... |
<<<<<<<
'view/components/volumetooltip',
'view/components/drawer'
], function(utils, _, Events, Constants, UI, Slider, TimeSlider, Menu, VolumeTooltip, Drawer) {
=======
'view/components/playlist',
'view/components/volumetooltip'
], function(utils, _, Events, Constants, UI, Slider, TimeSlider, Menu, P... |
<<<<<<<
exports.LiquidPledging = require('./js/liquidPledging.js');
exports.LiquidPledgingMock = require('./js/liquidPledgingMock.js');
exports.LiquidPledgingState = require('./js/liquidPledgingState.js');
exports.LPVault = require('./js/vault.js');
=======
exports.LiquidPledging = require('./lib/liquidPledging.js')... |
<<<<<<<
SB_trace(sbCommonUtils.lang("CONNECT", url));
this.sniffer = new sbHeaderSniffer(url, gRefURL);
this.sniffer.checkURL();
=======
SB_trace(sbCommonUtils.lang("capture", "CONNECT", [url]));
// if active, start connection and capture
if (this.isActive()) {
... |
<<<<<<<
if ( !file.exists() ) { sbCommonUtils.alert(sbCommonUtils.lang("ERR_NO_FILE2URL")); window.close(); }
var lines = sbCommonUtils.readFile(file).split("\n");
=======
if ( !file.exists() ) { sbCommonUtils.alert(sbCommonUtils.lang("scrapbook", "ERR_NO_FILE2URL")); window.close(); }
... |
<<<<<<<
var options = {};
transport.sendMail(options, function(){
test.ok(options.noCR);
test.done();
});
=======
var options = {transport:new Transport("stub")};
transport.sendMail(options, function(){});
test.ok(options.noCR);
test.done... |
<<<<<<<
},
{
str: 'var x = 1;\n',
expect: 'var x = 1\n',
msg: 'Remove semicolons'
=======
},
{
str: 'var x = {key:123}\n',
expect: 'var x = {key: 123}\n',
msg: 'Space after colon (key-spacing)'
},
{
str: 'var x = {key : 123}\n',
expect: 'var x = {key: 123}\n',
msg: 'No ... |
<<<<<<<
msg: 'Remove uneeded trailing semicolons that are followed by a comment'
},
{
str: 'var x = 123; /* Useful comment */\n',
expect: 'var x = 123 /* Useful comment */\n',
msg: 'Remove uneeded trailing semicolons that are followed by a multiline comment'
=======
msg: 'Remove unneeded trail... |
<<<<<<<
// Generated by CoffeeScript 1.10.0
(function() {
var $, Range, Trie,
indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; };
=======
// Generated by CoffeeScript 1.10.0
>>>>>>>
// Generated by CoffeeScript 1.1... |
<<<<<<<
};
exports.updateServerInfo = {
setUp: function(done) {
Instance();
done();
},
'update server info': function (test) {
git.updateServerInfo(function (err, result) {
test.equals(null, err, 'not an error');
test.same(["update-server-info"], theCommandR... |
<<<<<<<
/**
* Call a simple function
* @param {Function} [then]
*/
Git.prototype.then = function(then) {
this._runCache.push(["echo ''", then]);
this._schedule();
return this;
};
=======
/**
* Show commit logs.
*
* @param {String} [from]
* @param {String} [to]
* @p... |
<<<<<<<
"Confirm to Reset ?": "确认重置?",
"New Key": "申请Key",
"Reset Key": "重置Key",
"Delete Key": "删除Key",
=======
"Confirm to Close?": "确认关闭?",
"Confirm to hang up chosen members?": "该操作会挂掉您选择的成员,是否继续?",
"Can't Delete Because The Child Group Exist!": "不能删除因为子组还在!",
>>>>>>>
"Confirm to Reset ?": "确认重置?",
"New ... |
<<<<<<<
import {createFragmentContainer, commitMutation, graphql} from 'react-relay';
// import {PeriqlesForm} from '../../module/index.js';
// import PeriqlesForm from './PeriqlesForm.js';
// import periqlesFormWrapper from './PeriqlesForm.js';
// import schema from './schema.js';
=======
import {createFragmentConta... |
<<<<<<<
_sampleIds.push(_data[i]['sample']);
_dataAttrMapArr[_data[i]["sample"]][_data[i]["attr_id"]] = _data[i]["attr_val"];
=======
_dataAttrMapArr[_data[i]["sample"]][_data[i]["attr_id"].toString().toUpperCase()] = _data[i]["attr_val"];
>>>>>... |
<<<<<<<
'makeGenePanelPopupLink': function(gene_panel_id) {
var anchor = $('<a href="#" oncontextmenu="return false;">'+gene_panel_id+'</a>');
anchor.ready(anchor.click(function() {
window.cbioportal_client.getGenePanelsByPanelId({panel_id:[gene_panel_id]}).then(function(response) {
var genes = response[0]... |
<<<<<<<
browser: detectBrowser(), // returning the browser object, not the function itself
getWindowOrigin: getOrigin,
sortByAttribute: sortByAttribute,
safeProperty: safeProperty,
autoHideOnMouseLeave: autoHideOnMouseLeave,
swapElement: swapElement
=======
browser... |
<<<<<<<
$('.attribute_name').qtip({
content: {text: 'Click to drag '},
position: {my:'left bottom', at:'top middle', viewport: $(window)},
style: { classes: 'qtip-light qtip-rounded qtip-shadow qtip-lightyellow' },
show: {event: "mouseover"},
... |
<<<<<<<
this.on('kill', function(callback) {
self.browser.quit(function() {
console.log('Killed ' + spec.testName + '.');
callback();
});
});
this._start = function (url) {
self.browser = wd.remote(config);
self.browser.init(spec, function () {
self.browser.get(url);
});
==... |
<<<<<<<
severity: severity,
ttl: _config.ttl || _ttl
=======
isWarn: severity.isWarn,
isError: severity.isError,
isInfo: severity.isInfo,
isSuccess: severity.isSuccess,
ttl: _config.ttl || _ttl,
enableHtml: _config.enableHtml || _enableHtml
>>>>>>>
severity: severity,
ttl: _co... |
<<<<<<<
this.validation = {
validate: sinon.spy(function () {return Promise.resolve(arguments[0]);}),
validationPromise: sinon.spy(function () {return Promise.resolve(arguments[0]);}),
addType: sinon.spy()
};
=======
this.resetStorage = sinon.stub().resolves();
this.rootPath = '/kuzzle';
>>>>>... |
<<<<<<<
var seriesEditorUrl = '../Series/SingleSeriesEditor';
var saveSeriesEditorUrl = '../Series/SaveSingleSeriesEditor';
var seriesDeleteUrl = '../Series/Delete';
=======
var seriesEditorUrl = '../Series/Edit';
var saveSeriesEditorUrl = '../Series/Edit';
var seriesDeleteUrl = '../Series/DeleteSeries';
>>>>>>>
... |
<<<<<<<
var FullMovieCollection = require('../FullMovieCollection');
var InCinemasCell = require('../../Cells/InCinemasCell');
=======
//var FullMovieCollection = require('../FullMovieCollection');
//var InCinemasCell = require('../../Cells/InCinemasCell');
var RelativeDateCell = require('../../Cells/RelativeDateCell... |
<<<<<<<
},{
name: 'zxsoft',
qq: '21557523',
email: 'zxsoft@gmail.com',
github: 'https://github.com/zxsoft'
}
=======
},
{
name: '企鹅',
github: 'https://github.com/zxsoft'
},
{
name: 'Ken',
github: 'https://github.com/ckken'
}
>>>>>>>
},{
name: ... |
<<<<<<<
const activeDirectoryEndpoint = 'https://login.microsoftonline.com/';
=======
const activeDirectoryEndpoint = "https://login.microsoftonline.com/";
const pjson = require('../package.json');
>>>>>>>
const activeDirectoryEndpoint = 'https://login.microsoftonline.com/';
<<<<<<<
const url = require('url');
c... |
<<<<<<<
ApiRT.prototype.indexExists = function (index) {
return this.send({
index,
controller: 'read',
action: 'indexExists'
});
};
ApiRT.prototype.collectionExists = function (index, collection) {
return this.send({
index,
collection,
controller: 'read',
action: 'collectionExists'
... |
<<<<<<<
hashover.elements.exists (id, function (element) {
element.scrollIntoView ({ behavior: 'smooth', block: 'start', inline: 'nearest' });
}, false);
=======
hashover.elementExists (id, function (element) {
element.scrollIntoView ({ behavior: 'smooth' });
}, true);
>>>>>>>
hashover.elementExists ... |
<<<<<<<
it('spits back its rules() verbatim', function () {
const rules = ruleset(
rule(dom('a'), type('A')),
rule(type('A'), type('B')),
rule(type('A'), out('ay')),
rule(type('B'), out('be'))
);
const ruleList = rules.rules();
assert.... |
<<<<<<<
Riak.prototype.log(meta.headers['content-type'] === 'application/json' ? JSON.stringify(response) : response)
=======
Riak.prototype.log(meta.type === 'application/json' ? JSON.stringify(response) : response)
},
errback: function(response, meta) {
if (response)
Riak.prototype.log((me... |
<<<<<<<
},{
title: "Titanic",
emojiImgs: "💑❄🚢⬇️",
genres: ["drama", "romance"],
type: "movie",
year: 1997,
itemLink: "https://www.imdb.com/title/tt0120338/"
},{
title: "The Wizard of Oz",
emojiImgs: "🐶🌪️🤖🦁🧙",
genres: ["adventure", "... |
<<<<<<<
title: "Bettlejuice",
emojiImgs: "⚰️🧟👰📙",
genres: ["comedy", "fantasy"],
type: "movie",
year: 1988,
itemLink: "https://www.imdb.com/title/tt0094721/"
},
{
=======
title: "Be More Chill",
emojiImgs: "👾🎮😜🎤",
genres: ["sci-fi... |
<<<<<<<
title: "Mrs. Doubtfire",
emojiImgs: "👨➡👵",
genres: ["comedy", "drama", "family"],
itemLink: "https://www.imdb.com/title/tt0107614/",
type: "movie",
year: 1993
},
{
=======
title: "Moonrise Kingdom",
emojiImgs: "⛺️🧳🌕👑",
genres... |
<<<<<<<
<Route path="/test" component={PostAdd}>
<Route path="/add" component={PostAdd} />
</Route>
<Route path="/edit" component={Edit} />
<Route path="/post/:id" component={PostView} />
=======
>>>>>>>
<Route path="/test" component={PostAdd} />
<Route path="/add" component={PostAdd} /... |
<<<<<<<
// Generated by CoffeeScript 1.6.2
=======
// Generated by CoffeeScript 1.3.2
>>>>>>>
// Generated by CoffeeScript 1.6.2
<<<<<<<
=======
>>>>>>>
<<<<<<<
=======
>>>>>>>
<<<<<<<
=======
>>>>>>>
<<<<<<<
=======
>>>>>>>
<<<<<<<
=======
>>>>>>>
<<<<<<<
=======
>>>>>>>
<<<<<<<
... |
<<<<<<<
count: 0,
tweets: [
]
=======
count: 0,
hashtag: null
>>>>>>>
count: 0,
tweets: [
],
hashtag: null
<<<<<<<
},
ADD_TWEET(state, obj) {
state.tweets.push({
id: (Math.random()*1000000000).toString(),
author: {
image_url: 'http://unsplash.it/233/233',
name: ... |
<<<<<<<
const FormTextInput = ({
className,
errorMessage,
name,
onChange,
onKeyPress,
placeholder,
value
}) => (
=======
const FormTextInput = ({className, errorMessage, name, onChange, onFocus, onBlur, placeholder, value}) => (
>>>>>>>
const FormTextInput = ({
className,
errorMessage,
name,
on... |
<<<<<<<
optionsData = {},
tabIndex
=======
optionsData = {},
selectSize
>>>>>>>
optionsData = {},
selectSize,
tabIndex
<<<<<<<
tabIndex={tabIndex}
=======
size={selectSize}
>>>>>>>
size={selectSize}
tabIndex={tabIndex} |
<<<<<<<
{
bySector,
byTag,
byLocation,
byHeadcount,
byOrgType,
byCapitalType,
byCapitalStrategic,
byCapitalStage,
byCapitalCheckSize,
},
=======
{ byCategory, byTag, byLocation, byHeadcount, byOrgType },
>>>>>>>
{
byCategory,
byTag,
... |
<<<<<<<
$('[data-fallback]').on('error', function(){
//console.log('img load failure: ' + $(this).attr('src'));
var fallback = $(this).attr('data-fallback');
$(this).attr('src', fallback);
//console.log('missing img src replaced with: ' + fallback);
});
=======
>>>>>>>
<<<<<<<
=======
$('[da... |
<<<<<<<
Promise = require('bluebird'),
=======
_ = require('lodash'),
q = require('q'),
>>>>>>>
Promise = require('bluebird'),
_ = require('lodash'),
<<<<<<<
return Promise.resolve(profile);
=======
return q(profile);
},
loadProfiles: function (profileKeys) {
var
profil... |
<<<<<<<
{
nome: 'Octávio Barbosa',
foto: 'https://avatars2.githubusercontent.com/u/40213753',
nomeDoProjeto: 'Beakmanflix',
url: 'https://beakmanflix.vercel.app/',
tags: [
'curiosidades',
'ciência',
'tecnologia',
'documentários',
],
},
=======
{
nome: 'Jonat... |
<<<<<<<
{
nome: 'Victor Akio',
foto: 'https://avatars0.githubusercontent.com/u/36519906?s=460&v=4',
nomeDoProjeto: 'Akioflix',
url: 'https://akioflix.vercel.app/',
tags: [
'front end',
'react',
'javascript',
]
},
=======
{
nome: 'William Sousa',
foto: 'https:/... |
<<<<<<<
const
Promise = require('bluebird'),
=======
var
Bluebird = require('bluebird'),
>>>>>>>
const
Bluebird = require('bluebird'), |
<<<<<<<
{
nome: 'Francisco Noberto',
foto: 'https://avatars2.githubusercontent.com/u/32619479?s=460&u=73445bb9ec11dd30e838bc7f9f2c7c8a6b0ab2d3&v=4',
nomeDoProjeto: 'Mineflix',
url: 'https://imersao-aluraflix-1bldplo65.vercel.app/',
tags: [
'minecraft',
'Jogos',
'pixelart',
],... |
<<<<<<<
cah.$.AjaxOperation.BAN = "b";
=======
cah.$.AjaxOperation.SCORE = "SC";
>>>>>>>
cah.$.AjaxOperation.BAN = "b";
cah.$.AjaxOperation.SCORE = "SC"; |
<<<<<<<
case 'sync':
if (game_id !== null) {
var game = cah.currentGames[game_id];
if (game) {
game.removeAllCards();
}
ajax = cah.Ajax.build(cah.$.AjaxOperation.GET_CARDS).withGameId(game_id);
} else {
cah.log.error("This command only ... |
<<<<<<<
should: function (roomId, index, collection, filters, not) {
var deferred = q.defer();
getFormattedFilters(roomId, index, collection, filters, not)
.then(function (formattedFilters) {
if (not) {
deferred.resolve({and: formattedFilters});
}
else {
defe... |
<<<<<<<
init () {
return this.kuzzle.internalEngine.listIndexes()
=======
init() {
return this.kuzzle.internalEngine.listIndexes()
>>>>>>>
init () {
return this.kuzzle.internalEngine.listIndexes()
<<<<<<<
add (index, collection, notify) {
=======
add(index, collection, notify = true) {
>>>>... |
<<<<<<<
var updateTwistyCallback = function(twisty) {
twisty["3d"].rotation.z += 0.01;
};
=======
// If we get here successfully, do it again!
if (animating || timing) {
animationLooping = true;
requestAnimationFrame(function() {animate(true);});
} else {
animationLooping = false;
}
... |
<<<<<<<
import Dashboard from './src/screens/Dashboard';
=======
import Register from './src/screens/Register';
>>>>>>>
import Dashboard from './src/screens/Dashboard';
import Register from './src/screens/Register';
<<<<<<<
navigationOptions: { drawerLabel: 'Presentation Screen' }
},
Dashboard: {
screen... |
<<<<<<<
import { Card, Typography, NavBar } from '..';
=======
import { Card, Text, NavBar } from '../';
>>>>>>>
import { Card, Text, NavBar } from '..'; |
<<<<<<<
import { Typography, Button } from '..';
=======
import { Text, Button } from '../';
>>>>>>>
import { Text, Button } from '..'; |
<<<<<<<
import {
Button, Icon, Typography, NavBar,
} from '..';
=======
import { Button, Icon, Text, NavBar } from '../';
>>>>>>>
import { Button, Icon, Text, NavBar } from '../';
<<<<<<<
<View style={{ flex: 1 }}>
<Typography h5>{props.title}</Typography>
<Typography muted>{props.subt... |
<<<<<<<
if(number === -1){
=======
if (number == -1) {
>>>>>>>
if (number === -1) {
<<<<<<<
if(value === "STUDENTS") {
=======
if (value == "STUDENTS") {
>>>>>>>
if (value === "STUDENTS") {
<<<<<<<
if($(tdElements).parent().prop("tagName") === "tr"){
=======
... |
<<<<<<<
capturedFramesRaw = [],
totalFrames = 0,
=======
capturedFrames = [],
curFrame = 0,
>>>>>>>
capturedFrames = [],
totalFrames = 0,
<<<<<<<
capturedFramesRaw.splice(id - 1, 1);
totalFrames--;
=======
capturedFrames.splice(id - 1, 1);
c... |
<<<<<<<
=======
isPlaying = false;
>>>>>>>
<<<<<<<
/**
* Update the frame displays and frame stats.
*/
function updateFrameReel(action, id) {
"use strict";
var imagePreview = document.querySelector(`#lastCapturedFrame${id}`);
// Display number of captured frames in status bar
statusBa... |
<<<<<<<
captureAudio = "audio/camera.wav",
audioToggle = document.querySelector("#audio-toggle"),
=======
captureAudio = new Audio("audio/camera.wav"),
playAudio = true,
>>>>>>>
captureAudio = "audio/camera.wav",
playAudio = true,
<<<<<<<
function audio(file) {
"use strict";
if (a... |
<<<<<<<
// Returns `true` if the current application is running.
=======
// Returns a boolean of weather the current application is running.
>>>>>>>
// Returns a boolean of weather the current application is running.
<<<<<<<
Sammy.RenderContext = function(event_context) {
this.event_cont... |
<<<<<<<
function stateGo() {
var fullStateName = applyDefaultChildStates(prototypalStateHolder, state.name)
attemptStateChange(fullStateName, parameters)
}
if (isTransitioning()) {
queueUpStateGo(stateGo)
} else {
stateProviderEmitter.emit('stateChangeAttempt')
stateGo()
}
=======
var full... |
<<<<<<<
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Sym... |
<<<<<<<
world.on( PUBSUB_CANDIDATES, this.check, this );
=======
world.subscribe( this.options.check, this.check, this );
>>>>>>>
world.on( this.options.check, this.check, this );
<<<<<<<
world.off( PUBSUB_CANDIDATES, this.check );
=======
... |
<<<<<<<
var _ = require('underscore');
var Promise = require('../promise');
// interface Storage {
// readonly attribute boolean async;
// string getItem(string key);
// void setItem(string key, string value);
// void removeItem(string key);
// void clear();
// Promise getItemAsync(string key);
// Promis... |
<<<<<<<
};
var request = AV._request("insight", 'jobs', null, 'POST',
=======
}
var request = AV._request("bigquery", 'jobs', null, 'POST',
>>>>>>>
};
var request = AV._request("bigquery", 'jobs', null, 'POST', |
<<<<<<<
if (OneSignal._initOptions.notificationClickHandlerMatch) {
Database.put('Options', {key: 'notificationClickHandlerMatch', value: OneSignal._initOptions.notificationClickHandlerMatch})
} else {
Database.put('Options', {key: 'notificationClickHandlerMatch', value: 'exact'})
}
=======
... |
<<<<<<<
import "./events-polyfill.js";
import Event from "./events.js";
import Bell from "./bell/bell.js";
import Database from './database.js';
import * as Browser from 'bowser';
import { isPushNotificationsSupported, isBrowserSafari, isSupportedFireFox, isBrowserFirefox, getFirefoxVersion, isSupportedSafari, getConso... |
<<<<<<<
assertHasBody = require('./util/requestAssertions').assertHasBody,
assertHasBodyHasNotAttribute = require('./util/requestAssertions').assertHasBodyHasNotAttribute,
assertHasBodyHasAttribute = require('./util/requestAssertions').assertHasBodyHasAttribute;
=======
assertHadBody = require('./util/request... |
<<<<<<<
if (OneSignal._initOptions.autoRegister == false && !registrationIdResult && !OneSignal._initOptions.subdomainName) {
Event.trigger(OneSignal.EVENTS.SDK_INITIALIZED);
=======
if (OneSignal._supportsDirectPermission() && OneSignal._initOptions.autoRegister === false) {
log.d... |
<<<<<<<
_.contains(['import', 'create', 'createCollection', 'putMapping', 'createOrUpdate'], requestObject.action)) {
=======
_.contains(['import', 'create', 'createCollection', 'updateMapping', 'createOrReplace'], requestObject.action) &&
!doesIndexExist(requestObject, indexes)) {
>>>>>>>
_.contains... |
<<<<<<<
// there is no subscribe on whole collection
should(responseObject.data.body[index][collection]).not.have.property('totalGlobals');
=======
>>>>>>>
// there is no subscribe on whole collection
should(responseObject.data.body[index][collection]).not.have.property('totalGlobals... |
<<<<<<<
=======
/*THREE.Matrix4.makeInvert3x3 = function ( m1 ) {
// input: THREE.Matrix4, output: THREE.Matrix3
// ( based on http://code.google.com/p/webgl-mjs/ )
var m33 = m1.m33, m33m = m33.m,
a11 = m1.n33 * m1.n22 - m1.n32 * m1.n23,
a21 = - m1.n33 * m1.n21 + m1.n31 * m1.n23,
a31 = ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.