code
stringlengths
122
4.99k
label
int64
0
14
diff --git a/app/controllers/carto/oauth_provider_controller.rb b/app/controllers/carto/oauth_provider_controller.rb @@ -21,6 +21,7 @@ module Carto before_action :load_oauth_app_user, only: [:consent, :authorize] before_action :validate_grant_type, :load_authorization, :verify_client_secret, only: [:token] + rescue_fro...
9
diff --git a/assets/js/modules/pagespeed-insights/dashboard/dashboard-widget-homepage-speed-column.js b/assets/js/modules/pagespeed-insights/dashboard/dashboard-widget-homepage-speed-column.js @@ -115,9 +115,10 @@ export const PageSpeedInsightsDashboardWidgetHomepageSpeedMobile = withData( { type: TYPE_MODULES, identif...
3
diff --git a/index.d.ts b/index.d.ts @@ -20,7 +20,7 @@ declare namespace Moleculer { trace(...args: any[]): void; } - type ActionHandler = (ctx: Context) => bluebird.Promise<any>; + type ActionHandler = ((ctx: Context) => bluebird.Promise<any>) & ThisType<Service>; type ActionParamSchema = { [key: string]: any }; type ...
12
diff --git a/bin/definition-validators/request-body.js b/bin/definition-validators/request-body.js module.exports = RequestBody; +const allowedMethods = ['post', 'put', 'options', 'head', 'patch']; + function RequestBody() { const MediaType = require('./media-type'); Object.assign(this, { + allowed: ({ major, parent })...
11
diff --git a/docs/README.md b/docs/README.md @@ -38,16 +38,15 @@ in your bundle or reference them from `static/` via `index.html`. ## Nuxt.js You can use official [Nuxt.js](https://nuxtjs.org) module to add BootstrapVue support. ([module docs](https://github.com/nuxt-community/modules/tree/master/packages/bootstrap-vue...
3
diff --git a/src/components/MapTable/Map.js b/src/components/MapTable/Map.js @@ -244,7 +244,7 @@ export class Map extends Component<MapProps, {}> { { animate: false } ); } catch (e) { - console.warn(`No ${parsedHash.category} with code ${parsedHash.area}.`) + console.warn(`No "${parsedHash.category}" with code "#${pars...
7
diff --git a/src/components/KpiReact/index.js b/src/components/KpiReact/index.js @@ -104,7 +104,7 @@ const KpiContainer = ({ data }) => { }, [data, language, t]); return ( - <section id="kpi"> + <> {setDrawData.length > 0 && drawData.map((chart) => ( <Kpi @@ -118,7 +118,7 @@ const KpiContainer = ({ data }) => { caption...
14
diff --git a/translations/en-us.yaml b/translations/en-us.yaml @@ -7053,8 +7053,8 @@ action: backupEtcd: Backup Now backupEtcdMessage: success: - title: Backup successful - message: "{ clusterId } has been backed up to { backupType } provider" + title: Backup initiated + message: "A { backupType } backup has been start...
3
diff --git a/userscript.user.js b/userscript.user.js @@ -21994,7 +21994,8 @@ var $$IMU_EXPORT$$; if (domain === "s.smutty.com") { // https://s.smutty.com/media_smutty_2/d/i/r/t/m/dirtyukguy-8qxdg-6b9be5.jpg // https://s.smutty.com/media_smutty_2/d/i/r/t/p/dirtyukguy-8qxdg-6b9be5.jpg - return src.replace(/\/m\/([^/]*)$/...
7
diff --git a/.github/workflows/windows_test_npm_install.yml b/.github/workflows/windows_test_npm_install.yml @@ -225,16 +225,16 @@ jobs: # Run the build task: - name: 'Run build task' run: | - chmod +x $GITHUB_WORKSPACE/tools/ci/github/script - "$GITHUB_WORKSPACE/tools/ci/github/script" ${{ matrix.BUILD_TASK }} || "$GI...
4
diff --git a/etc/test-config.js b/etc/test-config.js @@ -104,7 +104,6 @@ testConnection: { user: testUser, password: testPassword, authType: restAuthType, - rejectUnauthorized: false, - ssl: true + rejectUnauthorized: false } };
2
diff --git a/packages/siimple-css/scss/base.scss b/packages/siimple-css/scss/base.scss //Default html style html { - font-family: $siimple-default-text-font; - font-weight: $siimple-default-text-weight; - font-size: $siimple-default-text-size; - color: $siimple-default-text-color; + font-family: $siimple-default-font-f...
1
diff --git a/src/components/timeseries.js b/src/components/timeseries.js @@ -24,15 +24,6 @@ function TimeSeries(props) { return ( <div className=""> - <ChartContainer timeRange={series1.timerange()} width={800}> - <ChartRow height="200"> - <YAxis id="axis1" label="AUD" min={0.5} max={1.5} width="60" type="linear" forma...
1
diff --git a/src/generators/output/toDisk.js b/src/generators/output/toDisk.js @@ -23,13 +23,13 @@ module.exports = async (env, spinner) => { await fs.copy(globalConfig.build.assets.source, `${outputDir}/${globalConfig.build.assets.destination}`) } - let filetypes = globalConfig.build.templates.filetypes + let filetype...
0
diff --git a/local_modules/MMAppUICommonComponents/navigationBarButtons.web.js b/local_modules/MMAppUICommonComponents/navigationBarButtons.web.js @@ -204,14 +204,7 @@ function New_RightSide_ValueDisplayLabelButtonView(context) layer.style.width = "auto" layer.style.height = "auto" layer.style.textDecoration = "none" -...
14
diff --git a/lib/assets/core/test/spec/cartodb3/editor/layers/layer-content-view/analyses/analysis-forms-collection.spec.js b/lib/assets/core/test/spec/cartodb3/editor/layers/layer-content-view/analyses/analysis-forms-collection.spec.js @@ -4,6 +4,7 @@ var LayerDefinitionModel = require('../../../../../../../javascript...
7
diff --git a/src/parsers/GmlSeeker.hx b/src/parsers/GmlSeeker.hx @@ -567,7 +567,7 @@ class GmlSeeker { // if (!out.kindMap.exists(name)) out.kindList.push(name); out.kindMap[name] = "namespace"; - out.docs[name] = hintDoc; + if (hintDoc != null) out.docs[name] = hintDoc; } } function addInstVar(s:String):Void {
1
diff --git a/jekyll/api/enforcer-result.md b/jekyll/api/enforcer-result.md @@ -8,18 +8,54 @@ toc: false To learn how to read an EnforcerRead object [check out the guide](../guide/enforcer-result). -## Create an EnforcerResult Instance +## EnforcerResult -It's possible to create your own EnforcerResult instance, but you...
3
diff --git a/token-metadata/0x7c9D8Fb3bDe3D9Ea6e89170618C2dC3d16695D36/metadata.json b/token-metadata/0x7c9D8Fb3bDe3D9Ea6e89170618C2dC3d16695D36/metadata.json "symbol": "WRC", "address": "0x7c9D8Fb3bDe3D9Ea6e89170618C2dC3d16695D36", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED" ...
3
diff --git a/scss/grid/_grid.scss b/scss/grid/_grid.scss @@ -16,6 +16,7 @@ $siimple-grid-row-margin: 0px; //Gird colum variables $siimple-grid-column-margin: 10px; +$siimple-grid-column-padding: 12px; $siimple-grid-column-sizes: $siimple-default-grid; //Grid class @@ -62,6 +63,7 @@ $siimple-grid-column-sizes: $siimple-...
1
diff --git a/app/models/table.rb b/app/models/table.rb @@ -515,78 +515,6 @@ class Table !get_table_id.nil? end - # adds the column if not exists or cast it to timestamp field - def normalize_timestamp(database, column) - schema = self.schema(reload: true) - - if schema.nil? || !schema.flatten.include?(column) - databas...
2
diff --git a/package.json b/package.json "dependencies": { "backbone": "1.2.3", "cartocolor": "4.0.0", - "cartodb.js": "CartoDB/cartodb.js#v4", + "cartodb.js": "CartoDB/cartodb.js#c12324-time-series-aggregations", "d3": "3.5.17", "d3-interpolate": "1.1.2", "jquery": "2.1.4",
4
diff --git a/checkfiles/checkfiles.py b/checkfiles/checkfiles.py @@ -972,7 +972,7 @@ def run(out, err, url, username, password, encValData, mirror, search_query, fil except multiprocessing.NotImplmentedError: nprocesses = 1 - version = '1.13' + version = '1.14' out.write("STARTING Checkfiles version %s (%s): with %d pr...
3
diff --git a/src/victory-util/collection.js b/src/victory-util/collection.js @@ -88,22 +88,8 @@ export default { * @returns {Boolean} Whether all item comparisons are equal */ allSetsEqual(itemSets) { - return this.all(itemSets, (comparisonSet) => { + return itemSets.every((comparisonSet) => { return isEqual(comparison...
4
diff --git a/packages/express-openapi/README.md b/packages/express-openapi/README.md @@ -87,7 +87,7 @@ https://github.com/kogosoftwarellc/open-api/tree/master/packages/express-openapi * [Using with TypeScript](#using-with-typescript) * [Prerequisites](#prerequisites) * [TypeScript Example](#typescript-example) -* [Supp...
1
diff --git a/package.json b/package.json "scripts": { "copy-file": "cp dist/CookieMonster.js CookieMonster.js", "eslint-src": "eslint src", - "build": "run-s eslint-src pack-prod remove-comment copy-file", + "build": "run-s eslint-src pack-prod remove-comment copy-file test", "build-test": "run-s pack-dev", "pack-prod"...
0
diff --git a/test/unit/features/component/component-scoped-slot.spec.js b/test/unit/features/component/component-scoped-slot.spec.js @@ -392,6 +392,9 @@ describe('Component scoped slot', () => { <template v-for="n in names" :slot="n" scope="props"> <span>{{ props.msg }}</span> </template> + <template slot="abc" scope="...
7
diff --git a/app/scripts/controllers/tabsCtrl.js b/app/scripts/controllers/tabsCtrl.js @@ -234,6 +234,7 @@ var tabsCtrl = function($scope, globalService, $translate, $sce) { $scope.setErrorMsgLanguage = function() { for (var i = 0; i < globalFuncs.errorMsgs.length; i++) $scope.setLanguageVal('ERROR_' + i, 'errorMsgs', ...
12
diff --git a/src/lib/libraries/extensions/index.jsx b/src/lib/libraries/extensions/index.jsx @@ -22,15 +22,18 @@ import makeymakeyInsetIconURL from './makeymakey/makeymakey-small.svg'; import microbitIconURL from './microbit/microbit.png'; import microbitInsetIconURL from './microbit/microbit-small.svg'; import microbi...
10
diff --git a/lambda/schema/qna.js b/lambda/schema/qna.js @@ -51,7 +51,7 @@ module.exports={ rp:{ type:"string", title:"Alexa Reprompt", - description:"Enter the Alexa reprompt to returned if the user does not respond. (SSML autodetection)", + description:"Enter the Alexa reprompt to returned if the user does not respon...
3
diff --git a/.circleci/config.yml b/.circleci/config.yml @@ -165,7 +165,7 @@ jobs: command: | cd tools ### ADD FOLDERS HERE TO PROCESS ### - for file in order-utils test-utils + for file in clients constants utils order-utils test-utils do cd $file NPM_NAME=$(node -p "require('./package.json').name") @@ -175,12 +175,16...
3
diff --git a/NotAnAnswerFlagQueueHelper.user.js b/NotAnAnswerFlagQueueHelper.user.js // @description Inserts several sort options for the NAA / VLQ / Review LQ Disputed queues // @homepage https://github.com/samliew/SO-mod-userscripts // @author @samliew -// @version 2.9.4 +// @version 2.9.5 // // @include */admin/dash...
2
diff --git a/src/plots/geo/constants.js b/src/plots/geo/constants.js // projection names to d3 function name exports.projNames = { - // d3.geo.projection 'equirectangular': 'equirectangular', 'mercator': 'mercator', 'orthographic': 'orthographic', @@ -32,7 +31,107 @@ exports.projNames = { 'albers usa': 'albersUsa', 'wi...
0
diff --git a/app/classifier/tasks/combo/markings-renderer.jsx b/app/classifier/tasks/combo/markings-renderer.jsx @@ -21,6 +21,9 @@ export default function MarkingsRenderer(props) { } }); + function onChange(annotation) { + props.onChange(Object.assign({}, props.annotation, { value: currentComboAnnotations })); + } retu...
10
diff --git a/articles/libraries/lock-ios/v2/customization.md b/articles/libraries/lock-ios/v2/customization.md @@ -33,7 +33,7 @@ Blur effect style used. It can be any value defined in `UIBlurEffectStyle`. ```swift .withStyle { - $0.headerBlur = UIBlurEffectStyle.light + $0.headerBlur = .extraLight } ```
3
diff --git a/src/utils/staking.js b/src/utils/staking.js @@ -90,9 +90,8 @@ export class Staking { const { lockupId: _lockupId } = await this.getLockup() lockupId = _lockupId } catch(e) { - console.warn('No lockup account, not loading lockup account state for account', accountId) - if (e.message.indexOf('does not exist ...
3
diff --git a/packages/rmw-shell/cra-template-rmw/template/package.json b/packages/rmw-shell/cra-template-rmw/template/package.json "mui-rff": "^2.5.6", "notistack": "^1.0.1", "nwb": "^0.25.2", + "rmw-shell": "^8.0.0", "raw-loader": "^4.0.2", "react": "^17.0.1", "react-chartjs-2": "^2.10.0", "not op_mini all" ], "devDep...
3
diff --git a/assets/js/components/wp-dashboard/WPDashboardIdeaHub.stories.js b/assets/js/components/wp-dashboard/WPDashboardIdeaHub.stories.js @@ -44,7 +44,7 @@ const Template = ( { setupRegistry, ...args } ) => ( ); export const Ready = Template.bind( {} ); -Ready.storyName = 'Ready'; +Ready.storyName = 'Idea Hub noti...
10
diff --git a/CHANGELOG.md b/CHANGELOG.md @@ -6,11 +6,17 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/). This project mirrors major Elm versions. So version 0.18.\* of this project will be compatible with Elm 0.18.\*. +## 0.19.1-revision3 - 2021-01-10 + +### Fixed + +- Pointing to specific test...
3
diff --git a/Apps/Sandcastle/gallery/development/Polygon Texture Coordinates.html b/Apps/Sandcastle/gallery/development/Polygon Texture Coordinates.html const viewer = new Cesium.Viewer("cesiumContainer"); const scene = viewer.scene; - // Example 1: Draw a small textured polygon on the globe surface. + // Example 1: Sm...
3
diff --git a/test/v1/examples.test.js b/test/v1/examples.test.js @@ -120,10 +120,10 @@ describe('examples', function() { it('should be able to configure maximum transaction retry time', function () { var neo4j = neo4jv1; - // tag::configuration[] + // tag::configuration-transaction-retry-time[] var maxRetryTimeMs = 45 ...
10
diff --git a/scripts/tosdr.js b/scripts/tosdr.js @@ -62,6 +62,12 @@ function getSitePoints (sites) { let servicesUrl = `${githubRepo}/services/${site}.json` request.get(servicesUrl, (err, res, body) => { let data = JSON.parse(body) + // some sites lack the 'url' field, but have + // multiple items in the 'urls' field. ...
11
diff --git a/project/src/system/Locale.mm b/project/src/system/Locale.mm @@ -16,7 +16,10 @@ namespace lime { NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init]; #endif - NSString* locale = [[NSLocale currentLocale] localeIdentifier]; + NSString* localeLanguage = [[NSLocale preferredLanguages] firstObject]; + NS...
7
diff --git a/tests/schema/main.spec.js b/tests/schema/main.spec.js @@ -67,6 +67,12 @@ function seed() { } return Promise.all(tasks).catch(e => { + if (test.online) { + console.log('---> failed due connectivity issues?'); + console.log(e.message); + return + } + // FIXME: find a way to debug this console.log('---> Used ...
8
diff --git a/src/extensions/scratch3_microbit/index.js b/src/extensions/scratch3_microbit/index.js @@ -527,7 +527,7 @@ class Scratch3MicroBitBlocks { */ displayText (args) { const text = String(args.TEXT).substring(0, 19); - this._device.displayText(text); + if (text.length > 0) this._device.displayText(text); return P...
8
diff --git a/contracts/FeePool.sol b/contracts/FeePool.sol @@ -765,9 +765,6 @@ contract FeePool is Proxyable, SelfDestructible, LimitedSetup { // If they don't have any debt ownership and they haven't minted, they don't have any fees if (debtEntryIndex == 0 && userOwnershipPercentage == 0) return; - // If there are no ...
2
diff --git a/src/Header.jsx b/src/Header.jsx @@ -425,26 +425,6 @@ export default function Header({ } }, [selectedApp, panelsRef.current]); - const lastEmoteKey = { - key: -1, - timestamp: 0, - }; - const _emoteKey = key => { - const timestamp = performance.now(); - if ((timestamp - lastEmoteKey.timestamp) < 1000) { - c...
5
diff --git a/package.json b/package.json "pkg": { "scripts": [ "typeDefs/**/*", - "crew/**/*" + "crew/**/*", + ".env" ], "assets": [ "assets/**/*", }, "eslintConfig": { "extends": "react-app", - "plugins": ["react-hooks"], + "plugins": [ + "react-hooks" + ], "rules": { "jsx-a11y/href-no-hash": "off", "react-hooks/rules...
1
diff --git a/token-metadata/0xd55BD2C12B30075b325Bc35aEf0B46363B3818f8/metadata.json b/token-metadata/0xd55BD2C12B30075b325Bc35aEf0B46363B3818f8/metadata.json "symbol": "ZOMBIE", "address": "0xd55BD2C12B30075b325Bc35aEf0B46363B3818f8", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIE...
3
diff --git a/src/dom_components/view/ComponentTextView.js b/src/dom_components/view/ComponentTextView.js @@ -72,14 +72,15 @@ module.exports = ComponentView.extend({ model.set('content', content); } else { const clean = model => { + const selectable = !model.is('text'); model.set({ editable: 0, highlightable: 0, removab...
7
diff --git a/samples/python/06.using-cards/dialogs/main_dialog.py b/samples/python/06.using-cards/dialogs/main_dialog.py @@ -16,6 +16,7 @@ from botbuilder.schema import ( AnimationCard, AudioCard, HeroCard, + OAuthCard, VideoCard, ReceiptCard, SigninCard, @@ -92,6 +93,8 @@ class MainDialog(ComponentDialog): reply.attac...
0
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md @@ -31,7 +31,7 @@ $ cd packages/app The command takes one argument, the **name** of your new preset: ```bash -$ npm run create-script "My Awesome Preset" +$ npm run create-preset "My Awesome Preset" ``` This will generate a file in `PRESETS_DIR` and `PREVIEWS_DIR`:
4
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md ## Getting Started - Fork the repository on GitHub. -- Read the [Blog writing guideline](GUIDELINES.md) for writing and publishing your blog. +- Read the [blog post writing guideline](GUIDELINES.md) for writing and publishing your blog. - If you find any bug/typo/fix in ou...
7
diff --git a/priv/public/ui/app/mn_admin/mn_admin.html b/priv/public/ui/app/mn_admin/mn_admin.html <a href="classic-index.html" target="_self"> Classic UI </a> - <a href="http://docs.couchbase.com/4.5" target="cbdocs"> + <a href="https://developer.couchbase.com/documentation-archive" target="_blank"> Documentation </a>...
14
diff --git a/src/core/operations/GenerateAllHashes.mjs b/src/core/operations/GenerateAllHashes.mjs @@ -31,6 +31,8 @@ import CRC16Checksum from "./CRC16Checksum"; import CRC32Checksum from "./CRC32Checksum"; import BLAKE2b from "./BLAKE2b"; import BLAKE2s from "./BLAKE2s"; +import Streebog from "./Streebog"; +import GOS...
0
diff --git a/packages/openneuro-app/src/scripts/common/forms/warn-button.jsx b/packages/openneuro-app/src/scripts/common/forms/warn-button.jsx @@ -119,7 +119,7 @@ class WarnButton extends React.Component { toast.error( <ToastContent title={validation.type} - message={validation.message} + body={validation.message} />, ...
1
diff --git a/includes/Core/REST_API/REST_Routes.php b/includes/Core/REST_API/REST_Routes.php @@ -93,6 +93,33 @@ final class REST_Routes { $this->register_routes( $server ); } ); + + add_filter( + 'do_parse_request', + function( $do_parse_request, $wp ) { + add_filter( + 'query_vars', + function( $vars ) use ( $wp ) { +...
2
diff --git a/articles/connections/social/apple.md b/articles/connections/social/apple.md @@ -30,10 +30,6 @@ Before you add support for SIWA to your app, you'll need: * An [Apple Developer](https://developer.apple.com/programs/) account, which is a paid account with Apple. (There is no free trial available unless you ar...
2
diff --git a/docs/features/gatsby-specs.csv b/docs/features/gatsby-specs.csv @@ -66,5 +66,5 @@ Ecosystem,Ecosystem,Component ecosystem,3,0,3,0,"React has several sets of out-o ,,Hosted option,2,2,3,3,Gatsby and other static site generators can be plugged into static hosts such as Netlify or surge.sh. Wordpress and Squa...
14
diff --git a/projects/ngx-extended-pdf-viewer/src/lib/theme/common/viewer-with-images.scss b/projects/ngx-extended-pdf-viewer/src/lib/theme/common/viewer-with-images.scss * limitations under the License. */ - ngx-extended-pdf-viewer { + * { + -webkit-box-sizing: content-box; + -moz-box-sizing: content-box; + box-sizing...
7
diff --git a/packages/idyll-components/src/button.js b/packages/idyll-components/src/button.js @@ -2,8 +2,9 @@ import React from 'react'; class Button extends React.PureComponent { render() { + const { onClick, updateProps, ...props } = this.props; return ( - <button {...props} onClick={this.props.onClick.bind(this)}> ...
1
diff --git a/source/pool/contracts/Pool.sol b/source/pool/contracts/Pool.sol @@ -18,7 +18,7 @@ pragma solidity ^0.6.12; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/access/Ownable.sol"; -import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; +import "@openzeppelin/contracts/token/ERC20/IERC20.sol"...
9
diff --git a/OurUmbraco/Documentation/DocumentationUpdater.cs b/OurUmbraco/Documentation/DocumentationUpdater.cs @@ -86,7 +86,7 @@ namespace OurUmbraco.Documentation HasChildren = dir.GetDirectories().Any() }; - foreach (var child in dir.GetDirectories().Where(x => x.Name != "images" && x.Name != ".git" && x.Name != "....
8
diff --git a/components/base-adresse-nationale/commune/index.js b/components/base-adresse-nationale/commune/index.js @@ -14,7 +14,7 @@ function Commune({nomCommune, codeCommune, region, departement, nbNumerosCertifi const [activeTab, setActiveTab] = useState('VOIES') const certificationPercentage = useMemo(() => { cons...
14
diff --git a/src/encoded/types/dataset.py b/src/encoded/types/dataset.py @@ -120,7 +120,7 @@ class Dataset(Item): paths_filtered_by_status(request, properties.get('derived_from', [])) ) outside_files = list(derived_from.difference(original_files)) - if status in ('release ready', 'released'): + if status in ('released'...
2
diff --git a/src/components/appNavigation/AppNavigation.js b/src/components/appNavigation/AppNavigation.js // @flow import { createSwitchNavigator } from '@react-navigation/core' -import { Icon } from 'react-native-elements' +import { Icon, normalize } from 'react-native-elements' import React from 'react' import type ...
0
diff --git a/server/game/cards/02.3-ItFC/HirumaSkirmisher.js b/server/game/cards/02.3-ItFC/HirumaSkirmisher.js @@ -10,7 +10,6 @@ class HirumaSkirmisher extends DrawCard { handler: context => { this.game.addMessage('{0} uses {1}\'s ability to give {1} covert until the end of the phase', this.controller, this); this.unti...
3
diff --git a/src/content/community/index.md b/src/content/community/index.md @@ -33,6 +33,7 @@ Hundreds of thousands of Ethereum enthusiasts gather in these online forums to s - [Ethereum Cat Herders](https://discord.gg/tzYmDmF) - _community oriented around offering project management support to Ethereum development_ -...
4
diff --git a/test/unit/specs/components/Identity/createComponent.spec.js b/test/unit/specs/components/Identity/createComponent.spec.js @@ -211,7 +211,6 @@ describe("Identity::createComponent", () => { url: "myurl" }); withConsentDeferred.reject(new Error("My consent error.")); - getIdentityDeferred.reject(new Error("My...
2
diff --git a/js/models/denseMatrix.js b/js/models/denseMatrix.js @@ -237,10 +237,11 @@ function indexGeneResponse(samples, genes, data) { } function indexFieldResponse(fields, resp) { - var [{name, position}, data] = resp, - posMap = _.object(name, position); + var [namePos, data] = resp; return { - position: fields.ma...
9
diff --git a/angular/projects/spark-angular/src/lib/components/sprk-flag/sprk-flag.component.ts b/angular/projects/spark-angular/src/lib/components/sprk-flag/sprk-flag.component.ts @@ -48,7 +48,8 @@ export class SprkFlagComponent { isReversed = false; /** - * The Flag component will use this + * The Flag component will...
3
diff --git a/readme.md b/readme.md @@ -306,6 +306,58 @@ In such cases Immer will fallback to an ES5 compatible implementation which work Read the (second part of the) [introduction blog](https://medium.com/@mweststrate/introducing-immer-immutability-the-easy-way-9d73d8f71cb3). +## Example patterns. + +_For those who ha...
0
diff --git a/app/models/user.rb b/app/models/user.rb @@ -51,12 +51,6 @@ class User < Sequel::Model 'instagram' => 'http://instagram.com/accounts/manage_access/' }.freeze - INDUSTRIES = ['Academic and Education', 'Architecture and Engineering', 'Banking and Finance', - 'Business Intelligence and Analytics', 'Utilities a...
2
diff --git a/frontend/src/app/utils/ui-utils.js b/frontend/src/app/utils/ui-utils.js @@ -244,14 +244,7 @@ export function getPoolCapacityBarValues(pool) { } export function countNodesByState(modeCoutners) { - const counters = { - all: 0, - healthy: 0, - offline: 0, - hasIssues: 0 - }; - - return Object.entires(modeCout...
1
diff --git a/docs/guides/session_management.md b/docs/guides/session_management.md @@ -55,12 +55,12 @@ const crawler = new Apify.PuppeteerCrawler({ useApifyProxy: true, // Activates the Session pool. useSessionPool: true, - // Overrides default Session pool configuration + // Overrides default Session pool configuratio...
7
diff --git a/api/models/usersChannels.js b/api/models/usersChannels.js @@ -171,9 +171,9 @@ const unblockMemberInChannel = (channelId: string, userId: string): Promise<?DBC .run() .then(result => { if (result && result.changes && result.changes.length > 0) { - return db.table('channels').get(channelId); + return db.tabl...
1
diff --git a/articles/tutorials/generic-oauth2-connection-examples.md b/articles/tutorials/generic-oauth2-connection-examples.md @@ -73,19 +73,24 @@ After the call completes successfully, you will be able to login using these new * Copy `Client ID` and `Client Secret` to config file below -``` +```har { - "name": "imgu...
0
diff --git a/src/Test/Reporter/JUnit.elm b/src/Test/Reporter/JUnit.elm @@ -43,7 +43,8 @@ encodeTest { labels, duration } expectation = in Encode.object ( - [ ( "@name", Encode.string <| String.join " " (List.reverse labels) ) + [ ( "@classname", Encode.string classname ) + , ( "@name", Encode.string name ) , ( "@time",...
4
diff --git a/docs/_sass/main.scss b/docs/_sass/main.scss } &-item { background-color: rgba(siimple-default-color("light"), 0.3); - &:hover { + &:not(.sd-menu--selected):hover { background-color: $siimple-default-white !important; } }
1
diff --git a/packages/component-library/stories/CivicCard.story.js b/packages/component-library/stories/CivicCard.story.js import React, { Fragment } from "react"; // eslint-disable-next-line import/no-extraneous-dependencies import { storiesOf } from "@storybook/react"; -import { CivicCard, LineChart, Collapsable, Civ...
3
diff --git a/example/ionExample.js b/example/ionExample.js @@ -114,7 +114,6 @@ function setupTiles() { // We use unpkg here but in practice should be provided by the application. const dracoLoader = new DRACOLoader(); dracoLoader.setDecoderPath( 'https://unpkg.com/three@0.123.0/examples/js/libs/draco/gltf/' ); - dracoL...
4
diff --git a/test/units/architecture/group.test.js b/test/units/architecture/group.test.js @@ -51,23 +51,22 @@ describe("Group", function() { // returns {main_group, other_group} function createRandomGroups() { - // this function originated in group.clear(), that explains the names - const cleared_node = new Node(); - ...
7
diff --git a/php/base/ArrayCache.php b/php/base/ArrayCache.php @@ -17,7 +17,7 @@ class ArrayCache implements \JsonSerializable, \ArrayAccess, \IteratorAggregate, } public function getIterator() { - return $this->deque->getIterator(); + return $this->deque; } public function JsonSerialize () {
1
diff --git a/extensions/azure-devops/set-toggle-parameter/set-toggle-parameterV1/task.json b/extensions/azure-devops/set-toggle-parameter/set-toggle-parameterV1/task.json { "id": "83BAA888-44E5-4B12-A2BD-0B7B16A37201", - "name": "esquio-set-toggle-parameter", + "name": "set-toggle-parameter", "friendlyName": "Set toggl...
10
diff --git a/src/plots/cartesian/dragbox.js b/src/plots/cartesian/dragbox.js @@ -601,8 +601,8 @@ function makeDragBox(gd, plotinfo, x, y, w, h, ns, ew) { else if(yActive === 's') dy = dz(yaxes, 0, -dy); else if(!yActive) dy = 0; - var x0 = (xActive === 'w') ? dx : 0; - var y0 = (yActive === 'n') ? dy : 0; + var xStart ...
10
diff --git a/src/components/_classes/component/Component.js b/src/components/_classes/component/Component.js @@ -157,7 +157,9 @@ export default class Component extends Element { /** * If this component should implement a strict date validation if the Calendar widget is implemented. */ - strictDateValidation: false + st...
12
diff --git a/docs/example-react-redux.md b/docs/example-react-redux.md @@ -103,13 +103,13 @@ import { initialState, reducer } from './reducer.js' import Counter from './counter.js' test('can render with redux with defaults', () => { - renderWithRedux(<Counter />) + render(<Counter />) fireEvent.click(screen.getByText('...
4
diff --git a/src/govuk/components/select/_index.scss b/src/govuk/components/select/_index.scss // This min-width was chosen because: // - it makes the Select noticeably wider than it is taller (which is what users expect) - // - 23ex matches the 'length-10' variant of the input component + // - 11.5em matches the 'leng...
14
diff --git a/docs/proxy-tutorial.md b/docs/proxy-tutorial.md # Introduction In this tutorial we will create a simple paywalled server that will serve some -static files as well as dynamically generated responses, payable with the -Raiden Network Token. You can find example code for this tutorial in +static files as wel...
10
diff --git a/lib/assets/core/test/spec/cartodb3/editor/editor-pane.spec.js b/lib/assets/core/test/spec/cartodb3/editor/editor-pane.spec.js @@ -210,7 +210,7 @@ describe('editor/editor-view', function () { }); it('should have two subviews', function () { - expect(_.size(this.view._subviews)).toBe(2); + expect(_.size(this...
3
diff --git a/Specs/Scene/SchemaCacheResourceSpec.js b/Specs/Scene/SchemaCacheResourceSpec.js import { + CacheResourceState, Resource, ResourceCacheKey, SchemaCacheResource, @@ -94,6 +95,8 @@ describe("Scene/SchemaCacheResource", function () { }); cacheResource.load(); + expect(cacheResource.cacheKey).toBe(cacheKey); + ...
7
diff --git a/lib/determine-basal/determine-basal.js b/lib/determine-basal/determine-basal.js @@ -185,8 +185,8 @@ var determine_basal = function determine_basal(glucose_status, currenttemp, iob_ return rT; } - // min_bg of 90 -> threshold of 70, 110 -> 80, and 130 -> 90 - var threshold = min_bg - 0.5*(min_bg-50); + // m...
11
diff --git a/avatars/avatars.js b/avatars/avatars.js @@ -33,33 +33,88 @@ import { import {scene, getRenderer} from '../renderer.js'; const bgVertexShader = `\ - varying vec2 vUv; + varying vec2 tex_coords; void main() { - vUv = uv; - gl_Position = vec4(position, 1.); + tex_coords = uv; + gl_Position = vec4(position.xy,...
0
diff --git a/coral-component-dialog/src/scripts/Dialog.js b/coral-component-dialog/src/scripts/Dialog.js @@ -692,6 +692,7 @@ const Dialog = Decorator(class extends BaseOverlay(BaseComponent(HTMLElement)) { super.render(); this.classList.add(`${CLASSNAME}-wrapper`); + this.setAttribute("aria-modal", "dialog"); // Defaul...
1
diff --git a/generators/client/templates/angular/src/main/webapp/app/login/login.component.ts.ejs b/generators/client/templates/angular/src/main/webapp/app/login/login.component.ts.ejs @@ -76,7 +76,7 @@ export class LoginComponent implements OnInit, AfterViewInit, OnDestroy { } }, () => { - (this.authenticationError = ...
2
diff --git a/assets/js/components/sparkline.js b/assets/js/components/sparkline.js @@ -71,7 +71,7 @@ class Sparkline extends Component { }, axes: [], colors: [ - 0 <= parseFloat( change ) ? positiveColor : negativeColor, + 0 <= ( parseFloat( change ) || 0 ) ? positiveColor : negativeColor, ], }; @@ -92,7 +92,7 @@ class...
4
diff --git a/package.json b/package.json "dependencies": { "better-simple-slideshow": "linkeddata/better-simple-slideshow#gh-pages", "mime-types": "^2.1.13", - "solid-ui": "<=0.8.0" + "solid-ui": ">=0.8.0" }, "devDependencies": { "babel-cli": "^6.24.1",
11
diff --git a/source/background/library/contextMenu.js b/source/background/library/contextMenu.js import { createNewTab, getCurrentTab, getExtensionURL, sendTabMessage } from "../../shared/library/extension.js"; import { getBrowser } from "../../shared/library/browser.js"; import { lastPassword } from "./lastGeneratedPa...
6
diff --git a/articles/compliance/gdpr/features-aiding-compliance/user-consent/track-consent-with-lock.md b/articles/compliance/gdpr/features-aiding-compliance/user-consent/track-consent-with-lock.md @@ -22,9 +22,9 @@ We will capture consent information, under various scenarios, and save this at t ``` We will see three ...
3
diff --git a/test/specs/helpers.dom.tests.js b/test/specs/helpers.dom.tests.js @@ -317,10 +317,9 @@ describe('DOM helpers tests', function() { }; const rect = chart.canvas.getBoundingClientRect(); - expect(helpers.getRelativePosition(event, chart)).toEqual({ - x: Math.round(event.clientX - rect.x), - y: Math.round(even...
11