conflict_resolution stringlengths 27 16k |
|---|
<<<<<<<
const progressionMeta = {
529303302: { label: "Cryptarch", color: "#C7990C", scale: ".8", order: 0 },
3233510749: { label: "Vanguard", color: "#161E28", scale: ".5", order: 1 },
1357277120: { label: "Crucible", color: "#a7342d", scale: ".8", order: 2 },
2778795080: { label: "Dead Orb... |
<<<<<<<
'$featureFlags.colorA11y': JSON.stringify(env !== 'release'),
// Whether to log page views for router events
'$featureFlags.googleAnalyticsForRouter': JSON.stringify(env !== 'release')
=======
'$featureFlags.colorA11y': JSON.stringify(env !== 'release'),
// Enable activ... |
<<<<<<<
qualityEnabled: $featureFlags.qualityEnabled,
reviewsEnabled: $featureFlags.reviewsEnabled,
=======
qualityEnabled: $featureFlags.qualityEnabled,
tagsEnabled: $featureFlags.tagsEnabled
>>>>>>>
qualityEnabled: $featureFlags.qualityEnabled,
reviewsEnabled: $featureFlags.reviewsEnabled,
... |
<<<<<<<
StoreBucketCtrl.$inject = [
'$scope',
'loadingTracker',
'dimStoreService',
'dimItemService',
'$q',
'$timeout',
'toaster',
'dimSettingsService',
'ngDialog',
'$rootScope',
'dimActionQueue',
'dimFeatureFlags',
'dimInfoService'];
function StoreBucketCtrl($sco... |
<<<<<<<
new CompositeView('network_panel', ui_strings.M_VIEW_LABEL_NETWORK, layouts.network_rough_layout);
new CompositeView('console_new', ui_strings.M_VIEW_LABEL_COMPOSITE_ERROR_CONSOLE, layouts.console_rough_layout);
new CompositeView('js_new', ui_strings.M_VIEW_LABEL_COMPOSITE_SCRIPTS, layouts.js_rough_... |
<<<<<<<
// Disable scaled option when ROI drops
vm.allowScaling = !dimSettingsService.disableQuality;
vm.scaleType = vm.allowScaling ? 'scaled' : 'base';
=======
vm.featureFlags = dimFeatureFlags;
>>>>>>>
vm.featureFlags = dimFeatureFlags;
<<<<<<<
=======
scaleType: vm.featureFlags.qu... |
<<<<<<<
const ForkTsCheckerNotifierWebpackPlugin = require('fork-ts-checker-notifier-webpack-plugin');
const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin');
=======
const svgToMiniDataURI = require('mini-svg-data-uri');
>>>>>>>
const ForkTsCheckerNotifierWebpackPlugin = require('fork-ts-check... |
<<<<<<<
vm.stats = [];
vm.targets = [];
=======
vm.target = null;
>>>>>>>
vm.stats = null;
vm.target = null;
<<<<<<<
setInfusibleItems: function(items) {
vm.infusable = items;
vm.setView();
},
setView: function() {
// let's remove th... |
<<<<<<<
var betaVersion = pkg.version.toString() + "." + (Math.floor(Date.now() / 60000) - 24298773);
var firefoxBrowserSupport = {
"gecko": {
"id": "firefox@destinyitemmanager.com",
"strict_min_version": "46.*"
}
};
=======
var betaVersion = pkg.version.toString() + "." + process.env.TRAV... |
<<<<<<<
import farmingModule from './farming/farming.module';
=======
import settingsModule from './settings/settings.module';
>>>>>>>
import farmingModule from './farming/farming.module';
import settingsModule from './settings/settings.module';
<<<<<<<
farmingModule,
=======
settingsModule,
>>>>>>>
farmin... |
<<<<<<<
function openBungieNetTab(tabs) {
if (_.size(tabs) === 0) {
chrome.tabs.create({
url: 'http://bungie.net',
active: false
});
}
}
=======
>>>>>>>
function openBungieNetTab(tabs) {
if (_.size(tabs) === 0) {
chrome.tabs.create({
... |
<<<<<<<
Loadouts: "Loadouts",
=======
Any: "Qualsiasi",
Loadouts: "Loadout",
>>>>>>>
Any: "Qualsiasi",
Loadouts: "Loadouts", |
<<<<<<<
name: 'developer',
parent: 'content',
url: '/developer',
template: developer
}, {
=======
>>>>>>> |
<<<<<<<
{ from: `./icons/${env}/icon128.png` },
{ from: `./icons/${env}/icon16.png` },
{ from: `./icons/${env}/icon19.png` },
{ from: `./icons/${env}/icon38.png` },
{ from: `./icons/${env}/icon48.png` },
{ from: `./icons/${env}/favicon-16x16.png` },
{ from: `./ico... |
<<<<<<<
/************************************************************************************************************************************/
function getBnetCookies() {
return $q(function(resolve, reject) {
chrome.cookies.getAll({
domain: 'www.bungie.net'
}, getAllCallback);
... |
<<<<<<<
// Ignore these contexts to avoid duplicate messages in the console
// when we get the results from both the ecmascript service and th
// console logger service.
const CONTEXT_BLACKLIST = [ "console.log", "console.debug",
"console.info", "console.warn", "console.error", "console.assert",
"cons... |
<<<<<<<
}
if (!that.justCounting[turtle]) {
//debugger;
console.log("notes to play " + notes + ' ' + noteBeatValue);
=======
>>>>>>>
<<<<<<<
if (!that.suppressOutput[turtle] && durati... |
<<<<<<<
toolbar.closeAuxToolbar(_showHideAuxMenu);
=======
deltaY(-55 - LEADING); // DO WE NEED THIS?
toolbar.closeAuxToolbar();
>>>>>>>
toolbar.closeAuxToolbar(_showHideAuxMenu);
<<<<<<<
=======
// Return to home position after loading new blocks.
blocksContaine... |
<<<<<<<
const BUILTINMACROS= ['note', 'rhythmicdot', 'tie', 'dividebeatfactor', 'multiplybeatfactor', 'duplicatenotes', 'skipnotes', 'setbpm', 'drift', 'osctime', 'sharp', 'flat', 'settransposition', 'invert', 'staccato', 'slur', 'swing', 'crescendo', 'setnotevolume2', 'articulation', 'matrix', 'pitchdrummatrix... |
<<<<<<<
this.beginnerBlock(true);
this.setHelpString([_('The Neighbor block rapidly switches between neighboring pitches.'), 'documentation', null, 'neighbor2help']);
=======
this.beginnerBlock(true);
>>>>>>>
this.beginnerBlock(true);
this.setHelpString([_('The Neighbor block... |
<<<<<<<
var logo = that; // For plugin backward compatibility
=======
// console.log('run from block now');
var logo = that; // For plugin backward compatibility
>>>>>>>
var logo = that; // For plugin backward compatibility
<<<<<<<
=======
clearTimeout(this.saveTimeout... |
<<<<<<<
const BUILTINMACROS= ['note', 'rhythmicdot', 'tie', 'dividebeatfactor', 'multiplybeatfactor', 'duplicatenotes', 'skipnotes', 'setbpm', 'drift', 'osctime', 'sharp', 'flat', 'settransposition', 'invert', 'invert2', 'staccato', 'slur', 'swing', 'crescendo', 'setnotevolume2', 'articulation', 'matrix', 'pitc... |
<<<<<<<
ui_strings.S_TOGGLE_PAUSED_UPDATING_NETWORK_VIEW = "Pause updating network activity";
/* DESC: Context menu item for expanding a node subtree. */
ui_strings.M_CONTEXTMENU_EXPAND_SUBTREE = 'Expand subtree';
/* DESC: Context menu item for collapsing a node subtree. */
ui_strings.M_CONTEXTMENU_COLLAPSE_SUBTREE =... |
<<<<<<<
=======
var modenameBlock = new ProtoBlock('modename');
modenameBlock.palette = palettes.dict['pitch'];
blocks.protoBlockDict['modename'] = modenameBlock;
modenameBlock.valueBlock();
modenameBlock.dockTypes[0] = 'textout';
var accidentalnameBlock = new ProtoBlock('accidentalname');
... |
<<<<<<<
const INLINECOLLAPSIBLES = ['newnote'];
const COLLAPSIBLES = ['drum', 'start', 'action', 'matrix', 'pitchdrummatrix', 'rhythmruler2', 'timbre', 'status', 'pitchstaircase', 'tempo', 'pitchslider', 'modewidget', 'newnote', 'musickeyboard'];
=======
const COLLAPSABLES = ['drum', 'start', 'action', 'matrix', 'tem... |
<<<<<<<
this.vibratoIntensity[turtle] = [];
this.vibratoTime[turtle] = [];
=======
this.dispatchFactor[turtle] = 1;
>>>>>>>
this.vibratoIntensity[turtle] = [];
this.vibratoTime[turtle] = [];
this.dispatchFactor[turtle] = 1;
<<<<<<<
... |
<<<<<<<
_hideTreble();
_hideGrand();
_hideSoprano();
_hideAlto();
_hideTenor();
_hideBass();
=======
if (_THIS_IS_MUSIC_BLOCKS_) {
_hideTreble();
_hideGrand();
_hideSoprano();
_hideAlto();
_hideTenor();
_hideBass();
}
>>>>>>>
if (_THIS_... |
<<<<<<<
const COLLAPSABLES = ['drum', 'start', 'action', 'matrix', 'pitchdrummatrix', 'rhythmruler'];
=======
const COLLAPSABLES = ['drum', 'start', 'action', 'matrix', 'pitchdrummatrix', 'status'];
>>>>>>>
const COLLAPSABLES = ['drum', 'start', 'action', 'matrix', 'pitchdrummatrix', 'rhythmruler', 'status'];
<<<<<... |
<<<<<<<
(function($){
var Checker,
__bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; };
Checker = (function() {
function Checker($el, field) {
this.run = __bind(this.run, this);
var sel;
sel = field[0], this.metric = field[1];
this.getVal = this.makeGetVal($el, sel)... |
<<<<<<<
function canChrome(){
var location = this.win.wrappedJSObject.location,
protocol = location.protocol;
return protocol === "chrome:" ||
location.toString().indexOf("http://localhost:" + serverPort) == 0;
}
function canServer(){
return canChrome() ||
... |
<<<<<<<
//= require sync
=======
//= require rails-timeago
>>>>>>>
//= require rails-timeago
//= require sync |
<<<<<<<
//= require sync
//= require_tree .
=======
//= require api
//= require bootstrap
//= require documentation
//= require scrapers
//= require scraperwiki_forks
//= require static
//= require users
>>>>>>>
//= require api
//= require bootstrap
//= require documentation
//= require scrapers
//= require scraperw... |
<<<<<<<
import TeamMember from './TeamMember/TeamMember';
import { I18n, Trans } from 'react-i18next';
=======
import styles from './About.scss';
>>>>>>>
import styles from './About.scss';
import { I18n, Trans } from 'react-i18next';
<<<<<<<
<I18n ns="translations">
{(t) => (
<div id="about">
=======
<div id=... |
<<<<<<<
componentDidMount() {
this.focusWalletAddress();
}
=======
componentDidMount() {
if(this.walletInputEl) {
this.walletInputEl.focus();
}
}
>>>>>>>
componentDidMount() {
if(this.walletInputEl) {
this.walletInputEl.focus();
}
}
<<<<<<<
if(this.walletInputEl) {... |
<<<<<<<
import i18n from '../../../../../../../i18n';
import { I18n } from 'react-i18next';
import equals from 'deep-equal';
=======
import equals from 'shallow-equals';
>>>>>>>
import equals from 'shallow-equals';
import i18n from '../../../../../../../i18n';
import { I18n } from 'react-i18next'; |
<<<<<<<
<I18n ns="translations">
{(t, { i18n }) => (
<div id="header">
=======
<div className={`${styles.header} ${window.location.pathname === '/' ? styles.home : ''}`}>
>>>>>>>
<I18n ns="translations">
{(t, { i18n }) => (
<div className={`${styles.header} ${window.location.pathname === '/' ? ... |
<<<<<<<
/* istanbul ignore next */
if (window.ga) {
window.ga('send', 'event', {
eventCategory: 'Amount input',
eventAction: 'Amount too high/low error',
});
}
=======
window.ga('send', 'event', {
eventCategory: 'Amount input',
eventAction: ... |
<<<<<<<
<p>
<b>{t('order.fiat.status.reject')}:</b> {user_visible_comment}
</p>
=======
<h3 className={styles.subtitle} style={{ marginBottom: 5 }}>
<b>Reason for rejection:</b> {user_visible_comment}
</h3>
>>>>>>>
<h3 className=... |
<<<<<<<
import CoinProcessed from './CoinProcessed';
import ReferralBox from '../../containers/ReferralBox';
import RefundAddress from '../../containers/RefundAddress'
=======
import Loading from '../../components/Loading';
>>>>>>>
import ReferralBox from '../../containers/ReferralBox';
import RefundAddress from '..... |
<<<<<<<
<I18n ns="translations">
{(t) => (
<div id="hero">
<ErrorAlert />
=======
<div className={styles.hero}>
<ErrorAlert />
>>>>>>>
<I18n ns="translations">
{(t) => (
<div className={styles.hero}>
<ErrorAlert />
<<<<<<<
<div className="brand">
<h1>{t('hero.1'... |
<<<<<<<
ret += "<rule rule-id='" + style_dec[RULE_ID] + "' obj-id='" + obj_id + "'>" +
(sheet ?
"<stylesheet-link rt-id='" + rt_id + "'"+
" index='" + sheet.index + "' handler='display-rule-in-stylesheet'>" + sheet.name +
"</stylesheet-link>" :
"")+
"<selector... |
<<<<<<<
import styles from './CoinSelector.css';
import i18n from '../../../../../../i18n';
=======
import styles from './CoinSelector.scss';
>>>>>>>
import styles from './CoinSelector.scss';
import i18n from '../../../../../../i18n';
<<<<<<<
// Check if pair is valid. If not, show error.
if (nextDepositCo... |
<<<<<<<
var textarea = container.clearAndRender(this._tmpl_edit());
textarea.value = this._current_style;
setTimeout(function() {
textarea.focus();
textarea.selectionEnd = textarea.value.length;
textarea.releaseEvent('input');
}, 1);
=======
if (this._stylesheet)
{
var ... |
<<<<<<<
import "./eco-json-schema-fieldset.js";
=======
import "./eco-json-schema-markup.js";
>>>>>>>
import "./eco-json-schema-fieldset.js";
import "./eco-json-schema-markup.js";
<<<<<<<
console.log(
"tabs\nproperty.value",
property.value,
"\nschema.value",
... |
<<<<<<<
this.__tabFocus = 0;
}
get buttons() {
return this.__tabButtons;
=======
this.addEventListener("a11y-tab-changed", (e) => this.updateTabs());
>>>>>>>
this.__tabFocus = 0;
this.addEventListener("a11y-tab-changed", (e) => this.updateTabs());
}
get buttons() {
return this.__tabBu... |
<<<<<<<
import "@github/time-elements";
=======
import "./lib/threaded-discussion-form.js";
>>>>>>>
import "@github/time-elements";
import "./lib/threaded-discussion-form.js"; |
<<<<<<<
=======
/**
* Set event listeners
* @returns {void}
*/
ready() {
super.ready();
let root = this;
if (this.shadowRoot.querySelector("#listbox") !== undefined) {
this.shadowRoot
.querySelector("#listbox")
.addEventListener("click", function(e) {
root._ha... |
<<<<<<<
import { LitElement, html, css } from "lit-element/lit-element.js";
import { HAXWiring } from "@lrnwebcomponents/hax-body-behaviors/lib/HAXWiring.js";
import "@polymer/iron-icons/iron-icons.js";
import "@polymer/iron-icon/iron-icon.js";
=======
import { LitElement, html } from "lit-element/lit-element.js";
im... |
<<<<<<<
this.__tabFocus = 0;
}
get buttons() {
return this.__tabButtons;
=======
this.addEventListener("a11y-tab-changed", (e) => this.updateTabs());
>>>>>>>
this.__tabFocus = 0;
this.addEventListener("a11y-tab-changed", (e) => this.updateTabs());
}
get buttons() {
return this.__tabBu... |
<<<<<<<
const evt = new CustomEvent("user-engagement", {
bubbles: true,
composed: true,
cancelable: false,
detail: { nameOfQuiz: this.quizName, passed: gotRight }
});
this.dispatchEvent(evt);
=======
// start of data passing, this is a prototype atm
this.dispatchEvent(
... |
<<<<<<<
};
var test3 = {
"queryInfo":{
"totalRows":"13"
},
"resultset":[["2010-05-02",0],["2010-05-09",0],["2010-05-16",0],["2010-05-23",0],["2010-05-30",0],["2010-06-06",0],["2010-06-13",0],["2010-06-20",0],["2010-06-27",0],["2010-07-04",0],["2010-07-11",0],["2010-07-18",161248.9633616415],["2010... |
<<<<<<<
if (this._filter(message))
{
this.addentry(message);
}
};
this._filter = function(message)
{
if (!this._filters.hasOwnProperty('css'))
{
this._set_css_filter();
}
if (message.source == "css" && this._filters.css)
{
for (var i = 0, filter; filter = this._f... |
<<<<<<<
})
OverpassLayer.twig.extendFilter('websiteUrl', function (value) {
if (value.match(/^https?:\/\//)) {
return value
}
return 'http://' + value
=======
})
OverpassLayer.twig.extendFilter('matches', function (value, match) {
return value.match(match)
>>>>>>>
})
OverpassLayer.twig.extendFilter('web... |
<<<<<<<
todayConfirmedString = `( +${formatNumber(
pref.newlyConfirmed
)} )`;
=======
totalNewlyConfirmed += pref.newlyConfirmed;
todayConfirmedString = `( +${pref.newlyConfirmed} )`;
>>>>>>>
totalNewlyConfirmed += pref.newlyConfirmed;
todayConfirmedStr... |
<<<<<<<
if (pref.name == 'Unspecified') {
=======
if(pref.name == 'Unspecified'){
>>>>>>>
if(pref.name == 'Unspecified'){
<<<<<<<
ddb.prefectures.map(function (prefecture) {
=======
ddb.prefectures.map(function(prefecture){
>>>>>>>
ddb.prefectures.map(function(prefecture){
<<<<<<<
... |
<<<<<<<
import htmlTemplate from './htmlTemplate';
=======
import resetCSS from './lib/reset-css';
import assets from './lib/assets';
>>>>>>>
import assets from './lib/assets';
import htmlTemplate from './htmlTemplate';
<<<<<<<
const bundle = ['javascript', `${data.site}.${data.page.toLowerCase()}.js`];
======... |
<<<<<<<
import Operations from '@advancedalgos/operations-client'
// import FinancialBeings from '@advancedalgos/financial-beings-client'
import { FINANCIAL_BEINGS } from './constants/routes'
=======
import FinancialBeings from '@advancedalgos/financial-beings-client'
>>>>>>>
import FinancialBeings from '@advanceda... |
<<<<<<<
=======
import { MessageCard, ImageUpload } from '@advancedalgos/web-components'
>>>>>>>
import { MessageCard, ImageUpload } from '@advancedalgos/web-components'
<<<<<<<
console.log(this.props, this.props.slug)
const { classes, team } = this.props
=======
console.log('ManageTeamEdit ', this.... |
<<<<<<<
"cookie_manager":
{
"default":
{
},
"edit":
{
"enter": "submit",
"escape": "cancel"
}
}
=======
"js_source":
{
"default":
{
"up": "scroll-arrow-up",
"down": "scroll-arrow-down... |
<<<<<<<
path='/keys'
=======
exact
path='/key-vault'
>>>>>>>
path='/key-vault' |
<<<<<<<
const { sendTeamMemberInvite, verifyInviteToken } = require('./email/sendgrid')
const {
createStoragePipline,
createServiceURL,
listContainers,
createContainer,
createBlob,
uploadBlob,
downloadBlob,
deleteBlob,
deleteContainer
} = require('./storage/azure')
//var azure = require('azure-stora... |
<<<<<<<
const transformedOperationsSchema = await createTransformedRemoteSchema(
'operations_',
process.env.OPERATIONS_API_URL,
process.env.OPERATIONS_API_PRESHARED)
=======
logger.info('Financial Beings schema created')
const transformedNotificationsSchema = await createTransformedRemoteSchema(
... |
<<<<<<<
this.get_body = function(entry)
{
entry.called_get_body = true;
var contentmode = cls.ResourceUtil.mime_to_content_mode(entry.mime);
var typecode = {datauri: 3, string: 1}[contentmode] || 1;
var tag = window.tagManager.set_callback(this, this._handle_get_resource, [entry.resource_id]);
t... |
<<<<<<<
// PREF: Disable clipboard event detection (onCut/onCopy/onPaste) via Javascript
=======
// PREF: Disable clipboard manipulation via JavaScript
// NOTICE: Disabling clipboard events breaks Ctrl+C/X/V copy/cut/paste functionaility in JS-based web applications (Google Docs...)
>>>>>>>
// PREF: Disable clipboar... |
<<<<<<<
.pipe(source(destination.fileName))
=======
.on('error', onError)
.pipe(source(destination.saveFile))
>>>>>>>
.on('error', onError)
.pipe(source(destination.fileName)) |
<<<<<<<
autoStart: false,
timeout: 180,
ignoreCors: false
=======
autoStart: false,
timeout: 180,
branchTracking: false
>>>>>>>
autoStart: false,
timeout: 180,
ignoreCors: false,
branchTracking: false
<<<<<<<
=======
var b... |
<<<<<<<
autoStart: false,
timeout: 180,
ignoreCors: false
=======
autoStart: false,
timeout: 180,
branchTracking: false
>>>>>>>
autoStart: false,
timeout: 180,
ignoreCors: false,
branchTracking: false
<<<<<<<
=======
var b... |
<<<<<<<
(no_contextmenu ? "" : "data-menu='dom-element' ") +
(is_script_node ? "class='non-editable'" : "") + ">" +
(node[CHILDREN_LENGTH] ?
=======
"data-menu='dom-element' " +
"class='spotlight-node " + (is... |
<<<<<<<
=======
var skipped = 0;
>>>>>>>
var skipped = 0; |
<<<<<<<
function stopAudioPreview() {
// stop any preview playing
$('#jquery_jplayer_1').jPlayer('stop');
}
function isFadeValid(fade) {
var regExpr = new RegExp("^\\d{2}([.]\\d{1,6})?$");
return regExpr.test(fade);
}
function isTimeValid(time) {
var regExpr = new RegExp("^\\d{2}[:]\\d{2}[:]\\d{2}... |
<<<<<<<
/**
* Start detection.
*
* @method on
* @param {Function} [callback] Callback after starting detection.
*/
proto.on = function (callback) {
=======
proto.measure = proto.on = function(callback) {
>>>>>>>
/**
* Start detection.
*
* @method on
* @param {Function} [callback] C... |
<<<<<<<
last_spotlight_commands = join.call(arguments);
services['ecmascript-debugger'].post
(
"<spotlight-objects>" +
get_command(node_id, scroll_into_view, type || "default") +
( settings.dom.get('lock-selecked-elements')
&& locked_elements.map(get_locked_com... |
<<<<<<<
=======
this.registerTask('amd', ['babel:amd', 'requirejs']);
this.registerTask('test', ['test:bin', 'test:cov']);
>>>>>>>
this.registerTask('test', ['test:bin', 'test:cov']); |
<<<<<<<
SafeString.prototype.toString = function() {
return this.string.toString();
=======
Handlebars.SafeString.prototype.toString = function() {
return "" + this.string;
>>>>>>>
SafeString.prototype.toString = function() {
return "" + this.string;
<<<<<<<
export function extend(obj, value) {
for(var ke... |
<<<<<<<
validateInput(input, options);
=======
if (input == null || (typeof input !== 'string' && input.type !== 'Program')) {
throw new Exception('You must pass a string or Handlebars AST to Handlebars.compile. You passed ' + input);
}
options = extend({}, options);
if (!('data' in options)) {
opt... |
<<<<<<<
this.toyParts = []
=======
this.id = id;
>>>>>>>
this.toyParts = []
this.id = id;
<<<<<<<
=======
this.animations['death'].container.classList.add('is-active')
window.setTimeout(() => {
this.dead = false
this.animations['death'].container.classList.remove('is-active')... |
<<<<<<<
this.container.classList.remove('is-grabbing');
Transition.trigger();
=======
const direction = this.slider.value > this.activeIndex + 1 ? 'next' : 'prev';
Transition.trigger(direction);
>>>>>>>
this.container.classList.remove('is-grabbing');
Transition.trigger();
Transition.trigg... |
<<<<<<<
updateScore(id, score) {
=======
updateScore(id) {
const { toysCapacity } = app.LevelManager
>>>>>>>
updateScore(id, score) {
<<<<<<<
const domNumber = this.elem.querySelector(`.toys-board__player--${id} .toys-board__number`)
domNumber.innerHTML = score
=======
const domScore = this.... |
<<<<<<<
this.body.position.set(-this.size / 2, 100, -this.size / 2) // y: 100 to prevent the body to interact with anything in the scene
=======
this.currentMass = this.mass
this.body.position.set(-this.size / 2, -100, -this.size / 2) // y: -100 to prevent the body to interact with anything in the scene
... |
<<<<<<<
this.slider.addEventListener('mousedown', () => {
this.container.classList.add('is-grabbing');
});
this.slider.addEventListener('mouseup', () => {
this.container.classList.remove('is-grabbing');
Transition.trigger();
Scene.update(this.slider.value);
Nav.update(this.slid... |
<<<<<<<
// // LEVEL 1 - FENCES
// {
// type: 'fence',
// config: {
// x: 24,
// y: 10,
// cells: [
// [
// {
// top: true,
// },
// {
// top: true,
// },
// ... |
<<<<<<<
this.updateLevel()
=======
this.updateLevelAndShow();
>>>>>>>
this.updateLevel();
<<<<<<<
this.elem.classList.remove('is-hidden')
=======
this.game.pause();
this.elem.classList.remove('is-hidden');
// To do: start countdown
setTimeout(() => {
// unfreeze game
t... |
<<<<<<<
'presenthavoc': _msg`scene_presenthavoc`,
'press': _msg`press`,
=======
>>>>>>>
'presenthavoc': _msg`scene_presenthavoc`, |
<<<<<<<
resetControls(terrain) {
// reset controls where the camera is currently looking at
const target = this.getLookAtPointOnTerrain(terrain)
this.controls.target.set(target[0].point.x, target[0].point.y, target[0].point.z) // final pos
}
showHelpers() {
=======
showHelpers(scene) {
>>>>>>>
... |
<<<<<<<
this._on_setting_change_bound = function(msg)
{
if (msg.id == "repl" && msg.key == "max-typed-history-length")
{
this._max_typed = settings.command_line.get(msg.key);
}
}.bind(this);
this._on_profile_disabled_bound = function(msg)
{
if (msg.profile == window.app.profiles.DEFAUL... |
<<<<<<<
import Sky from '../SceneSubjects/Sky/index.js'
=======
import PlaneHelper from '../SceneSubjects/PlaneHelper/index.js'
>>>>>>>
import Sky from '../SceneSubjects/Sky/index.js'
import PlaneHelper from '../SceneSubjects/PlaneHelper/index.js'
<<<<<<<
this.cameraCtrl.rotate('left', false, true)
=======
... |
<<<<<<<
import SoundManager from '../managers/SoundManager.js'
=======
import CameraController from '../components/CameraController/index.js'
>>>>>>>
import SoundManager from '../managers/SoundManager.js'
import CameraController from '../components/CameraController/index.js' |
<<<<<<<
import SceneManager from '../SceneManager/index.js'
import SoundManager from '../../managers/SoundManager.js'
=======
>>>>>>>
import SoundManager from '../../managers/SoundManager.js' |
<<<<<<<
if (levelWasCleared) {
return;
}
=======
localStorage.setItem('level_' + window.level.id, "solved");
>>>>>>>
if (levelWasCleared) {
return;
}
localStorage.setItem('level_' + window.level.id, "solved");
<<<<<<<
$('#win-next-level').click(goToNextLevel);
=======
$('#win-next-level').click(functi... |
<<<<<<<
// add ( something something (something something) ) to buffer
buffer += str.substring(i, j);
=======
// add ( something something (something something) ) to codeBuffer
// TODO: may need to substring j+1
codeBuffer += str.substring(i, j+1);
>>>>>>>
// add ( something something (... |
<<<<<<<
, fs = require('fs')
, eslint = require('gulp-eslint')
, nunjucks_extensions = require('./js/nunjucks_extensions');
=======
, fs = require('fs');
>>>>>>>
, eslint = require('gulp-eslint')
, fs = require('fs');
<<<<<<<
gulp.task('lint', () => {
// ESLint ignores files with "node_modules" path... |
<<<<<<<
'api', '$q', '$scope', 'blog', 'notify', 'gettext',
'upload', 'config', '$rootScope', 'embedService', 'postsService', 'modal'
=======
'api', '$q', '$scope', 'blog', 'notify', 'gettext', '$route',
'upload', 'config', '$rootScope', 'embedService', 'postsService', 'modal',
... |
<<<<<<<
gettext, modal, $q, upload, datetimeHelper, moment, config) {
=======
gettext, modal, $q, upload, config, blogSecurityService) {
>>>>>>>
gettext, modal, $q, upload, datetimeHelper, moment, config, blogSecurityService) {
<<<<<<<
'gettext', 'modal', '$q', 'upload', 'datetimeHel... |
<<<<<<<
window.addEventListener('keyup', globalKeyHandler, false);
function globalKeyHandler(e) { // global hotkey navigation
if ((e.keyCode || e.which) === 27) {
$window.history.back(); // close on ESC
}
}
=======
$... |
<<<<<<<
var splitDate = datetimeHelper.splitDateTime(
vm.newBlog.start_date,
config.defaultTimezone
);
vm.start_date = splitDate.date;
vm.start_time = splitDate.time;
} else {
var today = moment.tz(config.defaultTimez... |
<<<<<<<
themeCreationRestrictions: {team: 3},
excludedTheme: 'angular',
=======
assignableUsers: {
solo: 3,
team: 10
},
>>>>>>>
themeCreationRestrictions: {team: 3},
excludedTheme: 'angular',
assignabl... |
<<<<<<<
self.ready();
$('[data-icon="close"]').show();
=======
addContentBtns.show();
>>>>>>>
self.ready();
$('[data-icon="close"]').show();
addContentBtns.show(); |
<<<<<<<
if (state.error) handleError();
=======
scope.consumerBlogId = state.consumerBlogId;
>>>>>>>
scope.consumerBlogId = state.consumerBlogId;
if (state.error) handleError(); |
<<<<<<<
} else {
// return the options when there is no more parent theme
// set default settings value from options default values
options.forEach(function(option) {
if (!angular.isDefined(theme.settings[option.name])) {
... |
<<<<<<<
/* DESC: Button title for button that sets the start time to the first event, can be removed when DFL-3501 is integrated */
ui_strings.S_SWITCH_CHANGE_START_TO_FIRST_EVENT = "Change start time to first event";
=======
>>>>>>> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.