code
stringlengths
122
4.99k
label
int64
0
14
diff --git a/src/connectors/youtube.js b/src/connectors/youtube.js @@ -35,8 +35,8 @@ let currentVideoDescription = null; let artistTrackFromDescription = null; const trackInfoGetters = [ - getTrackInfoFromDescription, getTrackInfoFromChapters, + getTrackInfoFromDescription, getTrackInfoFromTitle, ]; @@ -46,15 +46,25 @@...
7
diff --git a/vis/js/reducers/query.js b/vis/js/reducers/query.js @@ -24,6 +24,8 @@ const query = (state = { text: "", parsedTerms: [] }, action) => { * * Function copied from io.js * + * Then cleaned up and fixed. + * * @returns {Array} array of terms (string) */ const getQueryTerms = (context) => { @@ -31,33 +33,38 @@...
1
diff --git a/index.js b/index.js @@ -1538,6 +1538,7 @@ class Command extends EventEmitter { const splitFlags = this._helpFlags.split(/[ ,|]+/); + this._helpShortFlag = undefined; if (splitFlags.length > 1) this._helpShortFlag = splitFlags.shift(); this._helpLongFlag = splitFlags.shift();
11
diff --git a/src/pages/run-a-node.js b/src/pages/run-a-node.js @@ -325,24 +325,24 @@ const ButtonContainer = styled.div` ` const DappNodeButtonLink = styled(ResponsiveButtonLink)` - background-color: #30bcb2; + background-color: #187d76; span { color: ${({ theme }) => theme.colors.white}; } &:hover { - background-color...
7
diff --git a/generators/languages/index.js b/generators/languages/index.js @@ -113,8 +113,6 @@ module.exports = class extends BaseBlueprintGenerator { } else { this.log(chalk.bold(`\nInstalling languages: ${this.languagesToApply.join(', ')}`)); } - } else { - this.log(chalk.bold('\nLanguages configuration is starting')...
2
diff --git a/source/components/NumericInput.js b/source/components/NumericInput.js @@ -138,6 +138,15 @@ class NumericInputBase extends Component<Props, State> { /** * ========= HANDLE HARD EDGE-CASES ============= */ + // Case: invalid characters entered -> refuse! + if (!isValidNumericInput(valueToProcess)) { + return...
7
diff --git a/module/damage/damagechat.js b/module/damage/damagechat.js @@ -181,7 +181,7 @@ export default class DamageChat { if (dice == null) return if (!tokenNames) tokenNames = [] - if (event.data?.repeat > 1) + if (!!event && event.data?.repeat > 1) for (let i = 0; i < event.data.repeat; i++) tokenNames.push('' + i...
1
diff --git a/packages/stockflux-components/src/index.css b/packages/stockflux-components/src/index.css :root { - /* colours */ - --text-grey-darkest: #626569; - --text-grey-darker: #7b7e82; - --text-grey-dark: #95989c; - --text-grey: #aeb1b5; - --text-grey-light: #c8cbcf; - --text-grey-lighter: #e1e4e8; - - --text-teal...
5
diff --git a/src/sdk/p2p/peer.js b/src/sdk/p2p/peer.js @@ -646,6 +646,7 @@ Woogeen.PeerClient = function(pcConfig) { // Do renegotiate when remote client allowed var doRenegotiate = function(peer) { L.Logger.debug('Do renegotiation.'); + changeNegotiationState(peer, NegotiationState.NEGOTIATING); createAndSendOffer(pee...
12
diff --git a/src/journeys_utils.js b/src/journeys_utils.js @@ -513,7 +513,7 @@ journeys_utils._resetJourneysBannerPosition = function(isPageBottomOverScrolling // generic method to detect which devices should call journey_utls._dynamicallyRepositionBanner() journeys_utils._detectSafeAreaDevices = function() { - var isF...
3
diff --git a/sample/readme.md b/sample/readme.md @@ -14,3 +14,14 @@ To enable the sample module: 220128.120432 '[head]' { module: './mod/sample/init.js' } 220128.120432 '[head]' '--- sample server-side module loaded ---' ``` + +* reloading Kiri:Moto from localhost, you will see these javascript +* console log messages ...
3
diff --git a/token-metadata/0x56e0B2C7694E6e10391E870774daA45cf6583486/metadata.json b/token-metadata/0x56e0B2C7694E6e10391E870774daA45cf6583486/metadata.json "symbol": "DUO", "address": "0x56e0B2C7694E6e10391E870774daA45cf6583486", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED" ...
3
diff --git a/source/Overture/views/controls/ButtonView.js b/source/Overture/views/controls/ButtonView.js @@ -340,12 +340,12 @@ const ButtonView = Class({ event.stopPropagation(); } }.on( 'keydown' ), -}).extend({ - drawIcon ( icon ) { +}); + +ButtonView.drawIcon = function ( icon ) { return Element.create( 'i', { class...
2
diff --git a/metaversefile-api.js b/metaversefile-api.js @@ -723,12 +723,9 @@ metaversefile.setApi({ getNextInstanceId() { return getRandomString(); }, - createApp({/* name = '', */start_url = '', /*components = [], */in_front = false} = {}) { + createAppInternal({/* name = '', */start_url = '', /*components = [], */in...
0
diff --git a/includes/Modules/Tag_Manager.php b/includes/Modules/Tag_Manager.php @@ -382,29 +382,40 @@ final class Tag_Manager extends Module implements Module_With_Scopes { return $option['accountID']; }; case 'container-id': - return function() { - $option = (array) $this->options->get( self::OPTION ); - // TODO: Rem...
3
diff --git a/_ng/full/generator.js b/_ng/full/generator.js @@ -83,7 +83,9 @@ exports.MainGenerator = class MainGenerator { this.wrapper.directory('tests/e2e', 'tests/e2e'); if (!_serverOnly) { - this.wrapper.template('_.alivrc', '.alivrc'); + this.wrapper.template('_.alivrc', '.alivrc', { + secure: _secure + }); } if (...
0
diff --git a/errors.yaml b/errors.yaml @@ -13,7 +13,7 @@ errors: - code: invalid_state description: "The database is in an invalid state. Deleting the database and re-indexing should solve the problem." - code: primary_key_inference_failed - description: "The first provided document contains no fields with the substrin...
1
diff --git a/index.js b/index.js @@ -215,7 +215,11 @@ export default () => { //if (cellRand < 0.1) b = 0.0; float c = 1.-b; + if (b > 0.5) { fragColor = vec4(vec3(c), b); + } else { + discard; + } } void main() { mainImage(gl_FragColor, vUv);
0
diff --git a/edit.js b/edit.js @@ -1539,11 +1539,7 @@ document.getElementById('packages-search').addEventListener('input', e => { const searchTerm = e.target.value.toLowerCase(); const packages = [...document.querySelectorAll('#packages .package')]; - if (!searchTerm) { - packages.forEach(p => (p.style.display = 'block...
2
diff --git a/src/shaders/metallic-roughness.frag b/src/shaders/metallic-roughness.frag @@ -270,12 +270,31 @@ vec3 clearcoatBlending(vec3 color, vec3 clearcoatColor, float clearcoatFactor, A void main() { + vec4 baseColor = getBaseColor(); + +#ifdef ALPHAMODE_MASK + if(baseColor.a < u_AlphaCutoff) + { + discard; + } + b...
9
diff --git a/test/jasmine/tests/scatter3d_test.js b/test/jasmine/tests/scatter3d_test.js @@ -309,4 +309,24 @@ describe('Test scatter3d interactions:', function() { }) .then(done, done.fail); }); + + it('@gl should change marker opacity when restyle is called', function(done) { + Plotly.newPlot( + gd, + [ + { + type: 's...
0
diff --git a/src/_helpers/config.ts b/src/_helpers/config.ts @@ -91,13 +91,13 @@ export function readConfig(): void { logger('Migrating user configs to the new format.', 'info-quiet'); currentConfig.users = []; addUser({ - username: currentConfig.security.username_producer || "producer", - password: currentConfig.secur...
14
diff --git a/services/feed-fetcher/Dockerfile b/services/feed-fetcher/Dockerfile @@ -24,7 +24,7 @@ COPY --from=build /usr/src/app/package*.json ./ COPY --from=build /usr/src/app/node_modules node_modules COPY --from=build /usr/src/app/dist dist -ENV PORT=3000 +ENV FEED_FETCHER_API_PORT=3000 HEALTHCHECK --interval=5s --...
4
diff --git a/server.js b/server.js @@ -29,7 +29,7 @@ OpticsAgent.instrumentSchema(schema); const GraphQLOptions = (req) => ({ schema, - opticsContext: OpticsAgent.context(req), + context:{opticsContext: OpticsAgent.context(req)}, }); const upload = multer({
1
diff --git a/index.html b/index.html <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Districtr</title> <meta name="viewport" content="width=device-width, initial-scale=1"> - <link rel="stylesheet" type="text/css" media="screen" href="sass/main.scss"> + <link rel="stylesheet" type="text/css" media="screen" ...
4
diff --git a/src/Components/NotFoundErrorPage.js b/src/Components/NotFoundErrorPage.js @@ -29,7 +29,7 @@ class NotFoundErrorPage extends React.Component { <h2 className="hero-small">The page you are looking for does not exist.</h2> </div> <div className="text-center"> - <LinkToRoot /> + <LinkTo obj={ Scrivito.Obj.root(...
4
diff --git a/src/traces/pie/defaults.js b/src/traces/pie/defaults.js @@ -34,14 +34,10 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout if(lineWidth) coerce('marker.line.color'); var colors = coerce('marker.colors'); - if(!Array.isArray(colors)) traceOut.marker.colors = []; // later th...
2
diff --git a/token-metadata/0x0a4b2d4B48a63088e0897a3F147Ba37f81a27722/metadata.json b/token-metadata/0x0a4b2d4B48a63088e0897a3F147Ba37f81a27722/metadata.json "symbol": "CURA", "address": "0x0a4b2d4B48a63088e0897a3F147Ba37f81a27722", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED"...
3
diff --git a/src/components/dashboard/Claim/useClaimCounter.js b/src/components/dashboard/Claim/useClaimCounter.js @@ -11,18 +11,24 @@ const claimDaysProperty = 'countClaim' export default () => { const claimsCountRef = useRef(0) + const claimsCountInitialized = useRef(null) + const claimsCountInitializing = useRef(new...
2
diff --git a/assets/js/modules/analytics/components/settings/SettingsForm.stories.js b/assets/js/modules/analytics/components/settings/SettingsForm.stories.js @@ -58,7 +58,7 @@ export default { decorators: [ ( Story ) => { const setupRegistry = ( registry ) => { - const accounts = fixtures.accountsPropertiesProfiles.ac...
2
diff --git a/app/ledger/ledgerNanoS.js b/app/ledger/ledgerNanoS.js // @flow import { tx, wallet } from 'neon-js' +import type {Transaction} from 'neon-js' import commNode from './ledger-comm-node' @@ -8,7 +9,7 @@ import asyncWrap from '../core/asyncHelper' export const CURRENT_VERSION = 0 -export const ledgerNanoSCreat...
3
diff --git a/README.md b/README.md @@ -92,7 +92,6 @@ module.exports = { meteor: { name: 'app', path: '../app', - // port: 000, // useful when deploying multiple instances (optional) volumes: { // lets you add docker volumes (optional) "/host/path": "/container/path", // passed as '-v /host/path:/container/path' to the ...
5
diff --git a/lib/sidemenu/sidemenu.js b/lib/sidemenu/sidemenu.js @@ -127,12 +127,20 @@ SideMenu.prototype.close = function() { * add a content on the side menu. * @param {String|Element} element the element, text content, or HTML template that be added. */ -SideMenu.prototype.addContent = function(element){ - if(elemen...
1
diff --git a/package.json b/package.json "dev": "nf start", "start": "npm run watch-js", "build": "npm run build-js && npm run build-hugo", - "test:colors": "node _tests/colors-generator.js" + "test:colors": "node _tests/colors-generator/index.js" }, "devDependencies": { "babel-core": "^6.26.3",
1
diff --git a/.github/lock.yml b/.github/lock.yml @@ -17,11 +17,12 @@ lockLabel: "STATE: Auto-locked" # Comment to post before locking. Set to `false` to disable lockComment: > - This thread has been automatically locked since there has not been - any recent activity after it was closed. Please open a new issue for - re...
1
diff --git a/lime/utils/AssetLibrary.hx b/lime/utils/AssetLibrary.hx @@ -128,7 +128,18 @@ class AssetLibrary { } else { - library = Type.createInstance (Type.resolveClass (manifest.libraryType), manifest.libraryArgs); + var libraryClass = Type.resolveClass (manifest.libraryType); + + if (libraryClass != null) { + + lib...
9
diff --git a/src/components/TableHeadCell.js b/src/components/TableHeadCell.js @@ -48,6 +48,8 @@ const useStyles = makeStyles( marginLeft: '-8px', minWidth: 0, marginRight: '8px', + paddingLeft: '8px', + paddingRight: '8px', }, contentWrapper: { display: 'flex',
1
diff --git a/bl-kernel/pagex.class.php b/bl-kernel/pagex.class.php @@ -122,9 +122,14 @@ class Page { } // Returns the date according to locale settings and format settings - public function dateModified() + public function dateModified($format=false) { - return $this->getValue('dateModified'); + $dateRaw = $this->getVa...
7
diff --git a/src/encoded/static/components/award.js b/src/encoded/static/components/award.js @@ -665,13 +665,13 @@ class Award extends React.Component { this.handleClick = this.handleClick.bind(this); } handleClick(organism) { - // Create a copy of this.state.newtabs so we can manipulate it in peace. + // Create a copy...
0
diff --git a/test/account_operations.sh b/test/account_operations.sh @@ -8,7 +8,7 @@ echo Create account echo Get account state RESULT=$(../bin/near state $testaccount) -if [[ $RESULT != *"Account $testaccountr"*"amount: '100000000'"* ]]; then +if [[ $RESULT != *"Account $testaccount"*"amount: '100000000'"* ]]; then ec...
1
diff --git a/src/transformers/minify.js b/src/transformers/minify.js const { crush } = require('html-crush') +const { isObject } = require('../utils/helpers') module.exports = async (html, config) => { - if (config.minify && config.minify.enabled) { + if (isObject(config.minify) && config.minify.enabled) { html = crush...
1
diff --git a/sox.user.js b/sox.user.js } //custom events.... - sox.helpers.observe([...document.getElementsByClassName('post-layout')], '.new_comment, .comment, .comments, .comment-text', target => { + sox.helpers.observe([...document.getElementsByClassName('post-layout')], '.new_comment, .comment, .comments, .comment-...
4
diff --git a/token-metadata/0xE5CAeF4Af8780E59Df925470b050Fb23C43CA68C/metadata.json b/token-metadata/0xE5CAeF4Af8780E59Df925470b050Fb23C43CA68C/metadata.json "symbol": "FRM", "address": "0xE5CAeF4Af8780E59Df925470b050Fb23C43CA68C", "decimals": 6, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED" }...
3
diff --git a/react/src/base/inputs/Select.stories.js b/react/src/base/inputs/Select.stories.js import React from 'react'; import SprkSelectionInput from './SprkSelectionInput/SprkSelectionInput'; import SprkInputContainer from './SprkInputContainer/SprkInputContainer'; -import SprkErrorContainer from './SprkErrorContai...
3
diff --git a/generators/upgrade/index.js b/generators/upgrade/index.js @@ -511,23 +511,20 @@ module.exports = class extends BaseGenerator { } install() { - const done = this.async(); if (!this.skipInstall) { this.log('Installing dependencies, please wait...'); this.info('Removing the node_modules directory'); shelljs.r...
2
diff --git a/source/components/NumericInput.js b/source/components/NumericInput.js @@ -40,7 +40,7 @@ type State = { composedTheme: Object, minimumFractionDigits: number, inputCaretPosition: number, - fallbackInputValue: string, + fallbackInputValue: ?string, }; // TODO: make this configurable (generalize handling comma...
7
diff --git a/src/components/general/equipment/Equipment.jsx b/src/components/general/equipment/Equipment.jsx @@ -36,16 +36,19 @@ const objects = { { name: 'Silsword', start_url: 'https://webaverse.github.io/silsword/', + description: 'A sword of great lore.', level: 6, }, { name: 'Dragon', start_url: 'https://webaverse...
0
diff --git a/src/resources/views/fields/upload_multiple.blade.php b/src/resources/views/fields/upload_multiple.blade.php type="file" id="{{ $field['name'] }}_file_input" name="{{ $field['name'] }}[]" - value="{{ old($field['name']) ?? $field['value'] ?? $field['default'] ?? '' }}" + value="@if (old($field['name'])) old...
13
diff --git a/README.md b/README.md @@ -4,7 +4,7 @@ This is the repository for the Auth0 documentation. **Please review the [Contributing Guidelines](CONTRIBUTING.md) before sending a PR or opening an issue.** ## Running the Docs Site -You can run and test the docs site locally (you will need access - only employees). F...
1
diff --git a/lib/grammars.coffee b/lib/grammars.coffee @@ -856,6 +856,11 @@ module.exports = command: "tclsh" args: (context) -> [context.filepath] + Turing: + "File Based": + command: "turing" + args: (context) -> ['-run', context.filepath] + TypeScript: "Selection Based": command: "ts-node"
0
diff --git a/token-metadata/0x4442556a08a841227bEf04C67A7Ba7acf01b6Fc8/metadata.json b/token-metadata/0x4442556a08a841227bEf04C67A7Ba7acf01b6Fc8/metadata.json "symbol": "MT", "address": "0x4442556a08a841227bEf04C67A7Ba7acf01b6Fc8", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED" }...
3
diff --git a/js/core/bis_bidsutils.js b/js/core/bis_bidsutils.js @@ -123,9 +123,20 @@ let dicom2BIDS=async function(opts) { tlist.push(target); } + //date will be a 14 character string in the middle of a filename + let dateRegex = /\d{14}/g; + let fileString = flist[0]; + let dateMatch = dateRegex.exec(fileString); + l...
7
diff --git a/metaversefile-api.js b/metaversefile-api.js @@ -53,6 +53,7 @@ import particleSystemManager from './particle-system.js'; import domRenderEngine from './dom-renderer.jsx'; import dropManager from './drop-manager.js'; import hitManager from './character-hitter.js'; +import cardsManager from './cards-manager.j...
0
diff --git a/src/js/controllers/buy-bitcoin/payment-methods.controller.js b/src/js/controllers/buy-bitcoin/payment-methods.controller.js @@ -8,7 +8,8 @@ angular function paymentMethodsController( moonPayService - , $scope, $state + , gettextCatalog, popupService + , $scope, $state, $ionicHistory ) { var vm = this; @@ -...
1
diff --git a/desktop/sources/scripts/terminal.js b/desktop/sources/scripts/terminal.js @@ -239,27 +239,27 @@ export default function Terminal () { this.drawInterface = function () { const col = this.grid.w const variables = Object.keys(this.orca.variables).join('') - // Cursor + + if (this.commander.isActive === true) ...
7
diff --git a/src/main/resources/public/js/src/core/app-config.js b/src/main/resources/public/js/src/core/app-config.js @@ -161,7 +161,7 @@ define(function (require) { }, patterns: { - email: /^[a-z0-9._-]+@[a-z0-9_-]+?\.[a-z0-9]{2,}$/i, + email: /^[a-z0-9._%+-]+@([a-z0-9_-]+\.)+[a-z0-9]{2,}$/i, emailInternal: '^((?!(@e...
7
diff --git a/token-metadata/0x02FdD6866333D8Cd8B1ca022d382080698060BC2/metadata.json b/token-metadata/0x02FdD6866333D8Cd8B1ca022d382080698060BC2/metadata.json "symbol": "69C", "address": "0x02FdD6866333D8Cd8B1ca022d382080698060BC2", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED" ...
3
diff --git a/includes/Core/Authentication/Clients/OAuth_Client_Base.php b/includes/Core/Authentication/Clients/OAuth_Client_Base.php @@ -255,6 +255,10 @@ abstract class OAuth_Client_Base { * @return bool True on success, false on failure. */ public function set_token( array $token ) { + // Remove the error code from th...
2
diff --git a/src/components/TableHeadCell.js b/src/components/TableHeadCell.js @@ -215,7 +215,7 @@ const TableHeadCell = ({ popper: classes.mypopper, }}> <Button - variant="text" + variant="" onKeyUp={handleKeyboardSortInput} onClick={handleSortClick} className={classes.toolButton}
1
diff --git a/README.md b/README.md @@ -22,6 +22,7 @@ MUI-Datatables is a data tables component built on [Material-UI](https://www.mat * [Usage](#usage) * [API](#api) * [Customize Columns](#customize-columns) +* [Plug-ins](#plug-ins) * [Customize Styling](#customize-styling) * [Remote Data](#remote-data) * [Localization...
0
diff --git a/lib/snapshot-manager.js b/lib/snapshot-manager.js @@ -398,7 +398,9 @@ const resolveSourceFile = mem(file => { return file; } - return fileURLToPath(payload.sources[0]); + return payload.sources[0].startsWith('file://') + ? fileURLToPath(payload.sources[0]) + : payload.sources[0]; }); export const determine...
9
diff --git a/src/modules/did.js b/src/modules/did.js @@ -63,7 +63,7 @@ class DIDModule { * @param {string} did - DID * @return {string} The DID identifer. */ - getID(did) { + getFullyQualifiedDID(did) { return `${DockDIDQualifier}:${did}`; } @@ -78,7 +78,7 @@ class DIDModule { if (resp) { if (resp.isSome) { const detai...
10
diff --git a/PostHeadersQuestionToc.user.js b/PostHeadersQuestionToc.user.js // @description Sticky post headers while you view each post (helps for long posts). Question ToC of Answers in sidebar. // @homepage https://github.com/samliew/SO-mod-userscripts // @author @samliew -// @version 1.7.4 +// @version 1.7.5 // //...
2
diff --git a/app/scripts/SeriesListMenu.js b/app/scripts/SeriesListMenu.js @@ -145,6 +145,7 @@ export class SeriesListMenu extends ContextMenuContainer { render() { let exportDataMenuItem = null; + /* if (TRACKS_INFO_BY_TYPE[this.props.hostTrack.type]) { exportDataMenuItem = ( <ContextMenuItem @@ -160,6 +161,7 @@ expor...
2
diff --git a/accessibility-checker-engine/src/v2/checker/accessibility/nls/index.ts b/accessibility-checker-engine/src/v2/checker/accessibility/nls/index.ts +// No {tokens} in passive messages, such as 0: "a passive message..." +// No back-ticks used in messages here in .ts file type, use <, ", ' +// Changes in message...
5
diff --git a/src/encoded/types/quality_metric.py b/src/encoded/types/quality_metric.py @@ -252,14 +252,3 @@ class IDRQualityMetric(QualityMetric, CalculatedAssayTermID): class GenericQualityMetric(QualityMetric, CalculatedAssayTermID): item_type = 'generic_quality_metric' schema = load_schema('encoded:schemas/generic_q...
2
diff --git a/unlock-app/src/components/interface/checkout/CryptoCheckout.tsx b/unlock-app/src/components/interface/checkout/CryptoCheckout.tsx @@ -218,7 +218,7 @@ export const CryptoCheckout = ({ if (paywallConfig.captcha) { // get the secret from locksmith! const response = await storageService.getDataForRecipientsAnd...
4
diff --git a/lib/project/results-model.js b/lib/project/results-model.js @@ -5,16 +5,57 @@ const escapeHelper = require('../escape-helper') class Result { static create (result) { if (result && result.matches && result.matches.length) { - const matches = result.matches.map(m => - ({ - matchText: m.matchText, - lineText...
9
diff --git a/app/models/daos/slick/UserDAOSlick.scala b/app/models/daos/slick/UserDAOSlick.scala @@ -227,19 +227,19 @@ object UserDAOSlick { // Build up SQL string related to validation and audit task time intervals // Defaults to *not* specifying a time (which is the same thing as "all time") - var lblValidationTimeIn...
1
diff --git a/public/javascripts/SVValidate/src/panorama/PanoramaContainer.js b/public/javascripts/SVValidate/src/panorama/PanoramaContainer.js @@ -113,6 +113,7 @@ function PanoramaContainer (labelList) { */ function reset () { setProperty('progress', 0); + svv.panorama.setLabel(labels[getProperty('progress')]); } /**
1
diff --git a/src/mode/fdm/fill.js b/src/mode/fdm/fill.js } } polys = connectOpenPolys(polys); - for (let poly of polys.filter(p => p.perimeter() > 2)) { + for (let poly of polys) { target.newline(); for (let point of poly.points) { target.emit(point.x, point.y);
2
diff --git a/lib/model/AjvValidator.js b/lib/model/AjvValidator.js @@ -48,7 +48,10 @@ class AjvValidator extends Validator { // rare case that the given model has implemented the hook. if (model.$beforeValidate !== model.$objectionModelClass.prototype.$beforeValidate) { ctx.jsonSchema = cloneDeep(ctx.jsonSchema); - ctx...
9
diff --git a/token-metadata/0x5dd0815A4cF119AD91BA045BbBF879F3F7de3C68/metadata.json b/token-metadata/0x5dd0815A4cF119AD91BA045BbBF879F3F7de3C68/metadata.json "symbol": "SKYFT", "address": "0x5dd0815A4cF119AD91BA045BbBF879F3F7de3C68", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED...
3
diff --git a/test/lib/reporter/flat.js b/test/lib/reporter/flat.js @@ -228,6 +228,21 @@ describe('Flat reporter', () => { assert.include(stdout, test.file); }); + it('should log path to file of failed hook', () => { + test = mkTestStub_({ + file: null, + parent: { + file: 'path-to-test' + } + }); + + sandbox.stub(path,...
1
diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt @@ -545,7 +545,11 @@ ELSE(BIS_A_EMSCRIPTEN) IF (WIN32) SET( CMAKE_CXX_FLAGS "/DEIGEN_HAS_C99_MATH /W1 /EHsc" CACHE STRING "" FORCE) ELSE (WIN32) + if(UNIX AND NOT APPLE) + SET( COMPILE_FLAGS "-O2 -Wall -Wextra -Wpedantic -Wformat -Wno-int-in-bool-context") + ELSE(UNI...
3
diff --git a/packages/build/src/plugins/child/load.js b/packages/build/src/plugins/child/load.js @@ -14,7 +14,6 @@ const { getConstants } = require('./constants') // Do it when parent requests it using the `load` event. // Also figure out the list of plugin commands. This is also passed to the parent. const loadPlugin ...
5
diff --git a/assets/js/components/higherorder/withdata.test.js b/assets/js/components/higherorder/withdata.test.js @@ -86,7 +86,7 @@ describe( 'withData', () => { expect( hasFilterForContext( 'context_z' ) ).toBe( true ); } ); - it( 'renders the loading when there is no data yet', () => { + it( 'renders the loading com...
1
diff --git a/src/resources/views/base/inc/scripts.blade.php b/src/resources/views/base/inc/scripts.blade.php }); {{-- Error frame --}} + @if(config('app.debug')) $(document).ajaxComplete(function(e, result) { if(result.responseJSON?.exception !== undefined) { $.ajax({ }); } }); + @endif </script> \ No newline at end of...
11
diff --git a/src/components/Card/Card.styles.js b/src/components/Card/Card.styles.js @@ -5,9 +5,9 @@ import styled from 'styled-components'; import type { ComponentType } from 'react'; -export const HalfCard: ComponentType<*> = (() => { - - return styled.div` +export const HalfCard: ComponentType<*> = + styled + .div` ...
7
diff --git a/app/server/middlewares/redirect.js b/app/server/middlewares/redirect.js @@ -65,7 +65,7 @@ module.exports = (accessories) => { } - if(!validMain && req.originalUrl !== '/') + if(!validMain && req.originalUrl !== '/' && (req.session.user && req.originalUrl !== '/change')) return next(createError(404)); retur...
1
diff --git a/src/pages/EnterpriseTeams/index.js b/src/pages/EnterpriseTeams/index.js @@ -65,7 +65,8 @@ export default class EnterpriseTeams extends PureComponent { showOpenRegion: false, initShow: false, guideStep: 1, - deleteConfig: false + deleteConfig: false, + searchConfig: false }; } componentDidMount() { @@ -81,7...
1
diff --git a/api/lib/services/agent/agent.converse.service.js b/api/lib/services/agent/agent.converse.service.js @@ -481,10 +481,12 @@ module.exports = async function ({ id, sessionId, text, timezone, debug = false, } else { //MARK: if the modifier doesn't modifies any action in the action queue, get latest action in c...
9
diff --git a/src/core/ChefWorker.js b/src/core/ChefWorker.js @@ -107,8 +107,7 @@ async function bake(data) { data: Object.assign(response, { id: data.id, inputNum: data.inputNum, - bakeId: data.bakeId, - progress: response.progress + bakeId: data.bakeId }) }); } catch (err) {
2
diff --git a/src/diagrams/state/shapes.js b/src/diagrams/state/shapes.js @@ -157,7 +157,6 @@ export const addTitleAndBox = (g, stateDef) => { width = width + dblPad; } let startX; - startX = orgBox.x - pad; // const lineY = 1 - getConfig().state.textHeight; // const descrLine = g // .append('line') // text label for th...
9
diff --git a/core/block_svg.js b/core/block_svg.js @@ -66,7 +66,6 @@ Blockly.BlockSvg = function(workspace, prototypeName, opt_id) { /** * A block style object. * @type {!Blockly.Theme.BlockStyle} - * @public */ this.style = workspace.getTheme().getBlockStyle(null);
2
diff --git a/server.js b/server.js @@ -45,7 +45,10 @@ app.prepare().then(() => { server.use(async (ctx, next) => { switch (ctx.path) { case '/': { - const lang = ctx.acceptsLanguages(['zh', 'en']).replace('zh', 'tw'); + const lang = (ctx.acceptsLanguages(['zh', 'en']) || 'en').replace( + 'zh', + 'tw' + ); await send(ct...
9
diff --git a/app/assets/javascripts/pageflow/ui/views/configuration_editor_view.js b/app/assets/javascripts/pageflow/ui/views/configuration_editor_view.js @@ -3,7 +3,7 @@ pageflow.ConfigurationEditorView = Backbone.Marionette.View.extend({ initialize: function() { this.tabsView = new pageflow.TabsView({ - i18n: 'pagefl...
11
diff --git a/src/pages/item/index.js b/src/pages/item/index.js @@ -40,10 +40,14 @@ function Item(props) { } }, [itemStatus, dispatch]); - const currentItemData = items.find(item => { + let currentItemData = items.find(item => { return item.normalizedName === itemName; }); + if(!currentItemData){ + currentItemData = ite...
11
diff --git a/aura-impl/src/main/resources/aura/AuraDevToolService.js b/aura-impl/src/main/resources/aura/AuraDevToolService.js @@ -768,8 +768,12 @@ var AuraDevToolService = function() { cmp = $A.getCmp(data_aura_rendered_by); if(!$A.util.isUndefinedOrNull(cmp)){ cmp = cmp.getAttributeValueProvider(); + //Cannot query c...
9
diff --git a/templates/shared/level1_modal_form.html b/templates/shared/level1_modal_form.html }); $('#startDate').datepicker({ dateFormat: 'dd.mm.yy' }); $('#endDate').datepicker({ dateFormat: 'dd.mm.yy' }); + + // show the modal if program modal is set to true + const url = new URL(window.location.href); + if (url.se...
0
diff --git a/packages/openneuro-app/src/scripts/datalad/dataset/dataset-comments.jsx b/packages/openneuro-app/src/scripts/datalad/dataset/dataset-comments.jsx import React from 'react' -const DatasetComments = () => <div>Comments go here</div> +const DatasetComments = () => ( + <div className="col-xs-12 dataset-inner">...
7
diff --git a/src/components/ChangeLogComponent/ChangeLogComponent.styles.js b/src/components/ChangeLogComponent/ChangeLogComponent.styles.js import styled from 'styled-components'; import type { ComponentType } from 'react'; +import Magnifier from "assets/icon-magnify.svg"; export const Markdown: ComponentType<*> = @@ ...
7
diff --git a/grails-app/domain/streama/TvShow.groovy b/grails-app/domain/streama/TvShow.groovy @@ -43,10 +43,14 @@ class TvShow { } def getFilteredEpisodes(){ - def filteredEpisodes = episodes.findAll{!it.deleted} + def filteredEpisodes = Episode.findAllByShowAndDeletedNotEqual(this, true) return filteredEpisodes } + d...
1
diff --git a/src/components/minigraph.js b/src/components/minigraph.js @@ -12,9 +12,9 @@ function Minigraph(props) { useEffect(()=>{ if (props.timeseries.length>1) { - setTimeseries(props.timeseries.slice(0, props.timeseries.length-2)); + setTimeseries(props.timeseries.slice(props.timeseries.length-10)); } - }, [props....
3
diff --git a/react/src/components/card/SprkCard.stories.js b/react/src/components/card/SprkCard.stories.js @@ -271,8 +271,9 @@ export const twoUpCards = () => ( <SprkStackItem> <SprkText variant="bodyTwo"> - Lorem ipsum dolor sit amet, doctus invenirevix te. Facilisi - perpetua. + This Lorem ipsum dolor sit amet, doctu...
3
diff --git a/packages/next/next-server/lib/router/utils/search-params-to-url-query.ts b/packages/next/next-server/lib/router/utils/search-params-to-url-query.ts @@ -4,7 +4,7 @@ export function searchParamsToUrlQuery( searchParams: URLSearchParams ): ParsedUrlQuery { const query: ParsedUrlQuery = {} - Array.from(searchP...
7
diff --git a/packages/vulcan-core/lib/modules/components/Datatable/DatatableFilter.jsx b/packages/vulcan-core/lib/modules/components/Datatable/DatatableFilter.jsx @@ -84,11 +84,9 @@ DatatableFilterContents Components const DatatableFilterContentsWithData = props => { const { query, options } = props; - const filterQuer...
9
diff --git a/bin/serverless.js b/bin/serverless.js @@ -14,7 +14,8 @@ const userNodeVersion = Number(process.version.split('.')[0].slice(1)); if (userNodeVersion >= 8) { const serverlessCli = require('@serverless/cli'); if (serverlessCli.runningComponents()) { - return serverlessCli.runComponents(); + serverlessCli.runC...
7
diff --git a/articles/api/management/v2/changes.md b/articles/api/management/v2/changes.md @@ -92,35 +92,12 @@ Logs endpoints have not been implemented in Management API v2. Logs must first b Auth0's API v1 requires sending an `access_token` obtained by performing a [`POST /oauth/token`](/api/v1#!#post--oauth-token) re...
2
diff --git a/drop-manager.js b/drop-manager.js -import * as THREE from "three"; -import metaversefile from "metaversefile"; +// import * as THREE from "three"; +// import metaversefile from "metaversefile"; class DropManager extends EventTarget { constructor() { super(); + + this.claims = []; + } + pickupApp(app) { + t...
0