code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/src/commands/utility/AvatarCommand.js b/src/commands/utility/AvatarCommand.js @@ -20,6 +20,10 @@ export default class AvatarCommand extends Command {
return true;
}
+ isAvailableInDMs() {
+ return true;
+ }
+
buildOptions(builder) {
builder
.addUserOption(option =>
@@ -53,7 +57,7 @@ export default class Av... | 11 |
diff --git a/io-manager.js b/io-manager.js @@ -594,6 +594,11 @@ ioManager.bindInput = () => {
}
break;
}
+ case 27: {
+ // if (weaponsManager.getMouseSelectedObject()) {
+ weaponsManager.setMouseSelectedObject(null);
+ // }
+ }
}
});
const _updateMouseMovement = e => {
| 0 |
diff --git a/SearchbarNavImprovements.user.js b/SearchbarNavImprovements.user.js // @description Site search selector on meta sites. Add advanced search helper when search box is focused. Adds link to meta in left sidebar, and link to main from meta.
// @homepage https://github.com/samliew/SO-mod-userscripts
// @author... | 2 |
diff --git a/server/game/cards/01 - Core/GoldenPlainsOutpost.js b/server/game/cards/01 - Core/GoldenPlainsOutpost.js @@ -12,7 +12,8 @@ class GoldenPlainsOutpost extends StrongholdCard {
return (card.hasTrait('cavalry') &&
card.controller === this.controller &&
!this.game.currentConflict.isParticipating(card) &&
- card.... | 1 |
diff --git a/src/encoded/types/antibody_lot.py b/src/encoded/types/antibody_lot.py @@ -164,12 +164,14 @@ def lot_reviews(characterizations, targets, request):
# The default if no characterizations have been submitted
base_review = {
- 'biosample_term_name': 'any cell type and tissues',
+ 'biosample_term_name': 'any cel... | 2 |
diff --git a/assets/js/modules/tagmanager/datastore/containers.js b/assets/js/modules/tagmanager/datastore/containers.js @@ -52,15 +52,11 @@ const fetchGetContainersStore = createFetchStore( {
);
},
controlCallback: ( { accountID } ) => {
- // Always request both contexts to prevent filtering on server.
- // TODO: Remo... | 2 |
diff --git a/grocy.openapi.json b/grocy.openapi.json "next_execution_assigned_to_user_id": {
"type": "integer"
},
+ "start_date": {
+ "type": "string",
+ "format": "date-time"
+ },
"row_created_timestamp": {
"type": "string",
"format": "date-time"
| 0 |
diff --git a/edit.js b/edit.js @@ -336,39 +336,6 @@ scene.add(floorMesh); */
const floorPhysicsId = physicsManager.addBoxGeometry(new THREE.Vector3(0, -1, 0), new THREE.Quaternion(), new THREE.Vector3(100, 1, 100), false);
- {
- const u = 'https://avaer.github.io/home/home.glb';
- const res = await fetch(u);
- const fi... | 2 |
diff --git a/src/renderer/marketplace/incorporation/detail/index.jsx b/src/renderer/marketplace/incorporation/detail/index.jsx @@ -228,7 +228,7 @@ class IncorporationsDetailView extends Component {
if (!this.props.rp) return false;
const { applications } = this.props.rp;
- if (applications.length === 0) return false;
+... | 1 |
diff --git a/docs/source/index.blade.php b/docs/source/index.blade.php @extends('_layouts.master')
@section('body')
+
<div class="flex flex-col">
<div class="min-h-screen bg-pattern bg-center bg-smoke-light border-t-6 border-tailwind-teal flex items-center justify-center leading-tight p-6 pb-16">
<div>
<svg class="mx-a... | 7 |
diff --git a/test/jasmine/tests/range_slider_test.js b/test/jasmine/tests/range_slider_test.js @@ -516,12 +516,24 @@ describe('the range slider', function() {
describe('in general', function() {
+ beforeAll(function() {
+ jasmine.addMatchers(customMatchers);
+ });
+
beforeEach(function() {
gd = createGraphDiv();
});
af... | 0 |
diff --git a/generators/server/templates/src/main/resources/config/couchmove/changelog/_V0__create_indexes.n1ql b/generators/server/templates/src/main/resources/config/couchmove/changelog/_V0__create_indexes.n1ql -- create indexes
CREATE INDEX type ON ${bucket}(`_class`)
WITH { "defer_build" : true };
+<%_ if (!skipUse... | 8 |
diff --git a/assets/js/modules/idea-hub/components/setup/SetupForm.js b/assets/js/modules/idea-hub/components/setup/SetupForm.js @@ -39,8 +39,8 @@ export default function SetupForm() {
const { setTosAccepted } = useDispatch( STORE_NAME );
const onChange = useCallback( ( event ) => {
- const { checked: accept } = event.... | 2 |
diff --git a/src/pages/ReimbursementAccount/ACHContractStep.js b/src/pages/ReimbursementAccount/ACHContractStep.js @@ -19,7 +19,7 @@ import ONYXKEYS from '../../ONYXKEYS';
import compose from '../../libs/compose';
import * as ReimbursementAccountUtils from '../../libs/ReimbursementAccountUtils';
import reimbursementAcc... | 14 |
diff --git a/src/canvas/view/FrameView.js b/src/canvas/view/FrameView.js @@ -256,7 +256,9 @@ export default Backbone.View.extend({
},
renderScripts() {
- const { el } = this;
+ const { el, model, em } = this;
+ const evLoad = 'frame:load';
+ const evOpts = { el, model, view: this };
const canvas = this.getCanvasModel()... | 11 |
diff --git a/tests/functional_test.js b/tests/functional_test.js @@ -66,7 +66,8 @@ function assertHeader(uri, header, value) {
it(`has ${header}`, (done) => {
request(uri, (response) => {
assert.equal(200, response.statusCode);
- assert(Object.prototype.hasOwnProperty.call(response.headers, header));
+ assert(Object.pr... | 0 |
diff --git a/token-metadata/0x846C66cf71C43f80403B51fE3906B3599D63336f/metadata.json b/token-metadata/0x846C66cf71C43f80403B51fE3906B3599D63336f/metadata.json "symbol": "PMA",
"address": "0x846C66cf71C43f80403B51fE3906B3599D63336f",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/client/app/cloud/project/compute/infrastructure/virtualMachine/addEdit/cloud-project-compute-infrastructure-virtualMachine-addEdit.controller.js b/client/app/cloud/project/compute/infrastructure/virtualMachine/addEdit/cloud-project-compute-infrastructure-virtualMachine-addEdit.controller.js @@ -1087,19 +10... | 4 |
diff --git a/packages/app/src/components/PageAlert/OldRevisionAlert.tsx b/packages/app/src/components/PageAlert/OldRevisionAlert.tsx import React from 'react';
+
+import Link from 'next/link';
import { useTranslation } from 'react-i18next';
+
import { useIsLatestRevision } from '~/stores/context';
+import { useSWRxCurr... | 4 |
diff --git a/token-metadata/0x08AD83D779BDf2BBE1ad9cc0f78aa0D24AB97802/metadata.json b/token-metadata/0x08AD83D779BDf2BBE1ad9cc0f78aa0D24AB97802/metadata.json "symbol": "RWS",
"address": "0x08AD83D779BDf2BBE1ad9cc0f78aa0D24AB97802",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/src/components/PayoutDetail.js b/src/components/PayoutDetail.js @@ -28,7 +28,6 @@ const PayoutDetail = ({ post }) => {
promotionCost,
cashoutInTime,
isPayoutDeclined,
- maxAcceptedPayout,
pastPayouts,
authorPayouts,
curatorPayouts,
@@ -45,7 +44,6 @@ const PayoutDetail = ({ post }) => {
Will release <Format... | 2 |
diff --git a/tests/unit/NetworkTest.js b/tests/unit/NetworkTest.js @@ -93,6 +93,42 @@ test('consecutive API calls eventually succeed when authToken is expired', () =>
// Given a test user login and account ID
const TEST_USER_LOGIN = 'test@testguy.com';
const TEST_USER_ACCOUNT_ID = 1;
+ const TEST_PERSONAL_DETAILS = {
+... | 7 |
diff --git a/js/passwordManager/keychain.js b/js/passwordManager/keychain.js +/*
+A note about the keychain storage format:
+keytar saves entries as (service, account, password), but only supports listing all entries given a particular service
+We need a way to find all passwords created by Min, so we use "min saved pa... | 3 |
diff --git a/src/styles/codemirror.less b/src/styles/codemirror.less .CodeMirror-line {
line-height: 22px !important;
}
-
+ .CodeMirror-fullscreen {
+ position: fixed !important;;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ height: auto;
+ width: 100% !important;;
+ z-index: 9;
+ }
.CodeMirror-sizer {
padding-top: ... | 1 |
diff --git a/munin/mm-plugin b/munin/mm-plugin @@ -52,8 +52,8 @@ if [ "$1" = "config" ]; then
exit 0
fi
-ROOMS=`docker exec -t mm_mm_1 /opt/multiparty-meeting/server/connect.js --stats | grep 'rooms' | sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g" | sed -E 's/rooms:([0-9]+)/\1/g'`
-PEERS=`docker exec -t mm_mm_1 ... | 14 |
diff --git a/deployment-scripts/docker-compose.yml b/deployment-scripts/docker-compose.yml @@ -91,11 +91,9 @@ services:
cpus: ".2"
restart: on-failure
environment:
- - MGMT_CONSOLE_URL=deepfence-internal-router
- - MGMT_CONSOLE_PORT=443
- - SCOPE_HOSTNAME=deepfence-management-console
- networks:
- - deepfence_net
+ - M... | 12 |
diff --git a/src/Services/Air/templates/AIR_AVAILABILTIY_REQUEST.handlebars.js b/src/Services/Air/templates/AIR_AVAILABILTIY_REQUEST.handlebars.js @@ -3,8 +3,6 @@ module.exports = `
<soap:Body>
<air:AvailabilitySearchReq
AuthorizedBy="user" TraceId="{{requestId}}" TargetBranch="{{TargetBranch}}"
- SolutionResult="true"... | 2 |
diff --git a/streaming/bot.go b/streaming/bot.go @@ -350,7 +350,7 @@ func RemoveStreamingRole(member *discordgo.Member, role int64, guildID int64) {
}
err := common.RemoveRole(member, role, guildID)
- if err != nil && !common.IsDiscordErr(err, discordgo.ErrCodeMissingPermissions, discordgo.ErrCodeUnknownRole) {
+ if er... | 8 |
diff --git a/app/models/carto/api_key.rb b/app/models/carto/api_key.rb @@ -201,10 +201,6 @@ module Carto
end
end
- def sequel_user
- @sequel_user ||= ::User[user_id]
- end
-
def create_db_config
begin
self.db_role = Carto::DB::Sanitize.sanitize_identifier("#{user.username}_role_#{SecureRandom.hex}")
| 2 |
diff --git a/src/components/topic/platforms/AvailablePlatform.js b/src/components/topic/platforms/AvailablePlatform.js @@ -73,8 +73,11 @@ const AvailablePlatform = ({ platform, onAdd, onEdit, onDelete, preventAdditions
<div className="actions">
{(!platform.isEnabled) && <AppButton primary label={messages.add} onClick={... | 11 |
diff --git a/token-metadata/0x625aE63000f46200499120B906716420bd059240/metadata.json b/token-metadata/0x625aE63000f46200499120B906716420bd059240/metadata.json "symbol": "ASUSD",
"address": "0x625aE63000f46200499120B906716420bd059240",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED... | 3 |
diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml @@ -50,6 +50,7 @@ jobs:
SITE_ID: ${{ secrets.UNLOCK_PROTOCOL_COM_NETLIFY_PROD_SITE_ID }}
AUTH_TOKEN: ${{ secrets.UNLOCK_PROTOCOL_COM_NETLIFY_PROD_AUTH_TOKEN }}
UNLOCK_GA_ID: ${{ secrets.UNLOCK_PROTOCOL_COM_NETLIFY_PROD_UNLOCK_GA_ID }}
+ NEXT_PUBLI... | 12 |
diff --git a/app/modules/handler/electron/index.js b/app/modules/handler/electron/index.js @@ -5,6 +5,7 @@ import { configureIPC } from '../../../shared/electron/ipc';
import { clearURI } from '../actions/uri';
import { windowStateKeeper } from '../../../shared/electron/windowStateKeeper';
+const { exec } = require('ch... | 12 |
diff --git a/tests/e2e/utils/test-client-config.js b/tests/e2e/utils/test-client-config.js /* eslint-disable camelcase */
export const testClientConfig = {
web: {
- client_id: '1234567890-asdfasdfasdfasdfzxcvzxcvzxcvzxcv.apps.googleusercontent.com',
+ client_id: '1234567890-asdfasdfasdfasdfzxcvzxcvzxcvzxcv.apps.sitekit... | 3 |
diff --git a/web3swift.xcodeproj/project.pbxproj b/web3swift.xcodeproj/project.pbxproj F5213FF52673849600EBDC50 /* CryptoSwift.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = F5213FEF2673849600EBDC50 /* CryptoSwift.xcframework */; };
F5213FF62673849600EBDC50 /* BigInt.xcframework in Frameworks */ = {isa =... | 2 |
diff --git a/src/client/js/util/reveal/plugins/growi-renderer.js b/src/client/js/util/reveal/plugins/growi-renderer.js @@ -160,9 +160,12 @@ import GrowiRenderer from '../../GrowiRenderer';
function divideSlides(markdown) {
const interceptorManager = growiRenderer.crowi.interceptorManager;
let context = { markdown };
- ... | 14 |
diff --git a/lib/assets/test/spec/new-dashboard/unit/specs/components/QuickActions/__snapshots__/DatasetQuickActions.spec.js.snap b/lib/assets/test/spec/new-dashboard/unit/specs/components/QuickActions/__snapshots__/DatasetQuickActions.spec.js.snap // Jest Snapshot v1, https://goo.gl/fbAQLP
-exports[`DatasetQuickAction... | 2 |
diff --git a/token-metadata/0xEA26c4aC16D4a5A106820BC8AEE85fd0b7b2b664/metadata.json b/token-metadata/0xEA26c4aC16D4a5A106820BC8AEE85fd0b7b2b664/metadata.json "symbol": "QKC",
"address": "0xEA26c4aC16D4a5A106820BC8AEE85fd0b7b2b664",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/src/lib/svg_text_utils.js b/src/lib/svg_text_utils.js @@ -755,10 +755,12 @@ function alignHTMLWith(_base, container, options) {
};
}
+var onePx = '1px ';
+
exports.makeTextShadow = function(color) {
- var x = '1px ';
- var y = '1px ';
- var b = '1px ';
+ var x = onePx;
+ var y = onePx;
+ var b = onePx;
ret... | 4 |
diff --git a/packages/insomnia-components/components/sidebar/sidebar-paths.js b/packages/insomnia-components/components/sidebar/sidebar-paths.js @@ -15,6 +15,8 @@ const StyledMethods: React.ComponentType<{}> = styled.span`
padding-left: var(--padding-lg);
`;
+const isNotXDashKey = key => key.indexOf('x-') !== 0;
+
// I... | 8 |
diff --git a/src/views/splash/presentation.jsx b/src/views/splash/presentation.jsx @@ -35,7 +35,7 @@ const ShareProjectMessage = require('./activity-rows/share-project.jsx');
const TopBanner = require('./hoc/top-banner.jsx');
const MiddleBanner = require('./hoc/middle-banner.jsx');
-const HOC_START_TIME = 157526280000;... | 12 |
diff --git a/Source/Scene/Vector3DTileGeometry.js b/Source/Scene/Vector3DTileGeometry.js @@ -68,7 +68,11 @@ define([
this._center = options.center;
if (!defined(this._center)) {
+ if (defined(this._boundingVolume)) {
this._center = Cartesian3.clone(this._boundingVolume.center);
+ } else {
+ this._center = Cartesian3.cl... | 1 |
diff --git a/lib/Stats.js b/lib/Stats.js @@ -95,7 +95,7 @@ class Stats {
const showProvidedExports = optionOrFallback(options.providedExports, !forToString);
const showChildren = optionOrFallback(options.children, true);
const showSource = optionOrFallback(options.source, !forToString);
- const showStackTrace = optionO... | 10 |
diff --git a/app-template/index.html b/app-template/index.html <meta name="msapplication-tap-highlight" content="no">
<meta name="format-detection" content="telephone=no">
<link rel="stylesheet" type="text/css" href="css/main.css">
+ <link rel="stylesheet" type="text/css" href="css/chartist.css">
<link rel="stylesheet"... | 3 |
diff --git a/workshops/terraform/lab5.md b/workshops/terraform/lab5.md @@ -349,12 +349,11 @@ This video shows some of the key concepts, including the forking of environments
Note that the standard Terraform executable itself is free to use. [Terraform Enterprise](https://www.hashicorp.com/products/terraform) has a Pro ... | 7 |
diff --git a/README.md b/README.md @@ -8,11 +8,20 @@ It is licensed under the terms of the Apache License, Version 2.0 (see LICENSE).
Copyright (c) 2012 - 2016 [duckduckgo.com](https://duckduckgo.com)
+## Setting up the development environment
+First time:
+- Install [Node.js](https://nodejs.org)
+- Run `npm install`
+... | 3 |
diff --git a/CLI/commands/transfer_manager.js b/CLI/commands/transfer_manager.js @@ -695,33 +695,42 @@ async function manualApprovalTransferManager() {
case 'Modify the existing manual approvals':
let options = [];
(await getApprovals()).forEach((a) => {
- options.push(`From ${a.from} to ${a.to} - Allowance: ${web3.uti... | 7 |
diff --git a/native/calendar/calendar.react.js b/native/calendar/calendar.react.js @@ -88,7 +88,7 @@ type ExtraData = {
// But not this particular piece of sadness, actually. We have to cache the
// current InnerCalendar ref here so we can access it from the statically
// defined navigationOptions.tabBarOnPress below.
... | 1 |
diff --git a/layouts/partials/helpers/config.html b/layouts/partials/helpers/config.html {{- end -}}
{{- else if and (ne .data.resource "") (in (slice "css" "icon" "js") .type) -}}
{{- $.root.Scratch.Set "config_resource" .data.resource -}}
-
+ {{- if not (or (hasPrefix .data.resource "http://") (hasPrefix .data.resour... | 1 |
diff --git a/assets/js/modules/adsense/components/dashboard/DashboardSummaryWidget.js b/assets/js/modules/adsense/components/dashboard/DashboardSummaryWidget.js @@ -35,6 +35,8 @@ import DataBlock from '../../../../components/DataBlock';
import Sparkline from '../../../../components/Sparkline';
import { generateDateRang... | 14 |
diff --git a/token-metadata/0x3a3A65aAb0dd2A17E3F1947bA16138cd37d08c04/metadata.json b/token-metadata/0x3a3A65aAb0dd2A17E3F1947bA16138cd37d08c04/metadata.json "symbol": "AETH",
"address": "0x3a3A65aAb0dd2A17E3F1947bA16138cd37d08c04",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/src/utils/flux/connect/__spec__.js b/src/utils/flux/connect/__spec__.js @@ -15,9 +15,9 @@ describe('connect', () => {
testState => ({ one: testState })
)(Presenter);
- const $ = mount(<ConnectedComponent />);
+ const wrapper = mount(<ConnectedComponent />);
- expect($.find(Presenter).props()).toEqual({ one... | 10 |
diff --git a/src/domain/navigation/index.js b/src/domain/navigation/index.js @@ -30,7 +30,7 @@ function allowsChild(parent, child) {
switch (parent?.type) {
case undefined:
// allowed root segments
- return type === "login" || type === "session";
+ return type === "login" || type === "session" || type === "sso";
case "... | 11 |
diff --git a/lib/services/log.js b/lib/services/log.js const { name: NAME } = require('../../package.json')
// TODO logs
-const logPrefix = `[${NAME}]`
+const logPrefix = `[${NAME.split('/').pop()}]`
const log = console.log.bind(console, logPrefix)
log.debug = () => {}
log.error = console.error.bind(console, logPrefix)... | 4 |
diff --git a/gulpfile.js b/gulpfile.js @@ -8,7 +8,7 @@ const cleanCSS = require('gulp-clean-css');
const rename = require('gulp-rename');
const concat = require('gulp-concat');
const babelMinify = require('babel-minify');
-const child_process = require('child_process');
+const childProcess = require('child_process');
c... | 10 |
diff --git a/app-template/package-template.json b/app-template/package-template.json "bezier-easing": "^2.0.3",
"bhttp": "1.2.1",
"bitauth": "^0.2.1",
- "bitcore-wallet-client": "https://github.com/Bitcoin-com/bitcore-wallet-client-new.git",
+ "bitcore-wallet-client": "https://github.com/Bitcoin-com/bitcore-wallet-clie... | 3 |
diff --git a/test/acceptance/copy-abort.js b/test/acceptance/copy-abort.js @@ -89,13 +89,13 @@ describe('Cancel "copy to" commands', function () {
const dropTable = querystring.stringify({ q: dropTableQuery, api_key: 1234 });
- const createTableOptions = {
+ const dropTableOptions = {
url: `http://${host}:${port}/api/v... | 7 |
diff --git a/lib/ui/docs.js b/lib/ui/docs.js import { client } from '../connection'
import { CompositeDisposable } from 'atom'
+const views = require('./views')
-let { searchdocs, methods, regenerateCache } =
- client.import({rpc: ['searchdocs', 'methods', ''], msg: ['regenerateCache']})
+let { searchdocs, methods, mod... | 9 |
diff --git a/src/core/Core.js b/src/core/Core.js @@ -867,6 +867,7 @@ class Uppy {
info (message, type, duration) {
const isComplexMessage = typeof message === 'object'
+ duration = typeof duration === 'undefined' ? 3000 : duration
this.setState({
info: {
| 0 |
diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml @@ -6,7 +6,9 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Run ESLint
- run: npx eslint src
+ run: |
+ npm install
+ npx eslint src
Check_main_file:
runs-on: ubuntu-latest
steps:
| 3 |
diff --git a/common/fixedpool/fixedpool.go b/common/fixedpool/fixedpool.go package fixedpool
import (
- "errors"
"github.com/sirupsen/logrus"
"os"
"runtime"
@@ -105,11 +104,10 @@ func NewCustom(network, addr string, size int, df DialFunc) (*Pool, error) {
if os.Getenv("YAGPDB_DISABLE_REDIS_POOL_DEBUG") == "" {
go func(... | 7 |
diff --git a/lib/function/algebra/simplify.js b/lib/function/algebra/simplify.js @@ -351,23 +351,17 @@ function factory (type, config, load, typed, math) {
// Create a new node by cloning the rhs of the matched rule
res = repl.clone();
- // Replace placeholders with their respective nodes
- //console.log('Traversing ru... | 7 |
diff --git a/src/functions.js b/src/functions.js @@ -491,7 +491,7 @@ function getDateComponent(component) {
}
if (component != "weekday") {
- ret.twodigit = (ret < 10? "0" : "") + (ret < 1? "0" : "") + ret % 100;
+ ret.twodigit = (ret % 100 < 10? "0" : "") + ret % 100;
}
return ret;
| 1 |
diff --git a/src/renderer/components/editorWithTabs/sourceCode.vue b/src/renderer/components/editorWithTabs/sourceCode.vue @@ -64,6 +64,12 @@ export default {
lineWrapping: true,
styleActiveLine: true,
direction: textDirection,
+ // The amount of updates needed when scrolling. Settings this to >Infinity< or use CSS
+ /... | 12 |
diff --git a/src/plot_api/plot_api.js b/src/plot_api/plot_api.js @@ -261,8 +261,8 @@ exports.plot = function(gd, data, layout, config) {
if(regl) {
// Unfortunately, this can happen when relayouting to large
// width/height on some browsers.
- if(fullLayout.width !== regl._gl.drawingBufferWidth ||
- fullLayout.height !... | 7 |
diff --git a/example/index.html b/example/index.html @@ -122,7 +122,6 @@ function getUrlParam(parameter, defaultvalue){
</b-select>
</b-field>
- <label class="label">Variants</label>
<b-field label="Variants">
<b-radio v-for="item in materialVariants" v-bind:key="item.titel"
v-bind:native-value="item.title" v-stream:in... | 2 |
diff --git a/docs/docs/examples.md b/docs/docs/examples.md @@ -570,7 +570,7 @@ Alternatively, use the `data-width` attribute to set the width of the select. Se
Add an icon to an option or optgroup with the `data-icon` attribute:
-<span class="alert alert-info" role="alert">
+<span class="alert alert-info d-block" role=... | 12 |
diff --git a/web/base_viewer.js b/web/base_viewer.js @@ -1096,9 +1096,15 @@ class BaseViewer {
if (!this.pdfDocument) {
return false;
}
- if (pageNumber < 1 || pageNumber > this.pagesCount) {
+ if (
+ !(
+ Number.isInteger(pageNumber) &&
+ pageNumber > 0 &&
+ pageNumber <= this.pagesCount
+ )
+ ) {
console.error(
- `${... | 7 |
diff --git a/ghost/core/test/e2e-browser/frontend.spec.js b/ghost/core/test/e2e-browser/frontend.spec.js @@ -41,9 +41,8 @@ test.describe('Ghost Frontend', () => {
await page.locator('.gh-nav a[href="#/members/"]').click();
// 1 member, should be Testy, on Portal Tier
- // TODO: These fail seemingly without reasons
- ex... | 1 |
diff --git a/OpenRobertaParent/RobotNAO/src/main/java/de/fhg/iais/roberta/syntax/codegen/nao/PythonVisitor.java b/OpenRobertaParent/RobotNAO/src/main/java/de/fhg/iais/roberta/syntax/codegen/nao/PythonVisitor.java @@ -1421,7 +1421,7 @@ public class PythonVisitor extends RobotPythonVisitor implements NaoAstVisitor<V
this... | 1 |
diff --git a/.eslintrc.json b/.eslintrc.json "rules": {
"curly": ["error"],
"eol-last": ["error"],
- // Blockly/Google use 2-space indents.
- // Blockly/Google uses +4 space indents for line continuations.
- // Ignore default rules for ternary expressions.
- "indent": [
- "error", 2,
- {
- "SwitchCase": 1,
- "MemberExp... | 3 |
diff --git a/src/traces/pie/plot.js b/src/traces/pie/plot.js @@ -344,9 +344,10 @@ function plotTextLines(slices, trace) {
function attachFxHandlers(sliceTop, gd, cd) {
var cd0 = cd[0];
- var trace = cd0.trace;
var cx = cd0.cx;
var cy = cd0.cy;
+ var trace = cd0.trace;
+ var isFunnelArea = trace.type === 'funnelarea';
/... | 7 |
diff --git a/src/js/utils.js b/src/js/utils.js @@ -169,6 +169,7 @@ function _makeCenteredTippy() {
positionFixed: true
};
+ tippyOptions.arrow = false;
tippyOptions.popperOptions = tippyOptions.popperOptions || {};
const finalPopperOptions = Object.assign(
| 2 |
diff --git a/sirepo/package_data/template/radia/geometry.py.jinja b/sirepo/package_data/template/radia/geometry.py.jinja @@ -87,8 +87,11 @@ def _write_dmp(g_id, f_path):
with open(f_path, 'wb') as f:
f.write(radia_util.dump_bin(g_id))
-
+{% if isParallel %}
with radia_util.MPI() as m:
+{% else %}
+if True:
+{% endif %}... | 14 |
diff --git a/examples/layer-browser/src/app.js b/examples/layer-browser/src/app.js @@ -54,19 +54,23 @@ class App extends PureComponent {
ScatterplotLayer: true
},
settings: {
- // immutable: false,
- // Effects are experimental for now. Will be enabled in the future
- // effects: false,
multiview: false,
- separation: ... | 0 |
diff --git a/webaverse.js b/webaverse.js @@ -33,6 +33,7 @@ import {
import transformControls from './transform-controls.js';
import * as metaverseModules from './metaverse-modules.js';
import soundManager from './sound-manager.js';
+import dioramaManager from './diorama.js';
import metaversefileApi from 'metaversefile'... | 0 |
diff --git a/userscript.user.js b/userscript.user.js @@ -12927,12 +12927,8 @@ var $$IMU_EXPORT$$;
},
allow_possibly_different: {
name: "Possibly different images",
- description: "Enables rules that return images that possibly differ",
+ description: "Enables rules that return images that possibly differ, usually due t... | 7 |
diff --git a/packages/docs/tutorial/tutorial-requests.yaml b/packages/docs/tutorial/tutorial-requests.yaml @@ -62,9 +62,9 @@ _ref:
Choose the following:
- **Which API are you using?**: Google Sheets API
- - **Where will you be calling the API from?** : Web server (e.g. node.js, Tomcat)
- **What data will you be accessi... | 1 |
diff --git a/src/post/Feed/PostFeedCard.js b/src/post/Feed/PostFeedCard.js @@ -85,14 +85,19 @@ const PostFeedCard = ({
}) => {
const isReplyPost = !!post.parent_author;
const preview = {
- text: () => (<div key="text" className="PostFeedCard__cell PostFeedCard__cell--text">
+ text: () => (
+ <div key="text" className="... | 14 |
diff --git a/Source/Core/Spherical.js b/Source/Core/Spherical.js /*global define*/
define([
+ './Check',
'./defaultValue',
'./defined',
'./DeveloperError'
], function(
+ Check,
defaultValue,
defined,
DeveloperError) {
@@ -34,9 +36,7 @@ define([
*/
Spherical.fromCartesian3 = function(cartesian3, result) {
//>>includeSta... | 14 |
diff --git a/lib/waterline/utils/query/forge-stage-two-query.js b/lib/waterline/utils/query/forge-stage-two-query.js @@ -173,6 +173,12 @@ module.exports = function forgeStageTwoQuery(query, orm) {
case 'count': return [ 'criteria' ];
case 'sum': return [ 'numericAttrName', 'criteria' ];
case 'avg': return [ 'numericAtt... | 0 |
diff --git a/README.md b/README.md @@ -24,6 +24,7 @@ This plugin is updated by its users, I just do maintenance and ensure that PRs a
* [Usage with Babel](#usage-with-babel)
* [Token authorizers](#token-authorizers)
* [Custom authorizers](#custom-authorizers)
+* [Remote authorizers](#remote-authorizers)
* [AWS API Gate... | 0 |
diff --git a/src/core/Dish.mjs b/src/core/Dish.mjs @@ -166,29 +166,27 @@ class Dish {
*/
async getTitle(maxLength) {
let title = "";
- const cloned = this.clone();
+ let cloned;
switch (this.type) {
case Dish.FILE:
- title = cloned.value.name;
+ title = this.value.name;
break;
case Dish.LIST_FILE:
- title = `${cloned.v... | 7 |
diff --git a/package.json b/package.json "@babel/core": "7.5.0",
"@babel/plugin-proposal-class-properties": "7.10.4",
"@babel/plugin-transform-exponentiation-operator": "7.10.4",
- "@babel/plugin-transform-flow-strip-types": "7.10.4",
"@babel/plugin-transform-runtime": "7.11.5",
"@babel/runtime": "7.11.2",
"babel-core"... | 2 |
diff --git a/tools/genbuiltins.py b/tools/genbuiltins.py @@ -1349,9 +1349,10 @@ def resolve_magic(elem, objid_to_bidx):
# Helper to find a property from a property list, remove it from the
# property list, and return the removed property.
-def steal_prop(props, key):
+def steal_prop(props, key, allow_accessor=True):
fo... | 9 |
diff --git a/test/MergeTest.js b/test/MergeTest.js @@ -194,6 +194,34 @@ test("Edge case from #2470", (t) => {
);
});
+test.skip("Edge case from #2684 (multiple conflicting override: props)", (t) => {
+ t.deepEqual(
+ Merge(
+ {
+ a: {
+ "override:b": {
+ c: [1],
+ },
+ },
+ },
+ {
+ a: {
+ "override:b": {
+ c: [2],
+ }... | 0 |
diff --git a/common/lib/transport/connectionmanager.js b/common/lib/transport/connectionmanager.js @@ -64,11 +64,11 @@ var ConnectionManager = (function() {
params.stream = this.stream;
if(this.heartbeats !== undefined)
params.heartbeats = this.heartbeats;
+ params.v = Defaults.apiVersion;
+ params.lib = Defaults.libst... | 11 |
diff --git a/src/js/services/spotify/actions.js b/src/js/services/spotify/actions.js @@ -907,8 +907,8 @@ export function getPlaylist( uri ){
// convert links in description
var description = response.description
- description = description.replace('<a href="spotify:artist:', '<a href="#'+global.baseURL+'artist/spotify:... | 14 |
diff --git a/src/windshaft/map-base.js b/src/windshaft/map-base.js @@ -55,6 +55,7 @@ var WindshaftMap = Backbone.Model.extend({
}.bind(this);
options.error = function (response) {
+ response = response || {};
var windshaftErrors = this._getErrorsFromResponse(response);
this._modelUpdater.setErrors(windshaftErrors);
| 12 |
diff --git a/spec_app/spec/javascripts/up/link_spec.js.coffee b/spec_app/spec/javascripts/up/link_spec.js.coffee @@ -602,6 +602,21 @@ describe 'up.link', ->
up.hello $link
expect(up.link.isFollowable($link)).toBe(true)
+ it 'returns true for an [up-layer] link', ->
+ $link = $fixture('a[href="/foo"][up-layer="modal"]')... | 7 |
diff --git a/lambda/es-proxy-layer/package-lock.json b/lambda/es-proxy-layer/package-lock.json }
},
"node_modules/follow-redirects": {
- "version": "1.14.4",
- "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.4.tgz",
- "integrity": "sha512-zwGkiSXC1MUJG/qmeIFH2HBJx9u0V46QGUe3YR1fXG8bXQxq... | 3 |
diff --git a/src/Request/uapi-request.js b/src/Request/uapi-request.js @@ -66,7 +66,9 @@ module.exports = function (
// adding target branch param from auth variable and render xml
params.TargetBranch = auth.targetBranch;
params.Username = auth.username;
- params.emulatePcc = auth.emulatePcc || false;
+ params.emulateP... | 0 |
diff --git a/src/parser/function.js b/src/parser/function.js @@ -365,7 +365,10 @@ module.exports = {
read_argument_list: function () {
let result = [];
this.expect("(") && this.next();
- if (this.token !== ")") {
+ if (this.token === this.tok.T_ELLIPSIS && this.peek() === ")") {
+ result.push(this.token);
+ this.next()... | 9 |
diff --git a/packages/yoroi-extension/features/transactions.feature b/packages/yoroi-extension/features/transactions.feature @@ -417,15 +417,14 @@ Feature: Send transaction
@it-171
Scenario: Can send all of a custom token (IT-171)
Given There is an Ergo wallet stored named ergo-token-wallet
- And I have a wallet with f... | 4 |
diff --git a/best-practices.md b/best-practices.md * [Field and ID formatting](#field-and-id-formatting)
* [Field selection and Metadata Linking](#field-selection-and-metadata-linking)
* [Datetime selection](#datetime-selection)
+* [Null Geometries](#null-geometries)
* [Representing Vector Layers in STAC](#representing... | 0 |
diff --git a/public/styles.css b/public/styles.css body { color: #333; margin: 5em; font: 14px/1.42 "Helvetica Neue", Helvetica, Arial, sans-serif; }
-.answer { border: 1px solid #aaa; padding: 5px; box-sizing: content-box; }
+.answer { border: 1px solid #aaa; padding: 5px; box-sizing: content-box; min-height: 100px;}
... | 5 |
diff --git a/fragments/filter/README.md b/fragments/filter/README.md - **Conformance Classes:**
- Filter: <https://api.stacspec.org/v1.0.0-beta.4/item-search#filter:filter>
- Item Search Filter: <https://api.stacspec.org/v1.0.0-beta.4/item-search#filter:item-search-filter>
- - CQL2 Text: <https://api.stacspec.org/v1.0.... | 10 |
diff --git a/app/screens/home/search/initial/modifiers/modifier.tsx b/app/screens/home/search/initial/modifiers/modifier.tsx // See LICENSE.txt for license information.
import React, {Dispatch, RefObject, SetStateAction, useCallback} from 'react';
-import {StyleSheet} from 'react-native';
+import {Platform, StyleSheet}... | 1 |
diff --git a/index.mjs b/index.mjs @@ -10,7 +10,7 @@ Error.stackTraceLimit = 300;
const isProduction = process.argv[2] === '-p';
-const _isMediaType = p => /\.(?:png|jpe?g|gif|glb|mp3)$/.test(p);
+const _isMediaType = p => /\.(?:png|jpe?g|gif|glb|mp3|webm|mp4|mov)$/.test(p);
const _tryReadFile = p => {
try {
| 0 |
diff --git a/articles/quickstart/spa/angularjs/_includes/_install_angular_auth0.md b/articles/quickstart/spa/angularjs/_includes/_install_angular_auth0.md ## Install angular-auth0
To use auth0.js in your AngularJS application, you need a thin wrapper called angular-auth0.
+
Install angular-auth0.
```bash
| 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.