code
stringlengths
122
4.99k
label
int64
0
14
diff --git a/src/Components/NotFoundErrorPage.js b/src/Components/NotFoundErrorPage.js @@ -29,7 +29,9 @@ class NotFoundErrorPage extends React.Component { <h2 className="hero-small">The page you are looking for does not exist.</h2> </div> <div className="text-center"> - <LinkTo obj={ Scrivito.Obj.root() }/> + <Scrivito...
4
diff --git a/magda-web-client/src/UI/DataPreviewMap.js b/magda-web-client/src/UI/DataPreviewMap.js @@ -29,12 +29,13 @@ const determineDistribution = memoize(function determineDistribution( distributions, dataSourcePreference ) { - if (!dataSourcePreference || !dataSourcePreference.length) + if (!distributions || !distr...
7
diff --git a/src/components/profile/EditProfile.js b/src/components/profile/EditProfile.js // @flow import React, { useEffect, useState } from 'react' +import debounce from 'lodash/debounce' import { useWrappedUserStorage } from '../../lib/gundb/useWrappedStorage' import logger from '../../lib/logger/pino-logger' impor...
0
diff --git a/conf/application.conf b/conf/application.conf @@ -10,7 +10,7 @@ application.secret=${?SIDEWALK_APPLICATION_SECRET} # The application languages # ~~~~~ -application.langs="en" +application.langs="en,es" # Global object class # ~~~~~
12
diff --git a/lib/modules/solidity/index.js b/lib/modules/solidity/index.js @@ -15,12 +15,6 @@ class Solidity { embark.registerCompiler(".sol", this.compile_solidity.bind(this)); - - this.events.setCommandHandler("contract:compile", (contractCode, cb) => { - const input = {'fiddler': {content: contractCode.replace(/\r\n...
2
diff --git a/lib/node_modules/@stdlib/_tools/scripts/create_namespace_types.js b/lib/node_modules/@stdlib/_tools/scripts/create_namespace_types.js var path = require( 'path' ); var fs = require( 'fs' ); +var contains = require( '@stdlib/assert/contains' ); +var stdin = require( '@stdlib/process/read-stdin' ); +var stdi...
11
diff --git a/lib/assets/test/spec/new-dashboard/unit/specs/components/MapCard/__snapshots__/CondensedMapCard.spec.js.snap b/lib/assets/test/spec/new-dashboard/unit/specs/components/MapCard/__snapshots__/CondensedMapCard.spec.js.snap @@ -19,7 +19,7 @@ exports[`MapCard.vue Events should receive and process correctly the ...
3
diff --git a/packages/titus-backend/package.json b/packages/titus-backend/package.json "docker:dev:exec": "docker-compose -f docker/docker-compose-dev.yml exec api", "docker:dev:migrate": "docker-compose -f docker/docker-compose-dev.yml exec api npm run migrate", "docker:dev:seed": "docker-compose -f docker/docker-comp...
8
diff --git a/Source/DataSources/CzmlDataSource.js b/Source/DataSources/CzmlDataSource.js @@ -1534,11 +1534,11 @@ define([ processPacketData(Boolean, ellipsoid, 'show', ellipsoidData.show, interval, sourceUri, entityCollection, query); processPacketData(Cartesian3, ellipsoid, 'radii', ellipsoidData.radii, interval, sour...
3
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml @@ -356,6 +356,8 @@ buildtest:storage-api: - cd magda-storage-api - docker-compose up -d - lerna run build --scope=@magda/storage-api --include-filtered-dependencies + - export MINIO_HOST=$(docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' `docker ...
12
diff --git a/scripts/importers/companyList.js b/scripts/importers/companyList.js @@ -3,21 +3,19 @@ var request = require('request') * https://raw.githubusercontent.com/mozilla-services/shavar-prod-lists/master/disconnect-blacklist.json * "<tracker host>" : { "c": <company name>, "u": "company url" } */ -var remapDataLo...
4
diff --git a/src/traces/isosurface/attributes.js b/src/traces/isosurface/attributes.js @@ -36,7 +36,10 @@ function makeSliceAttr(axLetter) { description: [ 'Specifies the location(s) of slices on the axis [0, n].', 'When not locations specified slices would be created for', - 'all (0, n) i.e. except start and end caps....
0
diff --git a/assets/js/modules/analytics/datastore/properties.test.js b/assets/js/modules/analytics/datastore/properties.test.js @@ -153,7 +153,6 @@ describe( 'modules/analytics properties', () => { await registry.dispatch( STORE_NAME ).selectProperty( propertyID ); expect( registry.select( STORE_NAME ).getPropertyID()...
2
diff --git a/src/utils/mixins.js b/src/utils/mixins.js @@ -129,7 +129,13 @@ const getModel = (el, $) => { }; const getElRect = el => { - if (!el) return; + const def = { + top: 0, + left: 0, + width: 0, + height: 0 + }; + if (!el) return def; let rectText; if (isTextNode(el)) { @@ -139,7 +145,9 @@ const getElRect = el ...
7
diff --git a/lerna.json b/lerna.json "command": { "init": { "exact": true + }, + "bootstrap": { + "npmClientArgs": [ + "--no-package-lock" + ] } }, "packages": [ "packages/*" ], - "ignoreChanges": ["docs/**"], + "ignoreChanges": [ + "docs/**", + "packages/*/package-lock.json" + ], "version": "7.4.1" }
8
diff --git a/docs/Introduction.Android.md b/docs/Introduction.Android.md @@ -64,7 +64,7 @@ Following device types could be used to control Android devices: - `android.attached`. Connect to already-attached android device. The device should be listed in the output of `adb devices` command under provided `name`. Use this...
1
diff --git a/docs/recipes/babel.md b/docs/recipes/babel.md @@ -173,7 +173,7 @@ You'll need to install `@babel/register` yourself. // test/_register.js: require('@babel/register')({ // These patterns are relative to the project directory (where the `package.json` file lives): - ignore: ['test/*'] + ignore: ['node_module...
8
diff --git a/README.md b/README.md -Swagger-JS +Swagger Client =========== [![Build Status](https://travis-ci.org/swagger-api/swagger-js.svg?branch=master)](https://travis-ci.org/swagger-api/swagger-js) +**Swagger Client** is a JavaScript module that allows you to fetch, resolve, and interact with Swagger/OpenAPI docum...
7
diff --git a/src/ROUTES.js b/src/ROUTES.js @@ -67,7 +67,7 @@ export default { getReportDetailsRoute: reportID => `r/${reportID}/details`, VALIDATE_LOGIN: 'v', VALIDATE_LOGIN_WITH_VALIDATE_CODE: 'v/:accountID/:validateCode', - LOGIN_WITH_SHORT_LIVED_TOKEN: 'transition/:accountID/:email/:shortLivedToken/:encryptedAuthTok...
10
diff --git a/src/mode/fdm/prepare.js b/src/mode/fdm/prepare.js point.y += minby - miny; } } + let thresh = firstLayerHeight * 1.05; // iterate over layers, find extrusion on belt and // apply corrections and add brim when specified for (let layer of output) { let lastout, first = false; let minz = Infinity, maxy = -Inf...
1
diff --git a/articles/connections/enterprise/ip-address.md b/articles/connections/enterprise/ip-address.md @@ -10,9 +10,20 @@ seo_alias: ip-address description: How to use IP Address Authentication with Auth0. crews: crew-2 --- +# Configure IP Address Authentication -In this type of connection Auth0 will simply check t...
0
diff --git a/Specs/Scene/ModelExperimental/Model3DTileContentSpec.js b/Specs/Scene/ModelExperimental/Model3DTileContentSpec.js @@ -118,11 +118,6 @@ describe( scene.camera.lookAt(center, new HeadingPitchRange(0.0, -1.57, range)); } - function setCameraWithHeight(longitude, latitude, range, centerHeight) { - const center...
4
diff --git a/test/cases/resolving/data-uri/index.js b/test/cases/resolving/data-uri/index.js @@ -5,7 +5,7 @@ it("should require js module from base64 data-uri", function() { }); it("should require js module from ascii data-uri", function() { - const mod = require("data:text/javascript;charset=utf-8;ascii,module.exports...
2
diff --git a/source/setup/components/RemoteFileTree.js b/source/setup/components/RemoteFileTree.js @@ -151,7 +151,7 @@ class RemoteFileTree extends Component { renderDirectory(dir, depth = 0) { const isOpen = this.state.openDirectories.includes(dir.path); const isLoading = this.props.directoriesLoading.includes(dir.pat...
4
diff --git a/test/jasmine/tests/hover_spikeline_test.js b/test/jasmine/tests/hover_spikeline_test.js @@ -4,6 +4,7 @@ var Plotly = require('@lib/index'); var Fx = require('@src/components/fx'); var Lib = require('@src/lib'); +var fail = require('../assets/fail_test'); var createGraphDiv = require('../assets/create_graph...
0
diff --git a/app/views/console/functions/function.phtml b/app/views/console/functions/function.phtml @@ -416,7 +416,7 @@ sort($patterns); <span data-ls-bind="{{execution.trigger}}"></span> </td> <td data-title="Time: "> - <span data-ls-if="{{execution.status}} === 'completed' || {{execution.status}} === 'failed'" data-...
10
diff --git a/samples/csharp_dotnetcore/15.handling-attachments/Startup.cs b/samples/csharp_dotnetcore/15.handling-attachments/Startup.cs using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Bot.Builder; -using Microsoft.Bot.Builder.Integration; using Microsoft.Bot.Builder.Integration....
0
diff --git a/token-metadata/0xD5525D397898e5502075Ea5E830d8914f6F0affe/metadata.json b/token-metadata/0xD5525D397898e5502075Ea5E830d8914f6F0affe/metadata.json "symbol": "MEME", "address": "0xD5525D397898e5502075Ea5E830d8914f6F0affe", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED"...
3
diff --git a/package.json b/package.json }, "scripts": { "start": "ws", - "build": "node build.js type=node", + "build": "node build.js type=browser", "version": "npm run build && git add -A dist", "test": "./node_modules/.bin/karma start saucelabs.karma.conf.js --single-run --verbose && for a in coverage/*; do codecli...
12
diff --git a/docs/app/helpers/dynamic-code-snippet.js b/docs/app/helpers/dynamic-code-snippet.js @@ -7,6 +7,7 @@ export default helper(function ([source], { language, dynamic, quote = '"' }) { } Object.keys(dynamic).forEach((property) => { let propertyValue = get(dynamic, property); + let hasValue = propertyValue !== u...
7
diff --git a/src/serviceworker.js b/src/serviceworker.js @@ -25,3 +25,28 @@ self.addEventListener('push', ev => { icon: './img/icon128.png' }); }); + +self.addEventListener('notificationclick', function(event) { + console.log('On notification click: ', event.notification.tag); + // Android doesn't close the notificatio...
9
diff --git a/src/web/App.js b/src/web/App.js @@ -676,7 +676,14 @@ App.prototype.stateChange = function(e) { if (recipeConfig.length === 1) { title = `${recipeConfig[0].op} - ${title}`; } else if (recipeConfig.length > 1) { - title = `${recipeConfig.length} operations - ${title}`; + // See how long the full recipe is + ...
7
diff --git a/api/controllers/MusicController.js b/api/controllers/MusicController.js @@ -50,7 +50,7 @@ module.exports = { /** * @api {get} /music/queue Get Queue - * @apiName MusicGetCurrentTrack + * @apiName MusicGetQueue * @apiGroup Music * @apiPermission authenticated *
10
diff --git a/src/validate/meteor.js b/src/validate/meteor.js -import { VALIDATE_OPTIONS, addLocation, combineErrorDetails, serversExist } from './utils'; +import { + VALIDATE_OPTIONS, + addLocation, + combineErrorDetails, + serversExist +} from './utils'; import joi from 'joi'; @@ -16,9 +21,9 @@ const schema = joi.obje...
7
diff --git a/app/styles/components/_forms.scss b/app/styles/components/_forms.scss @@ -71,6 +71,19 @@ input:invalid { box-shadow: initial; } +input[type='text'], +input[type='password'], +input[type='number'], +input[type='date'], +input[type='email'], +input[type='search'], +input[type='tel'], +input[type='url'], +tex...
3
diff --git a/src/MUIDataTable.js b/src/MUIDataTable.js @@ -894,7 +894,7 @@ class MUIDataTable extends React.Component { const filterType = column.filterType || options.filterType; if (filterVal.length || filterType === 'custom') { if (column.filterOptions && column.filterOptions.logic) { - if (column.filterOptions.logi...
0
diff --git a/appjs/logicjavascript.js b/appjs/logicjavascript.js @@ -2897,14 +2897,15 @@ else{ } function impse10find(){ - let n = parseInt(document.getElementById("impse14").value) - var res = 0, fact = 1; + let num = parseInt(document.getElementById("impse14").value) + var result = 0; + var fact = 1; for (i = 1; i <=...
1
diff --git a/polyfills/MediaQueryList/prototype/addEventListener/tests.js b/polyfills/MediaQueryList/prototype/addEventListener/tests.js @@ -11,6 +11,10 @@ it("should define the EventTarget methods on the MediaQueryList prototype", func // We can only test these behaviors with native `matchMedia` as iframes don't trigg...
0
diff --git a/.github/workflows/browser-tests.yml b/.github/workflows/browser-tests.yml @@ -27,6 +27,7 @@ jobs: timeout-minutes: 60 runs-on: ubuntu-latest if: github.event_name == 'push' || (github.event_name == 'pull_request' && !startsWith(github.head_ref, 'renovate/')) + environment: ${{ github.event.inputs.environme...
12
diff --git a/packages/spark-core/settings/_settings.scss b/packages/spark-core/settings/_settings.scss @@ -238,7 +238,7 @@ $border-radius: 5px !default; /// $alert-border: 1px solid $gray !default; $alert-bar-width: -10px !default; -$alert-color: $white !default; +$alert-bg-color: $white !default; $alert-color-info: $b...
3
diff --git a/src/parser/ad_parser.js b/src/parser/ad_parser.js @@ -191,7 +191,7 @@ function parseAdElement(adTypeElement, emit) { } } - if (adVerificationFromExtensions.length) { + if (adVerificationFromExtensions.length && ad.system.version < 4.1) { ad.adVerifications = ad.adVerifications.concat( adVerificationFromExt...
0
diff --git a/src/components/nodes/parallelGateway/parallelGateway.vue b/src/components/nodes/parallelGateway/parallelGateway.vue @@ -11,5 +11,15 @@ export default { nodeIcon: parallelGatewaySymbol, }; }, + watch: { + 'node.definition': { + deep:true, + immediate:true, + handler() { + //insure that parallel gateways don...
2
diff --git a/lib/assets/javascripts/builder/data/analyses.js b/lib/assets/javascripts/builder/data/analyses.js @@ -11,7 +11,7 @@ var DataServicesApiCheck = require('builder/editor/layers/layer-content-views/an var DAO_TYPES = ['age-and-gender', 'boundaries', 'education', 'employment', 'families', 'housing', 'income', '...
12
diff --git a/src/scss/_dashboard.scss b/src/scss/_dashboard.scss .uppy-Dashboard-dropFilesTitle { max-width: 460px; text-align: center; - font-size: 19px; + font-size: 18px; line-height: 1.45; font-weight: 300; color: rgba($color-asphalt-gray, 0.8); + padding: 0 15px; // margin: 0; // margin-top: 25px;
0
diff --git a/articles/quickstart/webapp/java-spring-boot/01-login.md b/articles/quickstart/webapp/java-spring-boot/01-login.md @@ -62,7 +62,7 @@ If you are using Maven: <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency> - <groupId>org.springframework.security</groupId> + <groupId>org.springfram...
3
diff --git a/assets/js/modules/subscribe-with-google/components/common/RevenueModelInput.js b/assets/js/modules/subscribe-with-google/components/common/RevenueModelInput.js @@ -31,10 +31,15 @@ import { useCallback } from '@wordpress/element'; */ import Data from 'googlesitekit-data'; import { STORE_NAME } from '../../d...
4
diff --git a/package-lock.json b/package-lock.json } }, "lodash": { - "version": "4.17.11", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz", - "integrity": "sha1-s56mIp72B+zYniyN8SU2iRysm40=", + "version": "4.17.15", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", + "integ...
1
diff --git a/ui/src/actions/index.js b/ui/src/actions/index.js @@ -2,22 +2,18 @@ import {endpoint} from 'src/app/api'; import asyncActionCreator from './asyncActionCreator'; export const fetchCollections = () => async dispatch => { - const limit = 5000; - - async function fetchCollectionsPages(page=1) { - const respons...
14
diff --git a/articles/quickstart/spa/angular2/01-login.md b/articles/quickstart/spa/angular2/01-login.md @@ -15,6 +15,6 @@ useCase: quickstart <!-- markdownlint-disable MD034 MD041 --> -<%= include('../_includes/_getting_started', { library: 'Angular 7+', callback: 'http://localhost:3000', showLogoutInfo: true, returnT...
1
diff --git a/src/Services/Air/AirFormat.js b/src/Services/Air/AirFormat.js @@ -300,7 +300,7 @@ function setIndexesForSegments( const indexedSegments = allSegments.map((s, k) => ({ ...s, index: k + 1 })); return { - segments: indexedSegments.filter(s => s.SegmentType !== 'Service'), + segments: indexedSegments.filter(s ...
1
diff --git a/includes/Core/Authentication/Clients/Google_Site_Kit_Client.php b/includes/Core/Authentication/Clients/Google_Site_Kit_Client.php @@ -282,4 +282,26 @@ class Google_Site_Kit_Client extends Google_Client { throw new Google_OAuth_Exception( $error ); } + /** + * Create a default Google OAuth2 object. + * + * ...
4
diff --git a/token-metadata/0x36F3FD68E7325a35EB768F1AedaAe9EA0689d723/metadata.json b/token-metadata/0x36F3FD68E7325a35EB768F1AedaAe9EA0689d723/metadata.json "symbol": "ESD", "address": "0x36F3FD68E7325a35EB768F1AedaAe9EA0689d723", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED" ...
3
diff --git a/addon/components/docs-hero/template.hbs b/addon/components/docs-hero/template.hbs <div class='docs-container'> <h1 class='docs-hero__heading'> - {{#if logo}} + {{#if hasBlock}} + {{yield}} + {{else if logo}} <span class='docs-hero__logo'> {{docs-logo logo=logo}} </span>
11
diff --git a/app/builtin-pages/views/bookmarks.js b/app/builtin-pages/views/bookmarks.js @@ -17,7 +17,7 @@ import renderPencilIcon from '../icon/pencil' // var query = '' // current search query -var currentView = 'feed' +var currentView = 'all' var bookmarks = [] var userProfile = null var followedUserProfiles = null
12
diff --git a/.travis.yml b/.travis.yml @@ -6,6 +6,7 @@ sudo: false addons: code_climate: repo_token: $CODECLIMATE_REPO_TOKEN +before_install: sudo apt-get install libcairo2-dev libjpeg8-dev libpango1.0-dev libgif-dev build-essential g++ install: - npm install - npm run build-css
1
diff --git a/.storybook/utils/resetGlobals.js b/.storybook/utils/resetGlobals.js @@ -45,8 +45,6 @@ export const resetGlobals = () => { 'http://example.com/wp-admin/index.php?action=googlesitekit_proxy_setup&nonce=abc123', proxyPermissionsURL: 'http://example.com/wp-admin/index.php?action=googlesitekit_proxy_permissions...
2
diff --git a/package.json b/package.json }, "scripts": { "lint": "eslint polyfills lib tasks test", - "clean": "rimraf ./polyfills/__dist", + "clean": "rimraf ./polyfills/__dist && node tasks/clean", "build": "npm run clean && node tasks/updatesources && node tasks/buildsources/buildsources", "build-series": "npm run c...
0
diff --git a/best-practices.md b/best-practices.md - [Formats with no registered media type](#formats-with-no-registered-media-type) - [Asset Roles](#asset-roles) - [List of Asset Roles](#list-of-asset-roles) - - [Thumbnails](#thumbnails) + - [Thumbnail](#thumbnail) + - [Overview](#overview) + - [Visual](#visual) - **[...
0
diff --git a/src/XR.js b/src/XR.js @@ -341,7 +341,7 @@ class XRFrame { this._pose = new XRViewerPose(this); } - getDevicePose(coordinateSystem) { + getViewerPose(coordinateSystem) { return this._pose; } getInputPose(inputSource, coordinateSystem) {
10
diff --git a/src/config/scrivitoContentBrowser.js b/src/config/scrivitoContentBrowser.js import * as Scrivito from "scrivito"; export function configureScrivitoContentBrowser() { - if (typeof window === "undefined") return; - Scrivito.configureContentBrowser({ filters: ({ _validObjClasses }) => { if (_validObjClasses) ...
11
diff --git a/lib/hooks/helpers/private/load-helpers.js b/lib/hooks/helpers/private/load-helpers.js var _ = require('@sailshq/lodash'); var flaverr = require('flaverr'); var includeAll = require('include-all'); -var Machine = require('machine'); @@ -46,16 +45,18 @@ module.exports = function loadHelpers(sails, done) { //...
12
diff --git a/src/transforms/aggregate.js b/src/transforms/aggregate.js @@ -68,7 +68,7 @@ var attrs = exports.attributes = { }, func: { valType: 'enumerated', - values: ['count', 'sum', 'avg', 'median', 'mode', 'rms', 'stddev', 'min', 'max', 'first', 'last', 'change'], + values: ['count', 'sum', 'avg', 'median', 'mode',...
0
diff --git a/contracts/Havven.sol b/contracts/Havven.sol @@ -228,6 +228,7 @@ contract Havven is ERC20Token, Owned { onlyOwner returns (bool) { + // Use "this" in order that the havven account is the sender. return this.transfer(account, value); } @@ -246,11 +247,8 @@ contract Havven is ERC20Token, Owned { // an excepti...
11
diff --git a/app/webpack/observations/show/ducks/observation.js b/app/webpack/observations/show/ducks/observation.js @@ -512,6 +512,7 @@ export function addAnnotation( controlledAttribute, controlledValue ) { return ( dispatch, getState ) => { const state = getState( ); if ( !hasObsAndLoggedIn( state ) ) { return; } + ...
1
diff --git a/src/components/List/List.story.jsx b/src/components/List/List.story.jsx import React, { useState } from 'react'; import { storiesOf } from '@storybook/react'; import { action } from '@storybook/addon-actions'; -import { text, select } from '@storybook/addon-knobs'; -import { Add16, Edit16, Star16, StarFill...
1
diff --git a/lib/assets/core/javascripts/cartodb3/components/form-components/editors/fill/input-color/assets-picker/assets-list-view.js b/lib/assets/core/javascripts/cartodb3/components/form-components/editors/fill/input-color/assets-picker/assets-list-view.js @@ -8,7 +8,6 @@ module.exports = CoreView.extend({ initiali...
2
diff --git a/SearchbarNavImprovements.user.js b/SearchbarNavImprovements.user.js // @description Site search selector on meta sites. Add advanced search helper when search box is focused. Adds link to meta in left sidebar, and link to main from meta. // @homepage https://github.com/samliew/SO-mod-userscripts // @author...
2
diff --git a/src/embeds/NewsEmbed.js b/src/embeds/NewsEmbed.js @@ -24,21 +24,16 @@ class NewsEmbed extends BaseEmbed { this.color = news.length > 0 ? 0x00ff00 : 0xff0000; let value = news.map(n => n.toString()).join('\n'); - let title = ''; if (type) { if (type === 'update') { value = value.length > 0 ? value : 'No Upd...
2
diff --git a/readme.md b/readme.md <br> <br> -### Give **power to designers & content creators**, in a place where they currently feel they have little to none, **by bringing design tool interactions and hotkeys to the browser** +<h3 style="font-weight:300; max-width: 40ch;"><b>Give power</b> to designers & content cre...
5
diff --git a/articles/quickstart/webapp/aspnet-core/04-storing-tokens.md b/articles/quickstart/webapp/aspnet-core/04-storing-tokens.md @@ -29,6 +29,13 @@ The value will be stored as a property with the name ".Token." suffixed with the Once you have retrieved the value of the token, you can then simply store it as a cla...
0
diff --git a/config/config.js b/config/config.js @@ -5,12 +5,12 @@ let publcPath = '/static/dists/'; if (process.env.SEPARATION === 'true') { publcPath = `/`; } -const isHash = process.env.ROUTE_MODE === 'hash'; +const isHistory = process.env.ROUTE_MODE === 'history'; export default { - history: isHash ? 'hash' : 'brow...
1
diff --git a/includes/Modules/Optimize.php b/includes/Modules/Optimize.php @@ -23,7 +23,6 @@ use Google\Site_Kit\Core\Modules\Module_With_Assets_Trait; use Google\Site_Kit\Core\Modules\Module_With_Owner; use Google\Site_Kit\Core\Modules\Module_With_Owner_Trait; use Google\Site_Kit\Core\Authentication\Clients\Google_Sit...
2
diff --git a/templates/copyedit/note.txt b/templates/copyedit/note.txt {% trans count=graphics|length %} -This graphic accompanies [AUTHOR]'s story, running [TIME], about [SUBJECT]. +This graphic accompanies __AUTHOR__'s story, running __TIME__, about __SUBJECT__. {% pluralize %} -These graphics accompany [AUTHOR]'s st...
3
diff --git a/universe.js b/universe.js @@ -2,7 +2,6 @@ import * as THREE from './three.module.js'; import {BufferGeometryUtils} from './BufferGeometryUtils.js'; import {rigManager} from './rig.js'; import {renderer, scene, camera, dolly} from './app-object.js'; -import {Sky} from './Sky.js'; import {world} from './worl...
2
diff --git a/lib/assets/core/javascripts/cartodb3/editor/layers/layer-content-views/legend/legend-buffer.js b/lib/assets/core/javascripts/cartodb3/editor/layers/layer-content-views/legend/legend-buffer.js @@ -44,8 +44,11 @@ LegendBuffer.prototype._run = function (callback) { LegendBuffer.prototype._removePrevious = fun...
1
diff --git a/articles/appliance/infrastructure/extensions.md b/articles/appliance/infrastructure/extensions.md @@ -3,7 +3,9 @@ section: appliance description: Appliance infrastructure information about enabling Webtasks and Web Extensions --- -# Enable Webtasks and Web Extensions +# Enable Webtasks, Web Extensions, and...
0
diff --git a/assets/js/components/Alert.js b/assets/js/components/Alert.js @@ -32,7 +32,6 @@ import { Component, Fragment } from '@wordpress/element'; */ import data, { TYPE_MODULES } from './data'; import Notification from './legacy-notifications/notification'; -import SunSmallSVG from '../../svg/sun-small.svg'; class...
2
diff --git a/packages/vulcan-ui-material/lib/components/forms/base-controls/MuiRadioGroup.jsx b/packages/vulcan-ui-material/lib/components/forms/base-controls/MuiRadioGroup.jsx @@ -9,6 +9,7 @@ import FormControlLabel from '@material-ui/core/FormControlLabel'; import Radio from '@material-ui/core/Radio'; import RadioGro...
1
diff --git a/src/components/accounts/AccountFormAccountId.js b/src/components/accounts/AccountFormAccountId.js @@ -19,7 +19,7 @@ class AccountFormAccountId extends Component { } handleChangeAccountId = (e, { name, value }) => { - if (value.match(/[^a-zA-Z0-9@._-]/)) { + if (value.match(/[^a-zA-Z0-9_-]/)) { return false...
3
diff --git a/lib/assets/javascripts/new-dashboard/i18n/locales/en.json b/lib/assets/javascripts/new-dashboard/i18n/locales/en.json "UserDropdown": { "settings": "Settings", "organizationSettings": "Your organization", - "apiKeys": "API Keys & OAuth", + "apiKeys": "API Keys", "publicProfile": "Public Profile", "notifica...
2
diff --git a/README.md b/README.md @@ -442,7 +442,7 @@ In this section, we use badges to indicate the targeted Vue version for each plu ### Docker -- [Vite.js Docker Dev](https://github.com/nystudio107/vitejs-docker-dev) - Local development environment for developing vite.js via Docker container. +- [Vite.js Docker Dev...
1
diff --git a/README.md b/README.md # Sparta <p align="center"> -[![Build Status](https://travis-ci.org/mweagle/Sparta.svg?branch=master)](https://travis-ci.org/mweagle/Sparta) [![GoDoc](https://godoc.org/github.com/mweagle/Sparta?status.svg)](https://godoc.org/github.com/mweagle/Sparta) +[![Build Status](https://travis...
0
diff --git a/src/parsers/GmlSeeker.hx b/src/parsers/GmlSeeker.hx @@ -456,7 +456,17 @@ class GmlSeeker { out.instFieldComp.push(fd.comp); } } - function doLoop(?exitAtCubDepth:Int) while (q.loop) { + function doLoop(?exitAtCubDepth:Int) { + //var oldPos = q.pos, oldSource = q.source; + while (q.loop) { + /*// + if (q.po...
1
diff --git a/src/containers/language-selector.jsx b/src/containers/language-selector.jsx @@ -12,7 +12,7 @@ class LanguageSelector extends React.Component { super(props); bindAll(this, [ 'handleChange', - 'handleMouseLeave', + 'handleMouseOut', 'ref' ]); document.documentElement.lang = props.currentLocale; @@ -25,12 +25...
14
diff --git a/readme.md b/readme.md @@ -256,6 +256,10 @@ A: Yes A: Yes +**Q: Idea! Can Immer freeze the state for me?** + +A: Yes + ## Credits Special thanks goes to @Mendix, which supports it's employees to experiment completely freely two full days a month, which formed the kick-start for this project.
0
diff --git a/OurUmbraco.Site/Views/Download.cshtml b/OurUmbraco.Site/Views/Download.cshtml <p> Umbraco 8 is the upcoming new major release of Umbraco with native support for Language Variants, Infinite Editing and Content Apps. You can access a pre-release nightly build of Umbraco 8 using NuGet with: - <pre class="pre ...
1
diff --git a/src/libs/address.js b/src/libs/address.js @@ -77,6 +77,10 @@ function findAdminIdunn(raw, name) { */ export function toArray(address, { omitStreet, omitCountry } = {}) { if (!address.street) { + // Tripadvisor POI only have a valid address in the label field + if(!address.cityDistrict && !address.countryRe...
4
diff --git a/generators/server/templates/src/main/java/package/web/rest/_UserJWTController.java b/generators/server/templates/src/main/java/package/web/rest/_UserJWTController.java @@ -25,20 +25,16 @@ import <%=packageName%>.web.rest.vm.LoginVM; import com.codahale.metrics.annotation.Timed; import com.fasterxml.jackson...
2
diff --git a/packages/bas-shell/demo/src/containers/Menu/Menu.js b/packages/bas-shell/demo/src/containers/Menu/Menu.js @@ -5,7 +5,7 @@ import { default as withAppConfigs } from 'base-shell/lib/providers/ConfigProvid import { compose } from 'redux' const Menu = ({ history, appConfig }) => { - const handleSignOut = async...
1
diff --git a/src/layout/card.js b/src/layout/card.js @@ -2,6 +2,13 @@ import PropTypes from 'prop-types'; import React, { Fragment } from 'react'; +/** + * [description] + * @param {[type]} options.text [description] + * @param {[type]} options.headingSize [description] + * @param {[type]} options.fullwidth [descriptio...
6
diff --git a/src/view/get-event-listener.js b/src/view/get-event-listener.js @@ -35,6 +35,11 @@ function getEventListener(eventBind, owner, data, isComponentEvent) { )); } + if (eventBind.modifier.prevent) { + e.preventDefault && e.preventDefault(); + return false; + } + if (eventBind.modifier.stop) { if (e.stopPropaga...
9
diff --git a/website/javascript/templates/Home.vue b/website/javascript/templates/Home.vue <template> <div class="home-container"> - <div class="notification font-headline">Halite II launches on October 23rd, Finals begin on January 22nd, 2018</div> + <div class="notification font-headline">Welcome to the 2017-2018 sea...
1
diff --git a/components/explorer/commune/voies-commune.js b/components/explorer/commune/voies-commune.js @@ -57,7 +57,9 @@ const VoiesCommune = ({voies, commune}) => { VoiesCommune.propTypes = { voies: PropTypes.array, - commune: PropTypes.object + commune: PropTypes.shape({ + code: PropTypes.string.isRequired + }) } V...
0
diff --git a/package.json b/package.json "name": "find-and-replace", "main": "./lib/find", "description": "Find and replace within buffers and across the project.", - "version": "0.215.4", + "version": "0.215.5", "license": "MIT", "activationCommands": { "atom-workspace": [
6
diff --git a/includes/Modules/Subscribe_With_Google/Header.php b/includes/Modules/Subscribe_With_Google/Header.php @@ -28,8 +28,6 @@ final class Header { * @param bool $is_amp True if an AMP request, false otherwise. */ public function __construct( $is_amp ) { - $this->is_amp = $is_amp; - $publication_id = get_option( ...
2
diff --git a/src/web/OperationsWaiter.js b/src/web/OperationsWaiter.js @@ -38,7 +38,6 @@ OperationsWaiter.prototype.searchOperations = function(e) { selected = this.getSelectedOp(ops); if (selected > -1) { this.manager.recipe.addOperation(ops[selected].innerHTML); - this.app.autoBake(); } } } @@ -197,7 +196,6 @@ Operat...
2
diff --git a/source/tab/messaging.js b/source/tab/messaging.js @@ -54,7 +54,8 @@ function handleMessage(request, sender, sendResponse) { setPasswordForCurrentInput(request.password); break; default: - throw new Error(`Unknown message received: ${request.type}`); + // ignore + break; } }
8
diff --git a/assets/js/components/dashboard-sharing/ModuleRecoveryAlert/index.stories.js b/assets/js/components/dashboard-sharing/ModuleRecoveryAlert/index.stories.js @@ -185,11 +185,6 @@ SingleRecoverableModuleError.args = { ); }, }; -SingleRecoverableModuleError.scenario = { - label: - 'Global/ModuleRecoveryAlert/Sin...
2
diff --git a/src/og/entity/Polyline.js b/src/og/entity/Polyline.js @@ -187,7 +187,8 @@ class Polyline { * @param {Array.<Array.<og.LonLat>>} [outTransformedPathLonLat] - Geodetic coordinates out array. * @param {Array.<Array.<og.LonLat>>} [outPath3v] - Cartesian coordinates out array. * @param {Array.<Array.<og.LonLat>...
0
diff --git a/src/editor/components/JournalCitationPreview.js b/src/editor/components/JournalCitationPreview.js import { Component } from 'substance' -import ElementCitationAuthorsList from './ElementCitationAuthorsList' +import PersonGroupPreview from './PersonGroupPreview' +import YearPreviewComponent from './YearPrev...
7