conflict_resolution stringlengths 27 16k |
|---|
<<<<<<<
#### Version 2.1.0-dev
The entire dc.js library is scoped under the **dc** name space. It does not introduce anything else
into the global name space.
#### Function Chaining
Most dc functions are designed to allow function chaining, meaning they return the current chart
instance whenever it is appropriate. This... |
<<<<<<<
version: "0.8.0",
=======
version: "0.7.1",
>>>>>>>
version: "0.7.0",
<<<<<<<
return _chart.x()(_chart.keyAccessor()(data)) + _chart.margins().left - barWidth(data)/2;
=======
var position = _chart.x()(_chart.keyRetriever()(data)) + _chart.margins().left;
if(_centering)... |
<<<<<<<
* dc 2.1.0-dev
=======
* dc 2.0.0-beta.26
>>>>>>>
* dc 2.1.0-dev
<<<<<<<
* @version 2.1.0-dev
=======
* @version 2.0.0-beta.26
>>>>>>>
* @version 2.1.0-dev
<<<<<<<
version: '2.1.0-dev',
=======
version: '2.0.0-beta.26',
>>>>>>>
version: '2.1.0-dev',
<<<<<<<
* The handler sh... |
<<<<<<<
return _chart.x()(_chart.keyAccessor()(data)) + _chart.margins().left - barWidth(data)/2;
=======
var position = _chart.x()(_chart.keyRetriever()(data)) + _chart.margins().left;
if(_centering)
position = position - barWidth(data)/2;
return position;
>>>>>>>
... |
<<<<<<<
describe('the y-axes', function() {
describe('when composing charts with both left and right y-axes', function () {
var rightChart;
=======
describe('subchart title rendering', function () {
beforeEach(function () {
chart.renderTitle(false);
chart.re... |
<<<<<<<
var _boxOnClick = function () {};
var _xAxisOnClick = function () {};
var _yAxisOnClick = function () {};
=======
_chart.boxOnClick = function (d) {
var filter = d.key;
dc.events.trigger(function() {
_chart.filter(filter);
dc.redrawAll(_chart.chartGroup(... |
<<<<<<<
* dc 2.1.0-dev
=======
* dc 2.0.0-beta.18
>>>>>>>
* dc 2.1.0-dev
<<<<<<<
#### Version 2.1.0-dev
The entire dc.js library is scoped under the **dc** name space. It does not introduce anything else
into the global name space.
#### Function Chaining
Most dc functions are designed to allow function chaini... |
<<<<<<<
this._handlers["toggle-command-line"] = function(action_id, event, target)
{
eventHandlers.click["toggle-console"]();
return false;
};
=======
this._handlers["navigate-next-top-tab"] = function(action_id, event, target)
{
window.topCell.tab.navigate_to_next_or_previous_tab(false);
r... |
<<<<<<<
intersects(range) {
return !(range.x - range.w > this.x + this.w ||
range.x + range.w < this.x - this.w ||
range.y - range.h > this.y + this.h ||
range.y + range.h < this.y - this.h);
}
}
// circle class for a circle shaped query
class Cir... |
<<<<<<<
var msaKeepdesk = [
"Baltimore-Towson, MD",
"Bloomington, IN",
"Boston, MA",
"Chicago, IL-IN-WI",
"Corvallis, OR",
"Danville, IL",
"Honolulu, HI",
"Lebanon, PA",
"Los Angeles, CA",
"New York City, NY",
"Rochester, MN",
"San Francisco",
"Seattle, WA",
"Washington, DC",
"Muncie, IN",
"Hot Springs, AR",
"Washingto... |
<<<<<<<
rxIpc.registerListener('backend-rpccall', createObservable);
}
=======
rxIpc.registerListener('rpc-channel', createObservable);
}
function checkDaemon(options) {
return new Promise((resolve, reject) => {
const _timeout = TIMEOUT;
TIMEOUT = 150;
rpcCall(
'getnetworkinfo', null, cookie.... |
<<<<<<<
const _options = require('./modules/options');
const init = require('./modules/init');
const rpc = require('./modules/rpc/rpc');
const _auth = require('./modules/webrequest/http-auth');
const daemon = require('./modules/daemon/daemon');
=======
const options = require('./modules/options').parse();
const log ... |
<<<<<<<
Query.prototype.removed = function(id) {
this._debug('removed id:%s', id);
=======
Query.prototype.removed = function(id, callback) {
callback = callback || function() {};
>>>>>>>
Query.prototype.removed = function(id, callback) {
this._debug('removed id:%s', id);
callback = callback || function() {}... |
<<<<<<<
function windowDiscordSettings() {
const discord = new BrowserWindow({
//parent: mainWindow,
icon: iconDefault,
modal: false,
frame: windowConfig.frame,
titleBarStyle: windowConfig.titleBarStyle,
center: true,
resiza... |
<<<<<<<
if (!PDFJS.isFirefoxExtension ||
(PDFJS.isFirefoxExtension && FirefoxCom.request('searchEnabled'))) {
document.querySelector('#viewSearch').classList.remove('hidden');
}
=======
// Listen for warnings to trigger the fallback UI. Errors should be caught
// and call PDFView.error() so we don't... |
<<<<<<<
messageHandler.on('text_extracted', function pdfDocError(data) {
var index = data.index;
if (this.textExtracted)
this.textExtracted(index);
}, this);
=======
messageHandler.on('jpeg_decode', function(data, promise) {
var imageData = data[0];
var com... |
<<<<<<<
if ('disableWorker' in params)
PDFJS.disableWorker = params['disableWorker'] === 'true' ? true : false;
=======
var sidebarScrollView = document.getElementById('sidebarScrollView');
sidebarScrollView.addEventListener('scroll', updateThumbViewArea, true);
>>>>>>>
if ('disableWorker' in params)
... |
<<<<<<<
for (var i = 1; i <= pagesCount; i++) {
var page = pdf.getPage(i);
var pageView = new PageView(container, page, i, page.width, page.height,
page.stats, this.navigateTo.bind(this));
var thumbnailView = new ThumbnailView(thumbsView, page, i,
... |
<<<<<<<
var TilingPattern = (function TilingPatternClosure() {
var PAINT_TYPE_COLORED = 1, PAINT_TYPE_UNCOLORED = 2;
=======
var TilingPattern = (function tilingPattern() {
var PaintType = {
COLORED: 1,
UNCOLORED: 2
};
var MAX_PATTERN_SIZE = 512;
>>>>>>>
var TilingPattern = (function TilingPatternClo... |
<<<<<<<
getBaseFontMetrics: function(baseFontName) {
var map = {};
if (/^Symbol(-?(Bold|Italic))*$/.test(baseFontName)) {
// special case for symbols
var encoding = Encodings.symbolsEncoding;
for (var i = 0, n = encoding.length, j; i < n; i++) {
if (!(j = encoding[i]))
... |
<<<<<<<
// If there is a pdfDoc on the last task executed, destroy it to free memory.
if (task && task.pdfDoc) {
task.pdfDoc.destroy();
delete task.pdfDoc;
}
=======
cleanup();
>>>>>>>
// If there is a pdfDoc on the last task executed, destroy it to free memory.
if (task && task.pdfDoc) {
ta... |
<<<<<<<
const EXT_ID = 'uriloader@pdf.js';
const EXT_PREFIX = 'extensions.' + EXT_ID;
=======
const PREF_PREFIX = 'PDFJSSCRIPT_PREF_PREFIX';
>>>>>>>
const PREF_PREFIX = 'PDFJSSCRIPT_PREF_PREFIX';
<<<<<<<
return getBoolPref(EXT_PREFIX + '.pdfBugEnabled', false);
},
fallback: function(url) {
var self = th... |
<<<<<<<
if ('textlayer' in hashParams) {
switch (hashParams['textlayer']) {
case 'off':
PDFJS.disableTextLayer = true;
break;
case 'visible':
case 'shadow':
case 'hover':
var viewer = document.getElementById('viewer');
viewer.classList.add('textLayer-' + has... |
<<<<<<<
initPassiveLoading: function pdfViewInitPassiveLoading() {
if (!PDFView.loadingBar) {
PDFView.loadingBar = new ProgressBar('#loadingBar', {});
}
window.addEventListener('message', function window_message(e) {
var args = e.data;
if (!('pdfjsLoadAction' in args))
return;
... |
<<<<<<<
for (var i = 0; i < charstrings.length; i++)
=======
for (var i = 0, ii = charstrings.length; i < ii; i++) {
>>>>>>>
for (var i = 0, ii = charstrings.length; i < ii; i++)
<<<<<<<
if (!cidToUnicode)
return; // identity encoding
var glyph = 1, i, j, k;
... |
<<<<<<<
var PDFImage = (function pdfImage() {
/**
* Decode the image in the main thread if it supported. Resovles the promise
* when the image data is ready.
*/
function handleImageData(handler, xref, res, image, promise) {
if (image instanceof JpegStream && image.isNative) {
// For natively supp... |
<<<<<<<
validDate: date,
count: 1000
=======
date: date,
count: 1000,
>>>>>>>
validDate: date,
count: 1000, |
<<<<<<<
.query({ validDate: submissionDate })
.then((res) => {
=======
.query({ validDate: new Date().toISOString() })
.then(res => {
>>>>>>>
.query({ validDate: submissionDate })
.then(res => { |
<<<<<<<
validDate: term({ generate: date, matcher: dateRegex }),
count: like(1000)
}
}
=======
validDate: term({
generate: date,
matcher:
'\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\+|\\-... |
<<<<<<<
els[0].css( 'width', size + 'px' );
els[1].css( 'marginLeft', ( size + spaceBetweenColumns ) + 'px' );
=======
els[0].css( 'width', ( size ) + 'px' );
els[1].css( 'marginLeft', ( size + 10 ) + 'px' );
$( '#le... |
<<<<<<<
'use strict';
const fs = require('fs'),
_ = require('lodash'),
isNilOrEmpty = require('../utils/string_utils').isNilOrEmpty,
buildException = require('../exceptions/exception_factory').buildException,
Exceptions = require('../exceptions/exception_factory').exceptions;
=======
const fs = require('fs')... |
<<<<<<<
context('when passing valid args', () => {
context('with no error', () => {
let content = null;
before(() => {
const input = parseFromFiles(['./test/test_files/complex_jdl.jdl']);
content = JDLParser.parse(input, 'mysql');
});
=======
describe('when ... |
<<<<<<<
init(passedDocument, passedDatabaseType);
fillApplications();
=======
init(passedDocument, passedDatabaseType, applicationType);
>>>>>>>
init(passedDocument, passedDatabaseType, applicationType);
fillApplications();
<<<<<<<
throw new buildException(Exceptions.WrongType, `The type '${field.ty... |
<<<<<<<
var input = fs.readFileSync('./test/samples/valid_jdl.jdl', 'utf-8').toString();
var content = parse(input);
=======
var input = fs.readFileSync('./test/test_files/valid_jdl.jdl', 'utf-8').toString();
var content = read(input);
>>>>>>>
var input = fs.readFileSync('./te... |
<<<<<<<
search () {
this.updatePagination({ page: 1, totalItems: this.itemsLength })
},
'computedPagination.sortBy': function () { this.updatePagination({ page: 1 }) },
'computedPagination.descending': function () { this.updatePagination({ page: 1 }) }
=======
itemsLength (totalItems) {
... |
<<<<<<<
},
// template
{
collapsed_protos:
function(setting)
{
return [
['setting-composite',
['label',
// TODO create ui string
ui_strings.S_LABEL_COLLAPSED_INSPECTED_PROTOTYPES,
['input',
'type', 'tex... |
<<<<<<<
it('should render role=combobox correctly when autocomplete', async () => {
const wrapper = mount(VSelect, {
propsData: {
autocomplete: true,
items: []
}
})
let ele = wrapper.find('.input-group--select')
expect(ele.length).toBe(1)
expect(ele[0].element.getAttr... |
<<<<<<<
'input-group--dirty': this.isDirty,
=======
'input-group--tab-focused': this.tabFocused,
'input-group--dirty': this.isDirty(),
>>>>>>>
'input-group--dirty': this.isDirty,
'input-group--tab-focused': this.tabFocused,
<<<<<<<
genLabel () {
return this.$createE... |
<<<<<<<
this._rendertimer = 0;
this._everrendered = false;
this._url_list_width = 250;
this.requierd_services = ["resource-manager", "document-manager"];
=======
this._render_timeout = 0;
this._graph_tooltip_id = null;
this._type_filters = null;
this.needs_instant_update = false;
>>>>>>>
this._rend... |
<<<<<<<
"show-only-normal-and-gadget-type-windows",
"pin-active-window"
=======
"show-only-normal-and-gadget-type-windows"
],
customSettings:
[
'hr',
'ui-language'
>>>>>>>
"show-only-normal-and-gadget-type-windows",
"pin-active-window"
],
customSettings:
... |
<<<<<<<
=======
/**
* API examples routes.
* accepts a post request. the challenge id req.body.challengeNumber
* and updates user.challengesHash & user.challengesCompleted
*
*/
app.post('/completed-challenge', function (req, res, done) {
req.user.challengesHash[parseInt(req.body.challengeNumber)] =
... |
<<<<<<<
this._scale = 1;
=======
this._ruler = new cls.Ruler();
this._ruler.callback = this._onrulerdimesions.bind(this);
this._ruler.onclose = this._onrulerclose.bind(this);
>>>>>>>
this._scale = 1;
this._ruler = new cls.Ruler();
this._ruler.callback = this._onrulerdimesions.bind(this);
... |
<<<<<<<
var express = require('express'),
debug = require('debug')('freecc:server'),
cookieParser = require('cookie-parser'),
compress = require('compression'),
session = require('express-session'),
bodyParser = require('body-parser'),
logger = require('morgan'),
errorHandler = require('erro... |
<<<<<<<
'/programmer-interview-questions-app',
resourcesController.programmerInterviewQuestionsApp
=======
'/done-with-first-100-hours',
resourcesController.doneWithFirst100Hours
);
app.get(
'/programmer-interview-questions-app',
resourcesController.programmerInterviewQuestionsApp
>>>>>>>
'/d... |
<<<<<<<
this.scrollTargetIntoView = function()
{
var target = document.getElementById('target-element');
if(target)
{
document.getElementById('target-element').scrollIntoView();
while( !/container/.test(target.nodeName) && ( target = target.parentElement) );
if(target)
{
... |
<<<<<<<
console.log();
// chainInterface.addFingerprint(batch_uid, batch_uid_hash, trail_hash);
=======
chainInterface.addFingerprint(batch_uid, batch_uid_hash, trail_hash);
>>>>>>>
console.log();
chainInterface.addFingerprint(batch_uid, batch_uid_hash, trail_hash); |
<<<<<<<
=======
// eslint-disable-next-line no-shadow
async _importXML(ot_xml_document, callback) {
const options = {
mode: 'text',
pythonPath: 'python3',
scriptPath: 'importers/',
args: [ot_xml_document],
};
PythonShell.run('v1.5.py', ... |
<<<<<<<
locationKey = GS1Helper.createKey('business_location', senderId, identifiers, data);
const attrs = GS1Helper.parseAttributes(GS1Helper.arrayze(location.extension.attribute), 'urn:ot:object:location:');
for (const attr of GS1Helper.arrayze(attrs)) {
... |
<<<<<<<
const utilities = require('../../utilities')();
const Web3 = require('web3');
const fs = require('fs');
const util = require('ethereumjs-util');
const tx = require('ethereumjs-tx');
const lightwallet = require('eth-lightwallet');
const Account = require('eth-lib/lib/account');
const Hash = require('eth-lib/lib/... |
<<<<<<<
update_phone_list();
mCrashAnalyser = new CloudPebble.CrashChecker(CloudPebble.ProjectInfo.app_uuid);
// Get build history
=======
>>>>>>>
<<<<<<<
var update_phone_list = function() {
$.getJSON("/ide/list_phones", function(data) {
if(data.success) {
... |
<<<<<<<
mPebble.install_app(pane.find('#last-compilation-pbw').attr('href'));
=======
mPebble.once('version', function(version_info) {
var version_string = version_info.running.version;
console.log(version_string);
// Make sur... |
<<<<<<<
// If this isn't a native project or package, only JS files should exist.
if(CloudPebble.ProjectProperties.js_only) {
prompt.find('#new-file-type').val('js').change().parents('.control-group').hide();
=======
// If this isn't a native project, only JS and JSON files should ... |
<<<<<<<
=======
var variant_tags = extract_tags(form.find('#edit-resource-previews .text-wrap input'));
var new_tags = extract_tags(form.find('#edit-resource-new-file .text-wrap input'));
var replacements_files = [];
var replacement_map = [];
var okay = true;
$.each(fo... |
<<<<<<<
// If this isn't a native project or package, only JS files should exist.
if(CloudPebble.ProjectProperties.js_only) {
prompt.find('#new-file-type').val('js').change().parents('.control-group').hide();
=======
// If this isn't a native project, only JS and JSON files should ... |
<<<<<<<
} else if(CloudPebble.ProjectInfo.type == 'pebblejs') {
_.extend(jshint_globals, {
require: true,
ajax: true
});
}
=======
warning_lines = [];... |
<<<<<<<
};
handleChange = (item) => {
const { value, onChange } = this.props;
if (value) {
if (onChange) onChange(item);
} else {
this.setValue(item);
}
};
=======
};
>>>>>>>
};
handleChange = (item) => {
const { value, onChange } = this.props;
if (value) {
if (onChange) onChange(item);
... |
<<<<<<<
searchOperators: false,
=======
showVoiceSearch: false,
>>>>>>>
searchOperators: false,
showVoiceSearch: false, |
<<<<<<<
error, isLoading, aggregationData, promotedResults, customData,
=======
error, isLoading, aggregationData, promotedResults, rawData,
>>>>>>>
error, isLoading, aggregationData, promotedResults, customData, rawData,
<<<<<<<
promotedData: promotedResults || [],
customData: customData || {},
===... |
<<<<<<<
packages: [
{ name: 'dojo', location: 'lib/dojo', main: 'lib/main-browser', lib:'.'},
{ name: 'dijit',location: 'lib/dijit', main: 'lib/main',lib: '.'},
{ name: 'rest', location: 'lib/rest-d7c94f9', main: 'rest'}
],
=======
packages: [{ name: 'dojo', location: 'lib/dojo', main:'lib/main-browser'... |
<<<<<<<
"scripted/markoccurrences","text!scripted/help.txt", "scripted/editor/themeManager", "scripted/inplacedialogs/infile-search", "scripted/exec/exec-keys",
=======
"scripted/markoccurrences","text!scripted/help.txt", "scripted/editor/themeManager", "scripted/utils/storage",
"layoutManager",
"scripted/exec/ex... |
<<<<<<<
/* DESC: Enable reformatting of JavaScript. */
ui_strings.S_BUTTON_LABEL_REFORMAT_JAVASCRIPT = "Pretty-print JavaScript";
=======
/* DESC: Refetch the event listeners. */
ui_strings.S_BUTTON_LABEL_REFETCH_EVENT_LISTENERS = "Refetch event listeners";
/* DESC: Enable reformatting of JavaScript. */
ui_strings.... |
<<<<<<<
// TODO [v3.0] make Class pass the hook specs
describe("#define", function() {
before(function() {
this.parent = new JS.Module("Parent")
this.child = new JS.Module("Child", {aMethod: function() {}})
child.include(parent)
})
it("adds the method to modules that depend on... |
<<<<<<<
// Array manipulation
// ---------
Data.Array = {};
Data.Array.Delete = function(arr, val) {
return ot.ArrayOperation.Delete(arr, val);
};
Data.Array.Push = function(arr, val) {
return ot.ArrayOperation.Push(arr, val);
};
// Does not yet return a value
Data.Array.Pop = function(arr) {
return ot.Array... |
<<<<<<<
var Generators = module.exports = {
object: objectMock,
array: arrayMock,
string: stringMock,
integer: integerMock,
number: numberMock,
boolean: booleanMock,
file: fileMock,
mock: mock
};
function mock(schema, useExample) {
var mock;
=======
const mock = schema => {
l... |
<<<<<<<
// @ts-ignore
dtstart: options.dtstart || dtstart,
ignoretz: options.ignoretz,
tzinfos: options.tzinfos
=======
dtstart: options.dtstart || dtstart
>>>>>>>
// @ts-ig... |
<<<<<<<
shouldContinue = false
await sleep(1000)
=======
await sleep(1100)
>>>>>>>
shouldContinue = false
await sleep(1100) |
<<<<<<<
overrideOrganizationTextingHours: Boolean
textingHoursEnforced: Boolean
textingHoursStart: Int
textingHoursEnd: Int
timezone: String
=======
editors: String
>>>>>>>
editors: String
overrideOrganizationTextingHours: Boolean
textingHoursEnforced: Boolean
textingHoursStar... |
<<<<<<<
import { r, datawarehouse, Assignment, Campaign, CampaignContact, Organization, User } from '../server/models'
=======
import { r, datawarehouse, cacheableData,
Assignment, Campaign, CampaignContact, Organization, User,
UserOrganization } from '../server/models'
>>>>>>>
import { r, datawar... |
<<<<<<<
const PER_ASSIGNED_NUMBER_MESSAGE_COUNT = 350
async function sleep(ms = 0) {
return new Promise(fn => setTimeout(fn, ms))
}
=======
import { sleep } from './lib'
>>>>>>>
import { sleep } from './lib'
const PER_ASSIGNED_NUMBER_MESSAGE_COUNT = 350 |
<<<<<<<
date: '2017-09-24',
// eslint-disable-next-line
migrate: async function() {
await r.knex.schema.alterTable('job_request', (table) => {
table.string('result_message').nullable().default('')
})
await r.knex.schema.alterTable('opt_out', (table) => {
table.string('reas... |
<<<<<<<
settings.debug_remote_setting.set('debug-remote', is_debug_remote);
settings.debug_remote_setting.set('port', port);
client.setup();
target.disabled =
target.previousSibling.previousSibling.firstChild.checked == settings.debug_remote_setting.get('debug-remote');
=======
if(0 < por... |
<<<<<<<
this._searches = {};
=======
this._overlays = {};
>>>>>>>
this._searches = {};
this._overlays = {};
<<<<<<<
this.get_search = function(id){};
=======
this.get_overlay = function(id){};
>>>>>>>
this.get_search = function(id){};
this.get_overlay = function(id){};
<<<<<<... |
<<<<<<<
import { Link, Redirect } from 'react-router-dom';
import axios from 'axios';
import Button from '../../components/UI/Button/Button';
import ErrorMessage from '../../components/ErrorMessages/ErrorMessages';
=======
import './Login.css';
import Form from './Form';
import ky from 'ky';
>>>>>>>
import { Link... |
<<<<<<<
/* DESC: Label for the setting of the monospace font. */
ui_strings.M_VIEW_LABEL_MONOSPACE_FONT = 'Monospace Font';
/* DESC: Setting label to select the font face */
ui_strings.S_LABEL_FONT_SELECTION_FACE = "Font Face";
/* DESC: Setting label to select the font face */
ui_strings.S_LABEL_FONT_SELECTION_SIZE =... |
<<<<<<<
/* temporary export view */
window.export_data = new cls.ExportData();
new cls.ExportDataView('export_data',
ui_strings.M_VIEW_LABEL_EXPORT,
'scroll export-data');
=======
>>>>>>>
<<<<<<<
ui_strings.M_VIEW_LABEL_COMMAND... |
<<<<<<<
* @property {string} instanceID PacketInfo instanceID
* @property {string} metadata PacketInfo metadata
=======
* @property {number|null} [seq] PacketInfo seq
>>>>>>>
* @property {number} seq PacketInfo seq
* @property {string} instanceID PacketInfo instanceID
... |
<<<<<<<
const _ = require("lodash");
const Promise = require("bluebird");
const BaseCacher = require("./base");
const { METRIC } = require("../metrics");
const { BrokerOptionsError } = require("../errors");
let Redis, Redlock;
=======
const Promise = require("bluebird");
const BaseCacher = require... |
<<<<<<<
const _ = require("lodash");
const Promise = require("bluebird");
const BaseCacher = require("./base");
const { METRIC } = require("../metrics");
=======
const Promise = require("bluebird");
const BaseCacher = require("./base");
const _ = require('lodash')
const { BrokerOptionsError } = require("../err... |
<<<<<<<
it('should support multiple arguments on actions', () => {
const { Provider, Consumer } = createStore({
model: 0,
actions: {
increment(state, stepper = 1, additionalStepper = 0) {
return state + stepper + additionalStepper
},
},
})
const tree = TestRend... |
<<<<<<<
function getPoliciesStatus() {
return $resource('/policyContext', {},
{
'get': {
method: 'GET', isArray: true,
timeout: apiConfigSettings.timeout
}
});
};
=======
function savePolicy() {
return $resource('/policy', {},
... |
<<<<<<<
GetAllpolicies: function() {
return ApiPolicyService.GetAllpolicies().get().$promise;
},
CreatePolicy: function(newPolicyData) {
return ApiPolicyService.CreatePolicy().create(newPolicyData).$promise;
},
... |
<<<<<<<
var fd = (process.platform === 'win32') ?
process.stdin.fd :
fs.openSync('/dev/tty', 'rs')
process.stdin.setRawMode(true);
=======
var fd = fs.openSync('/dev/stdin', 'rs');
var wasRaw = process.stdin.isRaw;
if (!wasRaw) { process.stdin.setRawMode(true); }
>>>>>>>
var fd = (process.p... |
<<<<<<<
_renderHeader(isSprintLoaded: boolean) {
const {zoomedIn} = this.state;
=======
_renderHeader() {
const {sprint, onOpenSprintSelect, onOpenBoardSelect, noBoardSelected} = this.props;
>>>>>>>
_renderHeader(isSprintLoaded: boolean) {
const {zoomedIn} = this.state;
<<<<<<<
=======
{... |
<<<<<<<
import Select from '../../components/select/select';
import Icon from 'react-native-vector-icons/FontAwesome';
import SearchPanel from './issue-list__search-panel';
import styles from './issue-list.styles';
=======
import MenuIcon from '../../components/menu/menu-icon';
import Icon from 'react-native-vector-... |
<<<<<<<
import Menu from './components/menu/menu';
import {routeMap, rootRoutesList} from './app-routes';
import {menuHeight} from './components/common-styles/navigation';
=======
import PushNotificationsProcessor from './components/push-notifications/push-notifications-processor';
import log from './components/log/l... |
<<<<<<<
import {registerForPush, initializePushNotifications, unregisterForPushNotifications} from '../components/push-notifications/push-notifications';
import {EVERYTHING_CONTEXT} from '../components/search/search-context';
=======
import PushNotifications from '../components/push-notifications/push-notifications';... |
<<<<<<<
baseURL: options.baseURL,
=======
helpURL: options.helpURL,
>>>>>>>
baseURL: options.baseURL,
helpURL: options.helpURL, |
<<<<<<<
import { INUMBER, IOP1, IOP2, IOP3, IVAR, IVARNAME, IFUNCALL, IFUNDEF, IEXPR, IMEMBER } from './instruction';
=======
import { INUMBER, IOP1, IOP2, IOP3, IVAR, IVARNAME, IFUNCALL, IEXPR, IEXPREVAL, IMEMBER, IENDSTATEMENT } from './instruction';
>>>>>>>
import { INUMBER, IOP1, IOP2, IOP3, IVAR, IVARNAME, IFUN... |
<<<<<<<
it('f(x) = x * x', function () {
var parser = new Parser({ operators: { assignment: true } });
var obj = { f: null };
assert.strictEqual(parser.evaluate('f(x) = x * x', obj) instanceof Function, true);
assert.strictEqual(obj.f instanceof Function, true);
assert.strictEqual(obj.... |
<<<<<<<
import { INUMBER, IOP1, IOP2, IOP3, IVAR, IVARNAME, IFUNCALL, IFUNDEF, IEXPR, IEXPREVAL, IMEMBER, IENDSTATEMENT } from './instruction';
=======
import { INUMBER, IOP1, IOP2, IOP3, IVAR, IVARNAME, IFUNCALL, IEXPR, IMEMBER, IARRAY } from './instruction';
>>>>>>>
import { INUMBER, IOP1, IOP2, IOP3, IVAR, IVARNA... |
<<<<<<<
it('f(x) = x * x', function () {
var parser = new Parser();
var obj = { f: null };
assert.strictEqual(parser.evaluate('f(x) = x * x', obj) instanceof Function, true);
assert.strictEqual(obj.f instanceof Function, true);
assert.strictEqual(obj.f(3), 9);
});
it('(f(x) = ... |
<<<<<<<
if (semver.gte(CONFIG.apiVersion, "1.15.0")) {
uniqueData.push(MSP_codes.MSP_SENSOR_ALIGNMENT);
}
=======
if (semver.gte(CONFIG.apiVersion, "1.15.0")) {
uniqueData.push(MSP_codes.MSP_RX_CONFIG);
uniqueData.push(MSP_codes.MSP_FAILSAFE_CONFIG);
... |
<<<<<<<
"network-profiler-mode": "Profiling Mode",
"show-incomplete-warning": ui_strings.S_NETWORK_REQUESTS_INCOMPLETE_SETTING_LABEL,
=======
>>>>>>>
"network-profiler-mode": "Profiling Mode", |
<<<<<<<
RC_tuning.dynamic_THR_breakpoint = data.getUint16(offset++, 1);
} else {
RC_tuning.dynamic_THR_breakpoint = 0;
=======
RC_tuning.dynamic_THR_breakpoint = data.getUint16(offset, 1);
offset += 2; // point past 16 bi... |
<<<<<<<
case MSP_codes.MSP_SET_3D:
console.log('3D settings saved');
break;
case MSP_codes.MSP_SET_SENSOR_ALIGNMENT:
console.log('Sensor alignment saved');
break;
=======
case MSP_codes.MSP_SET_RX_CONFIG:
... |
<<<<<<<
MSP_SDCARD_SUMMARY: 79,
MSP_BLACKBOX_CONFIG: 80,
MSP_SET_BLACKBOX_CONFIG: 81,
=======
MSP_FAILSAFE_CONFIG: 75,
MSP_SET_FAILSAFE_CONFIG: 76,
MSP_RXFAIL_CONFIG: 77,
MSP_SET_RXFAIL_CONFIG: 78,
>>>>>>>
MSP_FAILSAFE_CONFIG: 75,
... |
<<<<<<<
var SDCARD = {
supported: false,
state: 0,
filesystemLastError: 0,
freeSizeKB: 0,
totalSizeKB: 0,
};
var BLACKBOX = {
supported: false,
blackboxDevice: 0,
blackboxRateNum: 1,
blackboxRateDenom: 1
};
=======
var RC_deadband = {
deadband: 0,
yaw_deadba... |
<<<<<<<
if (window_width < screen_medium){
$video_inner_wrapper.width('auto').height('auto');
} else {
if (w_video_optimal >= window_width) {
w_video = window_width;
h_video = h_video_optimal;
} else {
w_video = w_video_optimal;
h_video =... |
<<<<<<<
}),
shapedRecipe('minecraft:chest', ['AAA', 'A A', 'AAA'], {
A: '#minecraft:planks'
})
=======
}),
shapedRecipe(
Item.of('akashictome:tome', {
'akashictome:is_morphing': 1,
'akashictome:data': {
... |
<<<<<<<
journey.version = [0, 3, 0];
=======
journey.version = [0, 2, 9];
journey.options = {
strict: false,
strictUrls: true
};
>>>>>>>
journey.version = [0, 3, 0];
journey.options = {
strict: false,
strictUrls: true
};
<<<<<<<
.match(/^\^?(.*?)\$?$/)[1] ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.