code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/packages/react-static-plugin-reach-router/package.json b/packages/react-static-plugin-reach-router/package.json "preversion": "yarn build"
},
"peerDependencies": {
- "@reach/router": "^0"
+ "@reach/router": "^1.0.0"
},
"devDependencies": {
"@babel/cli": "^7.1.5",
| 1 |
diff --git a/immer.js b/immer.js @@ -167,7 +167,7 @@ function immer(baseState, thunk) {
//values either than undefined will trigger warning;
!Object.is(maybeVoidReturn, undefined) &&
console.warn(
- `Immer callback expects no return value. However ${typeof maybeVoidReturn} was returned`,
+ `Immer callback expects no re... | 2 |
diff --git a/articles/connections/enterprise/oidc.md b/articles/connections/enterprise/oidc.md @@ -36,7 +36,7 @@ If you are using the Lock login widget with an OpenID Connect (OIDC) connection,
To connect your application to an OIDC Identity Provider, you must:
1. [Set up your app in the OpenID Connect Identity Provide... | 2 |
diff --git a/camera-manager.js b/camera-manager.js @@ -199,6 +199,9 @@ class CameraManager extends EventTarget {
cameraOffsetTargetZ = Math.min(cameraOffsetTargetZ - e.deltaY * 0.01, 0);
}
+ setShake(shakeFactor) {
+ this.shakeFactor = shakeFactor;
+ }
update(timeDiff) {
const localPlayer = metaversefile.useLocalPlayer... | 0 |
diff --git a/src/js/controllers/review.controller.js b/src/js/controllers/review.controller.js @@ -4,7 +4,7 @@ angular
.module('copayApp.controllers')
.controller('reviewController', reviewController);
-function reviewController(addressbookService, bitcoinCashJsService, bitcore, bitcoreCash, bwcError, configService, fe... | 1 |
diff --git a/src/encoded/schemas/file.json b/src/encoded/schemas/file.json }
}
},
+ "output_type":{
+ "oneOf":[
+ {
+ "required": ["read_length"],
+ "properties": {
+ "file_format": {
+ "enum": ["fastq", "fasta", "csfasta", "csqual"]
+ },
+ "output_type": {
+ "enum": ["reads"]
+ }
+ }
+ },
+ {
+ "not": {
+ "properties"... | 0 |
diff --git a/dashboard/apps/editor.fma/js/cm-fabmo-modes.js b/dashboard/apps/editor.fma/js/cm-fabmo-modes.js @@ -26,6 +26,7 @@ CodeMirror.defineSimpleMode("gcode", {
});
var CMD_REGEX = /^[A-Z](?:[A-Z]|[0-9]+|C\#)\b/i
+var LINENO_REGEX = /^N[0-9]+\b/i
var LABEL_REGEX = /^[A-Z_][A-Z0-9_]*\:/i
var WORD_REGEX = /^[A-Z_][A... | 0 |
diff --git a/semantics.json b/semantics.json }
]
}
+ },
+ {
+ "name": "endscreens",
+ "importance": "low",
+ "type": "list",
+ "field": {
+ "name": "endscreen",
+ "type": "group",
+ "fields": [
+ {
+ "name": "time",
+ "type": "number"
+ },
+ {
+ "name": "label",
+ "type": "text"
+ }
+ ]
+ }
}
]
},
| 0 |
diff --git a/backend/lib/endpoints/organizations.js b/backend/lib/endpoints/organizations.js @@ -31,7 +31,7 @@ async function routes(app) {
if (orgErr) {
req.log.error(orgErr, "Failed retrieving organization");
throw app.httpErrors.internalServerError();
- } else if (org == null) {
+ } else if (org === null) {
throw ap... | 4 |
diff --git a/modules/keyboard.js b/modules/keyboard.js @@ -483,10 +483,8 @@ Keyboard.DEFAULTS = {
shiftKey: null,
collapsed: true,
format: {
- list: false,
'code-block': false,
blockquote: false,
- header: false,
table: false,
},
prefix: /^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,
| 11 |
diff --git a/src/plugin/cesium/cesiumrenderer.js b/src/plugin/cesium/cesiumrenderer.js @@ -286,9 +286,11 @@ plugin.cesium.CesiumRenderer.prototype.getPixelFromCoordinate = function(coordin
if (cartesian) {
var pixelCartesian = scene.cartesianToCanvasCoordinates(cartesian);
+ if (pixelCartesian) {
result = [pixelCartesi... | 1 |
diff --git a/packages/manager/apps/container/src/container/nav-reshuffle/sidebar/navigation-tree/services/publicCloud.ts b/packages/manager/apps/container/src/container/nav-reshuffle/sidebar/navigation-tree/services/publicCloud.ts export default {
id: 'pci',
translation: 'sidebar_pci',
+ routing: {
+ application: 'publ... | 1 |
diff --git a/src/pages/ReportParticipantsPage.js b/src/pages/ReportParticipantsPage.js @@ -58,7 +58,7 @@ const getAllParticipants = (report, personalDetails) => {
return ({
alternateText: userLogin,
displayName: userPersonalDetail.displayName,
- icons: [userPersonalDetail.avatar],
+ icons: userPersonalDetail.avatar ? [... | 4 |
diff --git a/src/components/drawers/InfoDrawer.js b/src/components/drawers/InfoDrawer.js @@ -199,6 +199,12 @@ class InfoDrawer extends Component {
this.preparePikaday()
}
+ componentDidUpdate(prevProps) {
+ if (!prevProps.show && this.props.show) {
+ this.firstFocusElement.focus()
+ }
+ }
+
shouldComponentUpdate({show}... | 7 |
diff --git a/commands/rssadd.js b/commands/rssadd.js @@ -44,12 +44,13 @@ module.exports = async (bot, message) => {
// Start loop over links
for (var i = 0; i < linkList.length; ++i) {
+ debugger
const curLink = linkList[i]
const linkItem = curLink.split(' ')
let link = linkItem[0].trim() // One link may consist of the... | 1 |
diff --git a/README.md b/README.md @@ -9,7 +9,7 @@ The SkyCrypt Project,which is based on LeaPhant's [sky.lea.moe](https://sky.lea.

<h2 align="center">Screenshot</h1>
-<p align="center"><img src="https://i.imgur.com/... | 14 |
diff --git a/assets/src/App.css b/assets/src/App.css .book-list {
display: flex;
align-content: space-between;
+ justify-content: center;
flex-wrap: wrap;
- margin-top: 50px;
+ margin-top: 20px;
}
.book {
width: 200px;
- margin: 10px auto;
+ margin: 30px 20px;
cursor: pointer;
}
\ No newline at end of file
| 7 |
diff --git a/core/workspace_svg.js b/core/workspace_svg.js @@ -1259,8 +1259,7 @@ Blockly.WorkspaceSvg.prototype.detectWorkspace = function(e) {
var mainWS = this.getMainWorkspace();
var children = Blockly.WorkspaceTree.getChildren(mainWS);
var targetWS = mainWS;
- for (var i = 0, child; child = children[i]; i++) {
- va... | 2 |
diff --git a/src/pages/settings/Profile/ProfilePage.js b/src/pages/settings/Profile/ProfilePage.js @@ -211,25 +211,22 @@ class ProfilePage extends Component {
onBackButtonPress={() => Navigation.navigate(ROUTES.SETTINGS)}
onCloseButtonPress={() => Navigation.dismissModal(true)}
/>
- <Form
- style={[styles.flexGrow1, st... | 5 |
diff --git a/articles/quickstart/backend/python/01-authorization.md b/articles/quickstart/backend/python/01-authorization.md ---
title: Authorization
-description: This tutorial demonstrates how to add authorization to a Python API built with [Flask](http://flask.pocoo.org/).
+description: This tutorial demonstrates ho... | 2 |
diff --git a/lambda/fulfillment/lib/middleware/lex.js b/lambda/fulfillment/lib/middleware/lex.js @@ -429,12 +429,22 @@ function assembleLexV2Response(request, response) {
if (!isConnectClient(request)){
let imageResponseCardV2 = buildImageResponseCardV2(response);
if(imageResponseCardV2) {
+ let imgUrlLength = imageRes... | 9 |
diff --git a/minimap.js b/minimap.js import * as THREE from 'three';
+import * as BufferGeometryUtils from 'three/examples/jsm/utils/BufferGeometryUtils.js';
import {
getRenderer,
rootScene,
@@ -78,7 +79,7 @@ const floorFragmentShader = `\
// vec2 uv = screenSpaceUv * 2. - 1.;
vec2 uv = screenSpaceUv;
float l = length(... | 0 |
diff --git a/src/app/lib/sender.js b/src/app/lib/sender.js @@ -319,13 +319,9 @@ class Sender extends events.EventEmitter {
return true;
}
- // Checks if there are any state changes. It will also clear the changed flag.
+ // Checks if there are any state changes. It also clears the changed flag.
// @return {boolean} Ret... | 1 |
diff --git a/docs/content/examples/charts/bar/Stacked.js b/docs/content/examples/charts/bar/Stacked.js -import { HtmlElement, Grid, Repeater } from 'cx/widgets';
+import { HtmlElement, Grid, Repeater, Tab, Content } from 'cx/widgets';
import { Controller, PropertySelection } from 'cx/ui';
import { Svg, Rectangle, Text ... | 0 |
diff --git a/_projects/OpenInsulin/OpenInsulin.md b/_projects/OpenInsulin/OpenInsulin.md ---
title: Open Insulin
subtitle: We're a team of Bay Area biohackers working on newer, simpler, less expensive ways to make insulin.
-website: ttp://openinsulin.org/
+website: http://openinsulin.org/
start-date: 2015
type-org: com... | 0 |
diff --git a/src/components/minigraph.js b/src/components/minigraph.js @@ -10,7 +10,7 @@ function Minigraph(props) {
useEffect(() => {
if (props.timeseries.length > 1) {
- setTimeseries(props.timeseries.slice(props.timeseries.length - 10));
+ setTimeseries(props.timeseries.slice(props.timeseries.length - 20));
}
}, [pr... | 3 |
diff --git a/src/js/services/mopidy/middleware.js b/src/js/services/mopidy/middleware.js @@ -137,6 +137,7 @@ const MopidyMiddleware = (function () {
break;
case 'event:trackPlaybackStarted':
+ if (data.tl_track) {
store.dispatch(mopidyActions.currentTrackLoaded(data.tl_track));
// Wait a jiffy before we get the next tr... | 9 |
diff --git a/src/components/actions/actions-ios.less b/src/components/actions/actions-ios.less });
.safe-areas({
- .actions-moda.modal-in {
+ .actions-modal.modal-in {
transform: translate3d(0, ~"calc(0px - constant(safe-area-inset-bottom))", 0);
transform: translate3d(0, ~"calc(0px - env(safe-area-inset-bottom))", 0);... | 1 |
diff --git a/test/backend/lib.api.v1.public-controller.test.js b/test/backend/lib.api.v1.public-controller.test.js @@ -22,12 +22,10 @@ describe('Public controller', function() {
public: true
});
- incident.forEach(function(item) {
- Incident.create(item);
- });
-
+ Incident.create(incident, function(err) {
done();
});
... | 1 |
diff --git a/src/encoded/types/characterization.py b/src/encoded/types/characterization.py @@ -32,7 +32,7 @@ ALLOW_REVIEWER_EDIT = [
})
class Characterization(ItemWithAttachment, Item):
base_types = ['Characterization'] + Item.base_types
- embedded = ['lab', 'award', 'submitted_by']
+ embedded = ['lab', 'award', 'submi... | 0 |
diff --git a/packages/doc/content/components/components/actionrequirement/index.mdx b/packages/doc/content/components/components/actionrequirement/index.mdx @@ -4,19 +4,15 @@ metaTitle: 'ActionRequirement'
metaDescription: 'ActionRequirement Component'
---
-import ActionRequirementWeb from './ActionRequirement-web.mdx'... | 1 |
diff --git a/src/encoded/static/components/experiment.js b/src/encoded/static/components/experiment.js import React from 'react';
import PropTypes from 'prop-types';
+import moment from 'moment';
import _ from 'underscore';
import { Panel, PanelBody } from '../libs/bootstrap/panel';
import { auditDecor } from './audit'... | 0 |
diff --git a/app/zwallet.html b/app/zwallet.html </label>
<label for=settingAutoLogOffTimeout data-tr=wallet.settings.autoLogOffTimeout>Auto log off timeout in seconds</label>
<span class=formInput>
- <input type=number name=settingAutoLogOffTimeout class=settingAutoLogOffTimeout min=5 />
+ <input type=number name=sett... | 12 |
diff --git a/js/trackBase.js b/js/trackBase.js @@ -119,13 +119,10 @@ class TrackBase {
*/
getState() {
- // Transient properties that do not follow the _ convention
- const transientProperties = new Set(["derivedName"]);
-
// Create copy of config, minus transient properties (convention is name starts with '_')
const s... | 4 |
diff --git a/articles/libraries/auth0js/index.md b/articles/libraries/auth0js/index.md @@ -90,7 +90,7 @@ Initialize a new instance of the Auth0 client as follows:
To login via the [hosted login page](/hosted-pages/login), use the `authorize` method. This redirects to the hosted login page to initialize an authN/authZ t... | 0 |
diff --git a/tasks/models.py b/tasks/models.py @@ -46,9 +46,15 @@ class ExportRun(models.Model):
return self.job.export_formats
@property
- def duration(self):
+ def process_time(self):
if self.started_at and self.finished_at:
- return (self.finished_at - self.started_at).seconds
+ return "{:.1f}".format((self.finished... | 7 |
diff --git a/draftlogs/5956_add.md b/draftlogs/5956_add.md - - Add `smith` subplots and the `scattersmith` trace type for displaying Smith charts [[#5956](https://github.com/plotly/plotly.js/pull/5956)],
+ - Add `smith` subplots and the `scattersmith` trace type for displaying Smith charts [[#5956](https://github.com/p... | 3 |
diff --git a/gallery/config/webpack.config.js b/gallery/config/webpack.config.js @@ -111,12 +111,13 @@ module.exports = (production) => ({
reactScripts: production ? reactScripts : reactScriptsDev
}),
new ScriptExtHtmlWebpackPlugin({
+ async: /\.js$/,
preload: {
test: /(material)/,
chunks: 'async'
},
prefetch: {
- test... | 0 |
diff --git a/bin/data-type-formats.js b/bin/data-type-formats.js @@ -140,12 +140,7 @@ exports.date = {
isNumeric: true,
- random: function ({ schema }, { minimum, maximum }) {
- minimum = +minimum;
- maximum = +maximum;
- const value = minimum + Math.round(Math.random() * (maximum - minimum));
- return new Date(value);... | 3 |
diff --git a/source/staking/test/unit.js b/source/staking/test/unit.js @@ -89,6 +89,14 @@ describe('Staking Unit', () => {
)
})
+ it('owner cannot reset unstaking duration during timelock', async () => {
+ await staking.connect(deployer).scheduleDurationChange(DEFAULTDELAY)
+
+ await expect(
+ staking.connect(deployer)... | 7 |
diff --git a/STYLE.md b/STYLE.md @@ -222,10 +222,16 @@ Use `lodashGet()` to safely access object properties and `||` to short circuit n
```
## JSDocs
-- Avoid docs that don't add any additional information.
+- Avoid docs that don't add any additional information. Method descriptions should only be added when it's not o... | 7 |
diff --git a/token-metadata/0xfF98a08c143311719cA492e4B8C950C940f26872/metadata.json b/token-metadata/0xfF98a08c143311719cA492e4B8C950C940f26872/metadata.json "symbol": "JEX",
"address": "0xfF98a08c143311719cA492e4B8C950C940f26872",
"decimals": 4,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
}... | 3 |
diff --git a/cli/cli.js b/cli/cli.js @@ -54,6 +54,8 @@ program
.usage('[command] [options]')
.allowUnknownOption();
+const options = getCommandOptions(packageJson, process.argv.slice(2));
+
/* create commands */
Object.keys(SUB_GENERATORS).forEach(key => {
const opts = SUB_GENERATORS[key];
@@ -65,7 +67,6 @@ Object.keys... | 7 |
diff --git a/assets/js/modules/tagmanager/components/common/FormInstructions.js b/assets/js/modules/tagmanager/components/common/FormInstructions.js @@ -30,7 +30,6 @@ import { CORE_MODULES } from '../../../../googlesitekit/modules/datastore/consta
import { MODULES_TAGMANAGER } from '../../datastore/constants';
import {... | 2 |
diff --git a/tools/deployer/AirSwap/src/SwapMapping.ts b/tools/deployer/AirSwap/src/SwapMapping.ts import { BigInt, log } from "@graphprotocol/graph-ts"
import {
- SwapContract,
AuthorizeSender,
AuthorizeSigner,
Cancel,
@@ -9,12 +8,11 @@ import {
RevokeSigner,
Swap
} from "../generated/SwapContract/SwapContract"
-impor... | 3 |
diff --git a/src/components/postView/view/postDisplayView.js b/src/components/postView/view/postDisplayView.js @@ -2,7 +2,6 @@ import React, { useCallback, useEffect, useRef, useState, Fragment } from 'react
import { View, Text, ScrollView, Dimensions, SafeAreaView, RefreshControl } from 'react-native';
import { inject... | 14 |
diff --git a/README.md b/README.md @@ -31,9 +31,6 @@ Also check out [No Whiteboards](https://nowhiteboards.io) to search for jobs at
---
-## 0 - 9
-- [4Degrees](https://4degrees.ai/about/) | Chicago, Illinois | Collaborative pair-programming exercise done through video chat that's representative of the responsibilities... | 1 |
diff --git a/spec/requests/carto/builder/public/embeds_controller_spec.rb b/spec/requests/carto/builder/public/embeds_controller_spec.rb @@ -184,7 +184,6 @@ describe Carto::Builder::Public::EmbedsController do
) do
get builder_visualization_public_embed_url(visualization_id: @visualization.id)
- response.body.should in... | 2 |
diff --git a/src/components/Routing.js b/src/components/Routing.js @@ -55,6 +55,7 @@ import { SetupImplicitSuccess } from './accounts/SetupImplicitSuccess'
import { handleClearAlert} from '../utils/alerts'
import { Mixpanel } from "../mixpanel/index";
import classNames from '../utils/classNames';
+import Terms from './... | 9 |
diff --git a/content/components/buttons/code/react-exports.md b/content/components/buttons/code/react-exports.md @@ -6,16 +6,16 @@ layout: section
| name | type | description
|------------|---------|-----------------------------------------------------------------------------
-| `AUcallout` | default | The button compo... | 13 |
diff --git a/token-metadata/0xC2856A8310AF421A2A65De16428C2DEC6CeacB36/metadata.json b/token-metadata/0xC2856A8310AF421A2A65De16428C2DEC6CeacB36/metadata.json "symbol": "YAH",
"address": "0xC2856A8310AF421A2A65De16428C2DEC6CeacB36",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/CHANGELOG.md b/CHANGELOG.md This release fixes the following bugs:
-- [Enable Wekan API by default, so that Export Board to JSON works](https://github.com/wekan/wekan/commit/b2eeff96977592deaeb23a8171fc3b13f8c6c5dc).
+- [Enable Wekan API by default, so that Export Board to JSON works](https://github.com/we... | 1 |
diff --git a/assets/js/modules/analytics/components/settings/SettingsView.js b/assets/js/modules/analytics/components/settings/SettingsView.js @@ -145,11 +145,7 @@ export default function SettingsView() {
</h5>
<p className="googlesitekit-settings-module__meta-item-data">
<DisplaySetting value={ profileID } />{ ' ' }
-... | 2 |
diff --git a/diorama.js b/diorama.js @@ -697,6 +697,10 @@ const createPlayerDiorama = ({
localVector2.set(0, cameraOffset.y, 0)
.applyQuaternion(targetQuaternion)
);
+ if(target.avatar){
+ const headPosition = localVector3.setFromMatrixPosition(target.avatar.modelBones.Head.matrixWorld);
+ sideCamera.position.y -= targ... | 5 |
diff --git a/lib/service/util.js b/lib/service/util.js @@ -142,9 +142,7 @@ function indexOfBuffer(buf, subBuf, start) {
}
function getBody(body, headers, callback) {
- if (!body) {
- return callback(body);
- }
+ if (body) {
var chunked = headers['transfer-encoding'];
if (typeof chunked === 'string') {
chunked = chunked... | 1 |
diff --git a/src/webview/recipe.js b/src/webview/recipe.js @@ -63,8 +63,6 @@ class RecipeController {
autorun(() => this.update());
- console.log(JSON.parse(JSON.stringify(this.settings)));
-
const cldFactory = await loadModule();
const identifier = cldFactory.create(0, 1000);
@@ -79,7 +77,7 @@ class RecipeController {... | 12 |
diff --git a/test/Air/Air.test.js b/test/Air/Air.test.js @@ -720,6 +720,44 @@ describe('#AirService', () => {
});
});
+
+ it('should set FOID and retry ticketing if PNR busy', function () {
+ this.timeout(3000);
+ const params = { pnr: 'PNR001' };
+
+ const getUniversalRecordByPNR = sinon.spy(
+ () => Promise.resolve(g... | 0 |
diff --git a/package-lock.json b/package-lock.json }
},
"gl-scatter3d": {
- "version": "git://github.com/gl-vis/gl-scatter3d.git#8915d2ec6a89b7dc76e216487e82143dbc165c6f",
- "from": "git://github.com/gl-vis/gl-scatter3d.git#8915d2ec6a89b7dc76e216487e82143dbc165c6f",
+ "version": "1.0.13",
+ "resolved": "https://registr... | 3 |
diff --git a/app/connectors/importer.rb b/app/connectors/importer.rb @@ -136,6 +136,9 @@ module CartoDB
persist_metadata(name, data_import_id, overwrite)
log("Table '#{name}' registered")
+ rescue ::CartoDB::Importer2::IncompatibleSchemas => exception
+ drop("#{ORIGIN_SCHEMA}.#{result.table_name}")
+ raise exception
re... | 2 |
diff --git a/style/monogatari.css b/style/monogatari.css @@ -152,6 +152,10 @@ section > div:not(.row) {
font-size: 2.5vmax;
}
+.modal > .row {
+ width: auto;
+}
+
/**
* ===========================
* Data Components Styling
@@ -510,6 +514,11 @@ input[type=range] {
**/
@media (max-width: 35rem) {
+ .modal > .row,
+ [data... | 7 |
diff --git a/includes/Core/Authentication/Authentication.php b/includes/Core/Authentication/Authentication.php @@ -476,10 +476,11 @@ final class Authentication {
$data['requiredScopes'] = $auth_client->get_required_scopes();
$data['grantedScopes'] = ! empty( $access_token ) ? $auth_client->get_granted_scopes() : array(... | 12 |
diff --git a/lib/server.js b/lib/server.js @@ -44,6 +44,10 @@ define(["settings"], function(preferences) {
// Get URL to retrieve activities from server
server.getActivitiesUrl = function() {
var params = preferences.getToken();
+ if (!params) {
+ sessionExpired();
+ return "";
+ }
return server.getServerUrl() + consta... | 9 |
diff --git a/components/heatmapcontrol/heatmapcontrol.js b/components/heatmapcontrol/heatmapcontrol.js @@ -101,7 +101,7 @@ HeatmapControl.prototype.__refresh = function() {
this.elt.innerHTML = template;
const checkbox = this.elt.querySelector('.mode-panel input[type=checkbox]');
checkbox.addEventListener('change', thi... | 7 |
diff --git a/token-metadata/0x525794473F7ab5715C81d06d10f52d11cC052804/metadata.json b/token-metadata/0x525794473F7ab5715C81d06d10f52d11cC052804/metadata.json "symbol": "TSHP",
"address": "0x525794473F7ab5715C81d06d10f52d11cC052804",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/main/index.js b/main/index.js @@ -37,7 +37,9 @@ log.info('App starting...')
let windows = null
// Set the application name
-app.setName('OONI Probe')
+app.name = 'OONI Probe'
+
+app.allowRendererProcessReuse = true
// TODO verify if this code is redundant as the Sentry.init code should already
// cover thi... | 14 |
diff --git a/scripts/deployment/liquidity-mining/update-lm.py b/scripts/deployment/liquidity-mining/update-lm.py @@ -113,7 +113,7 @@ def updateLMConfig():
ALLOCATION_POINT_BTC_DLLR = 25000 # (WR)BTC/DLLR
ALLOCATION_POINT_DEFAULT = 1 # 13 tokens with 1 alloc point to account: (WR)BTC/USDT1 | (WR)BTC/USDT2 | (WR)BTC/DOC1... | 12 |
diff --git a/assets/sass/components/wp-dashboard/_googlesitekit-wp-dashboard-stats.scss b/assets/sass/components/wp-dashboard/_googlesitekit-wp-dashboard-stats.scss > .googlesitekit-wp-dashboard-stats__cta {
padding-top: 12px;
width: 100%;
-
- @media (min-width: $bp-tablet) {
- width: 50%;
- }
-
- @media (min-width: $b... | 1 |
diff --git a/map.html b/map.html container.style.left = `${newPosition.x}px`;
container.style.top = `${newPosition.y}px`;
}
-
- /* const containerMetrics = _getContainerMetrics();
- const mouseWorldPosition = new THREE.Vector2(
- (-containerMetrics.x - (containerSize/2) + e.clientX)/width*(tileScale*zoom),
- (-containe... | 0 |
diff --git a/src/content/developers/docs/standards/tokens/erc-20/index.md b/src/content/developers/docs/standards/tokens/erc-20/index.md @@ -39,9 +39,9 @@ is and will always be equal to all the other Tokens.
The ERC-20 (Ethereum Request for Comments 20), proposed by Fabian Vogelsteller in November 2015, is a Token Stan... | 7 |
diff --git a/.github/lock.yml b/.github/lock.yml @@ -9,11 +9,11 @@ skipCreatedBefore: false
# Issues and pull requests with these labels will be ignored. Set to `[]` to disable
exemptLabels:
- - `STATE: Need response`
- - `STATE: Need clarification`
+ - STATE: Need response
+ - STATE: Need clarification
# Label to add ... | 2 |
diff --git a/js/pages/data-sources/data-sources.js b/js/pages/data-sources/data-sources.js @@ -92,6 +92,11 @@ define([
path: "observation",
component: "report-observation",
},
+ {
+ name: ko.i18n('dataSources.reports.observationPeriod', 'Observation Period'),
+ path: "observationPeriod",
+ component: "report-observatio... | 12 |
diff --git a/core/block.js b/core/block.js @@ -2329,7 +2329,7 @@ Blockly.Blocks['variables_get_typed'] = {
* @this Blockly.Block
*/
getVars: function() {
- return [this.getFieldValue('VAR')];
+ return [this.getField('VAR').getText()];
},
/**
* Notification that a variable is renaming.
@@ -2339,7 +2339,7 @@ Blockly.Bloc... | 4 |
diff --git a/README.md b/README.md @@ -238,7 +238,7 @@ cookiePath: "backstop_data/engine_scripts/cookies.json",
```
_note: path is relative to your current working directory_
-Pro tip: If your app uses a lot of cookies then do yourself a favor and download this extension for chrome. It adds a tab to your dev-tools so y... | 3 |
diff --git a/indicators/views.py b/indicators/views.py @@ -2164,8 +2164,8 @@ class ObjectiveUpdate(GView):
data = json.loads(request.body.decode('utf-8'))
objective_name = data.get('name')
objective_description = data.get('description')
- objective_parent = int(data.get('parent')) if data.get('parent') else None
- obje... | 3 |
diff --git a/scripts/goog_module/convert-file.sh b/scripts/goog_module/convert-file.sh @@ -219,9 +219,6 @@ step3() {
err "Missing requires for: ${missing_requires} Please manually fix."
fi
- inf "Add missing nullability modifiers..."
- perl -pi -e 's/@(param|return) \{([A-Z])/@\1 \{?\2/g' "${filepath}"
-
success "Compl... | 2 |
diff --git a/ui/src/viewers/CsvStreamViewer.jsx b/ui/src/viewers/CsvStreamViewer.jsx @@ -50,6 +50,8 @@ class CSVStreamViewer extends React.Component {
if (this.parser !== null) {
this.parser.resume();
} else {
+ // set chunk size to 500 KB
+ Papa.RemoteChunkSize = 1024 * 500;
Papa.parse(url, {
download: true,
chunk: (r... | 12 |
diff --git a/src/controllers/contacts.ts b/src/controllers/contacts.ts @@ -232,13 +232,7 @@ export const generateToken = async (req, res) => {
if (isProxy()) {
tribes.subscribe(`${pubkey}/#`, network.receiveMqttMessage) // add MQTT subsription
}
- // create transport token and send back to client
- // save private key ... | 3 |
diff --git a/src/level/tiled/TMXUtils.js b/src/level/tiled/TMXUtils.js @@ -48,7 +48,7 @@ function setTMXValue(name, type, value) {
match = value.split(/^eval:/i)[1];
try {
// eslint-disable-next-line
- value = eval(match);
+ value = Function("'use strict';return (" + match + ")")();
}
catch (e) {
throw new Error("Unabl... | 14 |
diff --git a/addon/components/paper-menu.js b/addon/components/paper-menu.js @@ -99,7 +99,7 @@ export default BasicDropdownComponent.extend({
switch (positionMode.top) {
case 'target':
- position.top = existingOffsets.top + originNodeRect.top - alignTargetRect.top;
+ position.top = existingOffsets.top + originNodeRect.... | 8 |
diff --git a/test-basic/documents-data-movement-ingest.js b/test-basic/documents-data-movement-ingest.js const testconfig = require('../etc/test-config.js');
const marklogic = require('../');
const dbWriter = marklogic.createDatabaseClient(testconfig.restWriterConnection);
-const dbReader = marklogic.createDatabaseClie... | 3 |
diff --git a/core/jazz_ui/protractor.conf.js b/core/jazz_ui/protractor.conf.js @@ -50,6 +50,11 @@ exports.config = {
});
jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } }));
jasmine.getEnv().addReporter(new Jasmine2HtmlReporter({savePath: 'target/screenshots'}));
+ jasmine.getEnv().add... | 13 |
diff --git a/src/components/source/PageWrapper.js b/src/components/source/PageWrapper.js @@ -21,7 +21,11 @@ PageWrapper.propTypes = {
const mapDispatchToProps = dispatch => ({
goToAdvancedSearch: (values) => {
+ if (values.toLowerCase() !== 'advanced search') {
dispatch(push(`/search?search=${values}`));
+ } else {
+ d... | 8 |
diff --git a/src/components/Tag.js b/src/components/Tag.js @@ -18,13 +18,19 @@ const StyledTag = styled.div`
border-radius: 4px;
text-transform: uppercase;
font-size: 14px;
- border: 1px solid ${(props) => props.theme.colors.white800};
+ box-shadow: ${(props) =>
+ props.isActive ? 0 : props.theme.colors.tableBoxShadow}... | 7 |
diff --git a/source/views/containers/ScrollView.js b/source/views/containers/ScrollView.js @@ -133,6 +133,7 @@ const ScrollView = Class({
keys: {},
didCreateLayer ( layer ) {
+ layer.tabIndex = -1;
this.scrollLayer = layer;
},
@@ -407,6 +408,22 @@ const ScrollView = Class({
}
}
}.on( 'scroll' ),
+
+ // ---
+
+ /**
+ Me... | 0 |
diff --git a/src/pages/home/ReportScreen.js b/src/pages/home/ReportScreen.js @@ -60,6 +60,9 @@ const propTypes = {
/** Array of report actions for this report */
reportActions: PropTypes.objectOf(PropTypes.shape(reportActionPropTypes)),
+ /** Are we waiting for more report data? */
+ isLoadingReportData: PropTypes.bool... | 4 |
diff --git a/docs/articles/documentation/guides/continuous-integration/jenkins.md b/docs/articles/documentation/guides/continuous-integration/jenkins.md @@ -12,6 +12,8 @@ TestCafe has an extensive command line interface that allows it to fit well in a
This topic shows how you can integrate TestCafe tests into project b... | 0 |
diff --git a/packages/bitcore-node/test/unit/models/walletAddress.unit.ts b/packages/bitcore-node/test/unit/models/walletAddress.unit.ts @@ -19,7 +19,18 @@ describe('WalletAddress Model', function () {
const parseResult = JSON.parse(result);
- expect(parseResult.address).to.be.equal(walletAddress.address);
+ expect(par... | 3 |
diff --git a/dc-worker-manager.js b/dc-worker-manager.js @@ -145,8 +145,8 @@ export class DcWorkerManager {
);
}
async generateTerrainChunk(chunkPosition, lodArray) {
- const chunkId = getLockChunkId(chunkPosition);
- return await this.locks.request(chunkId, async lock => {
+ // const chunkId = getLockChunkId(chunkPosi... | 2 |
diff --git a/demo/css/demo.css b/demo/css/demo.css @@ -90,12 +90,12 @@ a:visited {
}
.demo1-col {
float: left;
- width: 250px;
+ width: 20%;
margin: 0 20px 20px 0;
}
.demo2-col {
float: left;
- width: 500px;
+ width: 40%;
}
.btn {
display: inline-block;
@@ -121,19 +121,19 @@ a:visited {
********************************... | 3 |
diff --git a/formula/parse_ojson.js b/formula/parse_ojson.js @@ -88,7 +88,13 @@ exports.parse = function (text, callback) {
var msg = e.message;
var match = msg.match(/invalid syntax at line ([\d]+) col ([\d]+):([\s\S]+)/m);
if (match) {
- throw new Error(`Invalid formula syntax at line ${tree.context.line + Number(mat... | 1 |
diff --git a/package.json b/package.json "moment": "^2.24.0",
"pixi.js": "^4.8.9",
"serve-static": "^1.14.1",
- "three": "^0.137.0",
+ "three": "^0.139.2",
"uglify-js": "3.14.5",
"validator": ">=13.7.0",
"ws": "^7.5.5"
| 3 |
diff --git a/test/form.html b/test/form.html <div class="siimple-form-title">Send a comment</div>
<div class="siimple-form-detail">Fill the following form to send us a comment.</div>
<!-- Action group -->
- <div class="siimple-form-field">
- <div class="siimple-form-field-label">Subject</div>
+ <div class="siimple-fiel... | 10 |
diff --git a/assets/src/edit-story/components/header/buttons.js b/assets/src/edit-story/components/header/buttons.js @@ -18,14 +18,8 @@ import { Outline, Primary } from '../button';
const ButtonList = styled.nav`
display: flex;
-<<<<<<< HEAD
- justify-content: space-between;
- padding-top: 20px;
- padding-right: 31px;
... | 13 |
diff --git a/docs/posts/launch.md b/docs/posts/launch.md @@ -7,28 +7,34 @@ description: Demo datasets
# Launching cellxgene with your dataset
## Quickstart
+
Once you've [prepared your data](prepare) for cellxgene, you can launch the app using
+
```
cellgene launch mydataset.h5ad --open
```
-On Mac OS and Ubuntu, you s... | 7 |
diff --git a/source/Overture/views/controls/FileButtonView.js b/source/Overture/views/controls/FileButtonView.js @@ -105,10 +105,6 @@ const FileButtonView = Class({
// --- Activate ---
- // Remove these methods. Must be handled by the browser.
- _activateOnClick: null,
- _activateOnEnter: null,
-
/**
Method: O.FileButt... | 2 |
diff --git a/src/components/common/buttons/CustomButton.js b/src/components/common/buttons/CustomButton.js @@ -42,10 +42,10 @@ const mapPropsToStyles = ({ theme }) => ({
paddingRight: 0,
},
leftIcon: {
- marginRight: theme.sizes.default,
+ marginRight: theme.sizes.defaultDouble,
},
rightIcon: {
- marginLeft: theme.size... | 0 |
diff --git a/lib/autotune.rb b/lib/autotune.rb @@ -133,12 +133,13 @@ module Autotune
end
end
- def lock!(name)
+ def lock!(name, ttl: 1.hour)
ensure_redis!
raise 'Empty lock name' if name.blank?
ret = \
if redis.setnx("lock:#{name}", Time.now.to_i)
+ redis.expire("lock:#{name}", ttl) # sometimes the lock doesn't get re... | 12 |
diff --git a/lib/networkHandler.js b/lib/networkHandler.js @@ -39,10 +39,17 @@ const resolveXHREvent = p => {
};
const handleInterceptor = p => {
let options = { interceptionId: p.interceptionId };
- for (const interceptor of interceptors) {
- if (interceptor.requestUrl === p.request.url) {
- if (!interceptor.action) {... | 11 |
diff --git a/sirepo/package_data/static/json/srw-schema.json b/sirepo/package_data/static/json/srw-schema.json "detuning": ["Detuning from Resonant Frequency (dE/En)", "Float", 0],
"energyPointCount": ["Number of Energy Points", "Integer", 100],
"reportType": ["Report Type", "BrillianceReportType", "0"],
- "brightnessC... | 1 |
diff --git a/Makefile b/Makefile @@ -73,14 +73,12 @@ WORKING_SPECS_1 = \
spec/lib/carto/users_metadata_redis_cache_spec.rb \
spec/lib/carto/visualization_migrator_spec.rb \
spec/lib/carto/http/client_spec.rb \
- spec/lib/carto/bolt_spec.rb \
spec/lib/carto/table_utils_spec.rb \
spec/helpers/uuidhelper_spec.rb \
spec/he... | 2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.