code
stringlengths
122
4.99k
label
int64
0
14
diff --git a/Source/Widgets/Cesium3DTilesInspector/Cesium3DTilesInspectorViewModel.js b/Source/Widgets/Cesium3DTilesInspector/Cesium3DTilesInspectorViewModel.js @@ -293,7 +293,7 @@ function Cesium3DTilesInspectorViewModel(scene, performanceContainer) { this.styleString = "{}"; /** - * Gets or sets the JSON for the tile...
3
diff --git a/articles/rules/current/management-api.md b/articles/rules/current/management-api.md @@ -41,6 +41,10 @@ function (user, context, callback) { } ``` +::: +You can checked the available library versions [here](https://auth0-extensions.github.io/canirequire/#auth0). This provides a filtered list of available li...
3
diff --git a/test/jasmine/tests/gl2d_plot_interact_test.js b/test/jasmine/tests/gl2d_plot_interact_test.js @@ -348,7 +348,7 @@ describe('@gl Test gl2d plots', function() { .then(done); }); - it('should be able to toggle visibility', function(done) { + it('@flaky should be able to toggle visibility', function(done) { va...
0
diff --git a/assets/default-utterances.json b/assets/default-utterances.json -["what is a chat bot", -"exit", -"quit", -"start the quiz", -"how much does it cost", -"what is a data warehouse", -"what is coronary artery disease", -"what is an electric vehicle", -"tell me about amazon alexa", -"tell me about body mass in...
2
diff --git a/packages/jaeger-ui/src/model/ddg/transformDdgData.tsx b/packages/jaeger-ui/src/model/ddg/transformDdgData.tsx @@ -23,7 +23,7 @@ import { TDdgVisibilityIdxToPathElem, } from './types'; -const stringifyPayloadEntry = ({ service, operation }: TDdgPayloadEntry) => `${service}::${operation}`; +const stringifyPa...
7
diff --git a/app/shared/utils/StatsFetcher.js b/app/shared/utils/StatsFetcher.js @@ -32,7 +32,7 @@ export default class StatsFetcher { } totalStakedToOthers() { - if (!this.delegations) return Decimal(0); + if (!this.delegations || this.delegations.length === 0) return Decimal(0); const cpuWeightsStakedToOthers = this....
9
diff --git a/articles/api-auth/which-oauth-flow-to-use.md b/articles/api-auth/which-oauth-flow-to-use.md @@ -18,7 +18,7 @@ useCase: OAuth 2.0 supports several different **grants**. By grants, we mean ways of retrieving an Access Token. Deciding which one is suited for your case depends mostly on your Application's type...
2
diff --git a/src/pages/ReimbursementAccount/BankAccountManualStep.js b/src/pages/ReimbursementAccount/BankAccountManualStep.js @@ -19,6 +19,7 @@ import * as ReimbursementAccount from '../../libs/actions/ReimbursementAccount'; import exampleCheckImage from './exampleCheckImage'; import ReimbursementAccountForm from './R...
4
diff --git a/lib/node_modules/@stdlib/_tools/scripts/create_namespace_types.js b/lib/node_modules/@stdlib/_tools/scripts/create_namespace_types.js @@ -213,6 +213,15 @@ function main() { str = replace( str, '\n', '\n\t' ); prop = '\t' + str + '\n' + prop; } + else { + tsDoc = tsDef.match( /(\/\*\*\n[\s\S]+?\*\/)\nexport...
9
diff --git a/components/Search/constants.js b/components/Search/constants.js @@ -5,8 +5,8 @@ export const SUPPORTED_FILTER = { 'article', 'discussion', 'editorialNewsletter', - 'format', - 'dossier' + 'dossier', + 'section' ], kind: ['meta', 'scribble'], textLength: ['short', 'medium', 'long', 'epic'],
14
diff --git a/test/test.js b/test/test.js @@ -275,7 +275,7 @@ function startRefTest(masterMode, showRefImages) { } function checkRefsTmp() { if (masterMode && fs.existsSync(refsTmpDir)) { - if (options.noPrompt) { + if (options.noPrompts) { testUtils.removeDirSync(refsTmpDir); setup(); return;
1
diff --git a/closure/goog/url/url.js b/closure/goog/url/url.js @@ -646,8 +646,9 @@ class UrlPrimitivePartsPartial { /** @const {string|undefined} */ this.password; + /** @const {string|undefined} */ - this.host; + this.hostname; /** @const {string|undefined} */ this.port;
14
diff --git a/js/plugin/Search.js b/js/plugin/Search.js @@ -9,6 +9,15 @@ BR.Search = L.Control.Geocoder.extend({ position: 'topleft' }, + initialize: function(options) { + L.Control.Geocoder.prototype.initialize.call(this, options); + L.setOptions(this, { + // i18next.t will only return 'undefined' if it is called in a ...
11
diff --git a/src/extras/console.js b/src/extras/console.js @@ -34,7 +34,7 @@ const colorizeSettings = { //================================================================ -function log(msg, context=null){ +function log(msg='', context=null){ let conCtx = getConCtx(context); let histCtx = getHistCtx(context); console.lo...
7
diff --git a/lib/https/index.js b/lib/https/index.js @@ -346,7 +346,7 @@ function resolveWebsocket(socket, wss) { rejectUnauthorized: false, host: ip, port: port, - servername: options.hostname + servername: util.parseHost(headers.host)[0] || options.hostname }, pipeData); } catch (e) { return execCallback(e);
1
diff --git a/src/Webform.js b/src/Webform.js @@ -766,22 +766,16 @@ export default class Webform extends NestedDataComponent { console.warn(this.t('saveDraftAuthError')); return; } - const draft = this.submission; + const draft = fastCloneDeep(this.submission); draft.state = 'draft'; + if (!this.savingDraft) { this.savi...
14
diff --git a/.github/workflows/browserslist-db-update.yml b/.github/workflows/browserslist-db-update.yml @@ -7,6 +7,9 @@ on: workflow_dispatch: +env: + branch-name: update/browserslist-db + jobs: close-existing-pr: name: Close existing PR @@ -17,7 +20,7 @@ jobs: continue-on-error: true uses: fjogeleit/http-request-acti...
4
diff --git a/src/core/evaluator.js b/src/core/evaluator.js @@ -2821,7 +2821,7 @@ class PartialEvaluator { continue; } - if (!compareWithLastPosition()) { + if (!category.isZeroWidthDiacritic && !compareWithLastPosition()) { // The glyph is not in page so just skip it. continue; }
8
diff --git a/src/mousetracker.js b/src/mousetracker.js return this; }, + /** + * Returns {Array.<OpenSeadragon.MouseTracker>} excluding the given pointer device type + * @function + * @param {String} type - The pointer device type: "mouse", "touch", "pen", etc. + * @returns {Array.<OpenSeadragon.MouseTracker>} + */ + g...
1
diff --git a/app/scripts/MultiViewContainer.jsx b/app/scripts/MultiViewContainer.jsx @@ -1463,9 +1463,7 @@ export class MultiViewContainer extends React.Component { /> </div> {genomePositionSearchBox} - <SearchableTiledPlot > {tiledPlot} - </SearchableTiledPlot> {overlay} </div>)
2
diff --git a/examples/index.html b/examples/index.html <a href="basic-video.html">Video Streaming</a> <span>Example of using texture video with WebRTC</span> </div> + <div> + <a href="basic-multi-streams.html">Multi Streams</a> + <span>Example of using texture video with WebRTC from multiple local streams</span> + </di...
10
diff --git a/resource/styles/scss/_search.scss b/resource/styles/scss/_search.scss // search help .search-help { - caption { - text-align: center; - } - td { - text-align: center; - padding-right: 1em; - } .search-help, td, th { border: solid 1px gray; }
14
diff --git a/lib/contracts/deploy.js b/lib/contracts/deploy.js @@ -5,7 +5,6 @@ let utils = require('../utils/utils.js'); class Deploy { constructor(options) { this.blockchain = options.blockchain; - this.web3 = this.blockchain.web3; this.logger = options.logger; this.events = options.events; this.plugins = options.plug...
2
diff --git a/components/Frame/Header.js b/components/Frame/Header.js @@ -148,8 +148,11 @@ const styles = { }), stickyWithFallback: css({ // auto prefix does not with multiple values :( + // - -webkit-sticky would be missing if not defined explicitly // - glamor 2.20.40 / inline-style-prefixer 3.0.8 position: ['fixed', ...
7
diff --git a/src/encoded/audit/experiment.py b/src/encoded/audit/experiment.py @@ -1962,9 +1962,11 @@ def audit_experiment_replicated(value, system, excluded_types): ''' Excluding single cell isolation experiments from the replication requirement Excluding RNA-bind-and-Seq from the replication requirment + Excluding ge...
2
diff --git a/src/file/kind/gml/KGmlMultifile.hx b/src/file/kind/gml/KGmlMultifile.hx @@ -80,14 +80,15 @@ class KGmlMultifile extends KGml { var errors = ""; for (item in next) { var itemPath = map0[item.name]; - if (itemPath != null) { var itemCode = item.code; + if (itemPath != null) { FileWrap.writeTextFileSync(itemP...
1
diff --git a/README-dev.md b/README-dev.md **Windows Developers**: Install Node.js globally, may also have to run Spearmint in admin mode. +// works through node version 19.4.0 +// electron-devtools-vendor must be at version 1.1 for now due to a bug +// react must be version 17 due to a dependency for mui +// fix-path ...
3
diff --git a/src/lib/transactionBuilder.js b/src/lib/transactionBuilder.js @@ -645,6 +645,9 @@ export default class TransactionBuilder { return callback('When contract is not payable, options.callValue and options.tokenValue must be 0'); + if (options.rawParameter && utils.isString(options.rawParameter)) { + parameters...
8
diff --git a/src/sweetalert2.js b/src/sweetalert2.js @@ -320,7 +320,7 @@ const modalDependant = (...args) => { if (params.input === 'email' && params.inputValidator === null) { params.inputValidator = (email) => { return new Promise((resolve, reject) => { - const emailRegex = /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{...
11
diff --git a/articles/quickstart/webapp/golang/01-login.md b/articles/quickstart/webapp/golang/01-login.md @@ -69,12 +69,6 @@ AUTH0_CLIENT_SECRET='${account.clientSecret}' AUTH0_CALLBACK_URL='http://localhost:3000/callback' ``` -::: note -To load the environment variables from the `.env` file, you can use -[github.com/...
2
diff --git a/src/modules/app/services/State.js b/src/modules/app/services/State.js * @returns {number} * @private */ - get _seepStep() { + get _sleepStep() { return this.__seepStep; } * @param {number} value * @private */ - set _seepStep(value) { + set _sleepStep(value) { if (value) { if (this._maxSleep) { this._addBlo...
10
diff --git a/assets/js/components/settings/SettingsModules.js b/assets/js/components/settings/SettingsModules.js @@ -64,14 +64,14 @@ function SettingsModules() { const byActiveNoInternals = ( active ) => ( module ) => ! module.internal && active === module.active; - const getModulesByActive = ( active ) => + const getM...
4
diff --git a/.github/workflows/preDeploy.yml b/.github/workflows/preDeploy.yml @@ -213,7 +213,7 @@ jobs: runs-on: ubuntu-latest outputs: - isExpensifyEmployee: ${{ fromJSON(steps.checkActor.outputs.isTeamMember) }} + IS_EXPENSIFY_EMPLOYEE: ${{ fromJSON(steps.checkActor.outputs.isTeamMember) }} steps: - name: Check whet...
10
diff --git a/package.json b/package.json "code-lint": "eslint setup lib bin hot buildin \"test/*.js\" \"test/**/webpack.config.js\" \"examples/**/webpack.config.js\" \"schemas/**/*.js\"", "type-lint": "tsc --pretty", "fix": "yarn code-lint --fix", - "pretty": "prettier --write \"**/*.{js,ts}\"", "schema-lint": "node --...
2
diff --git a/vr-ui.js b/vr-ui.js @@ -2603,6 +2603,26 @@ const makeCornersMesh = () => { const cornerMesh = new THREE.Mesh(cornersGeometry, blackMaterial); return cornerMesh; }; +const makeTextInput = (text, placeholder = '', font = './GeosansLight.ttf', size = 0.1, width = 1) => { + const textMesh = makeTextMesh(text, ...
0
diff --git a/protocols/peer/contracts/PeerFactory.sol b/protocols/peer/contracts/PeerFactory.sol @@ -31,10 +31,6 @@ contract PeerFactory is IPeerFactory, ILocatorWhitelist { */ function createPeer(address _swapContract, address _peerContractOwner) external { - // Ensure an owner for the peer contract is provided. - req...
2
diff --git a/src/components/App/index.js b/src/components/App/index.js import React from 'react'; import styled from 'styled-components'; import CardCollection from '../CardCollection'; -import Header from '@hackoregon/component-library/lib/Navigation/Header'; -import Footer from '@hackoregon/component-library/lib/Foot...
2
diff --git a/src/protocol/decoder.js b/src/protocol/decoder.js @@ -123,7 +123,7 @@ module.exports = class Decoder { return array } - readSignedVarInt32() { + readVarInt() { let currentByte let result = 0 let i = 0 @@ -141,7 +141,7 @@ module.exports = class Decoder { return (value >>> 1) ^ -(value & 1) } - readSignedVar...
10
diff --git a/src/components/ProductDetail/ProductDetail.js b/src/components/ProductDetail/ProductDetail.js @@ -4,10 +4,6 @@ import { withStyles } from "@material-ui/core/styles"; import Grid from "@material-ui/core/Grid"; import { inject, observer } from "mobx-react"; import Helmet from "react-helmet"; -// jsonld impor...
2
diff --git a/newDoc/guide/query-examples.md b/newDoc/guide/query-examples.md @@ -90,6 +90,26 @@ and exists (select 1 from "animals" where "persons"."id" = "animals"."ownerId") order by "persons"."lastName" asc ``` +Objection allows a bit more modern syntax with groupings and subqueries. Where knex requires you to use a...
7
diff --git a/lib/plugins/input/postgresql.js b/lib/plugins/input/postgresql.js @@ -30,8 +30,18 @@ InputPostgresql.prototype.queryResultCb = function (err, rows) { } } -InputPostgresql.prototype.runQuery = function () { - if (!this.connection) { +InputPostgresql.prototype.connect = function () { + // we re-connect, in c...
7
diff --git a/lod.js b/lod.js @@ -60,9 +60,11 @@ export class LodChunk extends THREE.Vector3 { export class LodChunkTracker { constructor(generator, { chunkWorldSize = 10, + numLods = 1, } = {}) { this.generator = generator; this.chunkWorldSize = chunkWorldSize; + this.numLods = numLods; this.chunks = []; this.lastUpdat...
0
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml @@ -23,4 +23,4 @@ jobs: uses: peaceiris/actions-gh-pages@v3 with: publish_dir: ./docs/_book - personal_token: {{ GH_PAGES_TOKEN }} + personal_token: {{ secrets.GH_PAGES_TOKEN }}
1
diff --git a/game.js b/game.js @@ -1912,9 +1912,9 @@ const gameManager = { const localPlayer = metaversefileApi.useLocalPlayer(); return localPlayer.loadVoicePack(voicePack); }, - setVoice(voiceId) { + setVoiceEndpoint(voiceId) { const localPlayer = metaversefileApi.useLocalPlayer(); - return localPlayer.setVoice(voice...
10
diff --git a/src/core/Dish.mjs b/src/core/Dish.mjs @@ -146,7 +146,7 @@ class Dish { * Detects the MIME type of the current dish * @returns {string} */ - async detectDishType() { + detectDishType() { const data = new Uint8Array(this.value.slice(0, 2048)), types = detectFileType(data); @@ -177,7 +177,7 @@ class Dish { br...
2
diff --git a/source/server.js b/source/server.js @@ -131,7 +131,9 @@ if (config.authentication) { store: new MemoryStore({ checkPeriod: 86400000 // prune expired entries every 24h }), - secret: 'ungit' + secret: 'ungit', + resave: true, + saveUninitialized: true })); app.use(passport.initialize()); app.use(passport.ses...
12
diff --git a/edit.js b/edit.js @@ -5902,10 +5902,24 @@ function animate(timestamp, frame) { break; } case 'select': { - if (anchorSpec) { + if (meshComposer.placeMesh) { + meshComposer.trigger(); + } else if (anchorSpec) { // console.log('anchor spec', anchorSpec, anchorSpec.object.click.toString()); // const {object, ...
0
diff --git a/cypress/integration/thread_spec.js b/cypress/integration/thread_spec.js @@ -201,10 +201,7 @@ describe('Thread View', () => { expect($p).to.have.length(3); }); // the url should contain the message query param - cy.url().should( - 'eq', - `http://localhost:3000/thread/${thread.id}?m=MTQ4MzIyNTE5OTk5OQ==` - ...
1
diff --git a/src/app.js b/src/app.js @@ -19,7 +19,7 @@ const rockets = require('./routes/v2-rockets'); const upcoming = require('./routes/v2-upcoming'); // Production read-only DB -const url = 'mongodb+srv://public:spacex@spacex-api-rzdz4.mongodb.net/spacex-api'; +const url = 'mongodb+srv://public:spacex@cluster0-gpg0u...
3
diff --git a/src-css/mavo.scss b/src-css/mavo.scss @@ -319,7 +319,8 @@ button.mv-close { // Make sure empty properties have SOME area to focus on/hover over // This looks as close as possible to their edited state - &.mv-empty[mv-attribute="none"]:empty::before { + &.mv-empty[mv-attribute="none"]:empty::before, + &.mv-...
1
diff --git a/README.md b/README.md @@ -43,11 +43,11 @@ Full deployment documentation is available [here](https://github.com/HospitalRun sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java8-installer elasticsearch logstash - sudo logstash-plugin update --no-verify logstash-i...
3
diff --git a/packages/fether-react/src/Send/TxForm/TxDetails/TxDetails.js b/packages/fether-react/src/Send/TxForm/TxDetails/TxDetails.js @@ -57,7 +57,7 @@ Missing input fields...`; <div> <div className='form_field'> <div hidden={!showDetails}> - <label htmlFor='txDetails'>Transaction Details (estimation):</label> + <la...
2
diff --git a/articles/quickstart/native/android-vnext/00-login.md b/articles/quickstart/native/android-vnext/00-login.md @@ -162,34 +162,24 @@ private fun loginWithBrowser() { .withScheme("demo") .withScope("openid profile email") // Launch the authentication passing the callback where the results will be received - .s...
1
diff --git a/chronos/queues/digests/processReputation.js b/chronos/queues/digests/processReputation.js // @flow -const debug = require('debug')('chronos:queue:digest-process-reputation'); import { getReputationChangeInTimeframe, getTotalReputation, } from '../../models/reputationEvent'; -import type { User, Timeframe }...
1
diff --git a/config/vars.yml b/config/vars.yml -lock_url: 'https://cdn.auth0.com/js/lock/11.3.0/lock.min.js' +lock_url: 'https://cdn.auth0.com/js/lock/11.6.1/lock.min.js' lock_urlv10: 'https://cdn.auth0.com/js/lock/10.24.3/lock.min.js' -lock_urlv11: 'https://cdn.auth0.com/js/lock/11.3.0/lock.min.js' +lock_urlv11: 'http...
3
diff --git a/includes/Core/Authentication/Profile.php b/includes/Core/Authentication/Profile.php @@ -126,14 +126,14 @@ final class Profile { $people_service = new Google_Service_PeopleService( $client ); $profile = $people_service->people->get( 'people/me', array( 'personFields' => 'emailAddresses,photos' ) ); - if ( i...
3
diff --git a/utils/entity.js b/utils/entity.js @@ -243,7 +243,8 @@ function prepareEntityForTemplates(entityWithConfig, generator) { }); entityWithConfig.generateFakeData = type => { - const fieldEntries = entityWithConfig.fields.map(field => { + const fieldsToGenerate = type === 'cypress' ? entityWithConfig.fields.fil...
8
diff --git a/articles/quickstart/webapp/symfony/01-login.md b/articles/quickstart/webapp/symfony/01-login.md @@ -68,8 +68,6 @@ Add this to your `src/AppBundle/Auth0ResourceOwner.php` namespace AppBundle; -use Dotenv\Dotenv; - use Symfony\Component\OptionsResolver\Options; use Symfony\Component\OptionsResolver\OptionsRe...
2
diff --git a/stories/module-analytics-setup.stories.js b/stories/module-analytics-setup.stories.js @@ -352,12 +352,36 @@ storiesOf( 'Analytics Module/Setup', module ) ], padding: 0, } ) - .add( 'No Tag, GTM property w/ access', usingGenerateGTMAnalyticsPropertyStory( { useExistingTag: false, gtmPermission: true } ) ) -...
2
diff --git a/native/chat/chat-thread-list.react.js b/native/chat/chat-thread-list.react.js @@ -67,6 +67,10 @@ class InnerChatThreadList extends React.PureComponent { return _sum(data.map(InnerChatThreadList.itemHeight)); } + static ListHeaderComponent(props: {}) { + return <View style={styles.header} />; + } + render()...
0
diff --git a/test/jasmine/tests/splom_test.js b/test/jasmine/tests/splom_test.js @@ -995,19 +995,34 @@ describe('Test splom interactions:', function() { .then(function() { var fullData = gd._fullData; var fullLayout = gd._fullLayout; + var splomScenes = fullLayout._splomScenes; + var opts = splomScenes[fullData[1].uid]...
7
diff --git a/app-object.js b/app-object.js @@ -125,10 +125,10 @@ class AppManager { this.animationLoops.splice(index, 1); } } - /* getGrab(side) { - return this.grabs[side === 'left' ? 0 : 1]; + getGrab(side) { + return this.grabbedObjects[side === 'left' ? 1 : 0]; } - grab(side, mesh) { + /* grab(side, mesh) { this.gr...
0
diff --git a/src/server/views/widget/page_list.html b/src/server/views/widget/page_list.html {% endif %} <li> - <img src="{{ listPage.lastUpdateUser.imageUrlCached }}" class="picture rounded-circle"> + <img src="{{ listPage.lastUpdateUser.imageUrlCached|default('/images/icons/user.svg') }}" class="picture rounded-circl...
12
diff --git a/angular/projects/spark-angular/src/lib/interfaces/sprk-dropdown-choice.interface.ts b/angular/projects/spark-angular/src/lib/interfaces/sprk-dropdown-choice.interface.ts +import { ISprkLink } from './sprk-link.interface'; + /** * The choice object is used to * construct a selectable * choice item in the dr...
3
diff --git a/lib/tasks/setup.rake b/lib/tasks/setup.rake @@ -48,7 +48,7 @@ DESC end task :create_dev_user => - ["rake:db:create", "rake:db:migrate", "cartodb:db:create_publicuser"] do + ["cartodb:db:create_publicuser"] do raise "You should provide a valid e-mail" if ENV['EMAIL'].blank? raise "You should provide a valid...
2
diff --git a/src/lib/relink_private.js b/src/lib/relink_private.js @@ -20,12 +20,9 @@ var isPlainObject = require('./is_plain_object'); * This prevents deepCopying massive structures like a webgl context. */ module.exports = function relinkPrivateKeys(toContainer, fromContainer) { - var keys = Object.keys(fromContainer...
3
diff --git a/includes/Core/Modules/Module.php b/includes/Core/Modules/Module.php @@ -580,11 +580,11 @@ abstract class Module { $number_of_days = $multiplier * ( isset( $matches[1] ) ? $matches[1] : 28 ); // Calculate the end date. For previous period requests, offset period by the number of days in the request. - $offs...
1
diff --git a/src/client/components/Comments/Comments.js b/src/client/components/Comments/Comments.js @@ -248,7 +248,7 @@ class Comments extends React.Component { /> )} {loading && <Loading />} - {parentPost.children === 0 && ( + {commentsToRender.length === 0 && ( <div className="Comments__empty"> <FormattedMessage id=...
1
diff --git a/sources/osgShadow/shaders/shadowLinearSoft.glsl b/sources/osgShadow/shaders/shadowLinearSoft.glsl #pragma include "floatFromTex.glsl" +#pragma include "rand.glsl" // simulation of texture2Dshadow glsl call on HW // http://codeflow.org/entries/2013/feb/15/soft-shadow-mapping/ @@ -11,13 +12,11 @@ float textu...
7
diff --git a/contracts/governance/Staking.sol b/contracts/governance/Staking.sol @@ -150,6 +150,7 @@ contract Staking is Ownable{ function timestampToLockDate(uint timestamp) public view returns(uint lockDate){ require(timestamp > kickoffTS, "Staking::timestampToLockDate: timestamp lies before contract creation"); //if...
7
diff --git a/src/cli/commands/dev.js b/src/cli/commands/dev.js @@ -63,8 +63,12 @@ module.exports = async (config, cli) => { if (event.event === 'instance.log') { const header = `${d.toLocaleTimeString()} - ${event.instanceName} - log` cli.logHeader(header) + if (event.data.log && Array.isArray(event.data.log)) { + even...
9
diff --git a/packages/app/src/components/Admin/AdminHome/AdminHome.jsx b/packages/app/src/components/Admin/AdminHome/AdminHome.jsx -import React, { Fragment } from 'react'; +import React, { useEffect } from 'react'; import PropTypes from 'prop-types'; import { withTranslation } from 'react-i18next'; import { CopyToClip...
14
diff --git a/src/utils/wallet.js b/src/utils/wallet.js @@ -597,19 +597,15 @@ class Wallet { } async validateSecurityCode(accountId, method, securityCode, isNew) { - if (isNew) { - return await sendJson('POST', ACCOUNT_HELPER_URL + '/account/validateSecurityCodeForTempAccount', { - accountId, - method, - securityCode - ...
3
diff --git a/test/e2e/display.test.js b/test/e2e/display.test.js @@ -82,7 +82,7 @@ function assertDiffThresholdMet (diff) { } else if (environmentIs(DEVICES.IOS)) { threshold = 0.25; } else if (environmentIs(BROWSERS.EDGE)) { - threshold = 0.09; + threshold = 0.05; } if (threshold) assert(diff <= threshold, `${diff} is...
13
diff --git a/core/block_svg.js b/core/block_svg.js @@ -379,9 +379,9 @@ Blockly.BlockSvg.prototype.moveToDragSurface_ = function() { // frontmost. var mainWS = this.workspace.getMainWorkspace(); goog.asserts.assert( - Blockly.utils.is3dSupported() && !!mainWS.blockDragSurface_, + Blockly.utils.is3dSupported() && !!mainW...
4
diff --git a/token-metadata/0xf1f5De69C9C8D9BE8a7B01773Cc1166D4Ec6Ede2/metadata.json b/token-metadata/0xf1f5De69C9C8D9BE8a7B01773Cc1166D4Ec6Ede2/metadata.json "symbol": "DFX", "address": "0xf1f5De69C9C8D9BE8a7B01773Cc1166D4Ec6Ede2", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED" ...
3
diff --git a/webaverse.js b/webaverse.js @@ -34,7 +34,6 @@ import transformControls from './transform-controls.js'; import * as metaverseModules from './metaverse-modules.js'; import soundManager from './sound-manager.js'; import dioramaManager from './diorama.js'; -import {crunchAvatarModel} from './avatar-cruncher.js...
2
diff --git a/src/pages/EnterpriseShared/index.js b/src/pages/EnterpriseShared/index.js @@ -1027,7 +1027,13 @@ export default class EnterpriseShared extends PureComponent { style={{ background: '#fff' }} onClick={e => { e.stopPropagation(); + if (isReadInstall || types !== 'marketContent') { this.installHelmApp(item, ty...
1
diff --git a/README.md b/README.md @@ -27,7 +27,8 @@ For a list of frequently asked questions please visit the [Copay FAQ](https://gi - Push notifications (only available for ios and android versions) - Customizable wallet naming and background colors - Multiple languages supported -- Available for [iOS](https://itunes...
3
diff --git a/Source/Renderer/modernizeShader.js b/Source/Renderer/modernizeShader.js @@ -51,12 +51,12 @@ define([ } } - function getVariablePreprocessorBranch(variablesThatWeCareAbout, splitSource) { + function getVariablePreprocessorBranch(layoutVariables, splitSource) { var variableMap = {}; - var numVariablesWeCareA...
10
diff --git a/OurUmbraco.Site/web.template.config b/OurUmbraco.Site/web.template.config </buildProviders> </compilation> <authentication mode="Forms"> - <forms name="yourAuthCookie" loginUrl="login.aspx" protection="All" path="/" slidingExpiration="true" timeout="525600" /> + <forms requireSSL="true" name="yourAuthCooki...
12
diff --git a/assets/js/googlesitekit/datastore/user/surveys.test.js b/assets/js/googlesitekit/datastore/user/surveys.test.js @@ -56,7 +56,7 @@ describe( 'core/user surveys', () => { } ); it( 'does not throw an error when parameters are correct', () => { - muteFetch( surveyTriggerEndpoint, [] ); + muteFetch( surveyTrigg...
2
diff --git a/lib/assets/core/javascripts/cartodb3/editor/layers/edit-feature-content-views/edit-feature-header-view.js b/lib/assets/core/javascripts/cartodb3/editor/layers/edit-feature-content-views/edit-feature-header-view.js @@ -24,8 +24,8 @@ module.exports = CoreView.extend({ render: function () { this.clearSubViews...
12
diff --git a/src/lib/video/modal-video-manager.js b/src/lib/video/modal-video-manager.js @@ -16,17 +16,17 @@ class ModalVideoManager { } - enableVideo (onPermissionSuccess, afterFrameDraw) { + enableVideo (onPermissionSuccess, onVideoLoaded) { const thisContext = this; - this._videoProvider.enableVideo(afterFrameDraw)....
10
diff --git a/index.html b/index.html window.requestAnimationFrame(animate); window.addEventListener('keydown', e => { - console.log('got char', JSON.stringify(keyCode(e.keyCode)), e.shiftKey); + console.log('got char', e.keyCode, JSON.stringify(keyCode(e.keyCode)), e.shiftKey); if (e.keyCode === 8) { // backspace urlTe...
9
diff --git a/tasks/transpile.js b/tasks/transpile.js @@ -71,7 +71,8 @@ module.exports = function (grunt) { } return rollup(rollupOpts).then(function (bundle) { - var result = bundle.generate(bundleOpts); + return bundle.generate(bundleOpts); + }).then(function (result) { return result.code; }); }
1
diff --git a/angular/projects/spark-angular/src/lib/components/sprk-alert/sprk-alert.stories.ts b/angular/projects/spark-angular/src/lib/components/sprk-alert/sprk-alert.stories.ts @@ -69,7 +69,7 @@ fail.story = { }, }; -export const withNoDismissButton = () => ({ +export const noDismissButton = () => ({ moduleMetadata...
3
diff --git a/generators/server/templates/build.gradle.ejs b/generators/server/templates/build.gradle.ejs @@ -492,9 +492,7 @@ dependencies { annotationProcessor "org.hibernate:hibernate-jpamodelgen:${hibernate_version}" annotationProcessor "org.glassfish.jaxb:jaxb-runtime:${jaxb_runtime_version}" <%_ } _%> - annotationP...
2
diff --git a/test/endtoend/specs/uppy.test.js b/test/endtoend/specs/uppy.test.js @@ -33,7 +33,7 @@ describe('File upload with DragDrop + Tus, DragDrop + XHRUpload, i18n translated browser.execute(uppySelectFakeFile, 'uppyDragDrop') } browser.pause(3000) - var html = browser.getHTML('#uppyDragDrop-progress .UppyProgress...
3
diff --git a/layouts/partials/fragments/content.html b/layouts/partials/fragments/content.html {{- partial "helpers/text-color.html" (dict "self" $self "light" "secondary") -}} "> {{- .content | markdownify -}} - {{ partial "helpers/slot.html" (dict "root" $ "slot" "sidebar" "data" (dict "parent" $))}} + {{ partial "he...
2
diff --git a/base/GoldenSun.ts b/base/GoldenSun.ts @@ -87,6 +87,7 @@ export class GoldenSun { this.game.stage.smoothed = false; this.game.camera.roundPx = true; this.game.renderer.renderSession.roundPixels = true; + this.game.stage.disableVisibilityChange = true; this.game.camera.fade(0x0, 1); } @@ -105,7 +106,6 @@ exp...
12
diff --git a/articles/connections/calling-an-external-idp-api.md b/articles/connections/calling-an-external-idp-api.md @@ -12,10 +12,16 @@ Once you successfully authenticate a user with an external Identity Provider (Id You can retrieve and use this token to call the IdP's API. ::: note -This doc assumes that you have ...
0
diff --git a/src/components/data-table/index.css b/src/components/data-table/index.css height: 69px; } +.data-table th { + padding-bottom: 10px; +} + .data-cell { - padding: 0 15px; + padding: 5px 15px; + border-top: 4px solid #1b1919; + border-bottom: 4px solid #1b1919; +} + +td.data-cell:last-child { + border-right: ...
7
diff --git a/lib/consumer/express.js b/lib/consumer/express.js @@ -46,16 +46,19 @@ module.exports = function (_config) { res.end(qs.stringify(data)) } else if (!provider.transport || provider.transport === 'querystring') { - res.redirect(`${provider.callback}?${qs.stringify(data)}`) + redirect(req, res, `${provider.cal...
7
diff --git a/app/controllers/password_resets_controller.rb b/app/controllers/password_resets_controller.rb @@ -4,6 +4,7 @@ class PasswordResetsController < ApplicationController before_action :load_organization_from_request, only: [:new, :create, :sent, :changed] before_action :load_user_and_organization, only: [:edit,...
12
diff --git a/generators/client/templates/react/src/test/javascript/spec/app/shared/layout/header/menus/account.spec.tsx.ejs b/generators/client/templates/react/src/test/javascript/spec/app/shared/layout/header/menus/account.spec.tsx.ejs @@ -20,6 +20,9 @@ import * as React from 'react'; import { shallow } from 'enzyme';...
1
diff --git a/src/parsers/GmlSeeker.hx b/src/parsers/GmlSeeker.hx @@ -247,6 +247,12 @@ class GmlSeeker { } } }; + case "$".code: { // hex literal + while (q.loopLocal) { + c = q.peek(); + if (c.isHex()) q.skip(); else break; + } + }; default: { if (c.isIdent0()) { q.skipIdent1(); @@ -261,6 +267,27 @@ class GmlSeeker { i...
9
diff --git a/index.html b/index.html Double click on screen to fullscreen. D for debug colision. F for fps. G for grid. K for keys debug. T for battle stats. L for sliders. We have some maps in this demo, feel free to find them! -Use Q to cast Move. Use W to cast Frost. Use E to cast Growth. +Use Q to cast Move. Use W ...
7
diff --git a/test/unit/helpers/console_error_throw.js b/test/unit/helpers/console_error_throw.js @@ -6,10 +6,14 @@ if (!process.env.LISTENING_TO_UNHANDLED_REJECTION) { process.env.LISTENING_TO_UNHANDLED_REJECTION = true } +const consoleError = console.error console.error = (...args) => { - throw Error(args.join(' ')) +...
7
diff --git a/index.css b/index.css @@ -2661,3 +2661,62 @@ footer { display: block; background-color: #42a5f5; } + +.notifications { + display: flex; + position: absolute; + top: 50px; + right: 0; + flex-direction: column; +} +.notifications .notification { + display: flex; + margin: 10px; + background-color: #FFF; + /*...
0