code
stringlengths
122
4.99k
label
int64
0
14
diff --git a/src/modules/import/importlocal.js b/src/modules/import/importlocal.js @@ -107,8 +107,9 @@ exports = function($timeout, gettext, ngeoFile, ngeoImportLocalTemplateUrl) { scope['fileReader'] = null; scope['userMessage'] = gettext('Parsing file'); return scope['handleFileContent'](fileContent, scope.file); - }...
4
diff --git a/cmd_workflow.go b/cmd_workflow.go @@ -76,18 +76,6 @@ func showOptionalAWSUsageInfo(err error, logger *zerolog.Logger) { } } -// // logFilesize outputs a friendly filesize for the given filepath -// func logFilesize(message string, filePath string, logger *zerolog.Logger) { -// // Binary size -// stat, err ...
2
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md @@ -35,6 +35,16 @@ formatting on save. Basic static analysis is done by [ESLint](https://eslint.org/), most editor support error highlighting, which is also highly recommended. +### Accessibility + +Follow these tips to make new features accessible: + +* Use our `Touchable...
0
diff --git a/src/index.js b/src/index.js @@ -290,9 +290,14 @@ const doInitMap = () => { // add event listener to replace static map on click with real one const staticMap = document.getElementById("static-map"); + const mapContainer = document.getElementById("map-container"); staticMap.addEventListener("click", (e) => ...
13
diff --git a/userscript.user.js b/userscript.user.js @@ -31029,7 +31029,14 @@ var $$IMU_EXPORT$$; // http://ww2.hdnux.com/photos/70/63/07/14889457/3/1024x1024.jpg // https://s.hdnux.com/photos/70/63/07/14889457/3/rawImage.jpg // https://s.hdnux.com/photos/70/63/07/14889457/3/1024x1024.jpg - return src.replace(/\/[0-9]+...
7
diff --git a/token-metadata/0x7b123f53421b1bF8533339BFBdc7C98aA94163db/metadata.json b/token-metadata/0x7b123f53421b1bF8533339BFBdc7C98aA94163db/metadata.json "symbol": "BUIDL", "address": "0x7b123f53421b1bF8533339BFBdc7C98aA94163db", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED...
3
diff --git a/lib/assets/core/javascripts/cartodb3/editor/layers/layer-header-view.js b/lib/assets/core/javascripts/cartodb3/editor/layers/layer-header-view.js @@ -87,7 +87,7 @@ module.exports = CoreView.extend({ tableName: tableName, title: this._layerDefinitionModel.getTableName().replace(/_/gi, ' '), alias: this._lay...
10
diff --git a/src/app/Library/CrudPanel/Traits/Query.php b/src/app/Library/CrudPanel/Traits/Query.php @@ -254,8 +254,8 @@ trait Query $crudQuery = $this->query->toBase()->clone(); $crudQueryColumns = $this->getQueryColumnsFromWheres($crudQuery); - // merge the model key in the columns array - $crudQueryColumns = array_m...
5
diff --git a/closure/goog/db/objectstore.js b/closure/goog/db/objectstore.js @@ -308,7 +308,8 @@ goog.db.ObjectStore.prototype.clear = function() { * {@link goog.db.UpgradeNeededCallback}. * * @param {string} name Name of the index to create. - * @param {string} keyPath Attribute to index on. + * @param {string|!Array<...
11
diff --git a/js/control/LayersTab.js b/js/control/LayersTab.js BR.LayersTab = L.Control.Layers.extend({ previewLayer: null, + saveLayers: [], addTo: function (map) { this._map = map; @@ -78,11 +79,23 @@ BR.LayersTab = L.Control.Layers.extend({ } }; var treeData = this.toJsTree(structure); + var oldSelected = null; var ...
7
diff --git a/src/v2/guide/plugins.md b/src/v2/guide/plugins.md @@ -8,7 +8,7 @@ order: 18 Plugins usually add global-level functionality to Vue. There is no strictly defined scope for a plugin - there are typically several types of plugins you can write: -1. Add some global methods or properties. e.g. [vue-element](http...
14
diff --git a/php/async/Exchange.php b/php/async/Exchange.php @@ -94,7 +94,7 @@ class Exchange extends \ccxt\Exchange { $this->lastRestRequestTimestamp = $this->milliseconds(); try { - $result = React\Async\await($this->browser->request($method, $url, $headers, $body)); + $result = React\Async\await($this->browser->requ...
14
diff --git a/lib/Compilation.js b/lib/Compilation.js @@ -70,6 +70,7 @@ const { createFakeHook } = require("./util/deprecation"); const { getRuntimeKey } = require("./util/runtime"); +const { equals: arrayEquals } = require("./util/ArrayHelpers"); /** @template T @typedef {import("tapable").AsArray<T>} AsArray<T> */ /**...
2
diff --git a/src/libs/Middleware/SaveResponseInOnyx.js b/src/libs/Middleware/SaveResponseInOnyx.js @@ -10,9 +10,8 @@ function SaveResponseInOnyx(response, request) { return response .then((responseData) => { // We'll only save the onyxData, successData and failureData for the refactored commands - if (_.has(responseDat...
11
diff --git a/jekyll/_sass/custom.scss b/jekyll/_sass/custom.scss @@ -236,6 +236,14 @@ table { li li a { padding-left: 30px; } + + li li li a { + padding-left: 45px; + } + + li li li li a { + padding-left: 60px; + } } }
11
diff --git a/test/jasmine/tests/carpet_test.js b/test/jasmine/tests/carpet_test.js +var Plotly = require('@lib/index'); var Plots = require('@src/plots/plots'); +var Lib = require('@src/lib'); var Carpet = require('@src/traces/carpet'); var smoothFill2D = require('@src/traces/carpet/smooth_fill_2d_array'); var smoothFi...
0
diff --git a/token-metadata/0x780116D91E5592E58a3b3c76A351571b39abCEc6/metadata.json b/token-metadata/0x780116D91E5592E58a3b3c76A351571b39abCEc6/metadata.json "symbol": "BOXX", "address": "0x780116D91E5592E58a3b3c76A351571b39abCEc6", "decimals": 15, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED"...
3
diff --git a/src/utils/file-handlers/use-server/index.js b/src/utils/file-handlers/use-server/index.js import { useEffect } from "react" import CollaborationHandler from "./handler.js" +import { setIn } from "seamless-immutable" const serverUrl = window.localStorage.CUSTOM_COLLABORATION_SERVER || @@ -43,16 +44,15 @@ ex...
1
diff --git a/src/platforms/web/runtime/components/transition-group.js b/src/platforms/web/runtime/components/transition-group.js // nodes will remain where they should be. import { warn, extend } from 'core/util/index' +import { addClass, removeClass } from '../class-util' import { transitionProps, extractTransitionDat...
7
diff --git a/doc/api/TextView.json b/doc/api/TextView.json }, "markupEnabled": { "type": "boolean", - "description": "Allows for a subset of HTML tags in the text. Supported tags are: `a`, `del`, `ins`, `b`, `i`, `strong`, `em`, `big`, `small`, `br`. All tags must be closed (e.g. use `<br/>` instead of `<br>`). Nesting...
7
diff --git a/src/actions/Choice.js b/src/actions/Choice.js @@ -5,6 +5,8 @@ export class Choice extends Action { static setup () { this.engine.global ('_CurrentChoice', []); + this.engine.global ('_ChoiceTimer', []); + this.engine.history ('choice'); return Promise.resolve (); @@ -35,6 +37,16 @@ export class Choice exte...
11
diff --git a/token-metadata/0x355C665e101B9DA58704A8fDDb5FeeF210eF20c0/metadata.json b/token-metadata/0x355C665e101B9DA58704A8fDDb5FeeF210eF20c0/metadata.json "symbol": "GOLDX", "address": "0x355C665e101B9DA58704A8fDDb5FeeF210eF20c0", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED...
3
diff --git a/packages/cx/src/widgets/grid/Grid.js b/packages/cx/src/widgets/grid/Grid.js @@ -244,9 +244,14 @@ export class Grid extends Widget { } if (sortField) { - let sortColumn = this.columns && this.columns.find(c => c.field == sortField); - if (sortColumn && (sortColumn.sortValue || sortColumn.value)) + for (let ...
1
diff --git a/definitions/npm/formik_v0.9.x/flow_v0.53.x-/formik_v0.9.x.js b/definitions/npm/formik_v0.9.x/flow_v0.53.x-/formik_v0.9.x.js @@ -46,8 +46,7 @@ declare module "formik" { enableReinitialize?: boolean }; - declare export type FormikConfig = { - ...FormikSharedConfig, + declare export type FormikConfig = Formik...
14
diff --git a/core/server/api/v3/settings.js b/core/server/api/v3/settings.js @@ -2,11 +2,16 @@ const Promise = require('bluebird'); const _ = require('lodash'); const models = require('../../models'); const routeSettings = require('../../services/route-settings'); -const i18n = require('../../../shared/i18n'); +const t...
14
diff --git a/UserReviewBanHelper.user.js b/UserReviewBanHelper.user.js // @description Display users' prior review bans in review, Insert review ban button in user review ban history page, Load ban form for user if user ID passed via hash // @homepage https://github.com/samliew/SO-mod-userscripts // @author @samliew -/...
14
diff --git a/publish/deployed/kovan/synths.json b/publish/deployed/kovan/synths.json "asset": "CEX", "category": "index", "index": [ - {"symbol": "BNB", "name": "Binance Coin", "units": 16.57}, + {"symbol": "BNB", "name": "Binance Coin", "units": 17.88}, {"symbol": "LEO", "name": "UNUS SED LEO", "units": 153.85}, - {"s...
3
diff --git a/core/algorithm-queue/config/main/config.base.js b/core/algorithm-queue/config/main/config.base.js @@ -20,7 +20,7 @@ config.etcd = { config.algorithmType = process.env.ALGORITHM_TYPE; config.producer = { - checkStalledJobsInterval: 15000, + checkStalledJobsInterval: process.env.STALLED_JOB_INTERVAL || 15000...
0
diff --git a/controllers/StockController.php b/controllers/StockController.php @@ -179,9 +179,7 @@ class StockController extends BaseController $gc = new Grocycode(Grocycode::PRODUCT, $product->id); - // Explicitly suppress errors, otherwise deprecations warnings would cause invalid PNG data - // See also https://githu...
2
diff --git a/vr-ui.js b/vr-ui.js import * as THREE from './three.module.js'; // import {scene} from './run.js'; import {TextMesh} from './textmesh-standalone.esm.js'; +import {CapsuleGeometry} from './CapsuleGeometry.js'; import easing from './easing.js'; import * as icons from './icons.js'; import Menu from './threeD-...
0
diff --git a/articles/connections/calling-an-external-idp-api.md b/articles/connections/calling-an-external-idp-api.md @@ -4,7 +4,6 @@ description: How to call an Identity Provider API toc: true crews: crew-2 --- - # Call an Identity Provider API Once you successfully authenticate a user with an external Identity Provi...
0
diff --git a/src/actor.js b/src/actor.js @@ -735,9 +735,8 @@ export const getApifyProxyUrl = (options = {}) => { * It uses JSON syntax, extended with a double curly braces syntax for injecting variables `{{variable}}`. * Those variables are resolved at the time of the webhook's dispatch, and a list of available variabl...
7
diff --git a/src/encoded/schemas/mixins.json b/src/encoded/schemas/mixins.json "description": "A lab specific identifier to reference an object.", "comment": "Current convention is colon separated lab name and lab identifier. (e.g. john-doe:42).", "type": "string", - "pattern": "^(?:alexander-hoffmann|alexander-rudensk...
0
diff --git a/exampleSite/content/_index/table.md b/exampleSite/content/_index/table.md @@ -48,6 +48,15 @@ subtitle = "Customize your page with our various fragments" [[rows.values]] text = "Copyright section of the page" +[[rows]] + [[rows.values]] + button = "Editor" + color = "link" + url = "fragments/editor" + + [[r...
0
diff --git a/UserInfoSidebar.user.js b/UserInfoSidebar.user.js // @description Adds user moderation links sidebar with quicklinks & user details (from Mod Dashboard) to user-specific pages // @homepage https://github.com/samliew/SO-mod-userscripts // @author @samliew -// @version 1.1.1 +// @version 1.1.2 // // @include...
7
diff --git a/sparta_test.go b/sparta_test.go @@ -251,3 +251,24 @@ func TestResourceTransform(t *testing.T) { t.Fatalf("Failed to find resource Parameters in template") } } +func TestProvisionID(t *testing.T) { + logger, _ := NewLogger("info") + testUserValues := []string{ + "", + "DEFAULT_VALUE", + } + for _, eachTestV...
0
diff --git a/app/scripts/lib/notification-manager.js b/app/scripts/lib/notification-manager.js @@ -28,6 +28,7 @@ class NotificationManager { } else { // create new notification popup extension.windows.create({ + id: 'metamask-popup', url: 'notification.html', type: 'popup', width, @@ -93,7 +94,7 @@ class NotificationMa...
12
diff --git a/public/javascripts/Admin/src/Admin.js b/public/javascripts/Admin/src/Admin.js @@ -1419,12 +1419,12 @@ function Admin(_, $, c3, turf, difficultRegionIds) { }); } - function clearInternalCache() { + function clearPlayCache() { $.ajax( { - url: '/adminapi/clearInternalCache', + url: '/adminapi/clearPlayCache'...
3
diff --git a/lib/sharp.js b/lib/sharp.js @@ -19,6 +19,14 @@ try { help.push( '- Consult the installation documentation: https://sharp.pixelplumbing.com/install' ); + // Check loaded + if (process.platform === 'win32') { + const loadedModule = Object.keys(require.cache).find((i) => /[\\/]build[\\/]Release[\\/]sharp(.*)\...
7
diff --git a/src/services/statemanager.js b/src/services/statemanager.js @@ -46,10 +46,11 @@ ngeo.StateManager = function(ngeoLocation, ngeoUsedKeyRegexp) { // state is read from the location URL, or from the local storage if there // is no state in the location URL. - var paramKeys = ngeoLocation.getParamKeys(); + var...
8
diff --git a/package.json b/package.json "name": "find-and-replace", "main": "./lib/find", "description": "Find and replace within buffers and across the project.", - "version": "0.212.4", + "version": "0.213.0", "license": "MIT", "activationCommands": { "atom-workspace": [
6
diff --git a/src/page/HomePage/SidebarLink.js b/src/page/HomePage/SidebarLink.js @@ -25,14 +25,12 @@ class SidebarLink extends React.Component { const linkWrapperActiveStyle = isReportActive && styles.sidebarLinkWrapperActive; const linkActiveStyle = isReportActive ? styles.sidebarLinkActive : styles.sidebarLink; const...
14
diff --git a/scenes/treehouse.scn b/scenes/treehouse.scn 0.5 ], "start_url": "https://webaverse.github.io/potion/" - }, - { - "position": [ - 1, - 0, - 3 - ], - "quaternion": [ - 0, - 0, - 0, - 1 - ], - "start_url": "https://webaverse.github.io/scissors/" } ] }
2
diff --git a/test/geometry/ui/Geometry.InfowindowSpec.js b/test/geometry/ui/Geometry.InfowindowSpec.js @@ -97,6 +97,7 @@ describe('#Geometry.InfoWindow', function () { var dom = infoWindow.getDOM(); var offset = infoWindow.getOffset(); + expect(!offset._isNaN()).to.be.ok(); var p = infoWindow.getPosition(); expect(p.to...
3
diff --git a/src/pages/start.js b/src/pages/start.js @@ -90,8 +90,11 @@ const MapBox = styled(PhotoHeader).attrs({ px: 0 })` background-color: ${theme.colors.dark}; background-image: url('/map.svg'); background-repeat: no-repeat; - background-position: center top; + background-position: 20% top; ${photoSection}; + ${th...
7
diff --git a/generators/kubernetes/templates/skaffold/skaffold.yml.ejs b/generators/kubernetes/templates/skaffold/skaffold.yml.ejs @@ -2,16 +2,13 @@ apiVersion: skaffold/v2alpha1 kind: Config build: artifacts: -<%_ -appConfigs.forEach((appConfig) => { - if(appConfig.baseName.toLowerCase() === appConfig.appFolder) { - _...
13
diff --git a/packages/bitcore-node/test/unit/models/block.unit.ts b/packages/bitcore-node/test/unit/models/block.unit.ts @@ -12,7 +12,6 @@ import { ObjectID } from 'mongodb'; import { MongoBound } from '../../../src/models/base'; describe('Block Model', function() { - describe('addBlock', () => { let addBlockParams = {...
1
diff --git a/apps.json b/apps.json { "id": "cprassist", "name": "CPR Assist", - "version": "0.02-rc1", + "version": "0.02", "description": "Provides assistance while performing a CPR", "icon": "cprassist-icon.png", "tags": "tool,firstaid",
6
diff --git a/src/app/cli.js b/src/app/cli.js @@ -134,7 +134,13 @@ export default class CLI { runCommand(args) { const errors = commandProcessor.createErrorHandler(); this.rootCategory = this.setupCommandProcessor(); - const argv = commandProcessor.parse(this.rootCategory, args); + let argv; + try { + argv = commandProc...
9
diff --git a/assets/js/modules/pagespeed-insights/components/DashboardPageSpeed.js b/assets/js/modules/pagespeed-insights/components/DashboardPageSpeed.js @@ -45,8 +45,8 @@ import { sanitizeHTML } from '../../../util'; const { useSelect, useDispatch } = Data; export default function DashboardPageSpeed() { - // TODO: re...
2
diff --git a/runtime/scripts/jme-variables.js b/runtime/scripts/jme-variables.js @@ -108,24 +108,24 @@ jme.variables = /** @lends Numbas.jme.variables */ { }, /** Make a custom function. * - * @param {object} tmpfn - Contains `definition`, `name`, `language`, `parameters`. + * @param {Numbas.jme.variables.func_data} tm...
7
diff --git a/src/env.js b/src/env.js @@ -132,12 +132,17 @@ let config = { } }; + +if (fs.existsSync(vector.configFile)) { try { config = yaml.safeLoad(fs.readFileSync(vector.configFile, 'utf8')) || config; -} catch(e) { + } catch (error) { + throw new Error("The file " + vector.configFile + " is not valid yml: " + erro...
7
diff --git a/articles/protocols/saml/saml-configuration/troubleshoot/auth0-as-sp.md b/articles/protocols/saml/saml-configuration/troubleshoot/auth0-as-sp.md @@ -7,8 +7,8 @@ toc: true When troubleshooting a SAML login, there are four primary stages to check: -* Stage 1: The user is successfully redirected to an identity...
1
diff --git a/src/components/DateRangePicker.js b/src/components/DateRangePicker.js @@ -370,7 +370,7 @@ class DateRangePicker extends React.Component { type='caret-left' /> <div> - {moment(this.state.currentDate, 'X').format('MMMM YYYY')} + {moment.unix(this.state.currentDate).format('MMMM YYYY')} </div> <Icon elementPr...
1
diff --git a/aleph/views/base_api.py b/aleph/views/base_api.py @@ -95,6 +95,14 @@ def handle_authz_error(err): }, status=403) +@blueprint.app_errorhandler(404) +def handle_not_found_error(err): + return jsonify({ + 'status': 'error', + 'message': 'This path does not exist.' + }, status=404) + + @blueprint.app_errorhand...
9
diff --git a/lib/model.js b/lib/model.js @@ -2115,7 +2115,7 @@ Model.bulkWrite = function(ops, options, callback) { try { op['updateMany']['filter'] = cast(_this.schema, op['updateMany']['filter']); - op['updateMany']['update'] = castUpdate(_this.schema, op['updateMany']['filter'], { + op['updateMany']['update'] = cast...
1
diff --git a/src/css/docs/components/docs-sidebar.css b/src/css/docs/components/docs-sidebar.css } } +@media (max-width: 1280px) { + .DocsSidebar--nav { + margin-top: .666em; + --text-indent: 3rem; + } +} + .DocsSidebar--nav-section .DocsSidebar--section-shadow-cover { position: absolute; flex-shrink: 0; position: abso...
7
diff --git a/bot/src/bot_settings.js b/bot/src/bot_settings.js @@ -12,7 +12,7 @@ function validateRGBColor(input) { const MIN = 0; const MAX = 255; - const regex = /rgb\(([0-9]{1,3}),[ ]{0,}([0-9]{1,3}),[ ]{0,}([0-9]{1,3})\)/i; + const regex = /rgb\([ ]{0,}([0-9]{1,3}),[ ]{0,}([0-9]{1,3}),[ ]{0,}([0-9]{1,3})[ ]{0,}\)/i...
7
diff --git a/.github/workflows/php-tests.yml b/.github/workflows/php-tests.yml @@ -22,8 +22,7 @@ jobs: env: MYSQL_ALLOW_EMPTY_PASSWORD: yes MYSQL_DATABASE: wordpress - ports: - - 3306 + MYSQL_PASSWORD: '' options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 steps: - uses:...
2
diff --git a/lib/assets/core/javascripts/cartodb3/dataset/dataset-header/rename-confirmation-modal.tpl b/lib/assets/core/javascripts/cartodb3/dataset/dataset-header/rename-confirmation-modal.tpl -<div class="Dialog-header"> - <div class="Dialog-headerIcon Dialog-headerIcon--alert"> +<div class="u-flex u-justifyCenter">...
4
diff --git a/package.json b/package.json "name": "find-and-replace", "main": "./lib/find", "description": "Find and replace within buffers and across the project.", - "version": "0.207.2", + "version": "0.207.3", "license": "MIT", "activationCommands": { "atom-workspace": [
6
diff --git a/cypress/integration/toolbar.spec.js b/cypress/integration/toolbar.spec.js @@ -183,7 +183,7 @@ describe('Testing the Toolbar', () => { cy.hasVertexMarkers(5); - cy.get('.button-container.active .action-cancel').click(); + cy.get('.button-container.active .action-finishMode').click(); cy.hasVertexMarkers(0);...
1
diff --git a/docs/quickstart.md b/docs/quickstart.md @@ -32,7 +32,7 @@ You can browse the source of the npm package at [unpkg.com/vuelayers/](https://u <!-- include Vue --> <script src="https://unpkg.com/vue/dist/vue.js"></script> <!-- include OpenLayers --> -<script src="https://cdn.rawgit.com/openlayers/openlayers.gi...
14
diff --git a/docs/README.md b/docs/README.md @@ -42,7 +42,7 @@ For a more detailed introduction to Mermaid and some of it's more basic uses, lo # Diagram Types -### [Flowchart](/flowchart?id=flowcharts-basic-syntax) +### [Flowchart](./flowchart.md?id=flowcharts-basic-syntax) ``` graph TD; @@ -54,7 +54,7 @@ graph TD; ![...
1
diff --git a/views/tabarea.es b/views/tabarea.es @@ -233,9 +233,9 @@ export default connect( ].includes(e.detail.path)) { toSwitch = 'shipView' } - for (const [id, switchPluginPath] of this.props.plugins.map(plugin => [plugin.id, plugin.switchPluginPath || []])) { + for (const [id, enabled, switchPluginPath] of this.pr...
8
diff --git a/articles/connections/database/require-username.md b/articles/connections/database/require-username.md @@ -30,10 +30,6 @@ To see how this will affect the login screen, select the **Try Connection** view Users can then login with either their username or their email address. Users who registered while **Requ...
2
diff --git a/plugins/dev-tools/src/debugRenderer.js b/plugins/dev-tools/src/debugRenderer.js @@ -50,7 +50,9 @@ export class DebugRenderer { * @public */ static init() { - Blockly.blockRendering.useDebugger = true; + Blockly.blockRendering.debug.startDebugger(); + // TODO(google/blockly-samples##944): Remove this once #...
1
diff --git a/docs/api/README.md b/docs/api/README.md @@ -1194,7 +1194,7 @@ For testing purposes only. ### Blocking / Non-blocking | Name | Blocking | -| -------------------- | ------------------------------------------------------ | +| -------------------- | ------------------------------------------------------------|...
14
diff --git a/src/core/config/OperationConfig.js b/src/core/config/OperationConfig.js @@ -3363,7 +3363,7 @@ const OperationConfig = { }, "Parse X.509 certificate": { module: "PublicKey", - description: "X.509 is an ITU-T standard for a public key infrastructure (PKI) and Privilege Management Infrastructure (PMI). It is ...
0
diff --git a/packages/build/src/plugins_core/deploy/buildbot_client.js b/packages/build/src/plugins_core/deploy/buildbot_client.js @@ -23,6 +23,10 @@ const connectBuildbotClient = async function(client) { } const closeBuildbotClient = async function(client) { + if (client.destroyed) { + return + } + await promisify(cli...
7
diff --git a/Source/Scene/WebMapTileServiceImageryProvider.js b/Source/Scene/WebMapTileServiceImageryProvider.js @@ -11,6 +11,12 @@ import when from "../ThirdParty/when.js"; import ImageryProvider from "./ImageryProvider.js"; import TimeDynamicImagery from "./TimeDynamicImagery.js"; +var defaultParameters = Object.free...
3
diff --git a/src/react/projects/spark-react/src/SprkMasthead/SprkMasthead.js b/src/react/projects/spark-react/src/SprkMasthead/SprkMasthead.js @@ -78,7 +78,11 @@ class SprkMasthead extends Component { } toggleMenu() { - console.log(window.scrollY); + if(this.state.scrollDirection === 'down') { + this.setState({ isHidde...
3
diff --git a/src/lib/audio/effects/volume-effect.js b/src/lib/audio/effects/volume-effect.js @@ -14,8 +14,16 @@ class VolumeEffect { this.gain.gain.setValueAtTime(volume, endSeconds); this.gain.gain.exponentialRampToValueAtTime(1.0, endSeconds + this.rampLength); + // Use a waveshaper node to prevent sample values from...
4
diff --git a/mobile/src/config.js b/mobile/src/config.js const urlPath = "/facility_app"; const certificatePublicKey = "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAnXQalrgztecTpc+INjRQ8s73FSE1kU5QSlwBdICCVJBUKiuQUt7s+Z5epgCvLVAOCbP1mm5lV7bfgV/iYWDio7lzX4MlJwDedWLiufr3Ajq+79CQiqPaIbZTo0i13zij...
13
diff --git a/src/muncher/importMonster.js b/src/muncher/importMonster.js @@ -128,6 +128,10 @@ async function getNPCImage(data) { // eslint-disable-next-line require-atomic-updates if (!data.img && data.token.img) data.img = data.token.img; + // final check if image comes back as null + if (data.img === null) data.img =...
9
diff --git a/lib/runtime/completions.js b/lib/runtime/completions.js @@ -19,7 +19,7 @@ class AutoCompleteProvider { selector = '.source.julia' disableForSelector = `.source.julia .comment` excludeLowerPriority = true - inclusionPriority = 3 + inclusionPriority = 1 suggestionPriority = atom.config.get('julia-client.juli...
12
diff --git a/js/views/VariableSelect.js b/js/views/VariableSelect.js @@ -222,6 +222,9 @@ function matchFields(datasets, features, mode, selected, value) { return Rx.Observable.of({valid: false}); } +var featureIndexes = (features, list) => + list.map(f => _.findIndex(features, _.matcher(f)).toString()).filter(x => x !=...
9
diff --git a/package.json b/package.json "launcher:start": "cd packages/stockflux-launcher && npm run start", "news:start": "cd packages/stockflux-news && npm run start", "watchlist:start": "cd packages/stockflux-watchlist && npm run start", - "start:all": "concurrently \"npm run chart:start\" \"npm run container:start...
10
diff --git a/components/slack/new-message-in-conversation.js b/components/slack/new-message-in-conversation.js @@ -140,9 +140,9 @@ module.exports = { } } if (!event.client_msg_id) { - event.client_msg_id = `pd_${Math.random().toString(36).substr(2, 10)}_${Date.now()}` + event.pipedream_msg_id = `${Date.now()}-${Math.ra...
4
diff --git a/src/compiler/parser.js b/src/compiler/parser.js @@ -51,6 +51,7 @@ var walk = function(state) { var node = createParseNode(token.value, secondToken.value, []); var tagType = token.value; increment(3); + if(token) { while((token.type !== "tag") || (token.type === "tag" && token.value !== tagType && (!previou...
9
diff --git a/util.js b/util.js import * as THREE from 'three'; import * as BufferGeometryUtils from 'three/examples/jsm/utils/BufferGeometryUtils.js'; // import atlaspack from './atlaspack.js'; -import { getAddressFromMnemonic } from './blockchain.js'; -import {playersMapName, tokensHost, storageHost, accountsHost, log...
2
diff --git a/apps/viewer/init.js b/apps/viewer/init.js @@ -921,7 +921,7 @@ function addHumanLayerItems() { false; var isFind = false; for (const key in items) { - if (d.id.includes(key)) { + if (d.id.includes(`${key}_`)) { isFind = true; items[key].items.push({item: d, isShow}); }
1
diff --git a/src/patterns/utilities/single-property/color.hbs b/src/patterns/utilities/single-property/color.hbs @@ -38,15 +38,15 @@ description: These utilities control CSS properties related to color and backgro </tr> <tr> <td class="sprk-u-FontWeight--bold">.sprk-u-Color--red-tint-75</td> - <td>Sets the font color t...
3
diff --git a/public/js/office.web.js b/public/js/office.web.js @@ -127,6 +127,13 @@ $(() => { }; } + function isUserInVideoConference(){ + if($("#exampleModalCenter").data('bs.modal')){ + return $("#exampleModalCenter").data('bs.modal')._isShown; + } + return false; + } + function startVideoConference(roomId, name, onL...
1
diff --git a/_data/conferences.yml b/_data/conferences.yml sub: ML note: '<b>NOTE</b>: Mandatory abstract deadline on Jan 20, 2022. More info <a href=''https://icml.cc/Conferences/2022/''>here</a>.' +- title: SIGGRAPH + hindex: 19 + year: 2022 + id: siggraph22 + link: https://s2022.siggraph.org/ + abstract_deadline: '2...
3
diff --git a/test/server/gamesteps/triggeredabilitywindow.spec.js b/test/server/gamesteps/triggeredabilitywindow.spec.js @@ -10,6 +10,9 @@ describe('TriggeredAbilityWindow', function() { this.player1Spy = jasmine.createSpyObj('player', ['setPrompt', 'cancelPrompt', 'user']); this.player2Spy = jasmine.createSpyObj('play...
2
diff --git a/src/technologies/f.json b/src/technologies/f.json 24 ], "description": "Froala Editor is a WYSIWYG HTML Editor written in Javascript that enables rich text editing capabilities for applications.", - "html": "<[^>]+class=\"[^\"]*(?:fr-view|fr-box)", + "dom": ".fr-view, .fr-box, .fr-popup, .froala-box", "ico...
7
diff --git a/app/views/observations/index.html.haml b/app/views/observations/index.html.haml %input.form-control{ placeholder: t(:species), type: "search", name: "taxon_name", value: params[:taxon_name] } %input{ type: "hidden", name: "taxon_id" } %span#place-name-input - %input#place_name.form-control{ name: "place_na...
4
diff --git a/bl-kernel/helpers/bootstrap.class.php b/bl-kernel/helpers/bootstrap.class.php @@ -8,7 +8,7 @@ class Bootstrap { $id = isset($args['id'])?$args['id']:$name; $value = isset($args['value'])?$args['value']:''; - return '<input type="hidden" id="'.$id.'" name="'.$name.'" value="'.$value.'">'; + return '<input t...
2
diff --git a/samples/csharp_dotnetcore/51.teams-messaging-extensions-action/Bots/TeamsMessagingExtensionsActionBot.cs b/samples/csharp_dotnetcore/51.teams-messaging-extensions-action/Bots/TeamsMessagingExtensionsActionBot.cs @@ -80,7 +80,7 @@ private MessagingExtensionActionResponse ShareMessageCommand(ITurnContext<IIn...
1
diff --git a/content_scripts/utils.js b/content_scripts/utils.js @@ -140,18 +140,18 @@ var matchLocation = function(url, pattern) { // Uses @match syntax return false; } if (url.protocol !== 'file:') { - hostname = pattern.match(/^[^\/]+\//g); + hostname = pattern.match(/^[^\/]+/g); if (!hostname) { console.error('cVim...
11
diff --git a/luci-app-openclash/root/etc/init.d/openclash b/luci-app-openclash/root/etc/init.d/openclash @@ -1146,7 +1146,7 @@ if [ "$bypass_gateway_compatible" -eq 1 ]; then if [ "$bypass_gateway_compatible" -eq 1 ]; then iptables -t nat -A openclash_post -m mark --mark "$PROXY_FWMARK" -m comment --comment "OpenClash ...
13
diff --git a/src/Request/uapi-request.js b/src/Request/uapi-request.js @@ -85,7 +85,7 @@ module.exports = function uapiRequest( data: xml, }) .then((response) => { - if (debugMode > 1) { + if (debugMode) { log('Response SOAP: ', pd.xml(response.data)); } return response.data;
0
diff --git a/assets/js/modules/adsense/dashboard/adsense-in-process-status.js b/assets/js/modules/adsense/dashboard/adsense-in-process-status.js @@ -29,6 +29,7 @@ class AdSenseInProcessStatus extends Component { const { status } = this.props; const { siteURL } = googlesitekit.admin; const siteURLURL = new URL( siteURL ...
3
diff --git a/lib/determine-basal/determine-basal.js b/lib/determine-basal/determine-basal.js @@ -142,14 +142,14 @@ var determine_basal = function determine_basal(glucose_status, currenttemp, iob_ if (minAgo > 12 || minAgo < -5) { // Dexcom data is too old, or way in the future rT.reason = "If current system time "+syst...
1
diff --git a/edit.js b/edit.js @@ -5235,7 +5235,7 @@ scene.add(cubeMesh); */ const velocity = new THREE.Vector3(); // const lastGrabs = [false, false]; const lastAxes = [[0, 0, 0, 0], [0, 0, 0, 0]]; -const lastButtons = [[0, 0, 0, 0, 0], [0, 0, 0, 0, 0]]; +const lastButtons = [[0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0]]; l...
0
diff --git a/docs/Relation.md b/docs/Relation.md @@ -104,6 +104,68 @@ class Comment extends Model { } ``` +### Many-To-Many Relation + +If for instance, our app `Post`s can be authored by many `User`s and a user can author many `Post`s. We would create such a relation following these steps:- + +1. Create a pivot schema...
5
diff --git a/templates/examples/extensions/index.js b/templates/examples/extensions/index.js @@ -185,8 +185,8 @@ module.exports=Object.assign( "secretsmanager:DescribeSecret" ], "Resource": [ - "arn:aws:secretsmanager:*:*:QNA*", - "arn:aws:secretsmanager:*:*:qna*" + "arn:aws:secretsmanager:*:*:QNA-*", + "arn:aws:secret...
3
diff --git a/token-metadata/0x6810e776880C02933D47DB1b9fc05908e5386b96/metadata.json b/token-metadata/0x6810e776880C02933D47DB1b9fc05908e5386b96/metadata.json "symbol": "GNO", "address": "0x6810e776880C02933D47DB1b9fc05908e5386b96", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED" ...
3
diff --git a/bl-kernel/ajax/upload-images.php b/bl-kernel/ajax/upload-images.php @@ -69,11 +69,6 @@ foreach ($_FILES['images']['name'] as $uuid=>$filename) { // Transform the image and generate the thumbnail $image = transformImage(PATH_TMP.$filename, $imageDirectory, $thumbnailDirectory); - // Delete temporary file - ...
2