code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/lib/taiko.js b/lib/taiko.js @@ -1440,7 +1440,7 @@ module.exports.button = (attrValuePairs, ...args) => {
module.exports.inputField = (attrValuePairs, ...args) => {
validate();
const selector = getValues(attrValuePairs, args);
- let get = getElementGetter(selector,
+ const get = getElementGetter(selector,
a... | 1 |
diff --git a/best-practices.md b/best-practices.md ## Table of Contents
-- [STAC Best Practices](#stac-best-practices)
- - [Table of Contents](#table-of-contents)
- [Enable Cross-origin resource sharing (CORS)](#enable-cross-origin-resource-sharing-cors)
- [Field and ID formatting](#field-and-id-formatting)
- [Field se... | 2 |
diff --git a/packages/styles/src/theme/config.js b/packages/styles/src/theme/config.js @@ -150,9 +150,9 @@ const BUTTON_PROPS = {
buttonTertiaryTextColor: get('buttonPrimaryColor'),
buttonTertiaryTextColorFocus: get('buttonPrimaryColor'),
buttonTertiaryTextColorActive: get('buttonPrimaryColor'),
- buttonTertiaryBorderC... | 7 |
diff --git a/src/components/GlobalRouter/index.js b/src/components/GlobalRouter/index.js @@ -254,17 +254,16 @@ export default class GlobalRouter extends PureComponent {
const { showMenu, collapsed, pathname, menuData } = this.props;
const { openKeys } = this.state;
// Don't show popup menu when it is been collapsed
- c... | 1 |
diff --git a/app/views/photos/_photo_list_form.html.erb b/app/views/photos/_photo_list_form.html.erb <h4><%= t :select_one_or_more_photos %></h4>
<% photos.each do |photo| %>
<%-
- native_photo_id = photo.native_photo_id || photo.id
+ native_photo_id = photo.is_a?( LocalPhoto ) ? photo.id : ( photo.native_photo_id || p... | 1 |
diff --git a/packages/component-library/stories/PathMap.story.js b/packages/component-library/stories/PathMap.story.js @@ -8,13 +8,7 @@ import { scaleThreshold } from "d3";
import { BaseMap, PathMap, MapTooltip, DemoJSONLoader } from "../src";
import notes from "./PathMap.notes.md";
-const optionsStyle = {
- "Hack Oreg... | 2 |
diff --git a/src/components/challenge/Post.js b/src/components/challenge/Post.js @@ -43,11 +43,16 @@ const CommentButton = Box.withComponent('button').extend`
box-shadow: none !important;
cursor: pointer;
position: relative;
+ padding-right: 0;
+ margin: 0;
span {
position: absolute;
width: 100%;
top: ${props => props.... | 1 |
diff --git a/dc-worker-manager.js b/dc-worker-manager.js @@ -284,14 +284,14 @@ export class DcWorkerManager {
return result;
}
async drawSphereDamage(position, radius) {
- const chunkPosition = chunkMinForPosition(
- position.x,
- position.y,
- position.z,
- this.chunkSize
- );
- const chunkId = getLockChunkId(chunkPos... | 2 |
diff --git a/articles/protocols/saml/index.html b/articles/protocols/saml/index.html @@ -55,41 +55,6 @@ title: SAML
</li>
</ul>
</li>
- <li>
- <i class="icon icon-budicon-715"></i><a href="/samlp">Configure a SAML Identity Provider Connection</a>
- <p>
- How to configure a SAML Identity Provider Connection
- </p>
- </l... | 2 |
diff --git a/app/math-editor.js b/app/math-editor.js @@ -45,7 +45,7 @@ function initMathEditor() {
const $mathEditorContainer = $(`
<div class="math-editor" data-js="mathEditor">
<div class="math-editor-boxes">
- <div class="math-editor-equation-editor" data-js="equationEditor"></div>
+ <div class="math-editor-equation... | 10 |
diff --git a/metaversefile-api.js b/metaversefile-api.js @@ -119,12 +119,18 @@ const _getLoaders = () => {
let currentAppRender = null;
let recursion = 0;
metaversefile.setApi({
- import(s) {
+ async import(s) {
if (/^https?:\/\//.test(s)) {
s = `/@proxy/${s}`;
}
// console.log('do import', s);
- return import(s);
+ tr... | 9 |
diff --git a/io-manager.js b/io-manager.js @@ -684,6 +684,7 @@ const _updateMouseMovement = e => {
const _getMouseRaycaster = (e, raycaster) => {
const {clientX, clientY} = e;
const renderer = getRenderer();
+ if (renderer) {
renderer.getSize(localVector2D2);
localVector2D.set(
(clientX / localVector2D2.x) * 2 - 1,
@@ ... | 0 |
diff --git a/tests/integration/components/bs-collapse-test.js b/tests/integration/components/bs-collapse-test.js @@ -40,6 +40,7 @@ module('Integration | Component | bs-collapse', function (hooks) {
this.set('collapsed', false);
assert.ok(showAction.calledOnce, 'onShow action has been called');
+ assert.notOk(shownActio... | 7 |
diff --git a/src/commands/Roles/RoleIds.js b/src/commands/Roles/RoleIds.js @@ -27,7 +27,15 @@ class Roles extends Command {
* or perform an action based on parameters.
*/
run(message) {
- const roles = message.guild.roles.array().sort((a, b) => { a.localeCompare(b) });
+ const roles = message.guild.roles.array().sort((... | 2 |
diff --git a/src/components/views/DamageControl/index.js b/src/components/views/DamageControl/index.js @@ -38,7 +38,7 @@ class DamageControl extends Component {
};
this.systemSub = null;
}
- componentWillReceiveProps(nextProps) {
+ UNSAFE_componentWillReceiveProps(nextProps) {
if (!this.systemSub && !nextProps.data.loa... | 1 |
diff --git a/packages/app/src/components/Icons/TriangleIcon.tsx b/packages/app/src/components/Icons/TriangleIcon.tsx import React from 'react';
const TriangleIcon = (): JSX.Element => (
- <svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8">
- <path
- d="M5.2,1.067a1,1,0,0,1,1.6,0l4,5.333A1,... | 4 |
diff --git a/site/plugins.md b/site/plugins.md @@ -117,21 +117,21 @@ value on various platforms.
The built-in plugin directory is by definition version-independent: its contents will change
from release to release. So will its exact path (by default) which contains version number,
-e.g. `/usr/lib/rabbitmq/lib/rabbitmq_... | 4 |
diff --git a/test/unit/tracing/exporters/jaeger.spec.js b/test/unit/tracing/exporters/jaeger.spec.js @@ -147,7 +147,7 @@ describe("Test Jaeger tracing exporter class", () => {
expect(res).toBe(fakeRemoteReporter);
expect(UDPSender).toHaveBeenCalledTimes(1);
- expect(UDPSender).toHaveBeenCalledWith({ host: "jaeger-host"... | 3 |
diff --git a/src/components/Carousel.js b/src/components/Carousel.js @@ -640,7 +640,7 @@ export default class Carousel extends Component {
renderArrowRight = () => {
const slides = this.getChildren();
const value = this.getCurrentValue();
- const lastSlideIndex = slides.length;
+ const lastSlideIndex = slides.length - ... | 1 |
diff --git a/tools/olsonParser.js b/tools/olsonParser.js @@ -151,12 +151,52 @@ var sortRules = function ( a, b ) {
return a[1] - b[1];
};
-var convertFile = function ( text ) {
+// The following obsolete names are aliases rather than linked
+const alwaysAlias = {
+ 'GMT': true,
+ 'Etc/Universal': true,
+ 'Etc/Zulu': tr... | 0 |
diff --git a/examples/viper/search_openaire_projects.js b/examples/viper/search_openaire_projects.js @@ -49,10 +49,11 @@ var setupPaginator = function (searchTerm) {
callback: function (data, pagination) {
var header = '<div id="project_count">Projects: ' + pagination.totalNumber + ' results for <span style="font-weigh... | 2 |
diff --git a/database/schedule_models.py b/database/schedule_models.py @@ -258,7 +258,7 @@ class Intervention(TimestampedModel):
class InterventionDate(TimestampedModel):
- date = models.DateField(null=True)
+ date = models.DateField(null=True, blank=True)
participant = models.ForeignKey('Participant', on_delete=models... | 12 |
diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/editors/code-editors/monaco.js b/packages/node_modules/@node-red/editor-client/src/js/ui/editors/code-editors/monaco.js @@ -921,6 +921,15 @@ RED.editor.codeEditor.monaco = (function() {
/*********** Create the monaco editor ***************/
var ed = m... | 2 |
diff --git a/src/technologies/p.json b/src/technologies/p.json "description": "Polylang is a WordPress plugin which allows you to create multilingual WordPress site.",
"dom": "img[src*='/wp-content/plugins/polylang/']",
"headers": {
- "x-redirected-by": "Polylang(?:\\s[a-zA-Z]+)?"
+ "x-redirected-by": "Polylang"
+ },
+... | 7 |
diff --git a/helpers/wrapper/test/Wrapper.js b/helpers/wrapper/test/Wrapper.js @@ -96,7 +96,7 @@ contract('Wrapper', async ([aliceAddress, bobAddress, carolAddress]) => {
})
})
- it('Bob authorizesSender the Wrapper to send orders on his behalf', async () => {
+ it('Bob authorizes the Wrapper to send orders on his beha... | 3 |
diff --git a/unit-test/background/atb.es6.js b/unit-test/background/atb.es6.js @@ -26,7 +26,7 @@ describe('atb.canShowPostInstall()', () => {
// ensure settings.getSettings('hasSeenPostInstall') == false
spyOn(settings, 'getSetting').and.returnValue(false)
- const result = atb.canShowPostInstall(test.domain);
+ const r... | 2 |
diff --git a/docs/api.md b/docs/api.md @@ -1859,13 +1859,13 @@ use shears.
Attack a player or a mob.
* `entity` is a type of entity. To get a specific entity use [bot.nearestEntity()](#botnearestentitymatch--entity---return-true-) or [bot.entities](#botentities).
- * `swing` Default `true`. If false the bot does not sw... | 7 |
diff --git a/assets/js/modules/tagmanager/components/common/FormInstructions.js b/assets/js/modules/tagmanager/components/common/FormInstructions.js /**
* WordPress dependencies
*/
-import { Fragment } from '@wordpress/element';
import { __, sprintf } from '@wordpress/i18n';
/**
@@ -107,13 +106,11 @@ export default fun... | 2 |
diff --git a/server/lib/config.ts b/server/lib/config.ts @@ -112,7 +112,7 @@ const configSchema = convict({
fileTracker : {
doc : 'Bittorrent tracker.',
format : String,
- default : 'wss://tracker.lab.vvc.niif.hu:443'
+ default : 'wss://tracker.openwebtorrent.com'
},
redisOptions : {
host : {
| 3 |
diff --git a/lib/trace.js b/lib/trace.js @@ -440,7 +440,8 @@ Trace.prototype.getLoadRecord = function(canonical, traceOpts, parentStack) {
load.plugin = getCanonicalName(loader, pluginNormalized);
if (load.metadata.loaderModule &&
- (load.metadata.loaderModule.build === false || Object.keys(load.metadata.loaderModule).... | 2 |
diff --git a/config/canonical.json b/config/canonical.json "shop": "nutrition_supplements"
}
},
- "shop/office_supplies|Staples": {
- "count": 55,
- "tags": {
- "brand": "Staples",
- "name": "Staples",
- "shop": "office_supplies"
- }
- },
"shop/optician|Alain Afflelou": {
"count": 264,
"tags": {
},
"shop/stationery|Sta... | 4 |
diff --git a/admin-base/ui.apps/src/main/content/jcr_root/apps/admin/components/contentview/template.vue b/admin-base/ui.apps/src/main/content/jcr_root/apps/admin/components/contentview/template.vue @@ -111,6 +111,12 @@ export default {
},
onKeyDown(ev){
+ var nodeName = document.activeElement.nodeName
+ var className ... | 11 |
diff --git a/src/components/modebar/manage.js b/src/components/modebar/manage.js @@ -66,6 +66,25 @@ var DRAW_MODES = [
'eraseshape'
];
+var HOVER_MODES = [
+ 'hoverCompareCartesian',
+ 'hoverClosestCartesian',
+ 'hoverClosestGl2d',
+ 'hoverClosest3d',
+ 'hoverClosestGeo',
+ 'hoverClosestPie',
+ 'toggleHover'
+];
+
+var... | 0 |
diff --git a/src/server/system_services/cluster_server.js b/src/server/system_services/cluster_server.js @@ -781,12 +781,12 @@ function update_dns_servers(req) {
throw new RpcError('OFFLINE_SERVER', 'Server is disconnected');
}
const config_to_compare = [
- dns_servers_config.dns_servers ? dns_servers_config.dns_server... | 4 |
diff --git a/token-metadata/0x25cef4fB106E76080E88135a0e4059276FA9BE87/metadata.json b/token-metadata/0x25cef4fB106E76080E88135a0e4059276FA9BE87/metadata.json "symbol": "UNITS",
"address": "0x25cef4fB106E76080E88135a0e4059276FA9BE87",
"decimals": 5,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/content/guide/getting-started.md b/content/guide/getting-started.md @@ -106,7 +106,7 @@ Rendering hyperscript with a virtual DOM is pointless, though. We want to render
## Components
-Preact exports a generic `Component` class, which can be extended to build encapsulated, self-updating pieces of a User Int... | 1 |
diff --git a/docs/luigi-client-setup.md b/docs/luigi-client-setup.md @@ -25,28 +25,94 @@ Install the client in your project using npm:
npm install @luigi-project/client
```
+## Configuration
+
Import the client in places where you want to use it, depending on the environment of your choice:
+
+### No framework/Svelte
+... | 7 |
diff --git a/books/serializers.py b/books/serializers.py @@ -13,11 +13,19 @@ class UserSerializer(serializers.ModelSerializer):
email_hash = md5(obj.email.strip().lower().encode()).hexdigest()
return 'https://www.gravatar.com/avatar/%s?size=100' % email_hash
+class BookDetailSerializer(serializers.ModelSerializer):
+ c... | 0 |
diff --git a/src/language/jhi-translate.directive.ts b/src/language/jhi-translate.directive.ts */
import { Input, Directive, ElementRef, OnChanges, OnInit, Optional, OnDestroy } from '@angular/core';
import { TranslateService } from '@ngx-translate/core';
-import { ReplaySubject } from 'rxjs';
+import { Subject } from ... | 4 |
diff --git a/slick.editors.js b/slick.editors.js if (FloatEditor.AllowEmptyValue) {
if (!rtn && rtn !==0) { rtn = ''; }
} else {
- rtn |= 0;
+ rtn = rtn || 0;
}
var decPlaces = getDecimalPlaces();
| 1 |
diff --git a/demo/vue-viewer/src/router.js b/demo/vue-viewer/src/router.js import Vue from 'vue';
import Router from 'vue-router';
import Upload from './views/Upload.vue';
-import Home from './views/Home';
import Viewer from './views/Viewer.vue';
import ViewerText from './views/ViewerText.vue';
import ViewerMarkdown fr... | 2 |
diff --git a/generators/info/index.js b/generators/info/index.js @@ -101,27 +101,6 @@ module.exports = class extends BaseGenerator {
});
},
- checkBower() {
- const done = this.async();
- shelljs.exec('bower -v', { silent: true }, (err, stdout, stderr) => {
- if (!err) {
- console.log(`bower: ${stdout}`);
- }
- done();... | 2 |
diff --git a/language/de.json b/language/de.json }
},
{
- "label": "Default text track",
- "description": "If left empty or not matching any of the text tracks the first text track will be used as the default."
+ "label": "Vorgegebene Textspur",
+ "description": "Wenn das Feld leer gelassen wird oder keiner Spurbeschri... | 0 |
diff --git a/common/lib/client/realtimepresence.ts b/common/lib/client/realtimepresence.ts @@ -239,7 +239,8 @@ class RealtimePresence extends Presence {
}
}
- get = ((function (this: RealtimePresence, params: RealtimePresenceParams, callback: StandardCallback<PresenceMessage[]>): void | Promise<PresenceMessage[]> {
+ /... | 7 |
diff --git a/.eslintrc.js b/.eslintrc.js 'use strict'
-const { env, platform } = process
-
module.exports = {
extends: [
'eslint:recommended',
@@ -36,12 +34,6 @@ module.exports = {
// until we switch to ES6 modules (which use 'strict mode' implicitly)
strict: ['error', 'global'],
- // TODO FIXME workaround for git + pr... | 2 |
diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/common/popover.js b/packages/node_modules/@node-red/editor-client/src/js/ui/common/popover.js @@ -436,18 +436,17 @@ RED.popover = (function() {
return {
create: createPopover,
tooltip: function(target,content, action) {
+ var label = function() {
var ... | 11 |
diff --git a/metaversefile-api.js b/metaversefile-api.js @@ -734,6 +734,8 @@ metaversefile.setApi({
if (in_front) {
app.position.copy(localPlayer.position).add(new THREE.Vector3(0, 0, -1).applyQuaternion(localPlayer.quaternion));
app.quaternion.copy(localPlayer.quaternion);
+ app.updateMatrixWorld();
+ app.lastMatrix.c... | 0 |
diff --git a/components/core/Link/LinkCard.js b/components/core/Link/LinkCard.js +import * as React from "react";
import * as System from "~/components/system";
import * as Styles from "~/common/styles";
import * as Constants from "~/common/constants";
@@ -5,7 +6,7 @@ import * as SVG from "~/common/svg";
import LinkTag... | 2 |
diff --git a/articles/support/index.md b/articles/support/index.md @@ -16,6 +16,10 @@ Auth0's public [discussion forum](https://ask.auth0.com) offers support for __al
## Support Center
+:::panel-info Pricing
+For pricing information on the various subscription plans, please see your [Account Settings]({$manage_url}/#/a... | 0 |
diff --git a/src/slider.js b/src/slider.js @@ -129,26 +129,26 @@ export default class Slider extends React.Component {
currentWidth = children[k].props.style.width
}
if (k >= children.length) break
- row.push(React.cloneElement(children[k], {style: {
+ row.push(React.cloneElement(children[k], {key: 100*i+10*j+k, style:... | 2 |
diff --git a/packages/zoe/src/contracts/myFirstDapp.js b/packages/zoe/src/contracts/myFirstDapp.js @@ -66,11 +66,12 @@ export const makeContract = harden((zoe, terms) => {
}
function getOffer(inviteHandle) {
- for (const handle of [...sellInviteHandles, ...buyInviteHandles]) {
- if (inviteHandle === handle) {
+ if (
+ ... | 14 |
diff --git a/generators/server/templates/src/main/java/package/security/oauth2/CustomClaimConverter.java.ejs b/generators/server/templates/src/main/java/package/security/oauth2/CustomClaimConverter.java.ejs @@ -31,6 +31,7 @@ import org.springframework.security.oauth2.jwt.MappedJwtClaimSetConverter;
import org.springfra... | 2 |
diff --git a/php/rest/test/test_async.php b/php/rest/test/test_async.php @@ -4,7 +4,7 @@ namespace ccxt;
error_reporting(E_ALL | E_STRICT);
date_default_timezone_set('UTC');
-include_once '../../../vendor/autoload.php';
+include_once 'vendor/autoload.php';
include_once 'test_trade.php';
include_once 'test_order.php';
i... | 13 |
diff --git a/package.json b/package.json "name": "find-and-replace",
"main": "./lib/find",
"description": "Find and replace within buffers and across the project.",
- "version": "0.215.15",
+ "version": "0.216.0",
"license": "MIT",
"activationCommands": {
"atom-workspace": [
| 6 |
diff --git a/src/libs/actions/Policy.js b/src/libs/actions/Policy.js @@ -362,8 +362,7 @@ function addMembersToWorkspace(memberLogins, welcomeNote, policyID) {
];
API.write('AddMembersToWorkspace', {
- // employees: JSON.stringify(_.map(logins, login => ({email: login}))),
- employees: JSON.stringify(logins),
+ employee... | 4 |
diff --git a/app/controllers/copy_controller.js b/app/controllers/copy_controller.js @@ -180,6 +180,12 @@ function handleCopyFrom (logger) {
})
.on('end', () => requestEnded = true);
+ pgstream.on('error', (err) => {
+ metrics.end(null, err);
+ req.unpipe(pgstream);
+
+ return next(err);
+ });
if (isGzip) {
req
| 9 |
diff --git a/app/views/navbar.scala.html b/app/views/navbar.scala.html @@ -404,9 +404,9 @@ $(document).ready(function () {
}
});
- // Callback function for checking sign-in results
+ // Callback function for checking sign-in results.
function handleSignIn(data) {
- //this means that logging in failed, alert user of fai... | 1 |
diff --git a/lib/node_modules/@stdlib/ndarray/array/docs/types/index.d.ts b/lib/node_modules/@stdlib/ndarray/array/docs/types/index.d.ts @@ -37,11 +37,6 @@ interface Options {
*/
order?: Order;
- /**
- * Array shape.
- */
- shape?: Shape;
-
/**
* Specifies how to handle indices which exceed array dimensions (default: '... | 7 |
diff --git a/lib/plugins/input/elasticsearchHttp.js b/lib/plugins/input/elasticsearchHttp.js @@ -119,8 +119,17 @@ InputElasticsearchHttp.prototype.elasticSearchHttpHandler = function (req, res)
req.on('end', function endHandler () {
if (!reqInfo.isBulk) {
+ if (!bodyIn) {
+ return res.end()
+ }
// post to single
- var ... | 7 |
diff --git a/client/src/components/StepWizard/WizardCheckboxItem.js b/client/src/components/StepWizard/WizardCheckboxItem.js @@ -3,7 +3,7 @@ import React from "react";
import {Checkbox} from "antd-mobile";
import {theme, mq} from "constants/theme";
-const {white, lightGray, royalBlue} = theme.colors;
+const {white, lig... | 4 |
diff --git a/packages/gluestick-cli/watch.js b/packages/gluestick-cli/watch.js @@ -38,12 +38,11 @@ module.exports = (exitWithError) => {
gsDependenciesPath.forEach((e, i) => {
const packageName = gsPackages[i];
const convertFilePath = filePath => {
- const split = filePath.split(packageName);
return path.join(
process.... | 9 |
diff --git a/src/routing/routing.html b/src/routing/routing.html ngeo-routing-feature-on-change="$ctrl.handleChange">
</ngeo-routing-feature>
</div>
- <button type="button" class="btn btn-default delete-via" ng-click="$ctrl.deleteVia(index)">
+ <button type="button" class="btn prime delete-via" ng-click="$ctrl.deleteVi... | 4 |
diff --git a/test/generator-base.spec.js b/test/generator-base.spec.js const expect = require('chai').expect;
-const jhiCore = require('jhipster-core');
const expectedFiles = require('./utils/expected-files');
const BaseGenerator = require('../generators/generator-base').prototype;
@@ -35,48 +34,6 @@ describe('Generato... | 2 |
diff --git a/index.js b/index.js @@ -1550,7 +1550,7 @@ Read more on https://git.io/JJc0W`);
desc.push('Arguments:');
desc.push('');
this._args.forEach((arg) => {
- desc.push(' ' + pad(arg.name, width) + ' ' + wrap(argsDescription[arg.name], descriptionWidth, width + 4));
+ desc.push(' ' + pad(arg.name, width) + ' ' + w... | 11 |
diff --git a/bl-plugins/backup/js/backup.js b/bl-plugins/backup/js/backup.js @@ -19,7 +19,6 @@ jQuery(document).ready(function($) {
processData: false,
error: function(jqXHR, status, error) {
var data = jqXHR.responseJSON;
- console.log(error);
var alert = $("<div></div>").addClass("alert alert-danger").text(data.messa... | 2 |
diff --git a/lambda/fulfillment/lib/middleware/lex.js b/lambda/fulfillment/lib/middleware/lex.js @@ -269,7 +269,7 @@ function assembleLexV2Response(response) {
}
exports.assemble=function(request,response){
- if (request._clientType == "LEX.Slack.Text") {
+ if (request._clientType === "LEX.Slack.Text") {
response = sla... | 3 |
diff --git a/src/utils/decorators/input-label/input-label.js b/src/utils/decorators/input-label/input-label.js @@ -64,10 +64,7 @@ let InputLabel = (ComposedComponent) => class Component extends ComposedComponen
* @property
* @type {String|Boolean}
*/
- label: PropTypes.oneOfType([
- PropTypes.string,
- PropTypes.bool
-... | 11 |
diff --git a/tsconfig.json b/tsconfig.json /* Modules */
"module": "node16" /* Specify what module code is generated. */,
"rootDir": "./" /* Specify the root folder within your source files. */,
+ "resolveJsonModule": true,
/* JavaScript Support */
"allowJs": true /* Allow JavaScript files to be a part of your program.... | 12 |
diff --git a/examples/helloworld/hello.js b/examples/helloworld/hello.js @@ -6,7 +6,9 @@ Promise.all([System.import('pdfjs/display/api'),
System.import('pdfjs/display/network'),
System.resolve('pdfjs/worker_loader')])
.then(function (modules) {
- var api = modules[0], global = modules[1];
+ var api = modules[0], global... | 1 |
diff --git a/core/task-executor/lib/jobs/jobCreator.js b/core/task-executor/lib/jobs/jobCreator.js @@ -238,6 +238,7 @@ const createJobSpec = ({ algorithmName, resourceRequests, workerImage, algorithm
spec = applyAlgorithmImage(spec, algorithmImage);
spec = applyWorkerImage(spec, workerImage);
spec = applyEnvToContainer... | 0 |
diff --git a/src/encoded/schemas/mixins.json b/src/encoded/schemas/mixins.json "description": "A lab specific identifier to reference an object.",
"comment": "Current convention is colon separated lab name and lab identifier. (e.g. john-doe:42).",
"type": "string",
- "pattern": "^(?:alexander-hoffmann|alexander-rudensk... | 0 |
diff --git a/src/TemplateLayout.js b/src/TemplateLayout.js @@ -208,7 +208,7 @@ class TemplateLayout extends TemplateContent {
} catch (e) {
debugDev("Clearing TemplateCache after error.");
templateCache.clear();
- reject(e);
+ throw e;
}
}
| 14 |
diff --git a/app/controllers/carto/api/visualizations_controller.rb b/app/controllers/carto/api/visualizations_controller.rb @@ -127,8 +127,6 @@ module Carto
@visualization.send_like_email(current_viewer, vis_url)
end
- event_properties = { user_id: current_viewer_id, visualization_id: @visualization.id, action: 'like'... | 2 |
diff --git a/articles/libraries/when-to-use-lock.md b/articles/libraries/when-to-use-lock.md @@ -120,7 +120,7 @@ Although you cannot alter Lock's behavior, you can configure several [basic opti

-### When to Use Lock
+### When to use Lock
Consider using **Lock** if:
@... | 0 |
diff --git a/test/sanity/nw_util.py b/test/sanity/nw_util.py @@ -78,7 +78,7 @@ def install_native_modules():
if sys.platform in ('win32', 'cygwin'):
nw_gyp_path = os.path.join(os.path.dirname(nw_gyp_path),
'node_modules', 'nw-gyp', 'bin', 'nw-gyp.js')
- npm_cmdline = [npm_path, 'install', '--msvs_version=2015']
+ npm_c... | 4 |
diff --git a/app/scripts/controllers/token-rates.js b/app/scripts/controllers/token-rates.js @@ -39,7 +39,7 @@ class TokenRatesController {
*/
async fetchExchangeRate (address) {
try {
- const response = await fetch(`https://exchanges.balanc3.net/prices?from=${address}&to=ETH&autoConversion=false&summaryOnly=true`)
+ c... | 4 |
diff --git a/inspect.js b/inspect.js @@ -83,6 +83,21 @@ function parseQuery(queryString) {
return query;
}
+const isValidManifest = str => {
+ if (!str) return false;
+ try {
+ const json = JSON.parse(str);
+ const {name, xr_type: xrType, start_url: startUrl} = json;
+ if (!name || !xrType || !startUrl) return false;
+... | 0 |
diff --git a/packages/bitcore-lib-doge/test/hdprivatekey.js b/packages/bitcore-lib-doge/test/hdprivatekey.js @@ -13,8 +13,8 @@ var BufferUtil = bitcore.util.buffer;
var HDPrivateKey = bitcore.HDPrivateKey;
var Base58Check = bitcore.encoding.Base58Check;
-var xprivkey = 'Ltpv71G8qDifUiNetP6nmxPA5STrUVmv2J9YSmXajv8VsYBUy... | 3 |
diff --git a/html/components/modal.stories.js b/html/components/modal.stories.js @@ -78,17 +78,27 @@ export const defaultStory = () => {
</p>
</div>
- <footer class="sprk-o-Stack__item">
- <button class="sprk-c-Button sprk-u-mrm">
- Confirm
- </button>
-
+ <footer
+ class="
+ sprk-o-Stack__item
+ sprk-c-Modal__footer
+... | 3 |
diff --git a/src/components/dashboard/Dashboard.js b/src/components/dashboard/Dashboard.js @@ -39,6 +39,7 @@ import Send from './Send'
import SendConfirmation from './SendConfirmation'
import SendLinkSummary from './SendLinkSummary'
import SendQRSummary from './SendQRSummary'
+import { ACTION_SEND } from './utils/sendR... | 0 |
diff --git a/src/apps.json b/src/apps.json "url": "/shop/catalog/browse\\?sessid=",
"website": "http://1and1.com"
},
- "Google Analytics Enhanced eCommerce": {
- "cats": [
- 10
- ],
- "js": {
- "gaplugins.EC": ""
- },
- "icon": "Google Analytics.svg",
- "script": "google-analytics\\.com\\/plugins\\/ua\\/ec\\.js",
- "we... | 5 |
diff --git a/src/js/libcs/OpDrawing.js b/src/js/libcs/OpDrawing.js @@ -134,7 +134,7 @@ eval_helper.drawarc = function(args, modifs, df) {
if (!List._helper.isAlmostReal(List.turnIntoCSList([a, b, c]))) return nada;
// modifs handling
- Render2D.handleModifs(modifs, Render2D.conicModifs);
+ Render2D.handleModifs(modifs,... | 11 |
diff --git a/lib/convert.js b/lib/convert.js @@ -6,10 +6,10 @@ var sdk = require('postman-collection'),
$RefParser = require('json-schema-ref-parser');
async = require('async');
-async function resolveOpenApiSpec(openapi){
- var resolvedSchema = await $RefParser.dereference(openapi);
- return resolvedSchema;
-}
+// asy... | 5 |
diff --git a/src/index.js b/src/index.js @@ -989,7 +989,7 @@ class Offline {
// Promise support
if (!this.requests[requestId].done) {
- if (x && typeof x.then === 'function' && typeof x.catch === 'function') x.then(lambdaContext.succeed).catch(lambdaContext.fail).then(cleanup, cleanup);
+ if (x && typeof x.then === 'fu... | 2 |
diff --git a/services/importer/spec/doubles/connector.rb b/services/importer/spec/doubles/connector.rb @@ -88,6 +88,7 @@ end
class DummyConnectorProviderWithModifiedDate < DummyConnectorProvider
metadata id: 'dummy_with_modified_date', name: 'DummyWithModifiedDate'
+ @copies = []
LAST_MODIFIED = Time.new(2020, 6, 16)
d... | 1 |
diff --git a/android/build.gradle b/android/build.gradle @@ -32,8 +32,5 @@ allprojects {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url "$rootDir/../node_modules/react-native/android"
}
- maven {
- url "https://maven.google.com"
- }
}
}
| 2 |
diff --git a/src/urlhandlers/xhr_url_handler.js b/src/urlhandlers/xhr_url_handler.js @@ -29,13 +29,14 @@ function handleLoad(request, cb) {
}
function handleFail(request, cb, isTimeout) {
+ const statusCode = !isTimeout ? request.status : 408; // Request timeout
const msg = isTimeout
- ? `XHRURLHandler: Request timed o... | 0 |
diff --git a/lxc/executors/java b/lxc/executors/java cd /tmp/$2
cp code.code interim.java
-name=$(cat interim.java | sed -E 's/(public\s+class|interface)\s+([A-Za-z0-9]+)/\2/')
+name=$(grep -Po "(?<=\n|\A)\s*(public\s+)?(class|interface|enum)\s+\K([^\n\s{]+)" interim.java)
mv interim.java $name.java
timeout -s KILL 10 ... | 14 |
diff --git a/jdl/parsing/validator.ts b/jdl/parsing/validator.ts @@ -582,9 +582,6 @@ class JDLSyntaxValidatorVisitor extends BaseJDLCSTVisitorWithDefaults {
export default function performAdditionalSyntaxChecks(cst) {
const syntaxValidatorVisitor = new JDLSyntaxValidatorVisitor();
- // TODO: This method receives less a... | 2 |
diff --git a/public/javascripts/Admin/src/Admin.js b/public/javascripts/Admin/src/Admin.js @@ -783,7 +783,7 @@ function Admin(_, $, c3, turf) {
// "height": 800,
"height": 300,
"width": 800,
- "mark": "line",
+ "mark": "area",
"data": {"values": data[0], "format": {"type": "json"}},
"encoding": {
"x": {
| 13 |
diff --git a/README.md b/README.md @@ -711,6 +711,15 @@ This will list folders with no committed files. To permanently delete those fold
git clean -df
```
+If these commands do not show/remove anything, try:
+
+```
+git clean -dxn
+git clean -dxf
+```
+
+(The [`-x` flag](https://git-scm.com/docs/git-clean) asks Git to ... | 3 |
diff --git a/sirepo/template/srw.py b/sirepo/template/srw.py @@ -656,10 +656,10 @@ def get_application_data(data):
if data['method'] == 'compute_grazing_angle':
return _compute_grazing_angle(data['optical_element'])
elif data['method'] == 'compute_crl_characteristics':
- return _compute_crl_focus(_compute_crl_character... | 10 |
diff --git a/dev/components/components/data-table.vue b/dev/components/components/data-table.vue <div class="column group" style="margin-bottom: 50px">
<q-input v-model="config.title" float-label="Data Table Title" />
- <div class="column group gt-sm-row">
+ <div class="column group">
<q-checkbox v-model="config.refres... | 1 |
diff --git a/articles/migrations/index.md b/articles/migrations/index.md @@ -21,8 +21,6 @@ During the grace period, customers are informed via dashboard notifications and
If you need help with the migration, create a ticket in our [Support Center](${env.DOMAIN_URL_SUPPORT}).
----
-
## Active Migrations
Current migratio... | 3 |
diff --git a/source/ua/UA.js b/source/ua/UA.js @@ -184,9 +184,11 @@ export default {
Property: O.UA.canU2F
Type: Boolean
- Does the browser support U2F?
+ Does the browser probably support U2F?
*/
- // TODO: Find a way of detecting this rather than hardcoding
- // For now, referencing http://caniuse.com/#feat=u2f
- can... | 7 |
diff --git a/CHANGELOG.md b/CHANGELOG.md @@ -9,6 +9,11 @@ https://github.com/plotly/plotly.js/compare/vX.Y.Z...master
where X.Y.Z is the semver of most recent plotly.js release.
+## [1.54.3] -- 2020-06-16
+### Fixed
+ - Fix `autosize` case of hidden div with non-px size [#4925]
+
+
## [1.54.2] -- 2020-06-10
### Changed... | 3 |
diff --git a/semantics.json b/semantics.json "strong",
"em",
"del",
- "a"
+ "a",
+ "code"
],
"label": "Message"
},
"strong",
"em",
"del",
- "a"
+ "a",
+ "code"
],
"label": "Message"
},
| 0 |
diff --git a/Source/Scene/Camera.js b/Source/Scene/Camera.js @@ -369,9 +369,7 @@ Camera.prototype._updateCameraChanged = function () {
}
var headingChangedPercentage =
- (Math.abs(camera._changedHeading - currentHeading) /
- ((camera._changedHeading + currentHeading) / 2)) *
- 100;
+ Math.abs(camera._changedHeading - c... | 3 |
diff --git a/packages/web/src/components/basic/ReactiveComponent.js b/packages/web/src/components/basic/ReactiveComponent.js @@ -48,7 +48,7 @@ class ReactiveComponent extends Component {
// set query for internal component
if (this.internalComponent && this.props.defaultQuery) {
- const { query, ...queryOptions } = thi... | 3 |
diff --git a/src/background/utils/tabs.js b/src/background/utils/tabs.js @@ -30,17 +30,17 @@ Object.assign(commands, {
// only incognito storeId may be specified when opening in an incognito window
const { incognito, windowId } = srcTab;
// Chrome can't open chrome-xxx: URLs in incognito windows
- const canOpenIncognit... | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.