code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/js/webcomponents/bisweb_grapherelement.js b/js/webcomponents/bisweb_grapherelement.js @@ -205,7 +205,9 @@ class GrapherModule extends HTMLElement {
let bbar = bis_webutil.createbuttonbar({ 'css' : 'width: 80%;'});
//settings button should be attached next to close button
- let settingsButton = $(`<button t... | 2 |
diff --git a/codegens/ocaml-cohttp/lib/ocaml.js b/codegens/ocaml-cohttp/lib/ocaml.js @@ -77,7 +77,6 @@ function parseFormData (body, trim, indent) {
if (!data.disabled || data.disabled === false) {
const key = sanitize(data.key, 'formdata-key', trim);
- /* istanbul ignore next */
if (data.type === 'file') {
const filen... | 9 |
diff --git a/ghost/admin/app/styles/components/power-calendar.css b/ghost/admin/app/styles/components/power-calendar.css @@ -241,3 +241,12 @@ svg.gh-date-picker-cal-icon {
top: 9px;
font-size: 1.3rem;
}
+
+.gh-date-picker-cal-icon path,
+.gh-date-picker-cal-icon rect {
+ fill: none;
+ stroke: var(--midgrey);
+ stroke-l... | 1 |
diff --git a/lib/handlebars/compiler/compiler.js b/lib/handlebars/compiler/compiler.js /* eslint-disable new-cap */
import Exception from '../exception';
-import {isArray, indexOf} from '../utils';
+import {isArray, indexOf, extend} from '../utils';
import AST from './ast';
const slice = [].slice;
@@ -488,7 +488,7 @@ e... | 14 |
diff --git a/avatars/microphone-worklet.js b/avatars/microphone-worklet.js @@ -47,11 +47,13 @@ class VolumeProcessor extends AudioWorkletProcessor {
{
const i = 0;
const samples = channels[i];
+ if (samples) {
for (let j = 0; j < samples.length; j++) {
sampleSum += Math.abs(samples[j]);
}
numSamples += samples.length;
... | 0 |
diff --git a/custom-domains/set-up-azure-cdn.md b/custom-domains/set-up-azure-cdn.md +---
+toc: true
+name: Configure Azure CDN Profiles for Use as Reverse Proxy
+description: How to set up Azure CDN Profiles for use as the custom domain proxy for Auth0
+---
+# Configure Azure CDN Profiles for Use as Reverse Proxy
+
+I... | 0 |
diff --git a/packages/netlify-cms-core/src/reducers/collections.js b/packages/netlify-cms-core/src/reducers/collections.js @@ -39,7 +39,7 @@ const selectors = {
return `${ collection.get('folder').replace(/\/$/, '') }/${ slug }.${ this.entryExtension(collection) }`;
},
entrySlug(collection, path) {
- return path.split(... | 1 |
diff --git a/core/connections/connection.js b/core/connections/connection.js @@ -416,26 +416,23 @@ Blockly.Connection.prototype.moveBy = function(dx, dy) {
Blockly.Connection.prototype.highlight = function() {
var steps;
if (this.type === Blockly.INPUT_VALUE || this.type === Blockly.OUTPUT_VALUE) {
- var tabWidth = Blo... | 4 |
diff --git a/aa_composer.js b/aa_composer.js @@ -1673,6 +1673,15 @@ function checkBalances() {
[sql_base, sql_assets_balances_to_outputs, sql_assets_outputs_to_balances],
function (sql, cb) {
conn.query(sql, function (rows) {
+ // ignore discrepancies that result from limited precision of js numbers
+ rows = rows.filte... | 8 |
diff --git a/ui/src/components/EntityTable/EntityTableEditor.jsx b/ui/src/components/EntityTable/EntityTableEditor.jsx @@ -12,6 +12,10 @@ class EntityTableEditor extends Component {
render() {
const { entities, entityManager, isPending, sort, sortColumn, schema, selection, updateSelection } = this.props;
+ if (!schema)... | 9 |
diff --git a/lib/build/tasks.js b/lib/build/tasks.js @@ -30,9 +30,9 @@ const v6PublicPath = path.join(paths.public, 'v6')
function generateAssets () {
clean()
sassExtensions()
- generateSass(appSassPath, appCssPath)
- generateSass(docsSassPath, appCssPath)
- generateSass(v6SassPath, v6CssPath)
+ generateCss(appSassPath... | 10 |
diff --git a/src/screens/EventDetailsScreen/component.js b/src/screens/EventDetailsScreen/component.js @@ -170,8 +170,8 @@ class EventDetailsScreen extends PureComponent<Props> {
)}
{(event.fields.email || event.fields.phone) && (
<EventContact
- email={event.fields.email && event.fields.email}
- phone={event.fields.ph... | 2 |
diff --git a/articles/clients/how-to-rotate-client-secret.md b/articles/clients/how-to-rotate-client-secret.md @@ -23,6 +23,10 @@ Scroll to the bottom of the Settings page, and click **Save Changes**.
You can rotate your client's secret by making a `POST` call to the [Rotate a Client Secret endpoint](/api/management/v2... | 0 |
diff --git a/content/getting-started/modifying-access.md b/content/getting-started/modifying-access.md ---
description:
-title: Modifying repository access settings
+title: Repository settings
weight: 8
aliases:
---
-When you have moved your repository or need to update the username/password or private key used to acce... | 3 |
diff --git a/src/traces/volume/convert.js b/src/traces/volume/convert.js @@ -54,7 +54,7 @@ proto.handlePick = function(selection) {
this.data.value[selectIndex]
];
- var text = this.data.text;
+ var text = this.data.hovertext || this.data.text;
if(Array.isArray(text) && text[selectIndex] !== undefined) {
selection.text... | 0 |
diff --git a/lib/recurly/venmo/strategy/braintree.js b/lib/recurly/venmo/strategy/braintree.js @@ -3,7 +3,7 @@ import after from '../../../util/after';
import { VenmoStrategy } from './index';
import { normalize } from '../../../util/normalize';
-export const BRAINTREE_CLIENT_VERSION = '3.50.0';
+export const BRAINTREE... | 3 |
diff --git a/src/tests/controllers/messageLength.test.ts b/src/tests/controllers/messageLength.test.ts @@ -51,6 +51,7 @@ export async function messageLengthTest(t, node1, node2) {
await sleep(1000)
const text4 = randomText()
await sendMessage(t, node1, node2, text4)
+ await sleep(1000)
//t.true(messageSent.success, 'no... | 0 |
diff --git a/source/guides/transaction.rst b/source/guides/transaction.rst @@ -543,7 +543,7 @@ Afterwards, swap mosaics between multiple participants.
:align: center
:width: 600px
- Atomic cross-chain trading between public and private network
+ Multi-Asset Escrowed Transactions
.. _guide-asking-for-mosaics-with-aggreg... | 1 |
diff --git a/README.md b/README.md [React](https://github.com/facebook/react) to use [Redux](https://github.com/rackt/redux) to store all of its state.
[](https://beerpay.io/erikras/redux-form)
+<a href="https://app.codesponsor.io/link/P3WjkUw9LiYdiQBdHrtHZSSL/... | 5 |
diff --git a/lib/AutomaticPrefetchPlugin.js b/lib/AutomaticPrefetchPlugin.js @@ -29,12 +29,16 @@ class AutomaticPrefetchPlugin {
);
let lastModules = null;
compiler.hooks.afterCompile.tap("AutomaticPrefetchPlugin", compilation => {
- lastModules = Array.from(compilation.modules)
- .filter(m => m instanceof NormalModule... | 7 |
diff --git a/lib/plugins/interactiveCli/initializeService.js b/lib/plugins/interactiveCli/initializeService.js @@ -55,8 +55,7 @@ module.exports = {
},
run(serverless) {
const workingDir = process.cwd();
- return confirm('No Serverless project detected. Do you want to create a new one?').then(
- isConfirmed => {
+ retur... | 7 |
diff --git a/CHANGES.md b/CHANGES.md - Added `options.fadingEnabled` parameter to `ShadowMap` to control whether shadows fade out when the light source is close to the horizon. [#9565](https://github.com/CesiumGS/cesium/pull/9565)
- Added checks for supported 3D Tiles extensions. [#9552](https://github.com/CesiumGS/ces... | 3 |
diff --git a/README.md b/README.md @@ -26,6 +26,8 @@ It provides users with clean structured and label-enriched information set for r
- [2.2. Run](#22-run)
- [2.2.1. Configuration](#221-configuration)
- [2.2.2. Demo: Web Viewer](#222-demo-web-viewer)
+ - [2.2.2.1. Under Linux/MacOS:](#2221-under-linuxmacos)
+ - [2.2.2.... | 0 |
diff --git a/articles/metadata/management-api.md b/articles/metadata/management-api.md @@ -121,6 +121,10 @@ The user's profile will now appear as follows:
}
```
+::: panel-info Delete Properties/Values
+When you send `PATCH` calls where you've set properties/field values to null (for example, `{user_metadata: {color: n... | 0 |
diff --git a/assets/js/feature-tours/index.js b/assets/js/feature-tours/index.js @@ -71,7 +71,7 @@ const allTrafficWidget = {
placement: 'top',
},
{
- target: '.mdc-button.googlesitekit-header__date-range-selector-menu',
+ target: '.googlesitekit-header__date-range-selector-menu',
title: __( 'Check how your traffic cha... | 2 |
diff --git a/src/plots/gl3d/layout/tick_marks.js b/src/plots/gl3d/layout/tick_marks.js @@ -48,7 +48,6 @@ function computeTickMarks(scene) {
glRange[i].pixelsPerDataUnit / scene.dataScale[i];
if(Math.abs(axes._length) === Infinity ||
- Math.abs(axes._length) === -Infinity ||
isNaN(axes._length)) {
ticks[i] = [];
} else ... | 2 |
diff --git a/app/ui/components/codemirror/code-editor.js b/app/ui/components/codemirror/code-editor.js @@ -48,6 +48,9 @@ const BASE_CODEMIRROR_OPTIONS = {
'Ctrl-Q': function (cm) {
cm.foldCode(cm.getCursor());
},
+ [isMac() ? 'Cmd-Enter' : 'Ctrl-Enter']: function (cm) {
+ // HACK: So nothing conflicts withe the "Send R... | 2 |
diff --git a/semantics-3.0/Semantics.hs b/semantics-3.0/Semantics.hs @@ -299,21 +299,21 @@ data ReduceAllResult = ReduceAllSuccess [ReduceWarning] [Payment] State Contract
-- | Reduce a contract until it cannot be reduced more
reduceContractUntilQuiescent :: Environment -> State -> Contract -> ReduceAllResult
reduceCon... | 10 |
diff --git a/js/views/trackerlist-sliding-subview.es6.js b/js/views/trackerlist-sliding-subview.es6.js @@ -9,10 +9,7 @@ function TrackerList (ops) {
Parent__SlidingSubview.call(this, ops);
- this._cacheElems('.js-top-blocked', [
- 'graph-bar-fg',
- 'see-all'
- ])
+ this._cacheElems('.js-top-blocked', ['graph-bar-fg'])
... | 2 |
diff --git a/src/pages/settings/Profile/ProfilePage.js b/src/pages/settings/Profile/ProfilePage.js @@ -227,11 +227,11 @@ class ProfilePage extends Component {
title: `${lodashGet(currentUserDetails, 'firstName', '')} ${lodashGet(currentUserDetails, 'lastName', '')}`,
pageRoute: ROUTES.SETTINGS_DISPLAY_NAME,
},
- // {
-... | 7 |
diff --git a/docs/content/widgets/configs/MenuItem.js b/docs/content/widgets/configs/MenuItem.js @@ -9,7 +9,7 @@ export default {
baseClass: {
type: 'string',
description: <cx><Md>
- Base CSS class to be applied to the element. Default is 'menuitem'.
+ Base CSS class to be applied to the element. Default is `menuitem`.... | 14 |
diff --git a/assets/js/app/certificates/certificates.html b/assets/js/app/certificates/certificates.html details
</button>
</td>
- <!--<td>-->
- <!--<button type="button" ng-click="deleteItem(item)" class="btn btn-danger btn-link">-->
- <!--<i class="mdi mdi-delete"></i>-->
- <!--Delete-->
- <!--</button>-->
- <!--</td... | 11 |
diff --git a/src/component/parent/index.js b/src/component/parent/index.js @@ -548,7 +548,7 @@ export class ParentComponent<P> extends BaseComponent<P> {
if (!bridgeUrl) {
if (needsBridge && domain && !bridge.hasBridge(domain, domain)) {
- throw new Error(`Bridge url needed to render popup`);
+ throw new Error(`Bridge ... | 7 |
diff --git a/generators/server/templates/src/main/resources/config/liquibase/master.xml.ejs b/generators/server/templates/src/main/resources/config/liquibase/master.xml.ejs <property name="now" value="now()" dbms="h2"/>
<%_ if (prodDatabaseType === 'mysql' || prodDatabaseType === 'mariadb') { _%>
- <property name="now"... | 11 |
diff --git a/src/components/transactions/TransactionList.vue b/src/components/transactions/TransactionList.vue @@ -76,10 +76,11 @@ export default {
categorizedTransactions() {
return this.transactions.map(tx => {
// check if the tx is in Today, Yesterday or Last Week
+ const dateString = ` (` + moment(tx.time).format("... | 3 |
diff --git a/Specs/Scene/Cesium3DTilesetSpec.js b/Specs/Scene/Cesium3DTilesetSpec.js -import { Cartesian2, Cesium3DTileBatchTable } from "../../Source/Cesium.js";
+import { Cartesian2 } from "../../Source/Cesium.js";
import { Cartesian3 } from "../../Source/Cesium.js";
import { Cartographic } from "../../Source/Cesium.... | 1 |
diff --git a/docs/providers/aws/guide/resources.md b/docs/providers/aws/guide/resources.md @@ -76,7 +76,7 @@ We're also using the term `normalizedName` or similar terms in this guide. This
|AWS::IoT::TopicRule | {normalizedFuntionName}IotTopicRule{SequentialID} | HelloIotTopicRule1 |
|ApiGateway::RestApi | ApiGatewayRe... | 1 |
diff --git a/package-lock.json b/package-lock.json }
},
"gl-scatter3d": {
- "version": "1.0.11",
- "resolved": "https://registry.npmjs.org/gl-scatter3d/-/gl-scatter3d-1.0.11.tgz",
- "integrity": "sha512-fKpIBm6QHuw3RVzM3fjYgpigQuHIDj5tXbbGx8whWIx7S3ureiZgTxsM2Mtwo+OLsm1lUEryGf2YbFf3NQ9CiQ==",
+ "version": "git://github... | 3 |
diff --git a/config/sidebar.yml b/config/sidebar.yml @@ -262,9 +262,36 @@ articles:
- title: "Google Authenticator"
url: "/multifactor-authentication/google-authenticator"
+ children:
+ - title: "For Administrators"
+ url: "/multifactor-authentication/google-auth/admin-guide"
+
+ - title: "For Developers"
+ url: "/mult... | 0 |
diff --git a/README.md b/README.md @@ -77,7 +77,7 @@ There are two kinds of plotly.js partial bundles:
2. Custom bundles you can create yourself, if none of the distributed packages meet your needs.
Use the `traces` option to include just the trace types you need.
-```
+```sh
npm run partial-bundle -- --traces scatter,... | 0 |
diff --git a/indexes.md b/indexes.md # Indexes
-With the notion of Index, that can be called table in SQL, we also have the notion of Schema.
+With the notion of index, that can be called table in SQL, we also have the notion of schema.
-A schema is a correspondence between all fields present into your data and how thi... | 1 |
diff --git a/Source/Scene/Camera.js b/Source/Scene/Camera.js @@ -1588,7 +1588,7 @@ define([
/**
* Rotates the camera around its up vector by amount, in radians, in the opposite direction
- * of its right vector.
+ * of its right vector if not in 2D mode.
*
* @param {Number} [amount] The amount, in radians, to rotate by... | 3 |
diff --git a/js/test/Exchange/test.watchOHLCV.js b/js/test/Exchange/test.watchOHLCV.js @@ -21,6 +21,7 @@ module.exports = async (exchange, symbol) => {
'dsx',
'idex2', // rinkeby testnet, trades too rare
'bitvavo',
+ 'zb'
]
if (skippedExchanges.includes (exchange.id)) {
@@ -57,8 +58,10 @@ module.exports = async (exchan... | 8 |
diff --git a/CookieMonster.js b/CookieMonster.js @@ -477,7 +477,7 @@ CM.ConfigData.BuildColor = {label: ['Building Colors OFF', 'Building Colors ON']
CM.ConfigData.BulkBuildColor = {label: ['Bulk Building Colors (Single Buildings Color)', 'Bulk Building Colors (Calculated Color)'], desc: 'Color code bulk buildings base... | 1 |
diff --git a/app/assets/stylesheets/pageflow/admin/status_tags.scss b/app/assets/stylesheets/pageflow/admin/status_tags.scss -$status-tag-ok-background-color: #8daa92 !default;
+$pageflow-status-tag-ok-background-color: #8daa92 !default;
-$status-tag-warning-background-color: #e29b20 !default;
+$pageflow-status-tag-war... | 10 |
diff --git a/public/javascripts/Progress/src/Progress.js b/public/javascripts/Progress/src/Progress.js @@ -7,10 +7,10 @@ function Progress (_, $, c3, L, role, difficultRegionIds) {
var completedInitializingAuditedTasks = false;
var neighborhoodPolygonStyle = {
- color: 'red',
- weight: 3,
- opacity: 0.25,
- fillColor: ... | 3 |
diff --git a/.eslintrc b/.eslintrc "no-console": 0,
"func-names": 0,
"no-param-reassign": 0,
- "prefer-template": 0
+ "prefer-template": 0,
+ "import/no-extraneous-dependencies": ["error",
+ {"devDependencies": ["**/*.test.js", "**/*.spec.js"]}
+ ]
}
}
| 0 |
diff --git a/lib/command/Command.js b/lib/command/Command.js @@ -269,17 +269,25 @@ class Command {
return true;
}
- process(args, msg) {
+ async process(args, msg) {
const shouldDelete = this.deleteCommand && msg.channel.guild && msg.channel.permissionsOf(msg._client.user.id).has("manageMessages");
if(this.hooks.preCom... | 11 |
diff --git a/src/components/DayPickerRangeController.jsx b/src/components/DayPickerRangeController.jsx @@ -166,10 +166,17 @@ export default class DayPickerRangeController extends React.Component {
const { currentMonth, visibleDays } = this.getStateForNewMonth(props);
+ // initialize phrases
+ // set the appropriate Cal... | 5 |
diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/utils.js b/packages/node_modules/@node-red/editor-client/src/js/ui/utils.js @@ -856,6 +856,7 @@ RED.utils = (function() {
obj[key] = value;
}
}
+
function separateIconPath(icon) {
var result = {module: "", file: ""};
if (icon) {
@@ -863,10 +864,10 @@ ... | 9 |
diff --git a/tools/cfpack/src/index.js b/tools/cfpack/src/index.js @@ -61,7 +61,7 @@ var zip = function(ignore, cb) {
// We're using the system zip command here, may be better to use a
// Javascript zip library instead
var files = '-type f -not -regex "\\./\\.cfpack/package\\.json" ' +
- '-not -regex ".*/\\.git"';
+ '-... | 8 |
diff --git a/js/site.js b/js/site.js @@ -26,7 +26,7 @@ const siteScores = ['A', 'B', 'C', 'D']
// percent of the top 1 million sites a tracking network has been seen on.
// see: https://webtransparency.cs.princeton.edu/webcensus/
-const pagesSeenOn = {'google':84,'facebook':36,'twitter':14,'amazon':14,'appnexus':10,'or... | 3 |
diff --git a/lib/ota/zigbeeOTA.js b/lib/ota/zigbeeOTA.js const url = 'https://raw.githubusercontent.com/Koenkk/zigbee-OTA/master/index.json';
-const assert = require('assert');
const common = require('./common');
const axios = common.getAxios();
const fs = require('fs');
@@ -110,7 +109,10 @@ async function getImageMeta... | 14 |
diff --git a/README.md b/README.md @@ -135,6 +135,12 @@ You can enable some protocol debugging output using `DEBUG` environment variable
DEBUG="minecraft-protocol" node [...]
```
+On windows :
+```
+set DEBUG=minecraft-protocol
+node your_script.js
+```
+
## Contribute
Please read https://github.com/PrismarineJS/prisma... | 7 |
diff --git a/ui/src/selectors.js b/ui/src/selectors.js @@ -108,7 +108,7 @@ export function selectEntity(state, entityId) {
const model = selectModel(state);
const hasModel = entity.schema !== undefined && model !== undefined;
const result = hasModel ? model.getEntity(entity) : {};
- result.isLoading = !!entity.isLoadin... | 14 |
diff --git a/assets/js/components/legacy-notifications/DashboardCoreSiteAlerts.js b/assets/js/components/legacy-notifications/DashboardCoreSiteAlerts.js * WordPress dependencies
*/
import { __ } from '@wordpress/i18n';
-import { useEffect, useState } from '@wordpress/element';
+import { useEffect, useState, useRef } fr... | 12 |
diff --git a/docs/rules/html-quotes.md b/docs/rules/html-quotes.md @@ -63,7 +63,7 @@ Default is set to `double`.
```
</eslint-code-block>
-## Related links
+## :books: Further reading
- [Style guide - Quoted attribute values](https://vuejs.org/v2/style-guide/#Quoted-attribute-values-strongly-recommended)
| 1 |
diff --git a/token-metadata/0x86aD632c36425F0E0af2FcD6F55C160e10C04b26/metadata.json b/token-metadata/0x86aD632c36425F0E0af2FcD6F55C160e10C04b26/metadata.json "symbol": "XBR",
"address": "0x86aD632c36425F0E0af2FcD6F55C160e10C04b26",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/src/definitions/modules/slider.js b/src/definitions/modules/slider.js @@ -205,7 +205,6 @@ $.fn.slider = function(parameters) {
});
},
autoLabel: function() {
- if(module.get.step() != 0) {
$labels = $module.find('.labels');
if($labels.length != 0) {
$labels.empty();
@@ -229,7 +228,6 @@ $.fn.slider = functi... | 1 |
diff --git a/_includes/meshery.html b/_includes/meshery.html <p><b>Adapters (status):</b>
<ol>
<li><a href="https://github.com/layer5io/meshery-istio">Meshery adapter for Istio</a> (alpha)</li>
+ <li><a href="https://github.com/layer5io/meshery-linkerd">Meshery adapter for Linkerd</a> (alpha)</li>
<li><a href="https://... | 3 |
diff --git a/layouts/partials/helpers/section-header.html b/layouts/partials/helpers/section-header.html {{- $bg := .bg -}}
+{{- $align := .params.align | default "center" -}}
+{{- $subtitle_align := .params.subtitle_align | default $align -}}
{{- with .params.title }}
- <div class="row">
- <div class="col text-center ... | 0 |
diff --git a/README.md b/README.md # grocy
ERP beyond your fridge
+## Give it a try
+Public demo of the latest version → [https://demo.grocy.info](https://demo.grocy.info)
+
## Motivation
A household needs to be managed. I did this so far (almost 10 years) with my first self written software (a C# windows forms ap... | 0 |
diff --git a/tools/metadata/package.json b/tools/metadata/package.json ],
"scripts": {
"clean": "rm -rf ./build",
- "compile": "yarn clean && tsc -b",
- "test": "yarn test:unit",
- "test:unit": "yarn compile && mocha -r ts-node/register test/**/*.ts"
+ "compile": "yarn clean && tsc -b"
},
"dependencies": {
"@airswap/co... | 2 |
diff --git a/articles/quickstart/spa/angular2/01-login.md b/articles/quickstart/spa/angular2/01-login.md ---
title: Login
-description: This tutorial demonstrates how to add user login to an Angular (versions 2 and above) application using Auth0.
+description: This tutorial demonstrates how to add user login to an Angu... | 2 |
diff --git a/docs/sphinx_greenlight_instructions.md b/docs/sphinx_greenlight_instructions.md ## Getting Started
-1. Flash our installer onto your raspberry pi using your preferred method. We like to use balena etcher, which you can download [here](https://www.balena.io/etcher/).
-2. Follow the instructions [here](https... | 0 |
diff --git a/articles/quickstart/spa/vuejs/_includes/_centralized_login.md b/articles/quickstart/spa/vuejs/_includes/_centralized_login.md @@ -87,7 +87,6 @@ class AuthService {
} else if (err) {
this.logout()
console.log(err)
- alert(`Could not get a new token (<%= "${err.error}" %>: <%= "${err.error_description}" %>).... | 2 |
diff --git a/editor.js b/editor.js @@ -2669,6 +2669,20 @@ Promise.all([
}
});
+ // double-click to focus
+ renderer.domElement.addEventListener('dblclick', async e => {
+ const hoverObject = weaponsManager.getMouseHoverObject();
+ if (hoverObject) {
+ camera.quaternion.setFromRotationMatrix(
+ localMatrix.lookAt(
+ cam... | 0 |
diff --git a/Source/Core/Event.js b/Source/Core/Event.js /*global define*/
define([
+ './Check',
'./defined',
- './defineProperties',
- './DeveloperError'
+ './defineProperties'
], function(
+ Check,
defined,
- defineProperties,
- DeveloperError) {
+ defineProperties) {
'use strict';
/**
@@ -65,9 +65,7 @@ define([
*/
E... | 14 |
diff --git a/metaversefile-api.js b/metaversefile-api.js @@ -763,13 +763,26 @@ metaversefile.setApi({
fn(e.data);
};
world.appManager.addEventListener('frame', frame);
- app.addEventListener('destroy', () => {
+ const destroy = () => {
+ cleanup();
+ };
+ app.addEventListener('destroy', destroy);
+
+ const cleanup = ()... | 0 |
diff --git a/components/app/explore/DatasetList.js b/components/app/explore/DatasetList.js @@ -11,6 +11,7 @@ class DatasetList extends PureComponent {
static propTypes = {
list: PropTypes.array,
user: PropTypes.object,
+ routes: PropTypes.object,
mode: PropTypes.string,
showActions: PropTypes.bool.isRequired,
showFavor... | 4 |
diff --git a/app/views/admin/user_detail.html.haml b/app/views/admin/user_detail.html.haml = link_to "Delete user photo", admin_update_user_path( @display_user.id, icon_delete: true ), method: :put,
:data => {:confirm => t(:are_you_sure_no_undo)},
class: "btn btn-block btn-danger"
- = link_to t(:delete_user), @display_... | 1 |
diff --git a/ReviewQueueHelper.user.js b/ReviewQueueHelper.user.js // @description Keyboard shortcuts, skips accepted questions and audits (to save review quota)
// @homepage https://github.com/samliew/SO-mod-userscripts
// @author @samliew
-// @version 1.8.6
+// @version 1.8.7
//
// @include https://*stackoverflow.com... | 2 |
diff --git a/src/compiler/lexer.imba1 b/src/compiler/lexer.imba1 @@ -963,7 +963,7 @@ export class Lexer
elif typ == '$' and !colon
typ = 'IDENTIFIER'
- elif id == 'elif'
+ elif id == 'elif' and !forcedIdentifier
token 'ELSE', 'elif', id:length
token 'IF', 'if'
return id:length
@@ -1044,8 +1044,7 @@ export class Lexer
i... | 11 |
diff --git a/src/react/radio/radio_group.js b/src/react/radio/radio_group.js @@ -16,7 +16,7 @@ export class RadioGroup extends React.Component {
render() {
const {name, children, onChange, className, value, ...others} = this.props;
- const radioProps = onChange ? {name, onChange} : {name};
+ const radioProps = onChange... | 12 |
diff --git a/tools/make/lib/ls/pkgs/standalones.mk b/tools/make/lib/ls/pkgs/standalones.mk #/
# @license Apache-2.0
#
-# Copyright (c) 2017 The Stdlib Authors.
+# Copyright (c) 2021 The Stdlib Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance w... | 10 |
diff --git a/src/technologies/s.json b/src/technologies/s.json },
"headers": {
"x-shopid": "\\;confidence:50",
- "x-shopify-stage": "\\;confidence:50"
+ "x-shopify-stage": ""
},
+ "xhr": "\\.myshopify\\.com",
"icon": "Shopify.svg",
"js": {
"Shopify": "\\;confidence:25",
| 7 |
diff --git a/src/node/sockets/node-server/sockets/node-server.js b/src/node/sockets/node-server/sockets/node-server.js let io = require('socket.io');
const colors = require('colors/safe');
-const https = require('https');
import consts from 'consts/const_global'
import SocketExtend from 'common/sockets/socket-extend'
@... | 13 |
diff --git a/lib/core.js b/lib/core.js @@ -334,8 +334,19 @@ impress.start = () => {
// Establish IPC processing
const ipcStart = () => {
+ if (impress.isMaster) {
process.on('SIGINT', impress.shutdown);
process.on('SIGTERM', impress.shutdown);
+ process.on('SIGHUP', impress.shutdown);
+
+ process.stdin.setRawMode(true)... | 4 |
diff --git a/components/mapbox/ban-map/index.js b/components/mapbox/ban-map/index.js @@ -3,9 +3,12 @@ import PropTypes from 'prop-types'
import bboxPolygon from '@turf/bbox-polygon'
import booleanContains from '@turf/boolean-contains'
+import theme from '@/styles/theme'
+
import CenterControl from '../center-control'
+... | 0 |
diff --git a/token-metadata/0xA8b919680258d369114910511cc87595aec0be6D/metadata.json b/token-metadata/0xA8b919680258d369114910511cc87595aec0be6D/metadata.json "symbol": "LYXE",
"address": "0xA8b919680258d369114910511cc87595aec0be6D",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/src/Note.js b/src/Note.js @@ -5,21 +5,22 @@ import {Utilities} from "./Utilities.js";
* The `Note` class represents a single musical note such as `"D3"`, `"G#4"`, `"F-1"`, `"Gb7"`, etc.
*
* `Note` objects can be played back on a single channel by calling
- * [OutputChannel.playNote()]{@link OutputChannel#p... | 7 |
diff --git a/includes/Modules/AdSense.php b/includes/Modules/AdSense.php @@ -528,9 +528,12 @@ tag_partner: "site_kit"
case 'earnings':
$data = array_merge(
array(
- 'dateRange' => 'last-28-days',
- 'dimensions' => '',
- )
+ // Named date range slug.
+ 'dateRange' => array( 'last-28-days' ),
+ // Array of dimension stri... | 3 |
diff --git a/CHANGELOG.md b/CHANGELOG.md @@ -10,6 +10,21 @@ 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.39.2] -- 2018-07-16
+
+### Fixed
+- Fix scattergl selection after resize relayouts [#2801]
+- Fix scattergl layout replot edits [#279... | 3 |
diff --git a/src/Engines/Markdown.js b/src/Engines/Markdown.js @@ -16,6 +16,15 @@ class Markdown extends TemplateEngine {
setLibrary(mdLib) {
this.mdLib = mdLib || markdownIt(this.getMarkdownOptions());
+
+ // Overrides a highlighter set in `markdownOptions`
+ // This is separate so devs can pass in a new mdLib and sti... | 5 |
diff --git a/token-metadata/0x52132a43D7cAE69B23abE77B226fA1a5BC66b839/metadata.json b/token-metadata/0x52132a43D7cAE69B23abE77B226fA1a5BC66b839/metadata.json "symbol": "TMPL",
"address": "0x52132a43D7cAE69B23abE77B226fA1a5BC66b839",
"decimals": 9,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/src/codegen/types/conversions.js b/src/codegen/types/conversions.js @@ -143,9 +143,9 @@ const ASSEMBLYSCRIPT_TO_ETHEREUM_VALUE = [
/^string\[([0-9]+)?\]$/,
code => `ethereum.Value.fromStringArray(${code})`,
],
- ['Tuple', 'tuple', code => `ethereum.Value.fromTuple(${code})`],
+ ['ethereum.Tuple', 'tuple', ... | 14 |
diff --git a/app/views/leaderboard.scala.html b/app/views/leaderboard.scala.html } m</td>
}
} else {
- @if(stat.asInstanceOf[LeaderboardStat].distanceMeters.asInstanceOf[Float] * 3.28 > 5280) {
+ @if(stat.asInstanceOf[LeaderboardStat].distanceMeters.asInstanceOf[Float] * 3.28 > 2500) {
<td class="leaderboard-table-font... | 3 |
diff --git a/contribs/gmf/src/directives/print.js b/contribs/gmf/src/directives/print.js @@ -789,9 +789,10 @@ gmf.PrintController.prototype.print = function(format) {
}
}
- // Get the print native angle parameter for WMS layers
- if (layer instanceof ol.layer.Image) {
- print_native_angle = layer.get('printNativeAngle'... | 12 |
diff --git a/token-metadata/0x4f3AfEC4E5a3F2A6a1A411DEF7D7dFe50eE057bF/metadata.json b/token-metadata/0x4f3AfEC4E5a3F2A6a1A411DEF7D7dFe50eE057bF/metadata.json "symbol": "DGX",
"address": "0x4f3AfEC4E5a3F2A6a1A411DEF7D7dFe50eE057bF",
"decimals": 9,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
}... | 3 |
diff --git a/token-metadata/0x0a50C93c762fDD6E56D86215C24AaAD43aB629aa/metadata.json b/token-metadata/0x0a50C93c762fDD6E56D86215C24AaAD43aB629aa/metadata.json "symbol": "LGO",
"address": "0x0a50C93c762fDD6E56D86215C24AaAD43aB629aa",
"decimals": 8,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
}... | 3 |
diff --git a/source/views/menu/MenuButtonView.js b/source/views/menu/MenuButtonView.js @@ -73,6 +73,15 @@ const MenuButtonView = Class({
*/
menuView: null,
+ /**
+ Property: O.MenuButtonView#destroyMenuViewOnClose
+ Type: Boolean
+
+ If the menu view is regenerated each time it is opened, set this to
+ true to destroy ... | 0 |
diff --git a/src/components/drawing/index.js b/src/components/drawing/index.js @@ -47,6 +47,17 @@ drawing.setRect = function(s, x, y, w, h) {
s.call(drawing.setPosition, x, y).call(drawing.setSize, w, h);
};
+/** Translate / remove node
+ *
+ * @param {object} d : calcdata point item
+ * @param {sel} sel : d3 selction ... | 0 |
diff --git a/jobs/webcast.js b/jobs/webcast.js @@ -64,19 +64,7 @@ module.exports = async () => {
responseType: 'json',
});
const pastYoutubeId = pastLaunches.docs[0].links.youtube_id;
- if (youtubeId === pastYoutubeId) {
- logger.info('Past youtube id matches, skipping...');
- await got.patch(`${SPACEX_API}/launches/${... | 11 |
diff --git a/packages/cx/src/widgets/form/UploadButton.d.ts b/packages/cx/src/widgets/form/UploadButton.d.ts @@ -25,10 +25,10 @@ interface UploadButtonProps extends FieldProps {
/** Name of the icon to be put on the left side of the button. */
icon?: Cx.StringProp;
- onUploadStarting?: (xhr: XMLHttpRequest, instance: a... | 0 |
diff --git a/contracts/mockContracts/TokenNoDecimals.sol b/contracts/mockContracts/TokenNoDecimals.sol @@ -164,7 +164,7 @@ contract StandardToken is BasicToken, ERC20 {
* to the creator. Note they can later distribute these tokens
* as they wish using `transfer` and other `StandardToken` functions.
*/
-contract TokenNo... | 13 |
diff --git a/.travis.yml b/.travis.yml @@ -13,10 +13,6 @@ jobs:
language: node_js
node_js: '7'
script: yarn test
- - stage: security tests on python
- script: echo WIP
- - stage: security tests on node_js
- script: echo WIP
- stage: deploy to staging
script: skip
deploy: &script
| 2 |
diff --git a/angular/projects/spark-angular/src/lib/components/sprk-masthead/directives/sprk-masthead-logo/sprk-masthead-logo.directive.spec.ts b/angular/projects/spark-angular/src/lib/components/sprk-masthead/directives/sprk-masthead-logo/sprk-masthead-logo.directive.spec.ts import { Component } from '@angular/core';
... | 3 |
diff --git a/articles/monitoring/sending-events-to-segmentio.md b/articles/monitoring/sending-events-to-segmentio.md ---
-description: How to send events to segment.io from Auth0.
+description: How to send events to segment.io from Auth0
---
# Send Auth0 Events to Segment
@@ -7,20 +7,20 @@ description: How to send even... | 0 |
diff --git a/index.js b/index.js @@ -12,7 +12,7 @@ const server = new ApolloServer({
})
server
- .listen()
+ .listen({ port: process.env.PORT || 4000 })
.then(({ url }) => `GraphQL Server listening on ${url}`)
.then(console.log)
.catch(console.error)
\ No newline at end of file
| 11 |
diff --git a/articles/libraries/lock-ios/v2/save-and-refresh-jwt-tokens.md b/articles/libraries/lock-ios/v2/save-and-refresh-jwt-tokens.md @@ -5,7 +5,7 @@ description: Keeping your user logged in
# Lock iOS: Saving and Renewing Tokens
-When an authentication is performed with the `offline_access` scope included, it wil... | 2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.