code
stringlengths
122
4.99k
label
int64
0
14
diff --git a/articles/managing-heap/index.md b/articles/managing-heap/index.md @@ -14,7 +14,7 @@ images: - url: /engineering-education/managing-heap/hero.jpg alt: memory drive image example --- -Memory management is very important. In Google Chrome, [70% of security bugs are memory problems](https://zdnet.com/article/c...
1
diff --git a/index.d.ts b/index.d.ts @@ -32,7 +32,7 @@ declare namespace Moleculer { trace(...args: any[]): void; } - type ActionHandler<T = any> = ((ctx: Context) => PromiseLike<T> | T) & ThisType<Service>; + type ActionHandler<T = any> = ((ctx: Context<any, any>) => PromiseLike<T> | T) & ThisType<Service>; type Actio...
3
diff --git a/selenium-test/ratings.js b/selenium-test/ratings.js @@ -103,8 +103,6 @@ exports.testUrls = async function(urlArray) { let jsonText = await _testUrl(url); log( jsonText ); let jsonData = JSON.parse(jsonText); - log( jsonData ); - log( jsonData[0] ); jsonArray.push(jsonData[0]); }
2
diff --git a/src/templates/actors/drone-sheet.hbs b/src/templates/actors/drone-sheet.hbs <ul class="attributes flexcol"> <li class="attribute-row flexrow"> <h4 class="defense-name">{{ localize "SFRPG.EnergyArmorClass" }}</h4> - <span>{{numberFormat system.attributes.eac.value decimals=0 sign=true}}</span> + <span>{{num...
2
diff --git a/packages/http-cors/__tests__/index.js b/packages/http-cors/__tests__/index.js @@ -300,8 +300,8 @@ test('It should not override already declared Access-Control-Allow-Credentials h // other middleware that puts the cors header .use({ after: (request) => { - request.response = request.response ?? {} - request...
1
diff --git a/packages/nova-embedly/lib/server/get_embedly_data.js b/packages/nova-embedly/lib/server/get_embedly_data.js @@ -5,8 +5,9 @@ function getEmbedlyData(url) { var data = {}; var extractBase = 'http://api.embed.ly/1/extract'; var embedlyKey = getSetting('embedlyKey'); + // 200 x 200 is the minimum size accepted...
12
diff --git a/test/server/cards/04.5-AaN/GameOfSadane.spec.js b/test/server/cards/04.5-AaN/GameOfSadane.spec.js describe('Game Of Sadane', function() { integration(function () { - fdescribe('when a character leaves play during the duel', function () { + describe('when a character leaves play during the duel', function (...
2
diff --git a/src/font/text.js b/src/font/text.js * @param {String} [settings.textAlign="left"] horizontal text alignment * @param {String} [settings.textBaseline="top"] the text baseline * @param {Number} [settings.lineHeight=1.0] line spacing height - * @param {Number} [settings.z] [z] position order in the parent con...
1
diff --git a/src/article/editor/DownloadSupplementaryFileTool.js b/src/article/editor/DownloadSupplementaryFileTool.js @@ -5,11 +5,26 @@ export default class DownloadSupplementaryFileTool extends Tool { render ($$) { let el = super.render($$) let link = $$('a').ref('link') - // Downloads a non-remote urls - .attr('down...
7
diff --git a/content/articles/integrating-django-with-tinymce/index.md b/content/articles/integrating-django-with-tinymce/index.md @@ -274,7 +274,7 @@ I added the title, changed the text color, wrote some text, clicked the `insert/ This is how my [homepage](http://127.0.0.1:8000/) looks like now: -![homepage](/engineer...
1
diff --git a/assets/js/googlesitekit/widgets/components/WidgetAreaRenderer.js b/assets/js/googlesitekit/widgets/components/WidgetAreaRenderer.js import classnames from 'classnames'; import PropTypes from 'prop-types'; -/** - * WordPress dependencies - */ -import { useMemo } from '@wordpress/element'; - /** * Internal d...
2
diff --git a/test/routes/v2-info.test.js b/test/routes/v2-info.test.js @@ -12,8 +12,8 @@ beforeAll((done) => { // Company Info V2 //------------------------------------------------------------ -test('It should return company info', () => { - return request(app).get('/v2/info').then((response) => { +test('It should retu...
3
diff --git a/lib/modules/apostrophe-pieces/public/js/editor-modal.js b/lib/modules/apostrophe-pieces/public/js/editor-modal.js @@ -221,9 +221,8 @@ apos.define('apostrophe-pieces-editor-modal', { return next(null); } - // Redirect to list view if we don't have a manager modal - // (because then we are editing multiple p...
7
diff --git a/src/components/Toast.js b/src/components/Toast.js import React from 'react'; import PropTypes from 'prop-types'; -import {Toast, ToastBody, ToastHeader} from 'reactstrap'; +import {Toast as RSToast, ToastBody, ToastHeader} from 'reactstrap'; -class ToastSimple extends React.Component { +class Toast extends...
11
diff --git a/src/matrix/net/HomeServerApi.ts b/src/matrix/net/HomeServerApi.ts @@ -165,19 +165,20 @@ export class HomeServerApi { return this._unauthedRequest("GET", this._url("/login")); } - register(username: string, password: string, initialDeviceDisplayName: string, auth?: Record<string, any>, inhibitLogin?: boolea...
11
diff --git a/Source/Scene/Cesium3DTileset.js b/Source/Scene/Cesium3DTileset.js @@ -218,7 +218,7 @@ define([ this._initialClippingPlanesOriginMatrix = Matrix4.IDENTITY; // Computed from the tileset JSON. this._clippingPlanesOriginMatrix = undefined; // Combines the above with any run-time transforms. - this._recomputeCl...
10
diff --git a/assets/src/edit-story/components/sidebar/provider.js b/assets/src/edit-story/components/sidebar/provider.js @@ -25,30 +25,20 @@ import { useState, useCallback, useRef } from 'react'; * Internal dependencies */ import ColorPicker from '../../components/colorPicker'; -import { - LIBRARY_MIN_WIDTH, - LIBRARY_...
4
diff --git a/src/widgets/popover/Popover.js b/src/widgets/popover/Popover.js @@ -20,7 +20,10 @@ const initialState = { * body and I can even use <Link to="/">react components</Link> inside it</p> * } * className="CustomClassname" // default will be .BusyPopover - * /> + * appearOn="bottom-left" // default bottom. avail...
3
diff --git a/src/components/permissions/hooks/usePermissions.js b/src/components/permissions/hooks/usePermissions.js @@ -89,22 +89,24 @@ const usePermissions = (permission: Permission, options = {}) => { const handlePrompt = useCallback( options => { - const { promptPopup } = options || {} - const PopupComponent = prom...
0
diff --git a/suneditor/js/suneditor.js b/suneditor/js/suneditor.js */ if(typeof window.SUNEDITOR === 'undefined') {window.SUNEDITOR = {}; SUNEDITOR.plugin = {};} -/** default language (english) */ +/** + * @description default language (english) + */ SUNEDITOR.defaultLang = { toolbar : { fontFamily : 'Font', @@ -79,7 +...
3
diff --git a/src/extensions/renderer/base/coord-ele-math/edge-control-points.js b/src/extensions/renderer/base/coord-ele-math/edge-control-points.js @@ -284,14 +284,16 @@ BRp.findTaxiPoints = function( edge, pairInfo ){ const dx = subDWH(pdx, dw); const dy = subDWH(pdy, dh); + let isExplicitDir = false; + if( taxiDir =...
7
diff --git a/src/main/resources/public/js/src/analytics/AnalyticsGA.js b/src/main/resources/public/js/src/analytics/AnalyticsGA.js @@ -49,7 +49,7 @@ define(function (require) { if (services && services.API && services.API.extensions && services.API.extensions.instanceId) { instanceId = services.API.extensions.instanceI...
12
diff --git a/server/views/user.py b/server/views/user.py @@ -53,7 +53,9 @@ def permissions_for_user(): @api_error_handler def signup(): logger.debug("reg request from %s", request.form['email']) - subscribe_to_newsletter = 1 if request.form['subscribeToNewsletter'] == 'true' else 0 + subscribe_to_newsletter = 0 + if ('...
9
diff --git a/data.js b/data.js @@ -5251,6 +5251,14 @@ module.exports = [ url: "https://github.com/branneman/TinyAnimate", source: "https://raw.githubusercontent.com/branneman/TinyAnimate/master/src/TinyAnimate.js" }, + { + name: "ns.js", + github: "Soldier-B/ns.js", + tags: ["namespace","module","scope","simple","name"...
0
diff --git a/CHANGELOG.md b/CHANGELOG.md ## 7.0.1 (unreleased) -### Breaking - -### Feature - ### Bugfix -### Internal - -- Adding absolute url in ObjectBrowser for image type +- Adding absolute url in ObjectBrowser for image type @iFlameing ## 7.0.0 (2020-07-06)
6
diff --git a/src/material.js b/src/material.js @@ -348,13 +348,13 @@ class gltfMaterial extends GltfObject { specularFactor = this.extensions.KHR_materials_specular.specularFactor; } - if (this.MetallicRoughnessSpecularTexture !== undefined) + if (this.metallicRoughnessSpecularTexture !== undefined) { - this.MetallicRo...
12
diff --git a/docs/content/docs/themes.md b/docs/content/docs/themes.md @@ -51,7 +51,7 @@ You can [download][bootstrap-download] a stylesheet and serve it locally if you There are numerous free to use Bootstrap stylesheets available on the web. The `dash_bootstrap_components.themes` module contains CDN links for Bootstr...
1
diff --git a/apps/heatmap/init.js b/apps/heatmap/init.js @@ -261,20 +261,20 @@ function initUIcomponents(){ // free draw { //icon:'linear_scale', - value:10, - title:'10x', + value:0.5, + title:'0.5', checked:true }, // rectangle fraw { //icon:'timeline', - value:20, - title:'20x' + value:1, + title:'1.0' }, { //icon:'...
1
diff --git a/src/components/auth/torus/sdk/strategies.js b/src/components/auth/torus/sdk/strategies.js import { Platform } from 'react-native' import { replace } from 'lodash' -import { isIOSNative } from '../../../../lib/utils/platform' -const IosMobileLoginConfig = { - jwtParams: { - prompt: isIOSNative ? 'login' : u...
0
diff --git a/404.js b/404.js @@ -161,6 +161,7 @@ const _setUrl = async u => { <img src="https://preview.exokit.org/[https://raw.githubusercontent.com/avaer/vrm-samples/master/vroid/male.vrm]/preview.png" class="avatar"> <div class=detail-1>${username}</div> <div class=detail-2>${myAddress}</div> + <div class=detail-3>$...
0
diff --git a/edit.js b/edit.js @@ -1990,6 +1990,42 @@ const cometFireMesh = (() => { scene.add(cometFireMesh); const hpMesh = (() => { + const mesh = new THREE.Object3D(); + + let hp = 37; + let animation = null; + mesh.damage = dmg => { + hp -= dmg; + hp = Math.max(hp, 0); + textMesh.text = _getText(); + textMesh.sync...
0
diff --git a/src/views/user/components/communityList.js b/src/views/user/components/communityList.js @@ -4,12 +4,12 @@ import Link from 'src/components/link'; import { connect } from 'react-redux'; import { withRouter } from 'react-router'; import compose from 'recompose/compose'; -import { CommunityListItem } from '.....
1
diff --git a/src/common/sockets/protocol/extend-socket/Node-Protocol.js b/src/common/sockets/protocol/extend-socket/Node-Protocol.js @@ -186,7 +186,7 @@ class NodeProtocol { this.node.sendRequest("head/new-block", { l: Blockchain.blockchain.blocks.length, - h: Blockchain.blockchain.blocks.last.chainHash, + h: Blockchai...
14
diff --git a/src/platform/web/ui/session/room/RoomView.js b/src/platform/web/ui/session/room/RoomView.js @@ -68,10 +68,10 @@ export class RoomView extends TemplateView { const vm = this.value; const options = []; if (vm.canLeave) { - options.push(Menu.option(vm.i18n`Leave room`, () => vm.leaveRoom())); + options.push(M...
12
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md @@ -220,13 +220,12 @@ This will produce the following plot, and say you want to simulate a selection p - Distributed files are in `dist/` - CommonJS require-able modules are in `lib/` -- Sources files are in `src/`, including the index +- Sources files are in `src/` - Buil...
3
diff --git a/components/mapbox/ban-map/index.js b/components/mapbox/ban-map/index.js @@ -136,23 +136,19 @@ function BanMap({map, isSourceLoaded, popup, address, setSources, setLayers, onS } }, [map, address]) - const editPaintProperties = useCallback(() => { - const layerPaint = isSourcesLegendActive ? sourcesLayerPain...
2
diff --git a/src/spatial/platform.js b/src/spatial/platform.js @@ -239,6 +239,9 @@ Crafty.c("GroundAttacher", { * * Additionally, this component provides the entity with `Supportable` and `Motion` methods & events. * + * Simulates jumping and falling when used with the `Twoway` component and is thus well suited for sid...
7
diff --git a/lib/node_modules/@stdlib/_tools/scripts/publish_packages.js b/lib/node_modules/@stdlib/_tools/scripts/publish_packages.js @@ -48,7 +48,7 @@ var ENV = require( '@stdlib/process/env' ); var debug = logger( 'scripts:publish-packages' ); -var LAST_PKG_INDEX = 9; +var LAST_PKG_INDEX = 12; var INSTALLATION_SECTI...
12
diff --git a/ui/src/components/common/Date.jsx b/ui/src/components/common/Date.jsx -import React, { PureComponent } from 'react'; -import { min } from 'lodash'; -import { FormattedDate, FormattedTime } from 'react-intl'; +import React from 'react'; +import { Date } from '@alephdata/vislib'; +import { connect } from 're...
14
diff --git a/src/modules/dex/directives/dexWatchlist/DexWatchlist.html b/src/modules/dex/directives/dexWatchlist/DexWatchlist.html <w-input placeholder="directives.watchlist.placeholders.coin" ng-model="$ctrl.search" - ng-focus="$ctrl.focused = true" - ng-blur="$ctrl.focused = false" w-i18n-attr="placeholder"></w-input...
5
diff --git a/src/lib/reduxHelpers.js b/src/lib/reduxHelpers.js @@ -254,14 +254,22 @@ export function createIndexedAsyncReducer(handlers) { handleSuccess: (payload, state, args) => { const { uid } = args[0]; // const { uid } = meta; - const updatedResults = [...state.results]; const updatedFetchStatuses = { ...state.fet...
14
diff --git a/assets/src/edit-story/components/panels/captions/captions.js b/assets/src/edit-story/components/panels/captions/captions.js @@ -36,7 +36,25 @@ import { getCommonValue } from '../utils'; import { useConfig } from '../../../app'; import { useMediaPicker } from '../../mediaPicker'; -const Section = styled.div...
7
diff --git a/src/base/README.md b/src/base/README.md @@ -54,7 +54,7 @@ See [site-config](global-config/README.md) ### `this.netlify` -An instance of the [`netlify`]('../utils/api/README.md') api client. +An instance of the [`netlify`](../utils/api/README.md) api client. #### `this.authenticate()`
2
diff --git a/services/flow-repository/test/test.js b/services/flow-repository/test/test.js @@ -270,9 +270,12 @@ describe('Flow Validation', () => { }); expect(res.status).toEqual(400); expect(res.body.errors).toHaveLength(3); - expect(res.body.errors).toContainEqual({ code: 400, message: 'Cast to ObjectID failed for va...
4
diff --git a/src/pages/home/report/ReportActionCompose.js b/src/pages/home/report/ReportActionCompose.js @@ -4,6 +4,7 @@ import { View, TouchableOpacity, InteractionManager, + Platform, } from 'react-native'; import _ from 'underscore'; import lodashGet from 'lodash/get'; @@ -135,12 +136,15 @@ class ReportActionCompose...
12
diff --git a/lib/assets/test/spec/builder/components/form-components/editors/fill-color/inputs/input-color-fixed.spec.js b/lib/assets/test/spec/builder/components/form-components/editors/fill-color/inputs/input-color-fixed.spec.js @@ -9,7 +9,7 @@ describe('components/form-components/editors/fill-color/inputs/input-colo...
1
diff --git a/components/welcome-mat/tile.jsx b/components/welcome-mat/tile.jsx @@ -60,7 +60,7 @@ const defaultProps = { /** * Tile component item represents a tile in a Welcome Mat */ -class Tile extends React.Component { +class WelcomeMatTile extends React.Component { componentWillMount() { this.generatedId = shortid....
10
diff --git a/test/layer/GroupTileLayerSpec.js b/test/layer/GroupTileLayerSpec.js @@ -162,14 +162,12 @@ describe('GroupTileLayer', function () { }); it('update child layer tile config if map\'s spatial reference changed', function () { - var group = new maptalks.GroupTileLayer('group', [ - new maptalks.TileLayer('tile1'...
3
diff --git a/README.md b/README.md @@ -54,8 +54,8 @@ npm install jquery.tabulator --save ### CDNJS To access Tabulator directly from the CDNJS CDN servers, include the following two lines at the start of your project, instead of the localy hosted versions: ```html -<link href="https://cdnjs.cloudflare.com/ajax/libs/tab...
3
diff --git a/package.json b/package.json "protobufjs": "=5.0.1" }, "devDependencies": { - "bitcore-build": "https://github.com/matiu/bitcore-build.git#ref/phantom2", + "bitcore-build": "https://github.com/bitpay/bitcore-build.git#d4e8b2b2f1e2c065c3a807dcb6a6250f61d67ab3", "brfs": "^1.2.0", "chai": "~1.10.0", "gulp": "^...
3
diff --git a/closure/goog/memoize/memoize.js b/closure/goog/memoize/memoize.js @@ -91,8 +91,8 @@ goog.memoize.CACHE_PROPERTY_ = 'closure_memoize_cache_'; * @param {number} functionUid Unique identifier of the function whose result * is cached. * @param {?{length:number}} args The arguments that the function to memoize ...
1
diff --git a/app/webpack/observations/uploader/models/obs_card.js b/app/webpack/observations/uploader/models/obs_card.js @@ -143,13 +143,20 @@ const ObsCard = class ObsCard { const err = util.errorJSON( e.message ); if ( err && err.errors && err.errors[0] ) { errors = err.errors[0]; + } + if ( errors ) { + dispatch( ac...
9
diff --git a/webpack.config.js b/webpack.config.js @@ -52,9 +52,6 @@ const common = { 'chart': 'Chart' }, plugins: [ - new webpack.ProvidePlugin({ - process: 'process/browser', - }), new MiniCssExtractPlugin({ // Options similar to the same options in webpackOptions.output // all options are optional
2
diff --git a/src/se.js b/src/se.js const { me } = se; const model = me.getModel(); if (!se.promptType) return; - const ls = Object.keys(se.dirty).map(l => +l); + const ls = Object.keys(se.dirty) + .map(l => +l) + .filter(l => !/^\s*$/.test(model.getLineContent(l))); if (ls.length) { ls.sort((x, y) => x - y); const max ...
8
diff --git a/modules/experimental-layers/src/tile-layer/tile-layer.js b/modules/experimental-layers/src/tile-layer/tile-layer.js @@ -84,14 +84,14 @@ export default class TileLayer extends CompositeLayer { renderLayers() { // eslint-disable-next-line no-unused-vars - const {getTileData, renderSubLayers, ...geoProps} = t...
1
diff --git a/js/okex.js b/js/okex.js @@ -1636,8 +1636,7 @@ module.exports = class okex extends Exchange { let cost = undefined; // spot market buy: "sz" can refer either to base currency units or to quote currency units // see documentation: https://www.okex.com/docs-v5/en/#rest-api-trade-place-order - const defaultTgt...
1
diff --git a/src/components/Modeler.vue b/src/components/Modeler.vue @@ -75,6 +75,7 @@ import { id as poolId } from './nodes/pool'; import { id as laneId } from './nodes/poolLane'; import { id as sequenceFlowId } from './nodes/sequenceFlow'; import { id as associationId } from './nodes/association'; +import { id as mes...
11
diff --git a/magda-dap-connector/src/Dap.ts b/magda-dap-connector/src/Dap.ts @@ -287,6 +287,14 @@ export default class Dap implements ConnectorSource { reject2(error); return; } + if (detail.access) { + // --- added access info to description + // --- so that we know why the dataset has no distribution + // --- and whe...
9
diff --git a/.circleci/config.yml b/.circleci/config.yml @@ -105,7 +105,7 @@ jobs: name: download google fonts e.g. GravitasOne, NotoSansMono, NotoSans, NotoSerif, Old_Standard_TT, PT_Sans_Narrow, Raleway and Roboto command: python3 ./.circleci/download_google_fonts.py - run: - name: install download and other google f...
3
diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md @@ -122,6 +122,9 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to contribute to Cesiu * [Daniel Cooper](https://github.com/moodragon46) * [GeoFS](https://www.geo-fs.com) * [Xavier Tassin](https://github.com/xtassin/) +* [Esri](https://www.esri.com) + * [Tamr...
3
diff --git a/src/react/projects/spark-react/src/SprkModal/SprkModal.test.js b/src/react/projects/spark-react/src/SprkModal/SprkModal.test.js @@ -14,6 +14,11 @@ it('should load the module', () => { expect(wrapper.find('div.sprk-c-Modal').length).toBe(1); }); +it ('should not render an invisible component', () => { + con...
1
diff --git a/app/pages/lab/project-details.cjsx b/app/pages/lab/project-details.cjsx @@ -18,6 +18,8 @@ Select = require 'react-select' MAX_AVATAR_SIZE = 64000 MAX_BACKGROUND_SIZE = 256000 +DISCIPLINE_NAMES = (discipline.value for discipline in DISCIPLINES) + module.exports = React.createClass displayName: 'EditProjectD...
1
diff --git a/token-metadata/0x514910771AF9Ca656af840dff83E8264EcF986CA/metadata.json b/token-metadata/0x514910771AF9Ca656af840dff83E8264EcF986CA/metadata.json "symbol": "LINK", "address": "0x514910771AF9Ca656af840dff83E8264EcF986CA", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED"...
3
diff --git a/token-metadata/0xB63B606Ac810a52cCa15e44bB630fd42D8d1d83d/metadata.json b/token-metadata/0xB63B606Ac810a52cCa15e44bB630fd42D8d1d83d/metadata.json "symbol": "MCO", "address": "0xB63B606Ac810a52cCa15e44bB630fd42D8d1d83d", "decimals": 8, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED" }...
3
diff --git a/articles/hooks/extensibility-points/credentials-exchange.md b/articles/hooks/extensibility-points/credentials-exchange.md @@ -41,6 +41,10 @@ You can add the following as claims to the issued token: The extensibility point will ignore all other response object properties. +## How to implement this + +You ca...
0
diff --git a/higlass_developer.rst b/higlass_developer.rst @@ -84,7 +84,7 @@ The passed in ``viewUid`` should refer to a view which is present. If it doesn't, an exception will be thrown. -goTo(view,chr1,s1,e1,chr2,s2,e2,animate,animateTime): Zoom to a genomic location +goTo(view,chr1,s1,e1,chr2,s2,e2,animateTime): Zoo...
2
diff --git a/src/technologies/w.json b/src/technologies/w.json "payg" ], "saas": true, - "scriptSrc": "\\.rch\\.io/", + "scriptSrc": [ + "\\.rch\\.io/", + "checkout\\.gointerpay\\.net" + ], "website": "https://www.withreach.com" }, "Wix": {
7
diff --git a/ui/less/containers.less b/ui/less/containers.less /* 32px tall controls. */ height: 32px; + /* Consistent alignment of buttons. */ + line-height: 0.5; + /* Consistent margins (external) and padding (internal) between controls. */ .bottom-panels-elements-margin();
1
diff --git a/src/pages/StrategyEditor/StrategyEditor.js b/src/pages/StrategyEditor/StrategyEditor.js @@ -81,7 +81,7 @@ export default class StrategyEditorPage extends React.Component { docsText = '', steps, } = this.state - + const { firstLogin } = this.props return ( <div className='hfui-strategyeditorpage__wrapper'> ...
3
diff --git a/sources-dist-stable.json b/sources-dist-stable.json "meta": "https://raw.githubusercontent.com/sebilm/ioBroker.nibeuplink/master/io-package.json", "icon": "https://raw.githubusercontent.com/sebilm/ioBroker.nibeuplink/master/admin/nibeuplink.png", "type": "climate-control", - "version": "0.5.2" + "version":...
12
diff --git a/shared/js/background/chrome-events.es6.js b/shared/js/background/chrome-events.es6.js @@ -231,8 +231,7 @@ chrome.webRequest.onErrorOccurred.addListener((e) => { } if (e.error && e.url.match(/^https/)) { - // map error message to an int code or zero if we haven't defined this code yet - const errCode = cons...
2
diff --git a/app-template/bitcoincom/google-services.json b/app-template/bitcoincom/google-services.json "client": [ { "client_info": { - "mobilesdk_app_id": "1:432300239540:android:e23224cd1aed3778", + "mobilesdk_app_id": "1:432300239540:android:3be699f352c30a45", "android_client_info": { - "package_name": "com.bitcoi...
3
diff --git a/package.json b/package.json "dependencies": { "debug": "*", "zigbee-shepherd": "https://github.com/kirovilya/zigbee-shepherd/tarball/dev", - "zigbee-shepherd-converters": "2.0.38" + "zigbee-shepherd-converters": "2.0.39" }, "description": "Zigbee devices", "devDependencies": {
3
diff --git a/examples/browser.html b/examples/browser.html <body> <script src="three.js"></script> <script> -let renderer, scene, camera, brwsr, planeMesh; +let renderer, scene, camera, iframe, planeMesh; function init() { renderer = new THREE.WebGLRenderer({ @@ -36,7 +36,10 @@ function init() { directionalLight.positi...
4
diff --git a/src/plots/gl3d/scene.js b/src/plots/gl3d/scene.js @@ -514,13 +514,10 @@ proto.plot = function(sceneData, fullLayout, layout) { var fullSceneLayout = fullLayout[scene.id]; var sceneLayout = layout[scene.id]; - scene.glplot.setClearColor(str2RGBAarray(fullSceneLayout.bgcolor)); - // Update layout scene.fullL...
2
diff --git a/app/models/carto/visualization.rb b/app/models/carto/visualization.rb @@ -36,7 +36,7 @@ class Carto::Visualization < ActiveRecord::Base belongs_to :user_table, class_name: Carto::UserTable, primary_key: :map_id, foreign_key: :map_id, inverse_of: :visualization - belongs_to :permission + belongs_to :permiss...
12
diff --git a/plugins/insomnia-plugin-core-themes/themes/purple.js b/plugins/insomnia-plugin-core-themes/themes/purple.js @@ -8,7 +8,7 @@ module.exports = { styles: { appHeader: { background: { - default: '#695eb8', + default: '#fff', }, }, link: {
1
diff --git a/website/client/components/UpdateBlock.js b/website/client/components/UpdateBlock.js -import React from 'react'; +import React, { useState } from 'react'; import styled from 'styled-components'; import Input from '@semcore/input'; import Button from '@semcore/button'; import updatesImg from '../static/space...
0
diff --git a/app/connectors/importer.rb b/app/connectors/importer.rb @@ -80,9 +80,10 @@ module CartoDB overwrite = overwrite_table? && taken_names.include?(name) assert_schema_is_valid(name) if overwrite - name = rename(result, result.table_name, result.name) + database.transaction do + name = rename(result, result.tab...
5
diff --git a/test/precedence.test.js b/test/precedence.test.js @@ -48,7 +48,7 @@ describe("Test precedence", function() { shouldBeSame("5 % 3 . 2", "(5 % 3) . 2"); }); it("test instanceof", function() { - shouldBeSame("3 instanceof 2 * 5", "(3 instanceof 2) * 5"); + shouldBeSame("$a instanceof $b && $c", "($a instanceo...
1
diff --git a/articles/cms/wordpress/troubleshoot.md b/articles/cms/wordpress/troubleshoot.md @@ -28,7 +28,13 @@ State validation is a security feature added in [version 3.6.0](https://github.c ### I'm seeing the error message "Invalid ID token" or "Expired ID token" that prevents me from logging in -This is typically c...
3
diff --git a/src/pages/strategy/tabs/expedpast/expedpast.js b/src/pages/strategy/tabs/expedpast/expedpast.js // Add all expedition numbers on the filter list $('.tab_expedpast .expedNumbers').empty(); - if(localStorage.raw && JSON.parse(localStorage.raw).mission) { - var missions = JSON.parse(localStorage.raw).mission;...
8
diff --git a/src/pages/settings/Security/CloseAccountPage.js b/src/pages/settings/Security/CloseAccountPage.js @@ -52,11 +52,7 @@ class CloseAccountPage extends Component { } render() { - const confirmInputLabel = this.props.translate('closeAccountPage.typeToConfirmPart1') - + ' ' - + Str.removeSMSDomain(this.props.ses...
7
diff --git a/packages/app/src/components/Sidebar.tsx b/packages/app/src/components/Sidebar.tsx @@ -250,8 +250,9 @@ const Sidebar: FC<Props> = (props: Props) => { } else { const newWidth = resizableContainer.current.clientWidth; + mutateSidebarCollapsed(false); mutateProductNavWidth(newWidth, false); - scheduleToPutUser...
7
diff --git a/docs/get-started/learning-resources.md b/docs/get-started/learning-resources.md ## API Documentation -The documentation for the latest release can be found on deck.gl's [website](https://deck.gl/docs). +The documentation for the latest release can be found on deck.gl [website](https://deck.gl/docs). The do...
0
diff --git a/src/injected/content/inject.js b/src/injected/content/inject.js @@ -11,7 +11,7 @@ import { Run } from './cmd-run'; * so we'll use the extension's UUID, which is unique per computer in FF, for messages * like VAULT_WRITER to avoid interception by sites that can add listeners for all of our * INIT_FUNC_NAME ...
1
diff --git a/locksmith/src/app.ts b/locksmith/src/app.ts @@ -58,7 +58,11 @@ server.applyMiddleware({ app }) const router = require('./routes') -app.use(cors()) +app.use( + cors({ + origin: /unlock-protocol\.com$/, + }) +) app.use(bodyParser.json({ limit: '5mb' })) app.use('/', router)
11
diff --git a/app/controllers/helper/ShapefilesCreatorHelper.java b/app/controllers/helper/ShapefilesCreatorHelper.java @@ -216,21 +216,21 @@ public class ShapefilesCreatorHelper { + // <- StreetId "score:Double," + // street score - "sCurbRamp:Double," + "sigRamp:Double," + // curb ramp significance score - "sNCurbRamp...
3
diff --git a/src/lib/logger/pino-logger.js b/src/lib/logger/pino-logger.js @@ -19,8 +19,12 @@ export const LogEvent = { const emitter = new EventEmitter() const logger = pino({ level: Config.logLevel }) +// adding .on() method to listen logger events +// this allows other services (e.g. analytics) +// to listen for a s...
0
diff --git a/_config.yml b/_config.yml @@ -66,34 +66,42 @@ collections: title: Projects output: true permalink: /library/projects/ + collection: project startups: title: Startups output: true permalink: /library/startups/ + collection: startup labs: title: Labs output: true permalink: /library/labs/ + collection: lab i...
0
diff --git a/package.json b/package.json "build": "gulp minify" }, "main": "dist/maptalks.js", - "module": "dist/maptalks.es.js", - "jsnext:main": "dist/maptalks.es.js", + "module": "dist/maptalks.mjs", + "jsnext:main": "dist/maptalks.mjs", "style": "dist/maptalks.css", "dependencies": { "simplify-js": "^1.2.1", "karma...
3
diff --git a/react/src/base/inputs/Select.stories.js b/react/src/base/inputs/Select.stories.js @@ -12,7 +12,12 @@ export default { decorators: [(story) => <div className="sprk-o-Box">{story()}</div>], component: SprkSelect, parameters: { - jest: ['SprkErrorContainer', 'SprkInputIconCheck'], + jest: [ + 'SprkSelect', + ...
3
diff --git a/setup.py b/setup.py @@ -32,7 +32,8 @@ def clang_archs(): with tempfile.NamedTemporaryFile(mode='w', suffix='.cpp') as cpp: cpp.write('int main() {return 0;}\n') cpp.flush() - p = subprocess.run(["clang", "-arch", arch, cpp.name], capture_output=True) + with tempfile.NamedTemporaryFile(mode='w', suffix='.ou...
1
diff --git a/src/asset/asset.js b/src/asset/asset.js @@ -147,7 +147,7 @@ pc.extend(pc, function () { if (! this.file) return null; - if (this.type === 'texture') { + if (this.type === 'texture' || this.type === 'textureatlas') { var device = this.registry._loader.getHandler('texture')._device; if (this.variants.pvr && ...
11
diff --git a/test/image/mocks/gl2d_scatter_fill_self_next.json b/test/image/mocks/gl2d_scatter_fill_self_next.json "y": [5, 6, 5], "fill": "toself", "type": "scattergl" + }, + { + "x": [1.1, 1.1, 2.1, null, + -1.9,-1.9,-0.9,null, + -4.9,-4.9,-3.9], + "y": [6.1, 7.1, 7.1, null, + 1.1, 2.1, 2.1, null, + 1.1, 2.1, 2.1], +...
0
diff --git a/character-controller.js b/character-controller.js @@ -17,6 +17,25 @@ const localVector2 = new THREE.Vector3(); const localMatrix = new THREE.Matrix4(); const localMatrix2 = new THREE.Matrix4(); +class BiActionInterpolant { + constructor(fn, minValue, maxValue) { + this.fn = fn; + this.value = minValue; + t...
0
diff --git a/templates/workflow/program_form_tab_ui.html b/templates/workflow/program_form_tab_ui.html </div> <div class="bg-white p-10 pt-0"> + <!-- Tabs --> <ul class="nav nav-tabs"> - <li role="presentation" class="active"><a href="#">Details</a></li> - <li role="presentation"><a href="#">Funding</a></li> - <li role...
3
diff --git a/lib/credentials.js b/lib/credentials.js @@ -81,8 +81,8 @@ AWS.Credentials = AWS.util.inherit({ }, /** - * @return [Integer] the window size in seconds to attempt refreshing of - * credentials before the expireTime occurs. + * @return [Integer] the number of seconds before {expireTime} during which + * the ...
7
diff --git a/core/algorithm-builder/dockerfile/get-deps-java.sh b/core/algorithm-builder/dockerfile/get-deps-java.sh #!/bin/bash set -eo pipefail SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )" -mkdir -p $SCRIPTPATH/../environments/java/jars mkdir -p $SCRIPTPATH/../environments/java/m2 export javaWrapperVersion='2.0-SN...
2
diff --git a/src/components/ProductItem/ProductItem.js b/src/components/ProductItem/ProductItem.js @@ -2,6 +2,7 @@ import React, { Component } from "react"; import PropTypes from "prop-types"; import { withStyles } from "@material-ui/core/styles"; import Typography from "@material-ui/core/Typography"; +import Price fro...
4