conflict_resolution stringlengths 27 16k |
|---|
<<<<<<<
"sAjaxSource": 'image',
"aoColumnDefs": [
=======
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": 'images',
"aoColumns": [
>>>>>>>
"sAjaxSource": 'images',
"aoColumnDefs": [
<<<<<<<
// Display the id of the image... |
<<<<<<<
"sAjaxSource": 'sgroup',
"aoColumnDefs": [
=======
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": 'sgroups',
"aoColumns": [
>>>>>>>
"sAjaxSource": 'sgroups',
"aoColumnDefs": [ |
<<<<<<<
test("concat text", () => {
const results = runSlsCommand("concat-text");
expect(results).not.toContain(errorString);
expect(
fs.existsSync("tests/concat-text/.webpack/service/static/test-concat.txt")
).toBe(true);
});
=======
test("fixpackages formidable@1.x", () => {
const results = runSlsCom... |
<<<<<<<
"openattic.userinfo",
"openattic.tabView",
"openattic.required"
=======
"openattic.todowidget",
"openattic.userinfo"
>>>>>>>
"openattic.tabView",
"openattic.todowidget",
"openattic.userinfo" |
<<<<<<<
BandRejectFilter.prototype.toString = function() {
return 'Band Reject Filter';
};
=======
/**
* toString
*
* @return {String}
*/
toString: function() {
return 'Band Reject Filter';
}
});
>>>>>>>
/**
* toString
*
* @return {String}
*/
BandRejectFilter.prototype... |
<<<<<<<
var Square = function(audiolet, frequency) {
TableLookupOscillator.call(this, audiolet, Square.TABLE, frequency);
};
extend(Square, TableLookupOscillator);
Square.prototype.toString = function() {
return 'Square';
};
=======
/**
* Square wave oscillator using a lookup table
*
* **Inputs**
*
* -... |
<<<<<<<
var common = require("./common"),
assert = require("chai").assert,
util = common.requireSrc("./lib/util"),
graph = common.requireSrc("./lib/graph");
=======
var util = require("../lib/util"),
graph = require("../lib/graph");
require("./common");
>>>>>>>
var common = require("./common"),
... |
<<<<<<<
"openattic.taskQueue",
"openattic.userinfo"
=======
"openattic.userinfo",
"openattic.users"
>>>>>>>
"openattic.taskQueue",
"openattic.userinfo"
"openattic.users" |
<<<<<<<
var server = app.listen(port, function() {
console.log('Splendid listening on *:%s', port);
=======
app.listen(8080, function() {
console.log('Splendid listening on *:8080');
>>>>>>>
app.listen(port, function() {
console.log('Splendid listening on *:%s', port); |
<<<<<<<
<EntryContainer style={higlight} className={state.edit && "zoom"}>
{state.edit && isSelected == entry.id ? (
=======
<EntryContainer
style={higlight}
className={state.edit && "zoom"}
ref={focusedEntry}
>
{state.edit && isSelected == entry.id ? (
>>>>>>>
<EntryCon... |
<<<<<<<
=======
var util = require('util');
var nodePath = require('path');
var q = require('q');
>>>>>>>
var util = require('util');
var util = require('util');
var util = require('util');
var nodePath = require('path');
var q = require('q'); |
<<<<<<<
//区块详情
app.get("/block_detail", function(req, res) {
res.render('block_detail.ejs', {
name: 'tinyphp',item_index_peers:'1'
});
=======
//交易详情
app.get("/channels/:channelName/:txHash", function(req, res) {
var channelName=req.params.channelName
var txHash=req.params.txHash
bcse... |
<<<<<<<
var itemId = getNestedProperty(item, conf.id);
var parentId = getNestedProperty(item, conf.parentId);
=======
var itemId = item[conf.id];
var parentId = item[conf.parentId];
if (conf.rootParentIds[itemId]) {
throw new Error("The item array contains a node wh... |
<<<<<<<
const Alert = require('../components/alert');
=======
const CommentModel = require('../models/comment');
>>>>>>>
const Alert = require('../components/alert');
const CommentModel = require('../models/comment');
<<<<<<<
m('h1', stream.title()),
m('div.col s12 m6 l4',
m('video#video', {
... |
<<<<<<<
import { withTranslation } from 'react-i18next';
import './Header.css';
=======
>>>>>>>
import { withTranslation } from 'react-i18next';
import './Header.css';
<<<<<<<
{
title: t('Preferences'),
icon: { name: 'user' },
onClick: this.props.openUserPreferencesModal,
},
===... |
<<<<<<<
api.addFiles('lib/validators.js', 'client');
api.addFiles('lib/instanceClassSpecificViewport.js', 'client');
api.addFiles('lib/setMammogramViewportAlignment.js', 'client');
=======
api.addFiles('lib/isImage.js', 'client');
api.addFiles('lib/sopClassDictionary.js', 'client');
api.addFil... |
<<<<<<<
api.addFiles('client/components/lesionTrackerWorklistStudy/lesionTrackerWorklistStudy.html', 'client');
api.addFiles('client/components/lesionTrackerWorklistStudy/lesionTrackerWorklistStudy.styl', 'client');
api.addFiles('client/components/lesionTrackerWorklistStudy/lesionTrackerWorklistStudy.js', '... |
<<<<<<<
CM.VersionMajor = '1.0466';
CM.VersionMinor = '2';
=======
CM.VersionMajor = '1.909';
CM.VersionMinor = '1';
>>>>>>>
CM.VersionMajor = '2';
CM.VersionMinor = '1'; |
<<<<<<<
"expect": true,
"Tone": true,
"Interface": true,
=======
"expect": true,
"Tone" : true
},
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module"
>>>>>>>
"expect": true,
"Tone": true,
"Interface": true
},
"... |
<<<<<<<
display: inline-block;
padding: ${spacing.small} 0;
margin-right: ${spacing.large};
color: ${props => (props.selected ? colors.base : colors.blue)};
=======
padding: ${spacing.large};
color: ${props => (props.selected ? colors.link.default : colors.link.focus)};
>>>>>>>
display: inline-block;
... |
<<<<<<<
export { Tabs }
import Well from './atoms/well'
export { Well }
=======
export { Tabs }
import Stack from './molecules/stack'
export { Stack }
import List from './molecules/list'
export { List }
>>>>>>>
export { Tabs }
import Well from './atoms/well'
export { Well }
import Stack from './molecules/stack... |
<<<<<<<
scrollView.options.bouncing = true;
if (ionic.Platform.isAndroid()) {
// No bouncing by default on Android
scrollView.options.bouncing = false;
// Faster scroll decel
scrollView.options.deceleration = 0.95;
=======
if (scrollView.options) {
scrollView... |
<<<<<<<
* Ionic, v0.9.18
=======
* Ionic, v0.9.19
>>>>>>>
* Ionic, v0.9.19
<<<<<<<
// Check if this supports infinite scrolling and listen for scroll events
// to trigger the infinite scrolling
var infiniteScroll = $element.find('infinite-scroll');
var infiniteStarted = fa... |
<<<<<<<
$('[data-toggle="tooltip"]').tooltip();
// Flyouts
// Provide data-theme attribute to set flyout's color theme.
$('[data-toggle="popover"]').each(function () {
var $element = $(this);
$element.popover({
// Override Bootsrap's default template with one that does not ... |
<<<<<<<
require('./ColorPicker');
require('./Toast');
=======
require('./ColorPicker');
require('./SharePrompt');
require('./Notification');
>>>>>>>
require('./ColorPicker');
require('./Toast');
require('./SharePrompt');
require('./Notification'); |
<<<<<<<
const MetaRowPlaceholder = require('./MetaRowPlaceholder');
const ModalDialog = require('./ModalDialog');
=======
const Multiselect = require('./Multiselect');
>>>>>>>
const ModalDialog = require('./ModalDialog');
const Multiselect = require('./Multiselect');
<<<<<<<
MetaRowPlaceholder,
ModalDialog,... |
<<<<<<<
<Provider>
<Library>
<Example name="Heading">
<Heading>Hello</Heading>
</Example>
<Example name="Button">
<Button>Hello</Button>
</Example>
<Example name="Donut">
<Donut
value={2/3}
color='tomato'
/>
</Example>
<... |
<<<<<<<
if (this.readyState !== this.OPENED) {
throw "INVALID_STATE_ERR: setRequestHeader can only be called when state is OPEN";
=======
if (this.readyState != this.OPENED) {
throw new Error("INVALID_STATE_ERR: setRequestHeader can only be called when state is OPEN");
>>>>>>>
if (this.readyS... |
<<<<<<<
CM.VersionMajor = '1.0466';
CM.VersionMinor = '2';
=======
CM.VersionMajor = '1.909';
CM.VersionMinor = '1';
>>>>>>>
CM.VersionMajor = '2';
CM.VersionMinor = '1'; |
<<<<<<<
capLevelOnFPSDrop: false,
=======
capLevelToPlayerSize: false,
>>>>>>>
capLevelOnFPSDrop: false,
capLevelToPlayerSize: false,
<<<<<<<
fpsController: FPSController,
=======
capLevelController : CapLevelController,
>>>>>>>
capLevelContro... |
<<<<<<<
this.observer.trigger(Event.INIT_PTS_FOUND, {initPTS});
=======
this.observer.trigger(Event.INIT_PTS_FOUND, { id: this.id, initPTS: initPTS, cc: cc});
>>>>>>>
this.observer.trigger(Event.INIT_PTS_FOUND, {initPTS});
this.observer.trigger(Event.INIT_PTS_FOUND, { id: this.id, ini... |
<<<<<<<
pesFrameDuration = expectedSampleDuration * pes2mp4ScaleFactor,
rawMPEG = !track.isAAC && this.typeSupported.mpeg;
=======
pesFrameDuration = expectedSampleDuration * pes2mp4ScaleFactor,
ptsNormalize = this._PTSNormalize,
initDTS = this._initDTS;
>>>>>>>
... |
<<<<<<<
const headerLength = getHeaderLength(data, offset);
=======
let headerLength = getHeaderLength(data, offset);
if (offset + headerLength >= data.length) {
return false;
}
>>>>>>>
const headerLength = getHeaderLength(data, offset);
if (offset + headerLength >= data.length) {
... |
<<<<<<<
var captionsLabels = this.manifestCaptionsLabels;
captionsLabels.captionsTextTrack1Label = 'English';
captionsLabels.captionsTextTrack1LanguageCode = 'en';
captionsLabels.captionsTextTrack2Label = 'Español';
captionsLabels.captionsTextTrack2LanguageCode = 'es';
=======
var captionsLab... |
<<<<<<<
this.remuxer = new this.remuxerClass(observer, config);
this.ZERO_AUDIO_FRAME = new Uint8Array([
0x21, 0x10, 0x05, 0x20, 0xa4, 0x1b, 0xff, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
... |
<<<<<<<
describe('PlaylistLoader', function () {
it('parses empty manifest returns empty array', function () {
expect(M3U8Parser.parseMasterPlaylist('', 'http://www.dailymotion.com')).to.deep.equal([]);
=======
const assert = require('assert');
const bufferIsEqual = require('arraybuffer-equal');
describe('Play... |
<<<<<<<
case ErrorDetails.REMUX_ALLOC_ERROR:
levelId = data.level;
break;
=======
case ErrorDetails.MANIFEST_EMPTY_ERROR:
levelId = data.context.level;
levelError = true;
removeLevel = true;
break;
>>>>>>>
case ErrorDetails.REMUX_ALLOC_ERROR:
... |
<<<<<<<
const callback = arguments[arguments.length - 1];
self.startStream(url, config, callback);
const video = self.video;
video.onloadeddata = function () {
self.setTimeout(function () {
video.currentTime = video.duration - 5;
// Fail test early if more than 2 buffered ranges ar... |
<<<<<<<
let pos = 0;
if (this.loadedmetadata)
=======
let pos;
if (this.loadedmetadata) {
>>>>>>>
let pos = 0;
if (this.loadedmetadata) {
<<<<<<<
else if (this.nextLoadPosition)
=======
} else {
>>>>>>>
} else if (this.nextLoadPosition) {
<<<<<<<
if (levelDetails.... |
<<<<<<<
this.remuxer = new this.remuxerClass(observer,id, config);
// id === 'main' when the demuxer is used to play an audio only stream and requires AAC files placed back-to-back in the order they are received.
// id === 'audio' when the demuxer is used for multitrack audio and requires the use of timesta... |
<<<<<<<
let minLevel = this.verboseFilter[severity];
if (this.verboseLevel >= minLevel) {
// console.log(this.time + ' [' + severity + '] ' + msg);
}
=======
const minLevel = this.verboseFilter[severity];
if (this.verboseLevel >= minLevel)
console.log(this.time + ' [' + severity + '] '... |
<<<<<<<
=======
<p>
<FormattedMessage
id='recommendedOpsSection.subtitle.volunteer'
defaultMessage='Some people you could help right now.'
decription='Subtitle on volunteer home page for recommended opportunities'
/>
</p>
>>>>>>>
... |
<<<<<<<
// fired to notify that subtitle track lists has been updated data: { subtitleTracks : subtitleTracks}
SUBTITLE_TRACKS_UPDATED: 'hlsSubtitleTracksUpdated',
// fired when an subtitle track switch occurs - data: { id : subtitle track id}
SUBTITLE_TRACK_SWITCH: 'hlsSubtitleTrackSwitch',
// fired when an... |
<<<<<<<
const levelId = Number.isFinite(level) ? level : Number.isFinite(id) ? id : 0; // level -> id -> 0
=======
const levelUrlId = Number.isFinite(id) ? id : 0;
const levelId = Number.isFinite(level) ? level : levelUrlId;
>>>>>>>
const levelUrlId = Number.isFinite(id) ? id : 0;
const levelId =... |
<<<<<<<
describe('TimelineController', function () {
=======
const assert = require('assert');
describe('TimelineController', () => {
>>>>>>>
const assert = require('assert');
describe('TimelineController', function () { |
<<<<<<<
person.placeOfWork = values.placeOfWork
=======
person.job = values.job
>>>>>>>
person.placeOfWork = values.placeOfWork
person.job = values.job
<<<<<<<
const personplaceOfWork = (
<FormattedMessage
id='placeOfWork'
defaultMessage='Where is your place... |
<<<<<<<
let parsedPIDs = parsePMT(data, offset, this.typeSupported.mpeg === true || this.typeSupported.mp3 === true);
avcId = avcTrack.id = parsedPIDs.avc;
aacId = aacTrack.id = parsedPIDs.aac;
id3Id = id3Track.id = parsedPIDs.id3;
aacTrack.isAAC = parsedPIDs.... |
<<<<<<<
this.remuxer = new this.remuxerClass(observer,id, config, typeSupported);
// id === 'main' when the demuxer is used to play an audio only stream and requires AAC files placed back-to-back in the order they are received.
// id === 'audio' when the demuxer is used for multitrack audio and requires the... |
<<<<<<<
// Abort on invalid sub-generators rather than running default
namespace = options.namespace.split(':');
if (namespace.length > 1) {
options.namespace = namespace[0];
console.log('Error: Invalid sub-generator', namespace[1]);
console.log(this.help());
process.exit(... |
<<<<<<<
krakenutil.update();
=======
update.check();
this.hookFor('kraken:locale', {
args: args,
options: {
options: options
}
});
>>>>>>>
krakenutil.update();
this.hookFor('kraken:locale', {
args: args,
options: {
options: opt... |
<<<<<<<
try{
if(!fs.existsSync(anyproxyHome)){
fs.mkdirSync(anyproxyHome);
}
if(fs.existsSync(path.join(anyproxyHome,"rule_default.js"))){
default_rule = require(path.join(anyproxyHome,"rule_default"));
}
if(fs.existsSync(path.join(process.cwd(),'rule.js'))){
default_rule = r... |
<<<<<<<
key: 'imgUrl',
=======
key: 'avatar',
sorter: (a, b) => a.person.nickname.length - b.person.nickname.length,
>>>>>>>
key: 'imgUrl',
sorter: (a, b) => a.person.nickname.length - b.person.nickname.length, |
<<<<<<<
export const withMembers = PageComponent => withReduxEndpoints(PageComponent, ['members'])
export const withArchivedOpportunities = PageComponent => withReduxEndpoints(PageComponent, ['archivedOpportunities'])
=======
export const withArchivedOpportunities = PageComponent => withReduxEndpoints(PageComponent, ... |
<<<<<<<
username,
password,
region: 'US',
pin
=======
username,
password,
region: 'US',
pin,
// autoLogin: false
>>>>>>>
username,
password,
region: 'US',
pin
<<<<<<<
=======
const onReadyHandler = async(vehicles) => {
const vehicle = client.getVehicle();
const response... |
<<<<<<<
=======
import getPort from 'get-port';
try {
const wincmd = require('node-windows');
} catch (ex) {
const wincmd = null;
}
>>>>>>>
import getPort from 'get-port'; |
<<<<<<<
import builtinModules from 'builtin-modules'
=======
import json from '@rollup/plugin-json'
>>>>>>>
import json from '@rollup/plugin-json'
import builtinModules from 'builtin-modules' |
<<<<<<<
ramlDef.mediaType = this.mapMediaType(env.Consumes, env.Produces);
ramlDef.documentation = [{
title: this.project.Name,
content: this.project.Description
}];
=======
this.description(ramlDef, this.project);
>>>>>>>
ramlDef.mediaType = this.mapMediaType(env.Consumes, env.Produces);
thi... |
<<<<<<<
try {
this.project = new Project(this.data.title());
this.project.Environment.Version = this.data.version();
// TODO set project description from documentation
// How to know which documentation describes the project briefly?
var documentation = this.data.documentation();
if (document... |
<<<<<<<
var _ = require('lodash'),
RAML = require('./baseraml'),
jsonHelper = require('../utils/json'),
ramlHelper = require('../helpers/raml');
=======
var RAML = require('./baseraml'),
jsonHelper = require('../utils/json');
>>>>>>>
var _ = require('lodash'),
RAML = require('./baseraml'),
js... |
<<<<<<<
var name = null;
var content = {};
=======
var externalName = null;
var content = null;
>>>>>>>
var name = null;
var content = {};
<<<<<<<
// add header auth
if (!_.isEmpty(slSecuritySchemes.apiKey.headers)) {
name = slSecuritySchemes.apiKey.headers[0].externalName;
=======
if (slS... |
<<<<<<<
if (state.data !== newData) {
state.data = newData;
state.listeners.forEach(observer => observer(newData));
}
},
=======
state.data = newData;
state.listeners.forEach(x => x(newData));
}
>>>>>>>
state.data = newData;
state.listeners.forEach(x => x(n... |
<<<<<<<
const { Action } = require('../../services/abilities/ability.constants')
const convertSelectObjectToArray = select => {
let propsToSelect = []
Object.keys(select).map(key => {
if (select[key]) {
propsToSelect.push(key)
}
})
return propsToSelect
}
=======
const Tag = require('./../tag/ta... |
<<<<<<<
this.postJSON(this.viewModels[viewModelName].url, "POST", ko.toJSON(data), function (result) {
dotvvm.events.postbackResponseReceived.trigger({});
resolve(function () { return new Promise(function (resolve, reject) {
... |
<<<<<<<
var deepEqual = require('fast-deep-equal');
=======
var componentHelper = require('../ComponentHelper');
var Compressor = require('../Compressor');
var InterpolationBuffer = require('buffered-interpolation');
>>>>>>>
var deepEqual = require('fast-deep-equal');
var InterpolationBuffer = require('buffered-inte... |
<<<<<<<
__webpack_require__(60);
__webpack_require__(67);
=======
__webpack_require__(65);
>>>>>>>
__webpack_require__(65);
<<<<<<<
var physics = __webpack_require__(50);
var NafLogger = __webpack_require__(51);
var Schemas = __webpack_require__(52);
var NetworkEntities = __webpack_require__(53);
var Netwo... |
<<<<<<<
this.loggedIn = false;
this.onLoggedInEvent = new Event('loggedIn');
this.onPeerConnectedEvent = new Event('clientConnected');
this.onPeerDisconnectedEvent = new Event('clientDisconnected');
this.onDCOpenEvent = new Event('dataChannelOpened');
this.onDCCloseEvent = new Event('dataChannel... |
<<<<<<<
import { editParcel } from 'modules/parcels/actions'
=======
import { editParcel } from 'actions'
import { getWallet, isLoading, isError } from 'modules/wallet/reducer'
>>>>>>>
import { editParcel } from 'modules/parcels/actions'
import { getWallet, isLoading, isError } from 'modules/wallet/reducer' |
<<<<<<<
import D3ChoroplethExample from './components/example-d3Choropleth';
=======
import ChoroplethExample from './components/example-choropleth';
import IntroManagerExample from './components/example-introManager.jsx';
import ItemSelectorExample from './components/example-itemSelector.jsx';
import LeafletChorople... |
<<<<<<<
if (!scriptWindow) {
const mainWindowPos = mainWindow.getPosition();
scriptWindow = new BrowserWindow({
frame: false,
// titleBarStyle: 'hidden',
width: 400,
height: 600,
// minHeight: 680,
backgroundColor: '#b5beda',
// show: false,
x: mainWindowPos[0]... |
<<<<<<<
path: ["302"]
=======
pieces: ["302"]
},
getJSON: {
method: "GET",
pieces: ["JSON"]
>>>>>>>
path: ["302"]
},
getJSON: {
method: "GET",
path: ["JSON"] |
<<<<<<<
dbot.db.imgur.totalImages += 1;
callback(testUrl, testSlug);
=======
this.db.totalImages += 1;
var hash = crypto.createHash('md5').update(body).digest("hex");
callback(testUrl, testSlug,hash);
>>>>>>>
... |
<<<<<<<
_.each(moduleNames, function(name) {
=======
moduleNames.each(function(name) {
this.status[name] = true;
>>>>>>>
_.each(moduleNames, function(name) {
this.status[name] = true; |
<<<<<<<
var http = require('http');
var https = require("https");
var express = require('express');
var request = require('request');
var fs = require('fs');
var unzip = require('unzip');
=======
/* eslint "no-warning-comments": [1, { "terms": ["todo","fixme"] }] */
const http = require('http');
const fs = require('f... |
<<<<<<<
os_type: (os_type === '') ? os.platform() : os_type,
disk_percentage
=======
os_type: os.platform,
disk_percentage,
running_containers: running_containers
>>>>>>>
os_type: (os_type === '') ? os.platform() : os_type,
disk_percentage
disk_percentage,
runnin... |
<<<<<<<
=======
function containerDetails() {
setTimeout(() => {
total_containers = 0;
Object.keys(config.layout).forEach((get_node, i) => {
Object.keys(config.layout[i]).forEach(key => {
if ((!config.layout[i].hasOwnProperty(key) || key.indexOf('node') > -1)) {
return;
}
... |
<<<<<<<
// Configuration of RequireJS:
//
require.config({
baseUrl: './',
waitSeconds: 30, // default: 7 seconds
paths: {
'css': 'dependencies/css',
'jquery': 'dependencies/jquery',
'compatibility': 'lib/compatibility',
'jquery-ui': ... |
<<<<<<<
// global var
=======
///////////////////////////////////////////////////////////////////////
//
// Configuration of RequireJS:
//
require.config({
baseUrl: './',
waitSeconds: 30, // default: 7 seconds
paths: {
'css': 'dependencies/css',
'jquery': 'depend... |
<<<<<<<
var apiUrl = 'https://api.github.com/repos/' + user + '/' + repo + '/tags';
=======
var apiUrl = githubApiUrl + '/repos/' + user + '/' + repo + '/tags';
// Using our OAuth App secret grants us 5000 req/hour
// instead of the standard 60 req/hour.
if (serverSecrets) {
apiUrl += '?client_id=' + se... |
<<<<<<<
import UserProfile from "./UserProfile";
=======
import Payment from "./Payment";
>>>>>>>
import UserProfile from "./UserProfile";
import Payment from "./Payment";
<<<<<<<
<Route exact path="/UserProfile">
<UserProfile />
</Route>
=======
... |
<<<<<<<
that.parent;
// Get my papa or set it
that.getPapa = function(conf){
if (ui.instances.forms.length > 0) {
for(var i = 0, j = ui.instances.forms.length; i < j; i ++){
if(ui.instances.forms[i].element === $(conf.element).parents("form")[0]){
that.parent = ui.instances.forms[i]; // Get my... |
<<<<<<<
"src/shared/js/onImagesLoads.js",
"src/shared/js/Component.js",
"src/shared/js/Form.js",
"src/shared/js/Condition.js",
"src/shared/js/Validation.js",
"src/ui/js/Validation.js",
"src/shared/js/Expandable.js",
"src/shared/js/Menu.js",
"src/shared/js/Popover.js",
"src/ui/js/... |
<<<<<<<
},
// Grab the vendor prefix of the current browser
// Based on: http://lea.verou.me/2009/02/find-the-vendor-prefix-of-the-current-browser/
"VENDOR_PREFIX": (function () {
var regex = /^(Webkit|Khtml|Moz|ms|O)(?=[A-Z])/,
styleDeclaration = document.getElementsByTagName("script")[0].style;... |
<<<<<<<
server.use(getAbility)
=======
server.use(setSession)
>>>>>>>
server.use(setSession)
server.use(getAbility) |
<<<<<<<
.on(ch.onpointertap + '.accordion', function () {
=======
.on(ch.events.pointer.TAP + '.accordion', function () {
var opened = that._children[that._selected - 1];
>>>>>>>
.on(ch.onpointertap + '.accordion', function () {
... |
<<<<<<<
* @name ch.Calendar#select
=======
>>>>>>> |
<<<<<<<
return ~~( (that.$element.outerWidth() - that.itemSize.width) / that.itemSize.width );
=======
var _widthDiff = that.$element.outerWidth() - that.itemSize.width;
return (_widthDiff > that.itemSize.width) ? ~~( _widthDiff / that.itemSize.width) : 1;
>>>>>>>
// Space to be distributed among all items
... |
<<<<<<<
var that = this;
conf.cone = true;
conf.position = {};
conf.position.context = that.$element;
conf.position.offset = "15 0";
conf.position.points = "lt rt";
conf.cache = false;
=======
var that = this,
conf = {};
conf.cone = true;
conf.cache = false;
conf.aria = {};
conf.aria.role = "ale... |
<<<<<<<
// Closable button-only
if (closableType === 'button-only' || closableType === 'all' || closableType === true) {
=======
/**
* Closable button-only
*/
if (hiddenby === 'button-only' || hiddenby === 'all') {
>>>>>>>
// Closa... |
<<<<<<<
// Inheritance
var parent = ch.util.inherits(Tabs, ch.Widget),
=======
/**
* Inheritance
*/
var parent = ch.util.inherits(Tabs, ch.Component),
>>>>>>>
// Inheritance
var parent = ch.util.inherits(Tabs, ch.Component),
<<<<<<<
* The name of the widget.
* @memberof! ... |
<<<<<<<
* @augments ch.Widget
=======
* @augments ch.Component
* @mixes ch.Collapsible
* @mixes ch.Content
>>>>>>>
* @augments ch.Component |
<<<<<<<
}, //prefilleTimeline:
registerWebkitNotifications: {
name: "registerWebkitNotifications",
func: function registerWebkitNotifications() {
var permission = window.webkitNotifications &&
window.webkitNotifications.checkPermission();
//- The user can ... |
<<<<<<<
snapMinutes: 15,
groupRenderer: DefaultGroupRenderer,
itemRenderer: DefaultItemRenderer
=======
snapMinutes: 15,
timelineMode: Timeline.TIMELINE_MODES.SELECT | Timeline.TIMELINE_MODES.DRAG | Timeline.TIMELINE_MODES.RESIZE
>>>>>>>
snapMinutes: 15,
groupRenderer: DefaultGroupRendere... |
<<<<<<<
const ROWS = 100;
const ITEMS_PER_ROW = 100;
=======
import {Layout, Form, InputNumber, Button, DatePicker} from 'antd';
import 'antd/dist/antd.css';
>>>>>>>
import {Layout, Form, InputNumber, Button, DatePicker} from 'antd';
import 'antd/dist/antd.css';
import TimelineItem from 'antd/lib/timeline/TimelineI... |
<<<<<<<
import {sumStyle, pixToInt} from 'utils/common';
import {getDurationFromPixels, rowItemsRenderer, getTimeAtPixel, getNearestRowHeight} from 'utils/itemUtils';
=======
import {sumStyle, pixToInt, intToPix} from 'utils/common';
import {rowItemsRenderer, getTimeAtPixel, getNearestRowHeight, getMaxOverlappingItem... |
<<<<<<<
var recursion = function(amount, coinsICanUse) {
if (amount === 0) {
return 1;
}
var result = 0;
var largestCoin = coinsICanUse[0];
var minusOneOfLargestCoin = amount - largestCoin;
if (minusOneOfLargestCoin >= 0) {
result += recursion(minusOneOfLargestCoin, coinsICanUs... |
<<<<<<<
options.url = 'responseURL' in xhr ? xhr.responseURL : options.headers.get('X-Request-URL')
var body = 'response' in xhr ? xhr.response : xhr.responseText
setTimeout(function() {
resolve(new Response(body, options));
}, 0);
}
xhr.onerror = function() {
... |
<<<<<<<
const remote = require('remote');
const Menu = remote.require('menu');
const MenuItem = remote.require('menu-item');
const tinycolor = require("tinycolor2");
const _ = require('lodash');
=======
const remote = electron.remote;
const Menu = remote.Menu;
const MenuItem = remote.MenuItem;
>>>>>>>
const remote =... |
<<<<<<<
it('should allow demand option with boolean flag', function () {
var r = checkUsage(function () {
return yargs('-y 10 -z 20'.split(' '))
.usage('Usage: $0 -x NUM [-y NUM]')
.options({
'x': { description: 'an option', demand: true ... |
<<<<<<<
onDrop: (itemPosition: {
x: number,
y: number,
w: number,
h: number,
e: Event
}) => void,
children: ReactChildrenArray<ReactElement<any>>,
innerRef?: Ref<"div">
=======
onDrop: (layout: Layout, item: ?LayoutItem, e: Event) => void,
children: ReactChildrenArray<ReactElement<any>... |
<<<<<<<
$scope.$watch(
() => this.ngModelController && this.ngModelController.$viewValue ? this.ngModelController.$viewValue : this.ngModelController,
(nVal, oVal) => {
if (nVal !== oVal && Boolean(this.placeholder)) $container.html(this.ngModelController.$viewValue);
});
$... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.