code
stringlengths
122
4.99k
label
int64
0
14
diff --git a/src/pages/Download/Download.styles.js b/src/pages/Download/Download.styles.js @@ -147,7 +147,7 @@ export const MetricLastUpdated: ComponentType<*> = styled .span` font-size: small; - color: #6B7276; + color: #2c2c2f; &:hover { color: black;
4
diff --git a/token-metadata/0x0327112423F3A68efdF1fcF402F6c5CB9f7C33fd/metadata.json b/token-metadata/0x0327112423F3A68efdF1fcF402F6c5CB9f7C33fd/metadata.json "symbol": "BTC++", "address": "0x0327112423F3A68efdF1fcF402F6c5CB9f7C33fd", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED...
3
diff --git a/camera-manager.js b/camera-manager.js @@ -176,7 +176,7 @@ class CameraManager extends EventTarget { return cameraOffset; } handleWheelEvent(e) { - e.preventDefault(); + // e.preventDefault(); cameraOffsetTargetZ = Math.min(cameraOffsetTargetZ - e.deltaY * 0.01, 0); }
2
diff --git a/scripts/cl_logger.lua b/scripts/cl_logger.lua @@ -18,6 +18,13 @@ local deathHashTable = { ["unknown"] = { -842959696 }, -- Fall Damage or SetEntityHealth() } +--- Trigger Event From External Script + +RegisterNetEvent('txAdmin:deathLog') +AddEventHandler('txAdmin:deathLog', function(ped) + processDeath(ped...
0
diff --git a/renovate.json b/renovate.json { "extends": ["config:base", ":preserveSemverRanges"], - "schedule": "before 3am on Monday" + "schedule": "before 3am on Monday", + "packageRules": [ + { + "matchPackageNames": ["react-dom", "react-server-dom-webpack"], + "enabled": false + } + ] }
8
diff --git a/Source/Scene/Cesium3DTileset.js b/Source/Scene/Cesium3DTileset.js @@ -2809,13 +2809,13 @@ Cesium3DTileset.prototype.destroy = function () { }; Cesium3DTileset.supportedExtensions = { - "3DTILES_metadata:" true, - "3DTILES_implicit_tiling:" true, - "3DTILES_content_gltf:" true, - "3DTILES_multiple_contents:...
3
diff --git a/src/components/profile/Profile.js b/src/components/profile/Profile.js @@ -6,6 +6,7 @@ import { Section, UserAvatar, Wrapper } from '../common' import GDStore from '../../lib/undux/GDStore' import EditProfile from './EditProfile' import ProfileDataTable from './ProfileDataTable' +import ProfilePrivacy from ...
0
diff --git a/packages/cx/src/ui/createFunctionalComponent.js b/packages/cx/src/ui/createFunctionalComponent.js @@ -5,7 +5,7 @@ export function createFunctionalComponent(factory) { let props = args[0]; //test if the component is invoked through JSX - if (args.length == 1 && props && Array.isArray(props.jsxAttributes)) {...
1
diff --git a/token-metadata/0x786001c9c5CA6E502dEB8a8a72480d2147891f32/metadata.json b/token-metadata/0x786001c9c5CA6E502dEB8a8a72480d2147891f32/metadata.json "symbol": "BEPRO", "address": "0x786001c9c5CA6E502dEB8a8a72480d2147891f32", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED...
3
diff --git a/tutorial.js b/tutorial.js @@ -22,6 +22,8 @@ ftuUsername.addEventListener('keydown', e => { Array.from(document.querySelectorAll('.avatar-grid > .avatar.model')).forEach(avatarButton => { avatarButton.onclick = () => { console.log('click avatar'); + const avatar = avatarButton.getAttribute('avatar'); + logi...
0
diff --git a/articles/quickstart/webapp/aspnet-owin/_includes/_setup.md b/articles/quickstart/webapp/aspnet-owin/_includes/_setup.md The Callback URL of your application is the URL where Auth0 will redirect to after the user has authenticated in order for the Auth0 OAuth2 middleware to complete the authentication proce...
0
diff --git a/platform_services/components/crud/getList.js b/platform_services/components/crud/getList.js @@ -84,7 +84,7 @@ module.exports = (query, getAllRecords, onComplete) => { }); } - if (!getAllRecords || (global.userId && !_.includes(global.config.admin_users, global.userId.toLowerCase()))) { + if (/*!getAllRecor...
13
diff --git a/apps/golfview/golfview.js b/apps/golfview/golfview.js -let course = require("Storage").readJSON("course_data.json"); +let course = require("Storage").readJSON("courses.json").holes; let current_hole = 1; let hole = course[current_hole.toString()];
3
diff --git a/demo.html b/demo.html @@ -451,23 +451,25 @@ Reveal.on( 'customevent', function() { </div> <script src="dist/reveal.js"></script> + <script src="plugin/zoom/zoom.js"></script> + <script src="plugin/notes/notes.js"></script> + <script src="plugin/search/search.js"></script> + <script src="plugin/markdown/mar...
13
diff --git a/package.json b/package.json "lint": "yarn eslint \"./**/*.js\"", "ganache": "ganache-cli -p 8545 --gasLimit 0xfffffffffff --time '2017-05-10T00:00:00+00:00' -s 0", "publish": "lerna publish", - "test": "yarn clean && lerna run test --concurrency=1" + "test": "yarn clean && yarn compile && lerna run test --...
3
diff --git a/Source/Scene/ModelExperimental/GeometryPipelineStage.js b/Source/Scene/ModelExperimental/GeometryPipelineStage.js @@ -127,11 +127,7 @@ function processAttribute(renderResources, attribute, attributeIndex) { var shaderBuilder = renderResources.shaderBuilder; var attributeInfo = ModelExperimentalUtility.getA...
10
diff --git a/core/field_bound_variable.js b/core/field_bound_variable.js @@ -110,11 +110,13 @@ Blockly.FieldBoundVariable.prototype.getBoundValue = function() { }; /** - * Get the variable's ID. + * Get the reference's ID. * @return {string} Current variable's ID. + * @override */ Blockly.FieldBoundVariable.prototype.g...
2
diff --git a/app/models/carto/overlay.rb b/app/models/carto/overlay.rb @@ -68,9 +68,8 @@ module Carto def invalidate_cache # Using `send` to avoid making it public. A future refactor should make this call unnecessary - Carto::Visualization.find(visualization_id).send(:perform_invalidations) - rescue KeyError - # This h...
2
diff --git a/modules/default/helloworld/helloworld.html b/modules/default/helloworld/helloworld.html <!-- - Use | striptags(true) for HTML rendering - https://mozilla.github.io/nunjucks/templating.html#striptags-value-preserve_linebreaks + Use ` | safe` to allow html tages within the text string. + https://mozilla.gith...
11
diff --git a/docs/.eleventy/layouts/main.njk b/docs/.eleventy/layouts/main.njk @@ -21,7 +21,6 @@ description: "Snowpack is the fast, bundle-free build tool for all kinds of fron <u>unbundled</u> front-end development environment that starts in <strong>50 milliseconds or less</strong>. Leveraging the power of native Jav...
2
diff --git a/src/rapidoc.js b/src/rapidoc.js @@ -728,10 +728,12 @@ export default class RapiDoc extends LitElement { // On first time Spec load, try to navigate to location hash if provided const locationHash = window.location.hash?.substring(1); if (locationHash) { + const regEx = new RegExp(`^${this.routePrefix}`, 'i...
7
diff --git a/sirepo/package_data/template/warpvnd/examples/two-poles.json b/sirepo/package_data/template/warpvnd/examples/two-poles.json "conductorTypes": [ { "id": 3, + "isConductor": "1", "name": "Head", "permittivity": 7, "voltage": 30, "xLength": 0.02, + "yLength": 0.01, "zLength": 0.01 }, { "id": 2, + "isConductor...
7
diff --git a/src/stores/AppStore.js b/src/stores/AppStore.js @@ -204,12 +204,12 @@ export default types } }); - Hotkey.addKey("ctrl+z", function() { + Hotkey.addKey("command+z, ctrl+z", function() { const { history } = self.completionStore.selected; history && history.canUndo && history.undo(); }); - Hotkey.addKey("ctr...
4
diff --git a/source/Masonry/Masonry.js b/source/Masonry/Masonry.js @@ -3,6 +3,8 @@ import React, { PureComponent } from 'react' import cn from 'classnames' import PositionCache from './PositionCache' +const emptyObject = {} + /** * Specifies the number of miliseconds during which to disable pointer events while a scrol...
1
diff --git a/components/Account/NewsletterSubscriptions.js b/components/Account/NewsletterSubscriptions.js @@ -88,8 +88,7 @@ class NewsletterSubscriptions extends Component { } updateNewsletterSubscription({ name, - subscribed: checked, - status + subscribed: checked }).then(finish) }} > @@ -114,9 +113,8 @@ const mutat...
1
diff --git a/src/scss/modules/_modal.scss b/src/scss/modules/_modal.scss -moz-user-select: none; -webkit-user-select: none; user-select: none; - scrollbar-width: thin; scrollbar-color: #34495e #bdc3c7; &:focus { } ::-webkit-scrollbar { - width: 5px; + width: 13px; background: #bdc3c7; - height: auto; + border-top-right...
7
diff --git a/src/module.d.ts b/src/module.d.ts @@ -85,9 +85,9 @@ export class ColumnDefinition extends React.Component<ColumnDefinitionProps, any export interface CellProps { value?: any; - onClick?: Function; - onMouseEnter?: Function; - onMouseLeave?: Function; + onClick?: React.MouseEventHandler<Element>; + onMouseE...
0
diff --git a/packages/app/src/server/models/user-group.js b/packages/app/src/server/models/user-group.js @@ -79,8 +79,8 @@ class UserGroup { } static async findChildUserGroupsByParentIds(parentIds, includeGrandChildren = false) { - if (parentIds == null) { - throw Error('parentIds must not be null.'); + if (!Array.isAr...
7
diff --git a/app/scripts/HorizontalGeneAnnotationsTrack.js b/app/scripts/HorizontalGeneAnnotationsTrack.js @@ -31,7 +31,7 @@ export class HorizontalGeneAnnotationsTrack extends HorizontalTiled1DPixiTrack { * Function to be called when something in this track changes. * popupCallback: function * Callback for when this t...
1
diff --git a/metaversefile-api.js b/metaversefile-api.js @@ -635,7 +635,7 @@ metaversefile.setApi({ //physicsManager.setTransform(physicsObject); return physicsObject; })(physics.addCapsuleGeometry); - physics.addSphereGeometry = (addSphereGeometry => function(position, quaternion, radius, physicsMaterial, ccdEnabled) ...
2
diff --git a/src/components/core/defaults.js b/src/components/core/defaults.js @@ -44,6 +44,7 @@ export default { slidesPerColumnFill: 'column', slidesPerGroup: 1, centeredSlides: false, + centeredSlidesBounds: false, slidesOffsetBefore: 0, // in px slidesOffsetAfter: 0, // in px normalizeSlideIndex: true,
0
diff --git a/src/lib/share/index.js b/src/lib/share/index.js @@ -92,7 +92,7 @@ export function generateShareObject(url: string): ShareObject { return { title: 'Sending G$ via GoodDollar App', text: 'You got G$. To withdraw open:', - url + url: encodeURI(url) } }
0
diff --git a/token-metadata/0xB705268213D593B8FD88d3FDEFF93AFF5CbDcfAE/metadata.json b/token-metadata/0xB705268213D593B8FD88d3FDEFF93AFF5CbDcfAE/metadata.json "symbol": "IDEX", "address": "0xB705268213D593B8FD88d3FDEFF93AFF5CbDcfAE", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED"...
3
diff --git a/src/apis/StyleSheet/StyleRegistry.js b/src/apis/StyleSheet/StyleRegistry.js @@ -88,10 +88,10 @@ class StyleRegistry { * To determine the next style, some of the existing DOM state must be * converted back into React Native styles. */ - resolveStateful(rnStyleNext, domStyleProps) { + resolveStateful(rnStyle...
10
diff --git a/examples/realitytabs.html b/examples/realitytabs.html @@ -117,6 +117,7 @@ const localQuaternion2 = new THREE.Quaternion(); const localEuler = new THREE.Euler(0, 0, 0, 'YXZ'); const localEuler2 = new THREE.Euler(0, 0, 0, 'YXZ'); const localMatrix = new THREE.Matrix4(); +const localMatrixFloat32Array = new F...
12
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 3.7.5 +// @version 3.7.6 // // @include https://*stackoverflow.com...
8
diff --git a/packages/main/src/themes/Link.css b/packages/main/src/themes/Link.css font-size: var(--sapFontSize); cursor: pointer; outline: none; + text-decoration: var(--_ui5_link_text_decoration); } :host([disabled]) { overflow: hidden; text-overflow: ellipsis; word-wrap: normal; - text-decoration: none; outline: non...
1
diff --git a/tests/js/mock-browser-utils.js b/tests/js/mock-browser-utils.js +/** + * Mock browser utils. + * + * Site Kit by Google, Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain ...
1
diff --git a/js/trackViewport.js b/js/trackViewport.js @@ -191,6 +191,7 @@ class TrackViewport extends Viewport { try { const track = this.trackView.track const features = await this.getFeatures(track, chr, bpStart, bpEnd, referenceFrame.bpPerPixel) + if(features) { let roiFeatures = [] if (track.roiSets && track.roiSe...
11
diff --git a/app/controllers/AdminController.scala b/app/controllers/AdminController.scala @@ -526,8 +526,8 @@ class AdminController @Inject() (implicit val env: Environment[User, SessionAuth ) } - /** Clears all internal caches stored in the EhCachePlugin, which is play's default cache plugin. */ - def clearInternalCa...
3
diff --git a/node_common/managers/slate.js b/node_common/managers/slate.js @@ -17,7 +17,6 @@ export const getRandomSlateElementURL = async ({ id, fallback = "" }) => { return fallback; } - return query.data.objects[ - Math.floor(Numbers.getRandomInt(0, query.data.objects.length - 1)) - ].url; + const index = Numbers.ge...
2
diff --git a/app/main.js b/app/main.js @@ -31,8 +31,12 @@ function lauchDaemon() { if (subpy) { return; } - console.log(`${__dirname}`); + if (process.env.LBRY_DAEMON) { + executable = process.env.LBRY_DAEMON; + } else { executable = path.join(__dirname, 'dist', 'lbrynet-daemon'); + } + console.log('Launching daemon: '...
11
diff --git a/scenes/scenes.json b/scenes/scenes.json [ "street.scn", "treehouse.scn", - "water.scn", "shadows.scn", "darkness.scn", "grass.scn", "silk-fountains.scn", "clockrealm.scn", "moon.scn", - "terrain.scn", "Space-station.scn", "sea.scn", "space-doodles.scn",
2
diff --git a/src/core/lib/FileSignatures.mjs b/src/core/lib/FileSignatures.mjs @@ -16,13 +16,14 @@ export const FILE_SIGNATURES = { "Images": [ { name: "Joint Photographic Experts Group image", - extension: "jpg", + extension: "jpg,jpeg,jpe,thm,mpo", mime: "image/jpeg", description: "", signature: { 0: 0xff, 1: 0xd8, -...
0
diff --git a/src/config/commandOptions.js b/src/config/commandOptions.js @@ -53,6 +53,11 @@ export default { shortcut: 't', usage: 'Disables the timeout feature.', }, + prefix: { + shortcut: 'p', + usage: + 'Adds a prefix to every path, to send your requests to http://localhost:3000/prefix/[your_path] instead.', + }, p...
0
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md @@ -33,13 +33,40 @@ yarn build yarn build:watch ``` -## Run tests +## Updating and adding packages + +Since this is a monorepo with several subrepos, if you want to update/add packages in the subrepos like `create-snowpack-app/app-template-11ty` you'll want to run the comm...
7
diff --git a/src/core/Core.js b/src/core/Core.js @@ -1066,7 +1066,7 @@ class Uppy { const files = fileIDs.map((fileID) => this.getFile(fileID)) const successful = files.filter((file) => file && !file.error) const failed = files.filter((file) => file && file.error) - this.addResultData(uploadID, { successful, failed }) ...
0
diff --git a/assets/js/util/test/getExistingTagURLs.js b/assets/js/util/test/getExistingTagURLs.js @@ -26,27 +26,13 @@ import fetchMock from 'fetch-mock'; */ import { getExistingTagURLs } from '../tag'; import API from 'googlesitekit-api'; -import { - createTestRegistry, - unsubscribeFromAll, -} from '../../../../tests...
2
diff --git a/lib/MongoLite/Database.php b/lib/MongoLite/Database.php @@ -512,11 +512,16 @@ function fuzzy_search($search, $text, $distance = 3){ function createMongoDbLikeId() { + // use native MongoDB ObjectId if available + if (class_exists('MongoDB\\BSON\\ObjectId')) { + $objId = new \MongoDB\BSON\ObjectId(); + retu...
7
diff --git a/src/components/accounts/AccountFormAccountId.js b/src/components/accounts/AccountFormAccountId.js @@ -10,6 +10,10 @@ import { ACCOUNT_CHECK_TIMEOUT, ACCOUNT_ID_SUFFIX } from '../../utils/wallet' const InputWrapper = styled.div` position: relative; + + input { + padding-right: ${props => props.type === 'cre...
9
diff --git a/src/components/fx/hover.js b/src/components/fx/hover.js @@ -896,8 +896,8 @@ function createHoverText(hoverData, opts, gd) { var t0 = c0[axLetter + 'Label']; var outerContainerBB = outerContainer.node().getBoundingClientRect(); var outerTop = outerContainerBB.top; - var outerWidth = outerContainerBB.width; ...
0
diff --git a/test/functional/specs/foo.js b/test/functional/specs/foo.js import { Selector } from "testcafe"; -fixture`Getting Started`.page`http://devexpress.github.io/testcafe/example`; - +fixture`Getting Started`.page`http://localhost:3000/`; +//Start the sandbox react server first test("My first test", async t => {...
3
diff --git a/gulpfile.js b/gulpfile.js @@ -102,7 +102,8 @@ function prettify(opts) { } function checkForDocCoverage() { - return through.obj((file, enc, cb) => { + // eslint-disable-next-line func-names + return through.obj(function(file, enc, cb) { const content = file.contents.toString(enc), parsed = JSON.parse(conte...
13
diff --git a/docs/source/guides/cypress-basics/dealing-with-the-network.md b/docs/source/guides/cypress-basics/dealing-with-the-network.md @@ -4,10 +4,12 @@ comments: true # What You'll Learn -- how XHRs fit into modern web development -- how tests are thwarted by an unstable network environment (intervals, polling, ca...
7
diff --git a/articles/rules/references/samples.md b/articles/rules/references/samples.md --- -title: Sample Rules +title: Rule Examples description: A collection of sample Rules. toc: true topics: @@ -9,7 +9,7 @@ contentType: reference useCase: extensibility-rules --- -# Sample Rules +# Rule Examples In this article yo...
2
diff --git a/src/sass/_govuk-extensions.scss b/src/sass/_govuk-extensions.scss @@ -35,11 +35,10 @@ svg.back-to-top { } .govuk-list--dashed { - & > li::before { - content: "\2014"; - padding-right: 0.5rem; - color: #7f7f7f; - } + list-style-type: "\2014\00a0"; + background-clip: content-box; + list-style-position: outsi...
7
diff --git a/index.php b/index.php @@ -47,9 +47,6 @@ if (!$home && !isset($calendar_infos[$calendar])) { exit; } } -$current_calendar_authorized = !$home - && isset($calendar_infos[$calendar]) - && $calendar_infos[$calendar]['authorized']; $month_beginning_timestamp = date_create("$month/1/$year"); if ($month < 1 || $m...
1
diff --git a/beeline/controllers/TicketDetailController.js b/beeline/controllers/TicketDetailController.js @@ -54,8 +54,8 @@ export default [ var routePromise = tripPromise.then((trip) => { return RoutesService.getRoute(+trip.routeId); }); - var companyPromise = tripPromise.then((trip) => { - return CompanyService.getC...
4
diff --git a/src/utils/twoFactor.js b/src/utils/twoFactor.js @@ -120,6 +120,7 @@ export const twoFactorRemoveKey = (wallet, account, publicKey) => { @patrick move to wallet.js and import addKeyAction, deleteKeyAction in wallet.js if using inside async function `return await twoFactorRequest(this, account, request)` +@n...
3
diff --git a/src/components/Match/MatchLog.jsx b/src/components/Match/MatchLog.jsx @@ -21,7 +21,13 @@ const typeConfig = { runes: 2, }; const getObjectiveDesc = objective => (objective.key && objective.type === 'CHAT_MESSAGE_BARRACKS_KILL' ? strings[`barracks_value_${objective.key}`] : ''); -const getObjectiveBase = ob...
9
diff --git a/frontend/lost/src/tools/pipeline/src/apps/running/components/2/PipelineGraphPresenter.js b/frontend/lost/src/tools/pipeline/src/apps/running/components/2/PipelineGraphPresenter.js @@ -46,7 +46,18 @@ class PipelineGraphPresenter extends WizardTabPresenter { }) // Continue Pipeline Updates. $(this.view.html....
10
diff --git a/ui/js/actions/content.js b/ui/js/actions/content.js @@ -122,7 +122,6 @@ export function doUpdateLoadStatus(uri, outpoint) { } else if (fileInfo.completed) { // TODO this isn't going to get called if they reload the client before // the download finished - rewards.claimEligiblePurchaseRewards() dispatch({ t...
5
diff --git a/addon/instance-initializers/clear-double-boot.js b/addon/instance-initializers/clear-double-boot.js @@ -11,13 +11,17 @@ export function clearHtml() { if (current) { let endMarker = document.getElementById('fastboot-body-end'); let shoeboxNodes = document.querySelectorAll('[type="fastboot/shoebox"]'); + let...
14
diff --git a/includes/Modules/Analytics.php b/includes/Modules/Analytics.php @@ -188,7 +188,6 @@ final class Analytics extends Module $this->context->admin_url( 'module-analytics', array( - 'slug' => 'analytics', 'error_code' => 'callback_missing_parameter', ) )
2
diff --git a/src/plugins/meteor/validate.js b/src/plugins/meteor/validate.js @@ -5,7 +5,15 @@ const schema = joi.object().keys({ path: joi.string().min(1).required(), port: joi.number(), type: joi.string(), - servers: joi.object().required(), + servers: joi.object().required().pattern( + /[/s/S]*/, + joi.object().keys(...
7
diff --git a/src/connectors/playirish.js b/src/connectors/playirish.js 'use strict'; +const filter = new MetadataFilter({ artist: removeNowPlayingPrefix }); + Connector.playerSelector = '.qt-musicplayer'; Connector.artistTrackSelector = '#streamCurrentlyPlaying'; -Connector.getArtistTrack = () => { - let text = $(Conne...
7
diff --git a/tools/make/lib/markdown/pkg_urls.mk b/tools/make/lib/markdown/pkg_urls.mk @@ -58,17 +58,8 @@ REMARK_PKG_URLS_OUTPUT_FLAG ?= --output # @example # make markdown-pkg-urls MARKDOWN_PATTERN='README.md' MARKDOWN_FILTER='.*/math/base/special/.*' #/ -markdown-pkg-urls: $(NODE_MODULES) - $(QUIET) $(FIND_MARKDOWN_C...
14
diff --git a/src/libs/OptionsListUtils.js b/src/libs/OptionsListUtils.js @@ -48,7 +48,7 @@ Onyx.connect({ key: ONYXKEYS.COLLECTION.REPORTS_WITH_DRAFT, callback: (hasDraft, key) => { if (key) { - reportsWithDraft[key] = hasDraft + reportsWithDraft[key] = hasDraft; } }, }); @@ -188,12 +188,23 @@ function getSearchText(re...
14
diff --git a/api/index.js b/api/index.js import config from './src/constants.js'; import Map from './src/Map.js'; -config.themesUrl = 'https://geomapfish-demo-2-4.camptocamp.com/themes?version=2&background=background'; +config.themesUrl = 'https://geomapfish-demo-2-4.camptocamp.com/themes?' + + 'version=2&background=ba...
4
diff --git a/source/swap/contracts/Swap.sol b/source/swap/contracts/Swap.sol @@ -98,7 +98,7 @@ contract Swap is ISwap, Ownable { ) { if (_protocolFee >= FEE_DIVISOR) revert InvalidFee(); if (_protocolFeeWallet == address(0)) revert InvalidFeeWallet(); - uint256 currentChainId = getChainId(); + uint256 currentChainId = ...
2
diff --git a/test/e2e/common.js b/test/e2e/common.js @@ -13,22 +13,19 @@ module.exports = { } // open menu await client.$('#app-menu-button').click() - t.test(await client.$('.app-menu').isVisible(), 'menu opened') + await client.$('.app-menu').isVisible() // click link - t.test(`navigate to "${linkText}"`, async funct...
7
diff --git a/docs/docs/building-and-running.md b/docs/docs/building-and-running.md @@ -37,18 +37,18 @@ If you want to connect to a magda API hosted elsewhere you can modify the `confi First clone the magda directory and `cd` into it. -Then install `npm` dependencies and set up the links between components by running: +...
14
diff --git a/test/v1/session.test.js b/test/v1/session.test.js @@ -1084,7 +1084,9 @@ describe('session', () => { } function expectTransactionTerminatedError(error) { - expect(error.message.toLowerCase().indexOf('transaction terminated') >= 0).toBeTruthy(); + const message = error.message.toLowerCase(); + expect(message...
7
diff --git a/components/core/SlatePreviewBlock.js b/components/core/SlatePreviewBlock.js @@ -2,7 +2,7 @@ import * as React from "react"; import * as Constants from "~/common/constants"; import * as SVG from "~/common/svg"; import * as Strings from "~/common/strings"; -import * as Window from "~/common/window"; +import ...
7
diff --git a/packages/bitcore-node/docs/wallet-guide.md b/packages/bitcore-node/docs/wallet-guide.md @@ -46,9 +46,18 @@ tnbitpayreg Go to Help -> Debug Window -> console tab -Input generate command in the line to create 5000 Blocks +Input generate command in the line to create 5000 BTC ``` generate 5000 ``` +To find Re...
3
diff --git a/spark/manifests/spark-angular/spark-angular.module.ts b/spark/manifests/spark-angular/spark-angular.module.ts -import { environment } from '../environment/environment'; +import { environment } from './src/environment/environment'; window['sprk'] = { version: { angular: environment.version } } || {}; import...
3
diff --git a/_data/conferences.yml b/_data/conferences.yml year: 2021 id: ijcai21 link: https://ijcai-21.org/ - deadline: '2021-01-18 23:59:59' - abstract_deadline: '2021-01-12 23:59:59' + deadline: '2021-01-20 23:59:59' + abstract_deadline: '2021-01-13 23:59:59' timezone: UTC-12 date: August 21-26, 2021 place: Montrea...
3
diff --git a/src/character/import.js b/src/character/import.js @@ -71,43 +71,9 @@ const renderPopup = (type, url) => { * @returns {string} characterId or null */ const getCharacterId = (url) => { - let matches; - const CONFIGS = [ - () => { - const PATTERN = /.*dndbeyond\.com\/profile\/[\w-_]+\/characters\/(\d+)/; - ma...
7
diff --git a/apps/hourstrike/boot.js b/apps/hourstrike/boot.js if (t_hour<settings.start||t_hour>settings.end) { var strike = new Date(t.getTime()); strike.setHours(settings.start); + strike.setMinutes(0); if (t_hour>settings.end) { strike.setDate(strike.getDate()+1); }
1
diff --git a/src/widgets-service.js b/src/widgets-service.js @@ -82,7 +82,7 @@ WidgetsService.prototype.createHistogramModel = function (attrs, layer, state, o var dataAttrs = _.extend(attrs, state, {hasInitialState: this._widgetsCollection.hasInitialState()}); // Will overwrite preset attributes with the ones passed o...
2
diff --git a/admin-base/ui.apps/src/main/content/jcr_root/apps/admin/components/assetbrowser/template.vue b/admin-base/ui.apps/src/main/content/jcr_root/apps/admin/components/assetbrowser/template.vue preview: '', isotopeLoading: true, sortBy: '', - filterBy: '' + filterBy: '*' } }, watch: {
12
diff --git a/src/libs/actions/Session/index.js b/src/libs/actions/Session/index.js @@ -232,30 +232,44 @@ function createTemporaryLogin(authToken, email) { * @param {String} [twoFactorAuthCode] */ function signIn(password, twoFactorAuthCode) { - Onyx.merge(ONYXKEYS.ACCOUNT, {...CONST.DEFAULT_ACCOUNT_DATA, isLoading: tru...
4
diff --git a/js/src/pubsub.js b/js/src/pubsub.js @@ -63,7 +63,7 @@ function makeCheck (n, done) { } module.exports = (common) => { - describe('.pubsub', function () { + describe.only('.pubsub', function () { this.timeout(80 * 1000) const getTopic = () => 'pubsub-tests-' + hat() @@ -205,7 +205,7 @@ module.exports = (com...
1
diff --git a/runtime.js b/runtime.js @@ -24,7 +24,7 @@ const importMap = { const _clone = o => JSON.parse(JSON.stringify(o)); // const thingFiles = {}; -const _loadGltf = async (file, {raw = false} = {}) => { +const _loadGltf = async file => { // const u = `${storageHost}/${hash}`; const u = URL.createObjectURL(file); ...
0
diff --git a/src/article/editor/styles/_table.css b/src/article/editor/styles/_table.css -.sc-table { +.sc-table-figure { + box-shadow: var(--t-default-box-shadow); + padding: var(--t-default-spacing); +} + +.sc-table-figure > .se-label { + padding-bottom: var(--t-half-spacing); + font-weight: var(--t-bold-font-weight)...
7
diff --git a/app/components/Blockchain/Asset.jsx b/app/components/Blockchain/Asset.jsx @@ -1500,12 +1500,16 @@ class Asset extends React.Component { key: "collateral", title: ( <React.Fragment> + <Translate content="transaction.collateral" /> {cumulativeGrouping ? ( - <span>&Sigma; &nbsp;</span> + <span> + &nbsp;( + <T...
13
diff --git a/packages/bitcore-wallet-ui/src/containers/wallets/CreateWallet.tsx b/packages/bitcore-wallet-ui/src/containers/wallets/CreateWallet.tsx import React from 'react'; import { withStyles } from '@material-ui/core/styles'; -import classnames from 'classnames'; -import CardHeader from '@material-ui/core/CardHead...
14
diff --git a/devtools/test_dashboard/server.js b/devtools/test_dashboard/server.js @@ -31,7 +31,7 @@ var server = http.createServer(ecstatic({ // Start the server up! server.listen(PORT); -// open up browser window on first bundle callback +// open up browser window open('http://localhost:' + PORT + '/devtools/test_das...
7
diff --git a/test/perf/src/test/test.js b/test/perf/src/test/test.js @@ -110,6 +110,8 @@ const systemToken = secured() ? oauth.cache(authServer, 'abacus.usage.read') : undefined; +const timestamp = moment.now(); + describe('abacus-perf-test', () => { before((done) => { if (objectStorageToken) @@ -148,8 +150,7 @@ descri...
11
diff --git a/tests/index.test.js b/tests/index.test.js @@ -9,15 +9,7 @@ var server; const Project = require('../common/project'); const fetch = require('node-fetch'); global.testHelpers = require('./helpers'); - -module.exports = Object.assign( - { - before: (browser, done) => { - server = fork('./server'); - server.on...
7
diff --git a/main/index.js b/main/index.js @@ -8,7 +8,7 @@ const { autoUpdater } = require('electron-updater') const isDev = require('electron-is-dev') const fixPath = require('fix-path') -const { getConfig, maybeMigrate } = require('./utils/config') +const { getConfig, maybeMigrate, initConfigFile } = require('./utils...
9
diff --git a/src/lib/userStorage/FeedStorage.js b/src/lib/userStorage/FeedStorage.js @@ -449,7 +449,7 @@ export class FeedStorage { async getCounterParty(feedEvent) { let addressField - log.debug('updateFeedEventCounterParty:', feedEvent.data.receiptEvent, feedEvent.id, feedEvent.txType) + log.debug('getCounterParty:',...
0
diff --git a/examples/userInterface/userInteface.html b/examples/userInterface/userInteface.html var sat1 = new XYZ("MapQuest Satellite", { fading: true, - shininess: 20, - specular: [0.00048, 0.00037, 0.00035], - diffuse: [0.88, 0.85, 0.8], - ambient: [0.15, 0.1, 0.23], isBaseLayer: true, url: "https://api.mapbox.com/...
2
diff --git a/packages/babel-plugin-fbt/src/bin/translate.js b/packages/babel-plugin-fbt/src/bin/translate.js @@ -178,6 +178,10 @@ function catchKnownErrors__DEBUG_ONLY(callback) { 'Unexpected end of JSON input', "Cannot read property 'hasVariationMask' of undefined", "Cannot read property 'title' of undefined", + // TO...
8
diff --git a/CHANGELOG.md b/CHANGELOG.md All notable changes to this project are documented in this file. -## Head +## 13.5.0 - Added: `alpha-value-notation` rule ([#4770](https://github.com/stylelint/stylelint/pull/4770)). - Added: `color-function-notation` rule ([#4760](https://github.com/stylelint/stylelint/pull/476...
6
diff --git a/buildtools/svg-viewbox-loader.js b/buildtools/svg-viewbox-loader.js @@ -22,6 +22,7 @@ module.exports = function(source) { }) tag.attributes.push(['viewBox', `0 0 ${width} ${height}`, true]); tag.attributes.push(['height', '1em', true]); + tag.attributes.push(['width', `${width / height}em`, true]); } } ret...
12
diff --git a/src/libs/actions/Policy.js b/src/libs/actions/Policy.js @@ -294,14 +294,9 @@ function removeMembers(members, policyID) { return; } - const key = `${ONYXKEYS.COLLECTION.POLICY}${policyID}`; - - // Make a shallow copy to preserve original data and remove the members - const policy = _.clone(allPolicies[key])...
4
diff --git a/services/web-ui/src/container/auth/index.js b/services/web-ui/src/container/auth/index.js @@ -31,7 +31,13 @@ const useStyles = { margin: '10px', color: 'white', }, - fontColor: { + root: { + '&.focused': { + color: 'white', + }, + '&$focusVisible': { + color: 'white', + }, color: 'white', }, }; @@ -110,16 ...
1
diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/view.js b/packages/node_modules/@node-red/editor-client/src/js/ui/view.js @@ -1558,13 +1558,23 @@ RED.view = (function() { var y = parseInt(lasso.attr("y")); var x2 = x+parseInt(lasso.attr("width")); var y2 = y+parseInt(lasso.attr("height")); + var ag...
11
diff --git a/src/context/reducers/globalReducer.js b/src/context/reducers/globalReducer.js @@ -37,9 +37,10 @@ export const globalReducer = (state, action) => { projectUrl: url, }; case actionTypes.LOAD_PROJECT: + const isProjectLoaded = action.load; return { ...state, - isProjectLoaded: action.load, + isProjectLoaded, ...
3