conflict_resolution stringlengths 27 16k |
|---|
<<<<<<<
// Custom Extra Liners (empty) - ()
opts.extra_liners = [];
test_fragment('<html><head><meta></head><body><div><p>x</p></div></body></html>', '<html>\n<head>\n <meta>\n</head>\n<body>\n <div>\n <p>x</p>\n </div>\n</body>\n</html>');
// Custom Extra Liners (defaul... |
<<<<<<<
=======
if(configuration.assocs) {
classObj.assocs = configuration.assocs;
instanceObj.assocs = configuration.assocs;
}
>>>>>>> |
<<<<<<<
/* useless but can be overwitten */
parse: function(properties) {
return properties;
},
post: function(data) {
fetch(this.url(), {
method: 'post',
headers: {
'Accept': 'application/json',
'Content-Type': 'application/json'
},
body: ... |
<<<<<<<
httpParse: function(data, direction) {
return data;
},
=======
/* useless but can be overwitten */
parse: function(properties) {
return properties;
},
>>>>>>>
httpParse: function(data, direction) {
return data;
},
/* useless but can be overwitten */
par... |
<<<<<<<
//disabledCmds errors.
if (typeof musicbot.disabledCmds !== 'object') {
console.log(new TypeError(`disabledCmds must be an array`));
process.exit(1);
};
=======
>>>>>>> |
<<<<<<<
import Navigation from './components/Navigation/Navigation';
import Footer from './components/Footer/Footer';
import Contributors from './components/Contributors/Contributors';
import GetStarted from './components/Get_started/Get_started';
import Introduction from './components/Introduction/Introducti... |
<<<<<<<
import { Testimonial } from '../Components';
=======
import { createStructuredSelector } from 'reselect';
import Testimonial from '../Components/Testimonial';
>>>>>>>
import { Testimonial } from '../Components';
import { createStructuredSelector } from 'reselect'; |
<<<<<<<
// remove the __tests__ directory that come with React Native
filesystem.remove('__tests__')
// copy our App directory
=======
// copy our App & Tests directories
>>>>>>>
// remove the __tests__ directory that come with React Native
filesystem.remove('__tests__')
// copy our App & Tests direc... |
<<<<<<<
=======
this.handlePressLogin = this.handlePressLogin.bind(this)
this.handlePressLogout = this.handlePressLogout.bind(this)
this.handlePressRocket = this.handlePressRocket.bind(this)
this.handlePressSend = this.handlePressSend.bind(this)
this.handlePressStar = this.handlePressStar.bind(thi... |
<<<<<<<
import { fakeAccountLogin, getFakeCaptcha } from '../services/api';
=======
import { stringify } from 'qs';
import { fakeAccountLogin } from '../services/api';
>>>>>>>
import { stringify } from 'qs';
import { fakeAccountLogin, getFakeCaptcha } from '../services/api';
<<<<<<<
*getCaptcha({ payload }, { c... |
<<<<<<<
componentDidUpdate(preProps) {
if (this.props.data !== preProps.data) {
this.getLegendData();
=======
componentWillReceiveProps(nextProps) {
const { data } = this.props;
if (data !== nextProps.data) {
this.getLengendData();
>>>>>>>
componentDidUpdate(preProps) {
const { data... |
<<<<<<<
const applyCommit = (state, commitId, reducer) => {
const { history } = state;
=======
const applyCommit = (state, targetActionIndex, reducer) => {
const history = state.get('history');
>>>>>>>
const applyCommit = (state, targetActionIndex, reducer) => {
const { history } = state;
<<<<<<<
if (histor... |
<<<<<<<
unstack: false
=======
unstack: false,
opacity: 1.0
>>>>>>>
unstack: false,
opacity: 1.0
<<<<<<<
.attr("height", function(d) { return graph.y.magnitude(Math.abs(d.y)) })
.attr("transform", transform);
=======
.attr("opacity", series.opacity)
.attr("height", function(d) { ... |
<<<<<<<
usageRecord.totalTimeThisPlay = Math.max(usageRecord.recordingDuration, usageRecord.currentPlayTime + usageRecord.totalTimeThisPlay);
usageRecord.maxViewingTime = Math.max(usageRecord.maxViewingTime, usageRecord.totalTimeThisPlay);
=======
usageRecord.tota... |
<<<<<<<
* Whether the given comment should be included in the base side of the
* given patch range.
* @param {!Object} comment
* @param {!Gerrit.PatchRange} range
* @return {boolean}
*/
=======
* Whether the given comment should be included in the base side of the
* given patch range.
*
* @par... |
<<<<<<<
], function(dialog, LZString, state, utils, audio, storage, stickerLib, selectionSerializer, udacityUser, marked) {
=======
], function(dialog, LZString, state, utils, audio, storage, stickerLib, localizer, selectionSerializer, marked) {
>>>>>>>
], function(dialog, LZString, state, utils, audio, storage, sti... |
<<<<<<<
editable
=======
inputProps,
>>>>>>>
editable
inputProps,
<<<<<<<
testID={testID || undefined}
editable={editable} />
=======
testID={testID || undefined}
{...inputProps} />
>>>>>>>
testID={testID || undefined}
editable={... |
<<<<<<<
<<<<<<< HEAD
import DefaultPluginRegister from "../../lib-es5/Core/Node/DefaultPluginRegister"
import GrimoireInterface from "../../lib-es5/Core/GrimoireInterface"
import NamespacedIdentity from "../../lib-es5/Core/Base/NamespacedIdentity"
=======
import GrimoireInterface from "../../lib-es5/Core/GrimoireInterf... |
<<<<<<<
'force_auth(/)': showView(SignInView, { forceAuth: true }),
'oauth/signin(/)': showView(SignInView, { isOAuth: true })
=======
'force_auth(/)': showView(SignInView, { forceAuth: true }),
'cookies_disabled(/)': showView(CookiesDisabledView)
>>>>>>>
'force_auth(/)': showView(SignI... |
<<<<<<<
'views/oauth_sign_in',
=======
'views/force_auth',
>>>>>>>
'views/oauth_sign_in',
'views/force_auth',
<<<<<<<
OAuthSignInView,
=======
ForceAuthView,
>>>>>>>
OAuthSignInView,
ForceAuthView, |
<<<<<<<
.then(function (accountData) {
return self.onSignUpSuccess(accountData);
=======
.then(function () {
self.navigate('confirm');
>>>>>>>
.then(function (accountData) {
return self.onSignUpSuccess(accountData);
<<<<<<<
},
onSignUpSuccess: function(... |
<<<<<<<
var calName = $('#calendarNameTxt').val();
var link = $('#fromPublicCalendar').val();
if(calName.length === 0){
=======
var calendarName = $('#calendarNameTxt').val();
va... |
<<<<<<<
=======
if(viewType == "thumbnails" || viewType == "list"){
$('#top-bar-editBtn').hide();
}
>>>>>>>
if(viewType == "thumbnails" || viewType == "list"){
$('#top-bar-editBtn').hide();
} |
<<<<<<<
_computeShowPrimaryTabs(dynamicTabContentEndpoints) {
return dynamicTabContentEndpoints.length > 0;
},
=======
/**
* Gets base patch number, if is a parent try and
* decide from preference weather to default to `auto merge`
* or `Parent 1`.
* @param {Object} change
... |
<<<<<<<
common.populateUsersForGroups('#sourceUsers','#targetUsers',this.currentModel.toJSON(),this.page);
common.populateUsers("#allUsers", "/Users",this.currentModel.toJSON(),null,true);
common.populateDepartmentsList("#sourceGroups","#targetGroups", "/Departments",this... |
<<<<<<<
=======
getProjectPMForDashboard:getProjectPMForDashboard,
getProjectStatusCountForDashboard:getProjectStatusCountForDashboard,
>>>>>>>
getProjectPMForDashboard:getProjectPMForDashboard,
getProjectStatusCountForDashboard:getProjectStatusCountForDashboard, |
<<<<<<<
jsonProfile.profileAccess[i].read = readAccess[i];
jsonProfile.profileAccess[i].editWrite = writeAccess[i];
jsonProfile.profileAccess[i].del = deleteAccess[i];
=======
jsonProfile.profileAccess[i].access.read = readAccess[i];
... |
<<<<<<<
var collection = new ContentCollection({ viewType: 'list', page: 1, count: 5 });
=======
var collection = new ContentCollection({ viewType: 'list', page: 1, count: 50 });
>>>>>>>
var collection = new ContentCollection({ viewType: 'list', page: 1, count: 50 });
... |
<<<<<<<
resizable:true,
dialogClass:"edit-person-dialog",
title: "Personal Info",
width:"80%",
height:690
=======
resizable:false,
title: "Edit Person",
dialogClass: "edit-person-dialog"
>>>>>>>
... |
<<<<<<<
if (val || title) {
var formModel = this.formModel;
var notes = formModel.get('notes');
var arrKeyStr = $('#getNoteKey').attr("value");
var noteObj = {
note: '',
title:... |
<<<<<<<
var collection = new ContentCollection({ viewType: 'list', page: 1, count: 5, status: [], parrentContentId: parrentContentId });
=======
var collection = new ContentCollection({ viewType: 'list', page: 1, count: 50, status: [] });
>>>>>>>
var collection = new ... |
<<<<<<<
=======
viewType: null,
contentType: null,
>>>>>>>
viewType: null,
contentType: null,
<<<<<<<
=======
getListLength: function (callback) {
dataService.getData("/getPersonListLength", {}, function (respo... |
<<<<<<<
var es6computedPropertyKeys = require('es6-computed-property-keys');
=======
var es6comprehensions = require('es6-comprehensions');
var es6computedProperties = require('es6-computed-properties');
>>>>>>>
var es6computedProperties = require('es6-computed-properties'); |
<<<<<<<
* Version: 1.3-devel
* Updated: 2013-08-26
=======
* Version: 1.2.2
* Updated: 2013-08-29
>>>>>>>
* Version: 1.3-devel
* Updated: 2013-08-31
<<<<<<<
set(_rowlock_, opt.rowlock);
set(_framelock_, opt.framelock);
set(_dimensions_, size);
=======
>... |
<<<<<<<
rebound: 0.5, // time spent on the edge (in seconds) of a non-looping panorama before it bounces back
=======
rebound: 0.5,
loading: 'Loading...', // label used for preloader
path: '', // URL path to be prepended to `image` or `images` filenames
pre... |
<<<<<<<
* Updated: 2013-02-20
=======
* Updated: 2012-10-12
>>>>>>>
* Updated: 2013-02-20
<<<<<<<
? undefined : stitched && px(stitched)+___+px(space.y)
|| px(space.x * opt.footage)+___+px(space.y * get(_rows_) * (rows || 1) * (opt.directional? 2:1))
=======
... |
<<<<<<<
gotoPage: function(page, focusLink){
=======
gotoPage: function(page){
>>>>>>>
gotoPage: function(page){
<<<<<<<
// after renderQueryResults is resolved as well (to prevent jumping).
grid._updateNavigation(focusLink);
=======
// after renderArray is resolved as well (to preven... |
<<<<<<<
=======
set(_dimensions_, size);
set(_departure_, set(_destination_, set(_distance_, 0)));
>>>>>>>
set(_departure_, set(_destination_, set(_distance_, 0)));
<<<<<<<
_cwish_= 'cwish', _footage_= 'footage', _fraction_= 'fraction', _frame_= 'frame', _fr... |
<<<<<<<
if(this._sort.length){
=======
// Prevents SimpleQueryEngine from doing unnecessary "null" sorts (which can
// change the ordering in browsers that don't use a stable sort algorithm, eg Chrome)
if(this._sort && this._sort.length){
>>>>>>>
if(this._sort.length){
// Prevents SimpleQueryEngin... |
<<<<<<<
footage= set(_footage_, min(opt.footage, opt.frames)),
spacing= set(_spacing_, opt.spacing),
width= set(_width_, t.width()),
height= set(_height_, t.height()),
=======
footage= opt.footage,
... |
<<<<<<<
* http://reel360.org
* Version: 1.2.2
* Updated: 2013-08-26
=======
* http://jquery.vostrel.cz/reel
* Version: 1.2-devel
* Updated: 2013-05-17
>>>>>>>
* http://reel360.org
* Version: 1.2.2
* Updated: 2013-08-26
<<<<<<<
_area_= 'area', _auto_= 'auto', _backup_= 'backup', _backwards_= 'backwards'... |
<<<<<<<
Deferred.when(
grid.renderQuery ?
grid._trackError(function(){
return grid.renderQuery(query, preloadNode, options);
}) :
grid.renderQueryResults(query(options), preloadNode,
"level" in query ? { queryLevel: query.level } : {}),
function(){
// Expand ... |
<<<<<<<
=======
// Include a performance.now polyfill
(function () {
// In node.js, use process.hrtime.
if (this.window === undefined && this.process !== undefined) {
TWEEN.now = function () {
var time = process.hrtime();
// Convert [seconds, microseconds] to milliseconds.
return time[0] * 1000 + time[... |
<<<<<<<
this._setupProperties(this._object, this._valuesStart, this._valuesEnd, this._valuesStartRepeat);
return this;
},
_setupProperties: function (_object, _valuesStart, _valuesEnd, _valuesStartRepeat) {
for (var property in _valuesEnd) {
// Check if an Array was provided as property value
if (_va... |
<<<<<<<
this.logs();
=======
this.fetchAllImages();
>>>>>>>
this.logs();
this.fetchAllImages(); |
<<<<<<<
var app = require('app');
var fs = require('fs');
=======
>>>>>>>
var app = require('app');
var fs = require('fs');
<<<<<<<
=======
var fs = require('fs');
>>>>>>>
<<<<<<<
app.commandLine.appendSwitch('js-flags', '--harmony');
var mainWindow = null;
=======
var windowOptions = {
width: 1000,
heig... |
<<<<<<<
grid._trackError(
function(){ return preload.query(options); }
).then(function(rangeCollection){
// Use function to isolate the variables in case we make multiple requests
// (which can happen if we need to render on both sides of an island of already-rendered rows)
(function(loading... |
<<<<<<<
=======
user_env.METEOR_SETTINGS = fs.readFileSync(path.join(process.cwd(), 'resources', 'settings.json'), 'utf8');
console.log(path.join(process.cwd(), 'resources', 'node'));
>>>>>>>
user_env.METEOR_SETTINGS = fs.readFileSync(path.join(process.cwd(), 'resources', 's... |
<<<<<<<
var LINUX_FILENAME = OSX_OUT + '/' + BASENAME + '_' + packagejson.version + '_amd64.deb';
=======
>>>>>>>
var LINUX_FILENAME = OSX_OUT + '/' + BASENAME + '_' + packagejson.version + '_amd64.deb';
<<<<<<<
var IS_LINUX = process.platform === 'linux';
var IS_I386 = process.arch === 'ia32';
var I... |
<<<<<<<
=======
Meteor.call('recoverApps');
>>>>>>>
Meteor.call('recoverApps'); |
<<<<<<<
volumes: {}
=======
popoverVolumeOpen: false,
popoverViewOpen: false,
>>>>>>>
volumes: {}
<<<<<<<
=======
var $viewDropdown = $(this.getDOMNode()).find('.dropdown-view > .icon-dropdown');
var $volumeDropdown = $(this.getDOMNode()).find('.dropdown-volume');
var $viewPop... |
<<<<<<<
=======
require.main.paths.splice(0, 0, process.env.NODE_PATH);
>>>>>>>
require.main.paths.splice(0, 0, process.env.NODE_PATH);
<<<<<<<
SetupStore.run().then(boot2docker.ip).then(ip => {
docker.setHost(ip);
ContainerStore.init(function (err) {
if (err) { console.log(err); }
router.tra... |
<<<<<<<
=======
require.main.paths.splice(0, 0, process.env.NODE_PATH);
>>>>>>>
require.main.paths.splice(0, 0, process.env.NODE_PATH);
<<<<<<<
SetupStore.run().then(boot2docker.ip).then(ip => {
docker.setHost(ip);
ContainerStore.init(function (err) {
if (err) { console.log(err); }
router.tra... |
<<<<<<<
var mainWindow = new BrowserWindow(windowOptions);
=======
mainWindow = new BrowserWindow({
width: 1000,
height: 700,
'min-width': 1000,
'min-height': 700,
resizable: true,
frame: false,
show: false
});
var saveVMOnQuit = false;
>>>>>>>
var mainWindow = new BrowserWind... |
<<<<<<<
Boot2Docker = {};
Boot2Docker.REQUIRED_IP = '192.168.60.103';
Boot2Docker.exec = function (command, callback) {
exec(path.join(getBinDir(), 'boot2docker') + ' ' + command, function(err, stdout, stderr) {
callback(err, stdout, stderr);
});
};
Boot2Docker.exists = function (callback) {
this.exec('inf... |
<<<<<<<
var shell = require('shell');
var resources = require('./Resources');
=======
var classNames = require('classNames');
>>>>>>>
var shell = require('shell');
var resources = require('./Resources');
var classNames = require('classNames'); |
<<<<<<<
tags: {},
results: _recommended
=======
results: _recommended
>>>>>>>
results: _recommended
<<<<<<<
handleClick: function (name) {
ContainerStore.create(name, 'latest', function (err) {
if (err) {
throw err;
}
$(document.body).find('.new-container-item... |
<<<<<<<
<Router.Link tabIndex="-1" to="new">
<span className="btn btn-new btn-action has-icon btn-hollow"><span className="icon icon-add"></span>New</span>
=======
<Router.Link to="new">
<span className="btn-new icon icon-add-3"></span>
>>>>>>>
... |
<<<<<<<
var homeDir = process.env.HOME;
if(util.isWindows()) {
homeDir = util.windowsToLinuxPath(homeDir);
}
=======
>>>>>>>
var homeDir = process.env.HOME;
if(util.isWindows()) {
homeDir = util.windowsToLinuxPath(homeDir);
}
<<<<<<<
<div className="table volum... |
<<<<<<<
}while(preload && !preload.node.offsetParent); // skip past preloads that are not currently connected
}else if(visibleTop - mungeAmount - searchBuffer > (preloadTop + (preloadHeight = preloadNode.offsetHeight))){
=======
}while(preload && !preload.node.offsetWidth); // skip past preloads that are n... |
<<<<<<<
this.objMarkerSC == undefined;
=======
this.objMarkerSC = new ObjectMarker();
// pin image를 그림
// api.getIssueId(),
// api.getDataKey(),
// api.getLatitude()),
// api.getLongitude()),
// api.getElevation()),
>>>>>>>
this.objMarkerSC = new ObjectMarker(); |
<<<<<<<
//this.dateSC = new Date();
//this.startTimeSC = this.dateSC.getTime();
//this.currentTimeSC;
//var secondsUsed;
=======
this.dateSC = new Date();
this.startTimeSC = this.dateSC.getTime();
this.currentTimeSC;
>>>>>>>
//this.dateSC = new Date();
//this.startTimeSC = this.dateSC.getTime();
//this.cu... |
<<<<<<<
/**
* This has "VertexIdxVBOArraysContainer" because the "indices" cannot to be greater than 65000, because indices are short type.
* Change this for "vbo_VertexIdx_CacheKeys_Container__idx"
* @type {VBOVertexIdxCacheKeysContainer}
*/
this.vBOVertexIdxCacheKeysContainer = new VBOVertexIdxCacheKeysCo... |
<<<<<<<
var row = currentTarget,
lastRow = this._lastSelected;
//console.log("in focus; event: ", event, "; row: ", row);
if(mode == "single"){
=======
var row = event.target, lastRow = this._lastRow;
if(mode == "single" && lastRow && event.ctrlKey){
// allow deselection even within single ... |
<<<<<<<
grid.setDirty(row.id, column.field, value);
// perform auto-save (if applicable) in next tick to avoid
// unintentional mishaps due to order of handler execution
column.autoSave && setTimeout(function(){ grid._trackError("save"); }, 0);
=======
grid.updateDirty(row.id, column.field, v... |
<<<<<<<
"*://chatclient.venew.io",
"*://api.venyoo.ru/*",
=======
"*://d1fw6d83a3emwv.cloudfront.net/bot/prod/js/web-chan.js",
"*://cdn.bitrix24.kz/*",
"*://live.vnpgroup.net/js/*",
"*://crm.digtlab.ru/upload/*",
"*://me-talk.ru/support/*",
"*://cdn-app.continual.ly/js/... |
<<<<<<<
this.getPriceTicker();
this.setHeader();
=======
>>>>>>>
this.setHeader();
<<<<<<<
const listContent = theme === 'list' ? (
<Transactions
type='home'
transactions={transactions}
footer={footer}
navigate={navigation.navigate}
account... |
<<<<<<<
<View style={styles.footer}>
<View style={styles.switchContainer}>
<Switch
height={26}
width={43}
onSyncPress={this.confirm}
backgroundActive={colors.light.ultramarineBlue}
backgroundInactive={col... |
<<<<<<<
title: <Logo color={colors.white}/>,
headerLeft: null,
=======
title: <Logo />,
>>>>>>>
headerLeft: null,
title: <Logo />, |
<<<<<<<
state = {
secondPassphrase: {
value: '',
validity: [],
},
};
=======
constructor(props) {
super(props);
this.state = {
secondPassphrase: {
value: '',
validity: validatePassphrase(''),
buttonStyle: props.styles.button,
},
};
}
compo... |
<<<<<<<
define(["dojo/has", "put-selector/put", "dojo/_base/declare", "dojo/on", "./List", "dojo/_base/sniff"], function(has, put, declare, listen, List){
=======
define(["dojo/_base/kernel", "dojo/_base/declare", "dojo/on", "dojo/has", "put-selector/put", "./Editor", "./List", "dojo/_base/sniff"],
function(kernel, d... |
<<<<<<<
data[key] = marked(data[key].toString(), options);
=======
if (data[key]) {
data[key] = marked(data[key], options);
}
>>>>>>>
if (data[key]) {
data[key] = marked(data[key].toString(), options);
} |
<<<<<<<
if (locale && locale.indexOf('_') < 0)
locale = locale.replace('-','_');
=======
>>>>>>> |
<<<<<<<
SITE_NAME: 'Name der Site',
SITE_ROOT: 'Root-Verzeichnis der Site',
MEDIA_ROOT: 'Root-Verzeichnis der Medientyp',
=======
SITE_NAME: 'Name der Seite',
SITE_ROOT: 'Root-Verzeichnis der Seite',
>>>>>>>
MEDIA_ROOT: 'Root-Verzeichnis der Medientyp',
SITE_NA... |
<<<<<<<
},
{
method: 'get',
path: "/admin/sites",
access_level: pb.SecurityService.ACCESS_ADMINISTRATOR,
auth_required: true,
controller: path.join(pb.config.docRoot, 'plugins', 'pencilblue', 'controllers', 'admin', 'sites', 'manage.js'),
... |
<<<<<<<
self.req.pencilblue_article = article[pb.DAO.getIdField()].toString();
this.article = article;
self.setPageName(article.name);
Article.super_.prototype.render.apply(self, [cb]);
});
};
//exports
return Article;
};
=======
//check for object... |
<<<<<<<
cb(null, template);
=======
cb(null, template.split('^article_id^').join(this.pathVars.id));
};
EditArticle.prototype.getAngularController = function(pills, tabs, data) {
var self = this;
var objects = {
navigation: pb.AdminNavigation.get(this.session, ['content', 'articles'], this.ls),
... |
<<<<<<<
TemplateService.unregisteredFlagHandler = function(flag) {
return '^'+flag+'^';
};
/**
* Sets the prioritized theme to use when loading templates
*
* @method setTheme
* @param {string} theme The name of the theme.
*/
TemplateService.prototype.setTheme = function... |
<<<<<<<
href: '/admin/site_settings/email',
access: SecurityService.ACCESS_MANAGING_EDITOR
=======
href: '/admin/site_settings/email'
},
{
id: 'library_settings',
title: 'LIBRARIES',
... |
<<<<<<<
module.exports = function(pb) {
//pb dependencies
var util = pb.util;
/**
* Creates an object type
* @class NewObjectTypeActionController
* @constructor
* @extends FormController
*/
function NewObjectTypeActionController(){}
util.inherits(NewObjectTypeActio... |
<<<<<<<
/**
* A value that has special meaning to TemplateService. It acts as a wrapper
* for a value to be used in a template along with special processing
* instructions.
* @class TemplateValue
* @constructor
* @param {String} The raw value to be included in the template processing
... |
<<<<<<<
},
//pages
{
method: 'get',
path: "/api/content/pages/:id",
handler: "get",
content_type: 'application/json',
auth_required: true,
access_level: pb.SecurityService.ACCESS_WRITER,
controller: path... |
<<<<<<<
{
method: 'post',
path: "/api/cluster/:action",
auth_required: true,
access_level: ACCESS_ADMINISTRATOR,
controller: path.join(DOCUMENT_ROOT, 'controllers', 'api', 'admin', 'system', 'cluster_api.js'),
content_type: 'application/json'
},
=======
{
... |
<<<<<<<
self.navService = new pb.SectionService({site: self.site});
self.siteQueryService = new pb.SiteQueryService(self.site, true);
=======
self.navService = new pb.SectionService(self.site);
self.siteQueryService = new pb.SiteQueryService({site: self.site, onlyThisSi... |
<<<<<<<
var val = expr_atom(allow_calls, allow_arrows);
while (is("operator") && UNARY_POSTFIX(S.token.value) && !S.token.nlb) {
if (val instanceof AST_Arrow) unexpected();
=======
var val = expr_atom(allow_calls);
while (is("operator") && UNARY_POSTFIX(S.token.value) && !h... |
<<<<<<<
function to_ascii(str, identifier) {
return str.replace(/[\ud800-\udbff][\udc00-\udfff]|[\u0000-\u001f\u007f-\uffff]/g, function(ch) {
var code = get_full_char_code(ch, 0).toString(16);
if ((identifier && code.length === 1 && options.ecma >= 6) || code.length > 4) {
... |
<<<<<<<
if (exp instanceof AST_Function && !self.expression.is_generator) {
if (exp.body[0] instanceof AST_Return) {
var value = exp.body[0].value;
=======
if (exp instanceof AST_Function) {
var stat = exp.body[0];
if (compressor.option("inline") && ... |
<<<<<<<
if (code == 92 || is_identifier_start(ch)) return read_word();
if (shebang) {
if (S.pos == 0 && looking_at("#!")) {
forward(2);
skip_line_comment("comment5");
continue;
}
}
=======
... |
<<<<<<<
if (value && !compressor.exposed(d) && ref_once(tw, compressor, d)) {
=======
if (value instanceof AST_Lambda && recursive_ref(tw, d)) {
d.recursive_refs++;
} else if (value && ref_once(tw, compressor, d)) {
>>>>>>>
if (value... |
<<<<<<<
=======
&& (!(self instanceof AST_Toplevel) || toplevel)
>>>>>>>
&& (!(self instanceof AST_Toplevel) || toplevel)
<<<<<<<
if (node instanceof AST_Defun || node instanceof AST_DefClass) {
=======
if (node instanceof AST_Defun) {
... |
<<<<<<<
|| node instanceof AST_Await
=======
|| node instanceof AST_Call && lhs instanceof AST_PropAccess && lhs.equivalent_to(node.expression)
>>>>>>>
|| node instanceof AST_Await
|| node instanceof AST_C... |
<<<<<<<
except : [],
keep_classnames: false,
=======
ie8 : false,
>>>>>>>
ie8 : false,
keep_classnames: false,
<<<<<<<
var mangle_with_block_scope =
(options.screw_ie8 && node instanceof AST_SymbolCatch) ||
node instanceof ... |
<<<<<<<
if (node.name
&& (!compressor.option("keep_classnames") && node instanceof AST_ClassExpression
|| !compressor.option("keep_fnames") && node instanceof AST_Function)) {
=======
var parent = tt.parent();
if (drop_vars) {... |
<<<<<<<
def(AST_Node, function(){ return false });
def(AST_String, function(){ return true });
def(AST_TemplateString, function(){
return this.segments.length === 1;
});
=======
def(AST_Node, return_false);
def(AST_String, return_true);
>>>>>>>
def(... |
<<<<<<<
DEFPRINT(AST_Class, function(self, output){
output.print("class");
output.space();
if (self.name) {
self.name.print(output);
output.space();
}
if (self.extends) {
var parens = (
!(self.extends instanceof AST_Symbo... |
<<<<<<<
}
toplevel_const: {
options = {
hoist_props: true,
reduce_vars: true,
toplevel: false,
}
input: {
const a = {
b: 1,
c: 2
};
console.log(a.b + a.c);
}
expect: {
const a = {
b: 1,
c: 2
... |
<<<<<<<
var thingTimer = window.setInterval(doTheThing, 1000);
function clickTheThing() {
g_Minigame.m_CurrentScene.DoClick(
{
data: {
getLocalPosition: function() {
var enemy = g_Minigame.m_CurrentScene.GetEnemy(
g_Miniga... |
<<<<<<<
if (node.left instanceof AST_Destructuring) {
node.left.walk(suppressor);
return;
}
if (node.operator != "=" || !(node.left instanceof AST_SymbolRef)) return;
=======
if (!(node.left instanceof AST_SymbolRef)) return;
>>>>>>>
... |
<<<<<<<
// pass 4: add symbol definitions to loop scopes
// Safari/Webkit bug workaround - loop init let variable shadowing argument.
// https://github.com/mishoo/UglifyJS2/issues/1753
// https://bugs.webkit.org/show_bug.cgi?id=171041
if (options.safari10) {
for (var i = 0; i < for_scopes.l... |
<<<<<<<
&& iife.expression === fn
&& all(iife.args, function(arg) {
return !(arg instanceof AST_Expansion);
})) {
fn.argnames.forEach(function(sym, i) {
if (sym instanceof AST_Expansion) {
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.