code
stringlengths
122
4.99k
label
int64
0
14
diff --git a/apps/antonclk/README.md b/apps/antonclk/README.md @@ -41,8 +41,8 @@ The main menu contains several settings covering Anton clock in general. Weekday name depends on the current locale. If seconds are shown, the weekday is never shown as there is not enough space on the watch face. * **Show Weeknumber** - W...
3
diff --git a/editor.js b/editor.js @@ -2882,6 +2882,12 @@ sacks3.vrm`, .setFromAxisAngle(new THREE.Vector3(0, 1, 0), -Math.PI/2), contentId: 188, }, + { + position: new THREE.Vector3(3, 3, -9), + quaternion: new THREE.Quaternion() + .setFromAxisAngle(new THREE.Vector3(0, 1, 0), -Math.PI/2), + contentId: 'https://avaer....
0
diff --git a/modules/experimental-layers/src/bezier-curve-layer/README.md b/modules/experimental-layers/src/bezier-curve-layer/README.md @@ -24,9 +24,11 @@ Each point is defined as an array of three numbers: `[x, y, z]`. Each point is defined as an array of three numbers: `[x, y, z]`. -##### `getColor` (Function, optio...
3
diff --git a/source/wrapper/reports/SECURITY.md b/source/wrapper/reports/SECURITY.md @@ -114,8 +114,6 @@ Wrapper.swap(Types.Order) (Full.sol#456-506) ignores return value by external ca Reference: https://github.com/crytic/slither/wiki/Detector-Documentation#unused-return ``` -The WETH contract that is used is known co...
2
diff --git a/token-metadata/0x066798d9ef0833ccc719076Dab77199eCbd178b0/metadata.json b/token-metadata/0x066798d9ef0833ccc719076Dab77199eCbd178b0/metadata.json "symbol": "SAKE", "address": "0x066798d9ef0833ccc719076Dab77199eCbd178b0", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED"...
3
diff --git a/components/Marketing/index.js b/components/Marketing/index.js @@ -10,7 +10,7 @@ import Cover from './Cover' import Offers from './Offers' import PreviewForm from './PreviewForm' -import { STATS_POLL_INTERVAL_MS } from '../../lib/constants' +import { CDN_FRONTEND_BASE_URL, STATS_POLL_INTERVAL_MS } from '../...
4
diff --git a/lib/repository.js b/lib/repository.js @@ -207,17 +207,18 @@ function performRebase( /* In the case of FF merges and a beforeFinishFn, this will fail * when looking for 'rewritten' so we need to handle that case. */ - function readRebaseMetadataFile(fileName, determineExistance) { - const fullPath = path.jo...
14
diff --git a/packages/idyll-document/src/index.js b/packages/idyll-document/src/index.js @@ -136,7 +136,7 @@ class Wrapper extends React.PureComponent { render() { return ( - <span style={{backgroundColor: 'deepskyblue'}}> + <span> { React.Children.map(this.props.children, c => { return React.cloneElement(c, {...this.s...
2
diff --git a/renderer/components/measurement/RawDataContainer.js b/renderer/components/measurement/RawDataContainer.js @@ -40,7 +40,7 @@ const StyledCloseButton = styled(MdClose)` const RawDataContainer = ({ rawData, isOpen, onClose }) => { const props = useSpring({ - from: { bottom: -6000 }, + from: { bottom: -2000 },...
1
diff --git a/pages/community.js b/pages/community.js @@ -4,12 +4,10 @@ import * as Actions from "~/common/actions"; import * as System from "~/components/system"; import { css, keyframes } from "@emotion/react"; -import { SceneUtils } from "three"; import WebsitePrototypeWrapper from "~/components/core/WebsitePrototype...
2
diff --git a/src/platform/web/ui/general/LazyListView.js b/src/platform/web/ui/general/LazyListView.js @@ -43,9 +43,7 @@ class ItemRange { } containsIndex(idx) { - // TODO: Replace by lastIndex - // TODO: Should idx be <= since lastIndex is not rendered? - return idx >= this.topCount && idx <= (this.topCount + this.ren...
7
diff --git a/services/importer/lib/importer/connector_runner.rb b/services/importer/lib/importer/connector_runner.rb @@ -82,14 +82,6 @@ module CartoDB @tracker || lambda { |state| state } end - def georeference - georeferencer = Georeferencer.new(@job.db, @job.table_name, {}, 'cdb_importer', @job) - - job.log 'Georefer...
3
diff --git a/src/lib/wf_convert.erl b/src/lib/wf_convert.erl @@ -419,6 +419,8 @@ qs_revdecode([C | Rest], Acc) -> qs_revdecode(Rest, [C | Acc]). +json_encode(Data) when is_map(Data) -> + json_encode(maps:to_list(Data)); json_encode(Data) -> nitro_mochijson2:encode(add_json_struct(Data)).
11
diff --git a/packages/idyll-document/test/component.js b/packages/idyll-document/test/component.js +import fs from 'fs'; +import { join } from 'path'; import React from 'react'; import Enzyme, { mount, shallow } from 'enzyme'; import Adapter from 'enzyme-adapter-react-16'; Enzyme.configure({ adapter: new Adapter() }); ...
7
diff --git a/token-metadata/0x6ff313FB38d53d7A458860b1bf7512f54a03e968/metadata.json b/token-metadata/0x6ff313FB38d53d7A458860b1bf7512f54a03e968/metadata.json "symbol": "MRO", "address": "0x6ff313FB38d53d7A458860b1bf7512f54a03e968", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED" ...
3
diff --git a/js/coinone.js b/js/coinone.js @@ -243,7 +243,7 @@ module.exports = class coinone extends Exchange { 'format': 'json', }, params)); let trades = result['completeOrders']; - return this.parseTrades (trades, symbol); + return this.parseTrades (trades, market); } async cancelOrder (id, symbol = undefined, para...
1
diff --git a/doc/develop/conformance_rules.md b/doc/develop/conformance_rules.md @@ -320,6 +320,7 @@ communication to/from an iframe hosted on the same domain as the page containing the iframe. However, be sure to get a security review to allow usage of this. + {: #expose} ### @expose
7
diff --git a/README.md b/README.md @@ -29,89 +29,82 @@ GET https://api.spacexdata.com/v2/launches/latest ```json { - "flight_number": 55, + "flight_number": 56, "launch_year": "2018", - "launch_date_unix": 1517949900, - "launch_date_utc": "2018-02-06T20:45:00Z", - "launch_date_local": "2018-02-06T15:45:00-05:00", + "la...
3
diff --git a/lib/assets/core/javascripts/cartodb3/editor/layers/layer-content-views/analyses/analysis-form-models/filter-form-model.js b/lib/assets/core/javascripts/cartodb3/editor/layers/layer-content-views/analyses/analysis-form-models/filter-form-model.js @@ -37,26 +37,26 @@ module.exports = BaseAnalysisFormModel.ex...
4
diff --git a/vis/js/bubbles.js b/vis/js/bubbles.js @@ -148,25 +148,16 @@ BubblesFSM.prototype = { var self = this; d3.selectAll('#headstart-chart circle').on("click", function (d) { + d3.event.stopPropagation(); mediator.publish("bubble_click", d, self); - // self.zoomin(d); }); - d3.selectAll('#headstart-chart circle'...
7
diff --git a/buildtools/webpack.commons.js b/buildtools/webpack.commons.js @@ -18,7 +18,7 @@ const providePlugin = new webpack.ProvidePlugin({ const babelAnnotateUse = { loader: 'babel-loader', options: { - presets: ['es2015'], + presets: ['env'], plugins: ['@camptocamp/babel-plugin-angularjs-annotate'], } } @@ -49,7 +...
4
diff --git a/app/models/carto/account_type.rb b/app/models/carto/account_type.rb @@ -7,7 +7,7 @@ module Carto FREE_2020 = 'Free 2020'.freeze TRIAL_PLANS = [FREE_2020].freeze - TRIAL_DURATION = { INDIVIDUAL => 14.days, FREE_2020 => 1.year }.freeze + TRIAL_DURATION = { FREE_2020 => 1.year }.freeze FULLSTORY_SUPPORTED_PLA...
2
diff --git a/lib/views/commit-view.js b/lib/views/commit-view.js @@ -18,6 +18,13 @@ const temporaryAuthors = [ { name: 'Josh Abernathy', login: 'joshaber', email: 'joshaber@github.com' }, ] +class FakeKeyDownEvent extends CustomEvent { + constructor(keyCode) { + super('keydown') + this.keyCode = keyCode + } +} + export...
4
diff --git a/src/client/js/components/SearchTypeahead.js b/src/client/js/components/SearchTypeahead.js @@ -43,7 +43,7 @@ export default class SearchTypeahead extends React.Component { componentDidMount() { // **MEMO** This doesn't work at this time -- 2019.05.13 Yuki Takei // It is needed to use Modal component of reac...
13
diff --git a/src/plots/cartesian/axis_format.js b/src/plots/cartesian/axis_format.js @@ -36,7 +36,9 @@ function descriptionOnlyNumbers(label) { function descriptionWithDates(label) { return descriptionOnlyNumbers(label) + [ ' And for dates see: ' + DATE_FORMAT_LINK, - 'We add one item to d3\'s date formatter: *%{n}f* f...
0
diff --git a/src/transit.js b/src/transit.js @@ -361,6 +361,21 @@ class Transit { .catch(err => this.sendResponse(payload.sender, payload.id, ctx.meta, null, err)); } + _createErrFromPayload(packet) { + const err = new Error(packet.error.message + ` (NodeID: ${packet.sender})`); + // TODO create the original error obje...
7
diff --git a/accessibility-checker-engine/src/v2/checker/accessibility/rules/rpt-blockquote-rules.ts b/accessibility-checker-engine/src/v2/checker/accessibility/rules/rpt-blockquote-rules.ts @@ -77,7 +77,7 @@ let a11yRulesBlockquote: Rule[] = [ // we're not already marked up // Also skip if we're in a script - there's ...
2
diff --git a/token-metadata/0x931ad0628aa11791C26FF4d41ce23E40C31c5E4e/metadata.json b/token-metadata/0x931ad0628aa11791C26FF4d41ce23E40C31c5E4e/metadata.json "symbol": "PGS", "address": "0x931ad0628aa11791C26FF4d41ce23E40C31c5E4e", "decimals": 8, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED" }...
3
diff --git a/apps/recorder/interface.html b/apps/recorder/interface.html <script> var domTracks = document.getElementById("tracks"); -function saveKML(track,title) { +function filterGPSCoordinates(track) { // only include data points with GPS values - track=track.filter(pt=>pt.Latitude!="" && pt.Longitude!=""); + var a...
11
diff --git a/app/modules/WalletDapp/WalletDappWebViewScreen.js b/app/modules/WalletDapp/WalletDappWebViewScreen.js @@ -157,6 +157,18 @@ class WalletDappWebViewScreen extends PureComponent { onMessage = async (e) => { + console.log() + console.log() + console.log() + console.log() + console.log() + console.log('eeeeee',...
12
diff --git a/src/Button.js b/src/Button.js @@ -13,15 +13,15 @@ class Button extends Component { } componentDidMount() { + if (!M) return; + const { tooltip, tooltipOptions, fab } = this.props; - if ( - typeof $ !== 'undefined' && - (typeof tooltip !== 'undefined' || typeof tooltipOptions !== 'undefined') - ) { - $(this...
14
diff --git a/src/components/nodes/genericFlow/genericFlow.vue b/src/components/nodes/genericFlow/genericFlow.vue @@ -131,15 +131,12 @@ export default { && this.node.definition.sourceRef.default.id === this.node.definition.id; }, updateRouter() { - this.shape.router('orthogonal', { padding: 1 }); + this.shape.router('no...
4
diff --git a/articles/email/liquid-syntax.md b/articles/email/liquid-syntax.md @@ -24,6 +24,10 @@ There are two types of markup in Liquid: **output** and **tag**. `Hello {{ name }}!` +::: note +For more information on supported output attributes and their usage, see [Customizing Your Emails](/email/templates). +::: + Y...
0
diff --git a/lib/config.js b/lib/config.js @@ -733,7 +733,10 @@ Config.prototype.logUnknown = function logUnknown(json, key) { */ Config.prototype.checkAsyncHookStatus = function checkAsyncHookStatus() { return ( - semver.satisfies(process.version, '>=8.2') && + ( + semver.satisfies(process.version, '>=8.2') || + semve...
11
diff --git a/modules/xerte/parent_templates/Nottingham/models_html5/tabNavExtra.html b/modules/xerte/parent_templates/Nottingham/models_html5/tabNavExtra.html var $pageContents = $("#pageContents"), $currentTab = $thisHolder.find(".tabHeader a:contains(" + $pageContents.data("currentTab") + ")"); + $currentTab.trigger(...
1
diff --git a/articles/compliance/gdpr/features-aiding-compliance/user-consent/_redirect.md b/articles/compliance/gdpr/features-aiding-compliance/user-consent/_redirect.md @@ -50,14 +50,11 @@ If you are implementing this from a regular web app, hosting your own form, then - **Key**: `CONSENT_FORM_URL` - **Value**: `http...
2
diff --git a/src/js/module/Statusbar.js b/src/js/module/Statusbar.js @@ -24,7 +24,7 @@ export default class Statusbar { const editableCodeTop = this.$codable.offset().top - this.$document.scrollTop(); const onStatusbarMove = (event) => { - let originalEvent = (event.type == 'mousedown') ? event : event.originalEvent.ch...
12
diff --git a/experimental/generation/generator/src/library/mergeAssets.ts b/experimental/generation/generator/src/library/mergeAssets.ts @@ -709,7 +709,7 @@ async function mergeDialogs(schemaName: string, oldPath: string, newPath: string */ function getTriggerName(trigger: any): string { let triggerName: string - if (t...
1
diff --git a/Source/Renderer/modernizeShader.js b/Source/Renderer/modernizeShader.js @@ -27,9 +27,9 @@ define([ } var outputDeclarationLine = -1; - var i; + var i, line; for (i = 0; i < splitSource.length; ++i) { - var line = splitSource[i]; + line = splitSource[i]; if (outputDeclarationRegex.test(line)) { outputDeclar...
10
diff --git a/sirepo/server.py b/sirepo/server.py @@ -252,7 +252,11 @@ def api_getApplicationData(filename=None): if 'filename' in req: assert isinstance(res, pkconst.PY_PATH_LOCAL_TYPE), \ '{}: template did not return a file'.format(res) - return http_reply.gen_file_as_attachment(res, filename=req.filename) + return ht...
11
diff --git a/src/cli/site/create.js b/src/cli/site/create.js @@ -27,8 +27,20 @@ const main = async function(args) { scheduleAnchor: interval } + const testProfiles = [ + { + name: 'Chrome Desktop', + connection: 'cable' + }, + { + name: 'MotoG4, 3G connection', + device: 'MotorolaMotoG4', + connection: 'regular3G' + } ...
12
diff --git a/src/components/fx/hover.js b/src/components/fx/hover.js @@ -2000,9 +2000,15 @@ function getCoord(axLetter, winningPoint, fullLayout) { var periodalignment = winningPoint.trace[axLetter + 'periodalignment']; if(periodalignment) { var d = winningPoint.cd[winningPoint.index]; + var start = d[axLetter + 'Start...
9
diff --git a/docs/reference.rst b/docs/reference.rst @@ -818,18 +818,22 @@ For example, the command below runs ``my_flow.tag`` without showing the web brow tagui my_flow.tag -headless -report + -deploy or -d ******************** Deploys a flow, creating a shortcut which can be double-clicked to run the flow. If the flo...
13
diff --git a/tests/phpunit/integration/Core/Util/REST_Entity_Search_ControllerTest.php b/tests/phpunit/integration/Core/Util/REST_Entity_Search_ControllerTest.php namespace Google\Site_Kit\Tests\Core\Util; use Google\Site_Kit\Context; -use Google\Site_Kit\Core\Dismissals\Dismissed_Items; -use Google\Site_Kit\Core\Dismi...
2
diff --git a/assets/js/modules/analytics/components/dashboard/DashboardAllTrafficWidget/UserDimensionsPieChart.js b/assets/js/modules/analytics/components/dashboard/DashboardAllTrafficWidget/UserDimensionsPieChart.js @@ -27,7 +27,6 @@ import classnames from 'classnames'; */ import { useCallback, useState } from '@wordp...
2
diff --git a/src/page/home/sidebar/ChatSwitcherView.js b/src/page/home/sidebar/ChatSwitcherView.js @@ -76,8 +76,8 @@ class ChatSwitcherView extends React.Component { this.handleKeyPress = this.handleKeyPress.bind(this); this.reset = this.reset.bind(this); - this.onUserSelected = this.onUserSelected.bind(this); - this.o...
10
diff --git a/spec/queries/carto/visualization_query_builder_spec.rb b/spec/queries/carto/visualization_query_builder_spec.rb @@ -539,7 +539,7 @@ describe Carto::VisualizationQueryBuilder do it 'returns the public maps of a user' do result = Carto::VisualizationQueryBuilder.user_public_privacy_visualizations(@user).buil...
3
diff --git a/packages/app/src/client/services/PageContainer.js b/packages/app/src/client/services/PageContainer.js @@ -47,8 +47,7 @@ export default class PageContainer extends Container { this.state = { // local page data - markdown: 'markdown test', // will be initialized after initStateMarkdown() - // markdown: null,...
13
diff --git a/client/components/boards/boardsList.styl b/client/components/boards/boardsList.styl @@ -44,6 +44,7 @@ $spaceBetweenTiles = 16px margin: ($spaceBetweenTiles/2) position: relative text-decoration: none + word-wrap: break-word &.tile background-size: auto
11
diff --git a/templates/customdashboard/publicdashboard/program_dashboard.html b/templates/customdashboard/publicdashboard/program_dashboard.html <!--- Hosted Leaflet CSS --> <script src="{{ STATIC_URL }}js/Chart.HorizontalBar.js"></script> +<script> + $(document).ready(() => { + $('#summaryTable').dataTable() + }) +</s...
3
diff --git a/website/src/docs/server.md b/website/src/docs/server.md @@ -18,6 +18,7 @@ As of now uppy-server is integrated to work with: - Google Drive - Dropbox - Instagram +- Remote Urls - Amazon S3 - Local disk
0
diff --git a/world.js b/world.js @@ -16,6 +16,7 @@ import {scene, postScene, sceneHighPriority, sceneLowPriority} from './renderer. import metaversefileApi from 'metaversefile'; import {worldMapName, appsMapName, playersMapName} from './constants.js'; import {playersManager} from './players-manager.js'; +import * as me...
0
diff --git a/src/utils/innerSliderUtils.js b/src/utils/innerSliderUtils.js @@ -339,7 +339,9 @@ export const swipeMove = (e, spec) => { trackStyle: getTrackCSS({...spec, left: swipeLeft}) } if (Math.abs(touchObject.curX - touchObject.startX) < - Math.abs(touchObject.curY - touchObject.startY) * 0.8) return + Math.abs(to...
1
diff --git a/elements/code-editor/lib/monaco-element/monaco-element.js b/elements/code-editor/lib/monaco-element/monaco-element.js @@ -331,7 +331,7 @@ class MonacoElement extends LitElement { }, }); } - if (this.autofocus) this.iframe.focus(); + if (this.autofocus && this.iframe) this.iframe.focus(); } handleMessage(me...
1
diff --git a/resources/prosody-plugins/token/util.lib.lua b/resources/prosody-plugins/token/util.lib.lua @@ -304,6 +304,9 @@ function Util:process_and_verify_token(session, acceptedIssuers) -- Binds any features details to the session session.jitsi_meet_context_features = claims["context"]["features"]; end + if claims[...
11
diff --git a/token-metadata/0xFAb5a05C933f1A2463E334E011992E897D56eF0a/metadata.json b/token-metadata/0xFAb5a05C933f1A2463E334E011992E897D56eF0a/metadata.json "symbol": "DOTX", "address": "0xFAb5a05C933f1A2463E334E011992E897D56eF0a", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED"...
3
diff --git a/src/encoded/schemas/donor.json b/src/encoded/schemas/donor.json "title": "External id", "description": "External identifier that uniquely identifiers the donor.", "type": "string", - "pattern": "^(BDSC:\\d+)$|^(NICHD:\\d+)$|^(CGC:\\d+)$|^(PGP:[a-z0-9]+)$|^(Promocell:\\d+)$|^(Biochain:\\d+)$|^(DSSC:\\d+)$|^...
3
diff --git a/src/pages/Regional/Regional.js b/src/pages/Regional/Regional.js @@ -17,7 +17,7 @@ import isIE from 'isIE'; import type { Props } from './Regional.types'; import * as Styles from './Regional.styles'; -import {ChartTable} from "components/AltChartTable/ChartTable"; +import ChartTable from "components/ChartTa...
10
diff --git a/lib/plugins/platform/platform.js b/lib/plugins/platform/platform.js @@ -6,10 +6,15 @@ const gql = require('graphql-tag'); const jwtDecode = require('jwt-decode'); const fsExtra = require('../../utils/fs/fse'); // const userStats = require('../../utils/userStats'); +const fetch = require('node-fetch'); cons...
12
diff --git a/assets/src/dashboard/components/popoverPanel/index.js b/assets/src/dashboard/components/popoverPanel/index.js @@ -45,7 +45,7 @@ export const Panel = styled.div` transform: ${({ isOpen }) => isOpen ? 'translate3d(0, 0, 0)' : 'translate3d(0, -1rem, 0)'}; z-index: ${Z_INDEX.POPOVER_PANEL}; - max-width: ${({ t...
12
diff --git a/Code_Of_Conduct.md b/Code_Of_Conduct.md @@ -63,7 +63,7 @@ Project administrators will follow these Community Impact Guidelines in determin **Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the...
14
diff --git a/components/ProductGrid/ProductGrid.js b/components/ProductGrid/ProductGrid.js @@ -53,9 +53,6 @@ class ProductGrid extends Component { ); } - // @trackProductClicked() - onItemClick = (event, product) => {} // eslint-disable-line no-unused-vars - renderMainArea() { const { catalogItems, isLoadingCatalogItem...
2
diff --git a/src/io_frida.c b/src/io_frida.c @@ -486,7 +486,11 @@ static bool resolve_device(FridaDeviceManager *manager, const char *device_id, F GError *error = NULL; if (device_id != NULL) { + if (!strcmp (device_id, "localhost") || !strcmp (device_id, "127.0.0.1")) { + *device = frida_device_manager_add_remote_devi...
9
diff --git a/test/image/strict-d3.js b/test/image/strict-d3.js @@ -32,10 +32,10 @@ selProto.style = function() { if(sel.size()) { if(typeof obj === 'string') { - if(arguments.length === 1) { + if(arguments.length === 1 && !d3.event) { throw new Error('d3 selection.style called as getter: ' + - 'disallowed as it can fai...
11
diff --git a/src/web/containers/Workspace/Widget.jsx b/src/web/containers/Workspace/Widget.jsx @@ -48,6 +48,10 @@ class WidgetWrapper extends PureComponent { const name = widgetId.split(':')[0]; const Widget = getWidgetByName(name); + if (!Widget) { + return null; + } + return ( <Widget {...this.props}
1
diff --git a/src/components/MapTable/MapTable.js b/src/components/MapTable/MapTable.js @@ -84,13 +84,14 @@ export class MapTable extends Component<MapTableProps, {}> { geoData, loading } = this.state, - { children, location, isMobile = false } = this.props, - hash = location.hash !== "" - ? location.hash + { children, ...
7
diff --git a/examples/inventory.js b/examples/inventory.js @@ -77,25 +77,23 @@ function sayItems (items = null) { } } -function tossItem (name, amount) { +async function tossItem (name, amount) { amount = parseInt(amount, 10) const item = itemByName(name) if (!item) { bot.chat(`I have no ${name}`) - } else if (amount) ...
2
diff --git a/Makefile b/Makefile @@ -149,8 +149,8 @@ C_HEADER_FILENAME_EXT ?= h CSL_FILENAME_EXT ?= csl CSS_FILENAME_EXT ?= css CSV_FILENAME_EXT ?= csv -CXX_FILENAME_EXT ?= cpp -CXX_HEADER_FILENAME_EXT ?= hpp +CPP_FILENAME_EXT ?= cpp +CPP_HEADER_FILENAME_EXT ?= hpp FORTRAN_FILENAME_EXT ?= f GYP_FILENAME_EXT ?= gyp GYPI...
10
diff --git a/runtime/manual/driver.js b/runtime/manual/driver.js @@ -606,7 +606,7 @@ ManualDriver.prototype._onG2Status = function (status) { }.bind(this) ); } - break; + // Fall through is intended here, do not add a break case this.driver.STAT_END: case this.driver.STAT_HOLDING: // Handle nudges once we've come to a ...
2
diff --git a/src/components/auth/torus/AuthTorus.js b/src/components/auth/torus/AuthTorus.js @@ -36,7 +36,6 @@ import DeepLinking from '../../../lib/utils/deepLinking' import { GoodWalletContext } from '../../../lib/wallet/GoodWalletProvider' import { GlobalTogglesContext } from '../../../lib/contexts/togglesContext' i...
2
diff --git a/packages/slackbot-proxy/src/controllers/growi-to-slack.ts b/packages/slackbot-proxy/src/controllers/growi-to-slack.ts @@ -196,6 +196,8 @@ export class GrowiToSlackCtrl { try { const opt = req.body as WebAPICallOptions; opt.headers = req.headers; + opt.private_metadata = { growiUri: relation.growiUri }; + a...
12
diff --git a/src/inner-slider.js b/src/inner-slider.js @@ -114,12 +114,7 @@ export var InnerSlider = createReactClass({ }) }, componentDidUpdate: function () { - let images = document.querySelectorAll('.slick-slide img') - images.forEach(image => { - if (!image.onload) { - image.onload = () => setTimeout(() => this.upd...
0
diff --git a/src/graphql.tsx b/src/graphql.tsx @@ -662,13 +662,6 @@ class ObservableQueryRecycler { const { observableQuery, subscription } = this.observableQueries.pop(); subscription.unsubscribe(); - // Strip away options set when `ObservableQuery` was recycled. - const { fetchPolicy, pollInterval, ...rest } = observ...
12
diff --git a/books/admin.py b/books/admin.py @@ -15,6 +15,7 @@ class BookCopyInline(admin.TabularInline): class LibraryAdmin(admin.ModelAdmin): inlines = [BookCopyInline] list_display = ['name'] + search_fields = ['name'] class BookAdmin(admin.ModelAdmin): @@ -27,8 +28,8 @@ class BookAdmin(admin.ModelAdmin): class Book...
0
diff --git a/scripts/upgrade.js b/scripts/upgrade.js @@ -20,8 +20,11 @@ fs.readdirSync(pkgsPath, "utf8").forEach(function (folder) { if (fs.statSync(folderPath).isDirectory() === false) { return null; } - //Read the package.json file let localPath = path.join(folderPath, "package.json"); + //Check for no package.json o...
1
diff --git a/src/core/lib/DisassembleX86-64.js b/src/core/lib/DisassembleX86-64.js @@ -1443,8 +1443,8 @@ const Operands = [ ------------------------------------------------------------------------------------------------------------------------*/ "10000004","10000004","10000004","10000004", "16000C00","170E0C00","0C001...
3
diff --git a/_data/conferences.yml b/_data/conferences.yml --- - title: ICML + hindex: 135 year: 2021 id: icml21 link: https://icml.cc/Conferences/2021 place: Oregon State University at Corvallis, Oregon sub: RO -- title: ICML - hindex: 135 - year: 2020 - id: icml20 - link: https://icml.cc/Conferences/2020 - deadline: ...
2
diff --git a/package.json b/package.json "build:server": "cross-env NODE_ENV=production webpack -p --config ./webpack/webpack.server.config.js", "build:client": "npm run cleanup-public && mkdir -p public && cp -r ./assets/* ./public/ && webpack -p --config ./webpack/webpack.prod.config.js", "build": "cross-env NODE_ENV...
2
diff --git a/core/block_dragger.js b/core/block_dragger.js @@ -304,14 +304,13 @@ Blockly.BlockDragger.prototype.endBlockDrag = function(e, currentDragDeltaXY) { this.draggingBlock_.setDragging(false); this.fireMoveEvent_(); this.transferAndConnect_(); + this.draggingBlock_.scheduleSnapAndBump(); } else { // TODO(haruka...
1
diff --git a/src/components/profile/Profile.js b/src/components/profile/Profile.js @@ -151,9 +151,9 @@ export function Profile({ match }) { return ( <StyledContainer> - {isOwner && profileBalance && profileBalance.lockupIdExists && !new BN(profileBalance.lockupBalance.availableToTransfer).isZero() && + {isOwner && prof...
3
diff --git a/src/containers/blocks.jsx b/src/containers/blocks.jsx @@ -225,7 +225,8 @@ Blocks.propTypes = { insertionMarkerOpacity: PropTypes.number, fieldShadow: PropTypes.string, dragShadowOpacity: PropTypes.number - }) + }), + comments: PropTypes.bool }), vm: PropTypes.instanceOf(VM).isRequired }; @@ -252,7 +253,8 @...
4
diff --git a/client/components/cards/cardCustomFields.js b/client/components/cards/cardCustomFields.js @@ -287,7 +287,12 @@ CardCustomField.register('cardCustomField'); let items = this.getItems(); items.splice(idx + 1, 0, ''); this.stringtemplateItems.set(items); - //event.target.nextSibling.focus(); + + Tracker.after...
4
diff --git a/admin-base/materialize/custom/_vue-form-generator.scss b/admin-base/materialize/custom/_vue-form-generator.scss } .form-group { position: relative; - padding: 1.5rem 0; - border-top: 1px solid #fff; - border-bottom: 1px solid color("blue-grey", "lighten-4"); + padding: 0.75rem 0; &.required { > label:after...
7
diff --git a/packages/openneuro-app/src/scripts/uploader/uploader.jsx b/packages/openneuro-app/src/scripts/uploader/uploader.jsx @@ -100,7 +100,7 @@ class UploadClient extends React.Component { {}, ) for (const newFile of files) { - const newFilePath = newFile.webkitRelativePath.split('/')[1] + const newFilePath = newF...
1
diff --git a/src/pages/home/report/ReportActionItem.js b/src/pages/home/report/ReportActionItem.js @@ -198,6 +198,7 @@ class ReportActionItem extends Component { } return ( <PressableWithSecondaryInteraction + pointerEvents={this.props.action.pendingAction === CONST.RED_BRICK_ROAD_PENDING_ACTION.DELETE ? 'none' : 'auto...
12
diff --git a/contracts/Proxy.sol b/contracts/Proxy.sol @@ -42,7 +42,7 @@ import "contracts/Proxyable.sol"; contract Proxy is Owned { Proxyable public target; - event TargetUpdated(Proxyable _new_address); + event TargetUpdated(Proxyable newTarget); modifier onlyTarget() { require(Proxyable(msg.sender) == target,
10
diff --git a/voice-pack-voicer.js b/voice-pack-voicer.js @@ -93,6 +93,10 @@ class VoicePackVoicer { this.startTime = -1; this.charactersSinceStart = 0; } + preloadMessage(text) { + // voice pack does not need loading + return text; + } start(text) { this.clearTimeouts();
0
diff --git a/modules/glimpseBidAdapter.js b/modules/glimpseBidAdapter.js @@ -142,11 +142,12 @@ function getGdprConsentChoice(bidderRequest) { if (hasGdprConsent) { const gdprConsent = bidderRequest.gdprConsent + const hasGdprApplies = hasBooleanValue(gdprConsent.gdprApplies) return { consentString: gdprConsent.consentS...
9
diff --git a/src/js/components/InfiniteScroll/__tests__/InfiniteScroll-test.js b/src/js/components/InfiniteScroll/__tests__/InfiniteScroll-test.js import React from 'react'; -import { render } from '@testing-library/react'; +import { render, act } from '@testing-library/react'; import 'jest-styled-components'; import {...
1
diff --git a/package.json b/package.json { "name": "prettier-atom", "main": "./dist/main.js", - "version": "0.47.0", + "version": "0.47.1", "description": "Atom plugin for formatting JavaScript using prettier with (optional) prettier-eslint integration", "keywords": [ "atom",
6
diff --git a/packages/bitcore-wallet-client/README.md b/packages/bitcore-wallet-client/README.md @@ -36,19 +36,18 @@ Create two files `irene.js` and `tomas.js` with the content below: #### irene.js ```javascript -var Client = require('bitcore-wallet-client'); +var Client = require('bitcore-wallet-client/index').default...
3
diff --git a/vis/js/io.js b/vis/js/io.js @@ -280,7 +280,7 @@ IO.prototype = { } else if(config.service === "base") { d.oa = (d.oa_state === 1 || d.oa_state === "1")?(true):(false); d.oa_link = d.link; - } else if(config.service = "openaire") { + } else if(config.service === "openaire") { d.oa = (d.oa_state === 1 || d.o...
1
diff --git a/util.js b/util.js @@ -720,6 +720,10 @@ export function copyPQS(dst, src) { dst.scale.copy(src.scale); } +export async function loadJson(u) { + const res = await fetch(u); + return await res.json(); +} export async function loadAudio(u) { const audio = new Audio(); const p = new Promise((accept, reject) => ...
0
diff --git a/public/assets/js/validationFunctions.js b/public/assets/js/validationFunctions.js // validation function which checks the proposed file's type, size, and name -var validationFunctions = { +const validationFunctions = { validateFile: function (file) { if (!file) { console.log('no file found');
1
diff --git a/js/feature/mergedTrack.js b/js/feature/mergedTrack.js @@ -28,6 +28,7 @@ import TrackBase from "../trackBase.js"; import {inferTrackType} from "../util/trackUtils.js"; class MergedTrack extends TrackBase { + constructor(config, browser) { super(config, browser); } @@ -40,10 +41,26 @@ class MergedTrack exten...
1
diff --git a/articles/connections/database/password-options.md b/articles/connections/database/password-options.md @@ -27,7 +27,7 @@ Note that upon enabling this option, only password changes going forward will be ## Password Dictionary -The Password Dictionary option, when enabled, allows the use of a password diction...
3
diff --git a/source/shaders/ibl_filtering.frag b/source/shaders/ibl_filtering.frag @@ -135,8 +135,8 @@ MicrofacetDistributionSample GGX(vec2 xi, float roughness) // evaluate sampling equations float alpha = roughness * roughness; - ggx.cosTheta = sqrt(1.0 - alpha * alpha * xi.y / (1.0 - xi.y)); - ggx.sinTheta = alpha *...
4
diff --git a/includes/Core/Authentication/Clients/OAuth_Client.php b/includes/Core/Authentication/Clients/OAuth_Client.php @@ -669,7 +669,6 @@ final class OAuth_Client { */ public function get_proxy_setup_url( $access_code = '', $error_code = '' ) { $query_params = array( - 'version' => GOOGLESITEKIT_VERSION, 'scope' =...
2
diff --git a/articles/design/browser-based-vs-native-experience-on-mobile.md b/articles/design/browser-based-vs-native-experience-on-mobile.md @@ -58,6 +58,10 @@ However, it's worth noting that the number of times a user logs in with the mobi As explained in the [RFC 8252 OAuth 2.0 for Native Apps](https://tools.ietf.o...
0
diff --git a/website/src/_posts/2019-04-liftoff-08.md b/website/src/_posts/2019-04-liftoff-08.md @@ -33,6 +33,8 @@ After:<br /> - We are currently investigating an issue with `tuts-js-client` which affects uploads where the file size is larger than 500MB as reported in this [issue](https://github.com/tus/tus-js-client/...
0