code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/core/workspace_svg.js b/core/workspace_svg.js @@ -880,7 +880,7 @@ Blockly.WorkspaceSvg.prototype.createDom = function(opt_backgroundClass) {
// This no-op works around https://bugs.webkit.org/show_bug.cgi?id=226683,
// which otherwise prevents zoom/scroll events from being observed in
// Safari. Once that ... | 2 |
diff --git a/src/useCamera.tsx b/src/useCamera.tsx @@ -2,13 +2,13 @@ import { Raycaster, Camera, Intersection } from 'three'
import React, { useState } from 'react'
import { useThree, applyProps } from 'react-three-fiber'
-export function useCamera(camera: Camera, props?: Partial<Raycaster>) {
+export function useCamer... | 11 |
diff --git a/packages/@uppy/dashboard/src/style.scss b/packages/@uppy/dashboard/src/style.scss }
}
- .uppy-DashboardTab-btn svg,
- .uppy-DashboardTab-btn svg * {
+ .uppy-DashboardTab-btn svg {
max-width: 100%;
max-height: 100%;
display: inline-block;
vertical-align: text-top;
overflow: hidden;
- transition: transform 0... | 7 |
diff --git a/src/routes.json b/src/routes.json },
{
"name": "conference-index",
- "pattern": "^/conference/?$",
+ "pattern": "^/conference/?(\\?.*)?$",
"routeAlias": "/conference(?!/201[4-5])",
"view": "conference/2018/index/index",
"title": "Scratch Conference",
| 8 |
diff --git a/src/selection-handler.js b/src/selection-handler.js @@ -50,7 +50,6 @@ Object.assign(SelectionHandler.prototype, require('./function-bind'), require('.
window.addEventListener("keydown", (e) => {
e = e || window.event;
var ctrlKey = e.ctrlKey || e.metaKey;
- var shiftKey = e.shiftKey;
var key = e.key;
if (c... | 7 |
diff --git a/packages/native/examples/singledropdownlist/src/App.js b/packages/native/examples/singledropdownlist/src/App.js @@ -57,7 +57,7 @@ const RootDrawer = DrawerNavigator({
),
},
withCustomStyles: {
- navigationOptions: navigationOptionsBuilder('With custom styles', 'ios-flask'),
+ navigationOptions: navigationO... | 3 |
diff --git a/mob-manager.js b/mob-manager.js @@ -625,38 +625,6 @@ class MobBatchedMesh extends InstancedBatchedMesh {
shader.vertexShader = shader.vertexShader.replace(`#include <skinning_pars_vertex>`, `\
#ifdef USE_SKINNING
-vec4 mat2quat( mat3 m ) {
- vec4 q;
- float tr = m[0][0] + m[1][1] + m[2][2];
-
- if (tr > 0.... | 2 |
diff --git a/react/src/base/inputs/SprkRevealInput/SprkRevealInput.js b/react/src/base/inputs/SprkRevealInput/SprkRevealInput.js @@ -3,6 +3,9 @@ import PropTypes from 'prop-types';
import uniqueId from 'lodash/uniqueId';
import SprkTextInput from '../SprkTextInput/SprkTextInput';
+/**
+ * TODO: Remove this component as... | 3 |
diff --git a/Example/components/TabIcon.js b/Example/components/TabIcon.js @@ -10,13 +10,13 @@ const propTypes = {
title: PropTypes.string,
};
-const TabIcon = (props) => (
- <Text
- style={{ color: props.selected ? 'red' : 'black' }}
- >
+const TabIcon = (props) => {
+ return <Text
+ style={{color: props.focused ? 're... | 4 |
diff --git a/src/commands/utility/ServerInfoCommand.js b/src/commands/utility/ServerInfoCommand.js @@ -26,7 +26,7 @@ class ServerInfoCommand extends Command{
statistics += `**Verified:** ${guild.verified ? 'Yes' : 'No'} \n`;
statistics += `**Partnered:** ${guild.partnered ? 'Yes' : 'No'} \n`;
- const features = guild.f... | 14 |
diff --git a/src/technologies/e.json b/src/technologies/e.json "elqCurESite": "",
"elqLoad": "",
"elqSiteID": "",
- "elq_global": ""
+ "elq_global": "",
+ "eloqContactData": "",
+ "eloquaActionSettings": "",
+ "elqCookieValue": "",
+ "_elq": "",
+ "_elqQ": ""
+ },
+ "cookies": {
+ "ELOQUA": ""
},
"scripts": "elqCfg\\.j... | 7 |
diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml @@ -42,6 +42,9 @@ services:
- /srv/crn-server/node_modules:exec
worker:
+ build:
+ context: .
+ dockerfile: server/Dockerfile
command: sh -c "yarn install && node /srv/crn-server/worker.js"
volumes:
- ../openneuro/server:/srv/crn-server
| 1 |
diff --git a/src/middleware/packages/activitypub/services/outbox.js b/src/middleware/packages/activitypub/services/outbox.js @@ -29,7 +29,7 @@ const OutboxService = {
activity = {
'@context': 'https://www.w3.org/ns/activitystreams',
- type: 'Create',
+ '@type': 'Create',
to: activity.to,
actor: activity.attributedTo,
o... | 1 |
diff --git a/README.md b/README.md @@ -46,7 +46,7 @@ That's it!
## Documentation
-You can find the current noblox.js wiki with all API documentation [here](https://github.com/suufi/noblox.js/wiki).
+You can find the current noblox.js wiki with all API documentation [here](https://github.com/sentanos/roblox-js/wiki). A ... | 1 |
diff --git a/assets/js/modules/analytics/setup.js b/assets/js/modules/analytics/setup.js @@ -58,7 +58,6 @@ class AnalyticsSetup extends Component {
profileID,
propertyID,
useSnippet,
- ampClientIDOptIn,
trackingDisabled,
} = global.googlesitekit.modules.analytics.settings;
@@ -79,7 +78,6 @@ class AnalyticsSetup extends... | 2 |
diff --git a/composer.json b/composer.json "@composer --working-dir=php-scoper config prefer-stable true",
"@composer --working-dir=php-scoper require humbug/php-scoper"
],
- "lint": "vendor/bin/phpcs",
- "lint-fix": "vendor/bin/phpcbf",
+ "lint": "phpcs",
+ "lint-fix": "phpcbf",
"test": "phpunit"
}
}
| 2 |
diff --git a/articles/libraries/auth0js/v8/index.md b/articles/libraries/auth0js/v8/index.md @@ -129,6 +129,8 @@ Hosted login with popup:
```js
webAuth.popup.authorize({
//Any additional options can go here
+}, function(err, authResult) {
+ //do something
});
```
@@ -137,6 +139,8 @@ And for social login with popup usin... | 0 |
diff --git a/release.py b/release.py @@ -20,6 +20,9 @@ CHANGELOG_END_RE = re.compile(r'^\#\# \[.*\] - \d{4}-\d{2}-\d{2}')
# if we come across a section header between two release section headers
# then we probably have an improperly formatted changelog
CHANGELOG_ERROR_RE = re.compile(r'^\#\# ')
+NO_CHANGE = ('No change... | 9 |
diff --git a/ui/component/viewers/videoViewer/internal/plugins/videojs-hls-quality-selector/plugin.js b/ui/component/viewers/videoViewer/internal/plugins/videojs-hls-quality-selector/plugin.js @@ -50,8 +50,8 @@ class HlsQualitySelectorPlugin {
}
updatePlugin() {
- // If there is the HLS tech
- if (this.getHls()) {
+ //... | 10 |
diff --git a/test/spec/geo/shared-tests-for-torque-layer.js b/test/spec/geo/shared-tests-for-torque-layer.js @@ -145,8 +145,8 @@ module.exports = function () {
});
it('should set the new cartoCSS on the torque layer', function () {
- this.view.model.set('cartocss', 'some shiny new cartocss');
- expect(this.nativeTorque... | 1 |
diff --git a/articles/topics/extensibility.md b/articles/topics/extensibility.md @@ -31,8 +31,9 @@ Use Rules to:
[Hooks](/hooks) allow you to customize the behavior of Auth0 using Node.js code that is executed against extensibility points (which are comparable to webhooks that come with a server). Hooks allow you modul... | 2 |
diff --git a/src/components/Root.js b/src/components/Root.js import React, { PropTypes } from 'react';
import { Provider } from 'react-redux';
import { Router } from 'react-router';
-import DevTools from './DevTools';
+// import DevTools from './DevTools';
const Root = ({ store, routes, history }) => (
<Provider store=... | 2 |
diff --git a/src/middleware/packages/webacl/middlewares/webacl.js b/src/middleware/packages/webacl/middlewares/webacl.js @@ -15,7 +15,7 @@ const actionsToVerify = {
// Resources
'ldp.resource.get': { minimumRight: 'read', verifyOn: 'resource' },
'ldp.resource.patch': { minimumRight: 'append', verifyOn: 'resource' },
- ... | 12 |
diff --git a/scripts/tosdr.js b/scripts/tosdr.js @@ -97,7 +97,9 @@ function addPoint(points, type, pointCase, score) {
points['all'][type].push(pointCase)
// is this a point we care about
- if (topics[type].indexOf(pointCase) !== -1){
+ if (topics[type].indexOf(pointCase) !== -1 &&
+ // avoid adding duplicate points
+ ... | 2 |
diff --git a/admin-base/ui.apps/src/main/content/jcr_root/apps/admin/components/explorer/template.vue b/admin-base/ui.apps/src/main/content/jcr_root/apps/admin/components/explorer/template.vue <template>
-<div class="explorer">
+<div class="explorer"
+ v-on:drag.prevent ="stopPropagation"
+ v-on:dragstart.prevent ="sto... | 11 |
diff --git a/docs/configuration-file.md b/docs/configuration-file.md @@ -48,7 +48,7 @@ The cleaner array may appear unconventionnal but is really easy to use. Every it
// The thrid module to run with some special options
[
"module-name-3",
- { "option-1": 100, "option-2": true }
+ { "option-1": { value: 50, min: 0, max... | 3 |
diff --git a/app/middlewares/log.js b/app/middlewares/log.js const { stringifyForLogs } = require('../utils/logs');
+const MAX_SQL_LENGTH = (global.settings.logQueries && global.settings.maxQueriesLogLength) || 1024;
const TYPES = {
QUERY: 'query',
JOB: 'job'
@@ -9,15 +10,13 @@ const TYPES = {
module.exports = function... | 7 |
diff --git a/db/migrate/20180109232530_add_user_observation_index_to_identifications.rb b/db/migrate/20180109232530_add_user_observation_index_to_identifications.rb @@ -28,7 +28,7 @@ class AddUserObservationIndexToIdentifications < ActiveRecord::Migration
ids_to_update = idents.sort_by(&:id)[1..-2].map(&:id)
Identifica... | 1 |
diff --git a/src/Widgets/FormContainerWidget/FormContainerWidgetEditingConfig.js b/src/Widgets/FormContainerWidget/FormContainerWidgetEditingConfig.js @@ -17,7 +17,7 @@ Scrivito.provideEditingConfig("FormContainerWidget", {
title: "Message shown while the form is being submitted",
},
submittedMessage: {
- title: "Messa... | 7 |
diff --git a/Source/Scene/ImageryLayerCollection.js b/Source/Scene/ImageryLayerCollection.js @@ -326,12 +326,12 @@ ImageryLayerCollection.prototype.lowerToBottom = function (layer) {
var applicableRectangleScratch = new Rectangle();
/**
- * Helper function for `pickImageryLayers` and `pickImageryLayerFeatures`. Returns... | 3 |
diff --git a/Source/DataSources/KmlTour.js b/Source/DataSources/KmlTour.js import defined from "../Core/defined.js";
import Event from "../Core/Event.js";
/**
+ * Describes a KmlTour, which uses KmlTourFlyTo, KmlTourWait, and KmlTourSoundCues to
+ * guide the camera to a specified destinations on given time intervals.
... | 3 |
diff --git a/articles/custom-domains/self-managed-certificates.md b/articles/custom-domains/self-managed-certificates.md @@ -12,10 +12,6 @@ Choose this option if:
* You want to have more control of your certificates (such as choosing your own CA or certificate expiration)
* You want to enable additional monitoring over... | 2 |
diff --git a/src/index.js b/src/index.js @@ -59,7 +59,8 @@ if (t && (!existingUser || !existingUser.currentUser)) {
consolidateStreamedStyles();
const store = initStore(window.__SERVER_STATE__ || initialState);
-const renderMethod = window.__SERVER_STATE__
+// eslint-disable-next-line
+const renderMethod = !!window.__S... | 8 |
diff --git a/node-red-contrib-sarah/win-speak/node-speak.js b/node-red-contrib-sarah/win-speak/node-speak.js @@ -16,7 +16,7 @@ module.exports = function(RED) {
}
const input = (node, data, config) => {
- let tts = helper.getByString(data, config.input || 'payload', undefined);
+ let tts = helper.getByString(data, confi... | 9 |
diff --git a/lib/node_modules/@stdlib/plot/sparklines/base/ctor/docs/repl.txt b/lib/node_modules/@stdlib/plot/sparklines/base/ctor/docs/repl.txt Examples
--------
- > var sparkline = {{alias}}()
+ > var sparkline = new {{alias}}()
<Sparkline>
// Provide sparkline data at instantiation:
> var data = [ 1, 2, 3 ];
- > spa... | 4 |
diff --git a/node-binance-api.js b/node-binance-api.js @@ -112,7 +112,7 @@ module.exports = function() {
quantity: quantity
};
if ( typeof flags.type !== "undefined" ) opt.type = flags.type;
- if ( opt.type == "LIMIT" ) {
+ if ( opt.type.includes("LIMIT") ) {
opt.price = price;
opt.timeInForce = "GTC";
}
| 12 |
diff --git a/apps/verticalface/app.js b/apps/verticalface/app.js @@ -113,14 +113,20 @@ Bangle.on('lcdPower',on=>{
// Show launcher when middle button pressed
setWatch(Bangle.showLauncher, BTN2, { repeat: false, edge: "falling" });
-//HRM Controller.
Bangle.on('touch', function(button) {
if(button == 1 || button == 2){
... | 12 |
diff --git a/src/article/ArticleSerializer.js b/src/article/ArticleSerializer.js import { prettyPrintXML, platform } from 'substance'
+import { DEFAULT_JATS_SCHEMA_ID } from './ArticleConstants'
export default class ArticleSerializer {
export (doc, config) {
let articleConfig = config.getConfiguration('article')
- // T... | 4 |
diff --git a/server/common/annotations/annotations.py b/server/common/annotations/annotations.py @@ -33,10 +33,10 @@ class Annotations(metaclass=ABCMeta):
raise OntologyLoadFailure("Unable to find OBO ontology path") from e
except SyntaxError as e:
- raise OntologyLoadFailure("Syntax error loading OBO ontology") from e... | 7 |
diff --git a/lib/storage.js b/lib/storage.js @@ -25,7 +25,8 @@ function get(id) {
}
function set(id, metaData) {
- redisClient.set(id, JSON.stringify(metaData), redis.print);
+ // set expiry to 30min (30 * 60 = 1800)
+ redisClient.set(id, JSON.stringify(metaData), 'EX', 1800, redis.print);
}
module.exports = {
| 12 |
diff --git a/source/datastore/store/Store.js b/source/datastore/store/Store.js @@ -2428,11 +2428,22 @@ const Store = Class({
{O.Store} Returns self.
*/
sourceDidCommitDestroy ( storeKeys ) {
- let l = storeKeys.length,
- storeKey, status;
+ const { _skToType, _typeToSKToId } = this;
+ let l = storeKeys.length;
+ let st... | 2 |
diff --git a/src/js/locale/en.yaml b/src/js/locale/en.yaml @@ -13,7 +13,7 @@ errors:
no_service_worker: Service worker not supported
required: Required
unknown_error: Unknown error
- need_to_be_online: You need to be online load this resource
+ need_to_be_online: You need to be online to load this resource
nothing_sele... | 1 |
diff --git a/app/src/renderer/components/staking/UndelegationModal.vue b/app/src/renderer/components/staking/UndelegationModal.vue </p>
<tm-form-msg
v-if="maximum === 0"
- :msg="`don't have any delegation to this validator`"
+ :msg="`don't have any ${denom}s delegated to this validator`"
name="You"
type="custom"
/>
| 3 |
diff --git a/sirepo/package_data/static/css/sirepo.css b/sirepo/package_data/static/css/sirepo.css @@ -1011,3 +1011,10 @@ li.sr-model-list-item > a {
font-size: 1em;
white-space: nowrap;
}
+label .katex {
+ font-weight: 700;
+}
+.tooltip .katex {
+ font-size: 16px;
+ font-weight: normal;
+}
| 7 |
diff --git a/extensions/single-file-stac/README.md b/extensions/single-file-stac/README.md An extension to provide a set of Collections and Items within a single file catalog. The single file is a STAC catalog that contains everything that would normally be in a linked set of STAC files. This format is useful to save a... | 2 |
diff --git a/source/setup/components/VaultPage.js b/source/setup/components/VaultPage.js import React, { PureComponent, Fragment } from "react";
import PropTypes from "prop-types";
-import { Button, Intent, FormGroup, InputGroup, Navbar, Alignment } from "@blueprintjs/core";
+import { Button, Classes, Intent, FormGroup... | 7 |
diff --git a/src/apps.json b/src/apps.json "Modernizr._version": "(.*)\\;version:\\1"
},
"script": [
- "modernizr(?:-([\\d.]*[\\d]))?.*\\.js\\;version:\\1",
- "/([\\d.]+)/modernizr(?:\\.min)?\\.js\\;version:\\1"
+ "([\\d.]+)?/modernizr(?:.([\\d.]+))?.*\\.js\\;version:\\1?\\1:\\2"
],
"website": "https://modernizr.com"
}... | 7 |
diff --git a/README.md b/README.md [](https://circleci.com/gh/radiantearth/stac-spec)
-**Mar 2, 2020** - The API portion of STAC has been split off into a [new repository - stac-api-spec](https://github.com/radiantearth/stac-api-spec) and will sta... | 2 |
diff --git a/src/architecture/network.js b/src/architecture/network.js @@ -462,7 +462,24 @@ Network.prototype = {
}
return candidates.length ? candidates : false
- case mutation.SWAP_NODES: return ((method.mutateOutput && (this.nodes.length - 1) - this.input < 2) || (!method.mutateOutput && (this.nodes.length - 1) - th... | 5 |
diff --git a/articles/support/index.md b/articles/support/index.md @@ -127,3 +127,17 @@ Ticket response times will vary based on your support plan (shown below). Note
</tr>
</tbody>
</table>
+
+### Support Hours
+
+Auth0's Business Hours are as follows:
+
+**Standard Business Hours**
+Monday, 7am - Friday, 6pm Pacific ... | 0 |
diff --git a/docs/src/pages/discover-more/showcase.md b/docs/src/pages/discover-more/showcase.md @@ -13,3 +13,7 @@ Want to add your app? Found an app that no longer works or no longer uses Materi
### 2. Mantic Transparence
An Open Data tool showing financial and demographic data for all the towns in France (in french)
... | 0 |
diff --git a/src/pages/signin/ChangeExpensifyLoginLink.js b/src/pages/signin/ChangeExpensifyLoginLink.js @@ -3,7 +3,6 @@ import {TouchableOpacity, View} from 'react-native';
import {withOnyx} from 'react-native-onyx';
import PropTypes from 'prop-types';
import Str from 'expensify-common/lib/str';
-import lodashGet from... | 13 |
diff --git a/app/controllers/mock.php b/app/controllers/mock.php @@ -353,10 +353,12 @@ App::get('/v1/mock/tests/general/set-cookie')
->label('sdk.response.model', Response::MODEL_MOCK)
->label('sdk.mock', true)
->inject('response')
- ->action(function ($response) {
+ ->inject('request')
+ ->action(function ($response, ... | 12 |
diff --git a/lib/draw2D.js b/lib/draw2D.js +"use strict";
// 2D GRAPHICS PRIMITIVES.
var align = viewForwardMat.transform([alignX, alignY, 0, 0]);
- lines = ('' + message).split('\n');
+ var lines = ('' + message).split('\n');
for (i = 0 ; i < lines.length ; i++) {
- di = 1.6 * (i + .5 - lines.length / 2);
+ var di = 1... | 12 |
diff --git a/package.json b/package.json {
"name": "prettier-atom",
"main": "./dist/main.js",
- "version": "0.37.0",
+ "version": "0.38.0",
"description": "Atom plugin for formatting JavaScript using prettier with (optional) prettier-eslint integration",
"keywords": [
"atom",
| 6 |
diff --git a/metaverse_modules/mesh-lod-item/index.js b/metaverse_modules/mesh-lod-item/index.js import * as THREE from 'three';
import metaversefile from 'metaversefile';
-const {useApp, useFrame, useScene, usePhysics, useWear, useMeshLodder} = metaversefile;
+const {useApp, useFrame, usePhysics, useWear, useMeshLodde... | 0 |
diff --git a/content/articles/how-to-implement-caching-in-adonisjs-5/index.md b/content/articles/how-to-implement-caching-in-adonisjs-5/index.md @@ -134,9 +134,9 @@ export default class ForumsController {
}
// Reading a Single Forum by ID
- public async update({ auth, request, params}: HttpContextContract){
+ public as... | 1 |
diff --git a/docker-compose-web.yml b/docker-compose-web.yml version: "3"
networks:
- origin-develop:
+ origin-website-develop:
volumes:
pg_data:
@@ -19,7 +19,7 @@ services:
- POSTGRES_PASSWORD=origin
- POSTGRES_DB=origin_website
networks:
- - origin-develop
+ - origin-website-develop
redis:
container_name: redis
@@ -2... | 4 |
diff --git a/js/okex3.js b/js/okex3.js @@ -687,7 +687,7 @@ module.exports = class okex3 extends Exchange {
'rate': 'public',
'{instrument_id}/constituents': 'public',
},
- 'warnOnFetchCurrenciesWithoutAuthorization': true,
+ 'warnOnFetchCurrenciesWithoutAuthorization': false,
},
'commonCurrencies': {
// OKEX refers to ... | 12 |
diff --git a/src/plot_api/plot_schema.js b/src/plot_api/plot_schema.js @@ -221,17 +221,6 @@ exports.findArrayAttributes = function(trace) {
}
}
- // Look into the fullInput module attributes for array attributes
- // to make sure that 'custom' array attributes are detected.
- //
- // At the moment, we need this block t... | 2 |
diff --git a/src/plot_api/plot_schema.js b/src/plot_api/plot_schema.js @@ -252,12 +252,11 @@ exports.findArrayAttributes = function(trace) {
exports.getTraceValObject = function(trace, parts) {
var head = parts[0];
var i = 1; // index to start recursing from
- var transforms = trace.transforms;
- if(!Array.isArray(tran... | 2 |
diff --git a/snippets/navigationview-action-placementpriority.js b/snippets/navigationview-action-placementpriority.js @@ -13,4 +13,4 @@ var createAction = function(title, imageName, placementPriority) {
createAction('Search', 'search.png', 'high');
createAction('Share', 'share.png', 'low');
-createAction('Settings', '... | 7 |
diff --git a/src/libs/actions/Policy.js b/src/libs/actions/Policy.js @@ -278,36 +278,6 @@ function invite(logins, welcomeNote, policyID) {
});
}
-/**
- * Uploads the avatar image to S3 bucket and updates the policy with new avatarURL
- *
- * @param {String} policyID
- * @param {Object} file
- */
-function uploadAvatar(... | 5 |
diff --git a/src/components/topic/snapshots/foci/builder/keywordSearch/EditKeywordSearchContainer.js b/src/components/topic/snapshots/foci/builder/keywordSearch/EditKeywordSearchContainer.js @@ -30,8 +30,24 @@ class EditKeywordSearchContainer extends React.Component {
this.state = { keywords: null };
}
+ updateKeywords... | 11 |
diff --git a/src/transformers/index.js b/src/transformers/index.js @@ -16,11 +16,11 @@ const applyExtraAttributes = require('./extra-attributes')
const removeInlineBgColor = require('./remove-inline-bgcolor')
exports.process = async (html, config) => {
+ html = await safeClassNames(html, config)
html = await transformC... | 13 |
diff --git a/apps/circlesclock/app.js b/apps/circlesclock/app.js @@ -102,7 +102,8 @@ function drawHeartRate() {
g.fillCircle(w2, h3, radiusOuter);
if (hrtValue != undefined && hrtValue > 0) {
- const percent = hrtValue / settings.maxHR;
+ const minHR = 40;
+ const percent = (hrtValue - minHR) / (settings.maxHR - minHR)... | 7 |
diff --git a/src/plots/polar/polar.js b/src/plots/polar/polar.js @@ -452,6 +452,7 @@ proto.updateAngularAxis = function(fullLayout, polarLayout) {
proto.updateFx = function(fullLayout, polarLayout) {
if(!this.gd._context.staticPlot) {
this.updateMainDrag(fullLayout, polarLayout);
+ this.updateRadialDrag(fullLayout, pol... | 0 |
diff --git a/test/specs/helpers.color.tests.js b/test/specs/helpers.color.tests.js @@ -11,6 +11,14 @@ describe('Color helper', function() {
});
describe('Background hover color helper', function() {
+ it('should return a modified version of color when called with a color', function() {
+ var originalColorRGB = 'rgb(70,... | 7 |
diff --git a/README.md b/README.md * [iOS](#ios)
* [Android](#android)
* [Contributing](#contributing)
+ * [Architecture Decision Records](#architecture-decision-records)
* [Links](#links)
<!-- tocstop -->
@@ -61,6 +62,17 @@ Merging a Pull Request to the master branch will trigger a build number increase
Submit your Pu... | 0 |
diff --git a/token-metadata/0x70eFDc485a10210B056eF8e0A32993Bc6529995E/metadata.json b/token-metadata/0x70eFDc485a10210B056eF8e0A32993Bc6529995E/metadata.json "symbol": "BLZN",
"address": "0x70eFDc485a10210B056eF8e0A32993Bc6529995E",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/core/diagnosis_manager.js b/core/diagnosis_manager.js @@ -43,6 +43,8 @@ Blockly.DiagnosisManager.OFFSET_X = 20;
Blockly.DiagnosisManager.OFFSET_Y = 20;
+Blockly.DiagnosisManager.WIDTH = 300;
+
/**
* Create the div to show error message.
*/
@@ -52,6 +54,7 @@ Blockly.DiagnosisManager.prototype.createDom_ = f... | 1 |
diff --git a/packages/collapsible/test/lion-collapsible.test.js b/packages/collapsible/test/lion-collapsible.test.js @@ -101,15 +101,6 @@ describe('<lion-collapsible>', () => {
expect(isCollapsibleOpen).to.equal(false);
});
- it('opens a invoker on click even if moved once', async () => {
- const collapsible = await fi... | 2 |
diff --git a/explore/explore.go b/explore/explore.go @@ -83,7 +83,6 @@ func NewLambdaRequest(lambdaName string, eventData interface{}, testingURL strin
context := map[string]interface{}{
"AWSRequestID": "12341234-1234-1234-1234-123412341234",
- "InvokeID": fmt.Sprintf("%d-12341234-1234-1234-1234-123412341234", nowTime.... | 2 |
diff --git a/pages/Mixins.md b/pages/Mixins.md @@ -106,7 +106,7 @@ class SmartObject {
interface SmartObject extends Disposable, Activatable {}
```
-The first thing you may notice in the above is that instead of trying to extend `Disposable` and `Activatable` in `SmartObject` class, we extend them in `SmartObject` inte... | 1 |
diff --git a/html/components/card.stories.js b/html/components/card.stories.js @@ -154,7 +154,7 @@ export const teaser = () =>
</p>
<div class="sprk-o-Stack__item">
- <a href="#nogo" class="sprk-c-Button">
+ <a href="#nogo" class="sprk-c-Button sprk-c-Button--secondary">
Learn More
</a>
</div>
@@ -205,7 +205,7 @@ expor... | 3 |
diff --git a/src/ui/InfoWindow.js b/src/ui/InfoWindow.js @@ -152,11 +152,21 @@ class InfoWindow extends UIComponent {
if (this.options['title']) {
content += '<h2>' + this.options['title'] + '</h2>';
}
- const onClose = '"this.parentNode.style.display=\'none\';return false;"';
- content += '<a href="javascript:void(0);... | 3 |
diff --git a/src/kit/ui/ToolGroup.js b/src/kit/ui/ToolGroup.js @@ -141,6 +141,7 @@ export default class ToolGroup extends Component {
case 'switcher': {
return this._deriveGroupState(item, commandStates)
}
+ case 'custom':
case 'separator':
case 'spacer': {
return { item }
| 11 |
diff --git a/src/pages/eth2/staking-address.js b/src/pages/eth2/staking-address.js @@ -74,14 +74,11 @@ const StyledButton = styled(ButtonLink)`
margin-bottom: 3rem;
`
-const DumbTag = styled.div`
+const CardTag = styled.div`
display: flex;
align-items: center;
justify-content: center;
- padding: 8px 8px;
- width: 100%;... | 11 |
diff --git a/src/Header.jsx b/src/Header.jsx @@ -262,6 +262,7 @@ export default function Header({
const [roomName, setRoomName] = useState(_getCurrentRoom());
const [micOn, setMicOn] = useState(false);
const [xrSupported, setXrSupported] = useState(false);
+ const [claims, setClaims] = useState([]);
const userOpen = op... | 0 |
diff --git a/source/background/messaging.js b/source/background/messaging.js @@ -3,8 +3,6 @@ import dropbox from "./dropboxToken";
import DropboxAuthenticator from "./DropboxAuthenticator";
import { hideContextMenu, showContextMenu } from "./context";
-const StorageInterface = window.Buttercup.Web.StorageInterface;
-
c... | 2 |
diff --git a/js/bam/bamUtils.js b/js/bam/bamUtils.js @@ -447,11 +447,11 @@ var igv = (function (igv) {
var tmp = [];
var isize = alignment.fragmentLength;
var estReadLen = alignment.end - alignment.start;
- if (isize == 0) {
+ if (isize === 0) {
//isize not recorded. Need to estimate. This calculation was validated aga... | 1 |
diff --git a/src/lib/utils/handleBackButton.js b/src/lib/utils/handleBackButton.js @@ -27,12 +27,6 @@ class BackButtonHandler {
}
handler = action => {
- const now = Date.now()
-
- if (now - this.lastPress <= 300) {
- return BackHandler.exitApp()
- }
- this.lastPress = Date.now()
this.defaultAction()
return true
| 13 |
diff --git a/tools/make/lib/ls/markdown.mk b/tools/make/lib/ls/markdown.mk @@ -19,6 +19,7 @@ FIND_MARKDOWN_FLAGS ?= \
-regex "$(MARKDOWN_FILTER)" \
-not -path "$(NODE_MODULES)/*" \
-not -path "$(BUILD_DIR)/*" \
+ -not -path "$(DEPS_DIR)/**/$(TMP_FOLDER)/*" \
-not -path "$(REPORTS_DIR)/*" \
-not -path "$(ROOT_DIR)/**/$(... | 8 |
diff --git a/plugins/spamassassin.js b/plugins/spamassassin.js @@ -54,7 +54,7 @@ exports.hook_data_post = function (next, connection) {
const start = Date.now();
socket.on('line', function (line) {
- connection.logprotocol(plugin, "Spamd C: " + line + ' state=' + state);
+ connection.logprotocol(plugin, `Spamd C: ${lin... | 14 |
diff --git a/.vuepress/config.js b/.vuepress/config.js @@ -72,7 +72,7 @@ module.exports = {
text: 'More Meilisearch',
items: [
{ text: 'GitHub', link: 'https://github.com/meilisearch/meilisearch' },
- { text: 'Slack', link: 'https://slack.meilisearch.com' },
+ { text: 'Discord', link: 'https://discord.gg/meilisearch' }... | 14 |
diff --git a/server/views/sources/collection.py b/server/views/sources/collection.py @@ -61,7 +61,10 @@ def upload_file():
k, v in line.items() if k not in ['', None] }
newline_decoded = {k: v.decode('utf-8', errors='replace').encode('ascii', errors='ignore') for
k, v in newline.items() if v not in ['', None] }
+ empti... | 11 |
diff --git a/packages/sling-framework/src/v1/src/business/withRequestParams.js b/packages/sling-framework/src/v1/src/business/withRequestParams.js @@ -2,7 +2,7 @@ import { isFunction, toFlatEntries, toFlatObject } from 'sling-helpers';
const isValidEntry = ([, value]) => value != null && value !== '';
-const PARAMS_QUE... | 10 |
diff --git a/test/jasmine/tests/config_test.js b/test/jasmine/tests/config_test.js @@ -615,7 +615,7 @@ describe('config argument', function() {
.then(done);
});
- it('should still be responsive if the plot is edited', function(done) {
+ it('@flaky should still be responsive if the plot is edited', function(done) {
fill... | 0 |
diff --git a/spec/requests/admin/pages_controller_spec.rb b/spec/requests/admin/pages_controller_spec.rb @@ -59,10 +59,6 @@ describe Admin::PagesController do
get "/u/#{@org_user_name}", {}, JSON_HEADER
- uri = URI.parse(last_request.url)
- uri.host.should == "#{@org_name}.localhost.lan"
- uri.path.should == "/u/#{@org... | 2 |
diff --git a/webpack.config.js b/webpack.config.js @@ -257,6 +257,9 @@ module.exports = {
].filter(Boolean),
},
resolve: {
+ alias: {
+ 'material-ui': path.join(__dirname, 'node_modules/material-ui/es/'),
+ },
mainFields: [
'browser',
'module',
| 4 |
diff --git a/src/ui/Preferences.hx b/src/ui/Preferences.hx @@ -257,9 +257,11 @@ class Preferences {
console.error("Error loading preferences: ", e);
}
// migrations:
+ if (pref != null) {
if (pref.compMatchMode == null && pref.compExactMatch != null) {
pref.compMatchMode = pref.compExactMatch ? PrefMatchMode.StartsWith... | 1 |
diff --git a/docs/getting-started.md b/docs/getting-started.md @@ -365,7 +365,7 @@ The React Native tools require some environment variables to be set up in order
<block class="native mac linux android" />
-Add the following lines to your `$HOME/.bash_profile` config file:
+Add the following lines to your `$HOME/.bash_... | 14 |
diff --git a/src/sensors/DataSearch.js b/src/sensors/DataSearch.js @@ -184,26 +184,9 @@ class DataSearch extends Component {
return null;
}
- render() {
- let styles = {};
+ renderDataSearch = () => {
if (this.state.showOverlay) {
- styles = {
- height: "100%",
- position: "absolute",
- top: 0,
- right: 0,
- bottom: 0,... | 3 |
diff --git a/source/git-api.js b/source/git-api.js @@ -403,11 +403,30 @@ exports.registerApi = (env) => {
.finally(emitGitDirectoryChanged.bind(null, req.query.path));
});
+ const createBranchIfPossible = (branchName, path, retry) => {
+ retry = retry || 3;
+ return gitPromise(['branch', branchName], path).catch((e) =>... | 9 |
diff --git a/ui/app/containers/SayingsPage/index.js b/ui/app/containers/SayingsPage/index.js * SayingsPage
*
*/
-import { Grid } from '@material-ui/core';
+import { Grid, CircularProgress } from '@material-ui/core';
import _ from 'lodash';
import PropTypes from 'prop-types';
import qs from 'query-string';
@@ -34,6 +34,... | 11 |
diff --git a/src/web/containers/Workspace/index.styl b/src/web/containers/Workspace/index.styl .workspace-table {
display: table;
width: 100%;
+ height: calc(100vh - $navbar-height);
}
.workspace-table-row {
display: table-row;
| 12 |
diff --git a/scalene/scalene_profiler.py b/scalene/scalene_profiler.py @@ -478,14 +478,16 @@ class Scalene:
# First, see if we have now executed a different line of code.
# If so, increment.
# TODO: assess the necessity of the following block
- # if invalidated or not (
- # fname == Filename(f.f_code.co_filename)
- # a... | 14 |
diff --git a/bin/openapi.js b/bin/openapi.js @@ -172,7 +172,7 @@ OpenApiEnforcer.prototype.deserialize = function(schema, value, options) {
const result = version.serial.deserialize(exception, schema, value);
// determine how to handle deserialization data
- return errorHandler(options.throw, exception, result);
+ retu... | 4 |
diff --git a/README.md b/README.md @@ -4,9 +4,13 @@ yet another Apache Sling based Application Platform (asap)
## [Composum Nodes](https://www.composum.com/home/nodes.html)
- [![License: MIT](https://img.shields.io/badge/License-MIT-yello... | 7 |
diff --git a/packages/spark-core/settings/_settings.scss b/packages/spark-core/settings/_settings.scss @@ -436,7 +436,7 @@ $sprk-select-font-family: $sprk-text-input-font-family !default;
$sprk-select-font-weight: $sprk-text-input-font-weight !default;
$sprk-select-line-height: $sprk-text-input-line-height !default;
$s... | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.