code
stringlengths
122
4.99k
label
int64
0
14
diff --git a/edit.js b/edit.js @@ -4871,6 +4871,11 @@ const inventoryMesh = makeInventoryMesh(cubeMesh, async scrollFactor => { inventoryMesh.inventoryContentsMesh.frustumCulled = false; inventoryMesh.add(inventoryMesh.inventoryContentsMesh); } + if (!inventoryMesh.inventoryShapesMesh) { + inventoryMesh.inventoryShapes...
0
diff --git a/_data/conferences.yml b/_data/conferences.yml id: icassp18 link: https://2018.ieeeicassp.org/ deadline: "2017-10-27 23:59:59" - date: April 22-27, 2018 - place: Seoul, Korea + date: April 15-20, 2018 + place: Calgary, Alberta, Canada sub: SP - name: AAMAS
3
diff --git a/token-metadata/0x986EE2B944c42D017F52Af21c4c69B84DBeA35d8/metadata.json b/token-metadata/0x986EE2B944c42D017F52Af21c4c69B84DBeA35d8/metadata.json "symbol": "BMX", "address": "0x986EE2B944c42D017F52Af21c4c69B84DBeA35d8", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED" ...
3
diff --git a/closure/goog/soy/soy.js b/closure/goog/soy/soy.js @@ -65,7 +65,8 @@ goog.soy.TextTemplate; * hand-written code, so that it will be easier to audit the code for cross-site * scripting vulnerabilities. * - * @param {?Element} element The element whose content we are rendering into. + * @param {?Element|?Shad...
11
diff --git a/app/controllers/carto/api/tables_controller.rb b/app/controllers/carto/api/tables_controller.rb @@ -16,7 +16,7 @@ module Carto def show table = @user_table.service - render_jsonp(table.public_values({ request: request }, current_user).merge(schema: table.schema(reload: true))) + render_jsonp(TablePresenter...
4
diff --git a/schemas/raw-reference.json b/schemas/raw-reference.json "pages": { "description": "Page number(s) where the reference is inside the titled document", "type": "string", - "pattern": "^[0-9\\-,]+$" + "pattern": "^[0-9\\-,:]+$" }, "repository": { "description": "URL of the repository",
11
diff --git a/src/commands/codepush/deployment/list.ts b/src/commands/codepush/deployment/list.ts @@ -18,7 +18,7 @@ export default class ListCommand extends AppCommand { const app = this.app; let deployments: models.Deployment[]; try { - const httpRequest = await out.progress("Getting Codepush deployments...", clientReq...
1
diff --git a/packages/gatsby/src/cache-dir/component-renderer.js b/packages/gatsby/src/cache-dir/component-renderer.js @@ -68,6 +68,7 @@ class ComponentRenderer extends React.Component { render() { if (this.state.pageResources) { return createElement(this.state.pageResources.component, { + key: this.props.location.path...
12
diff --git a/src/UserInterface/Image/createDistanceButton.js b/src/UserInterface/Image/createDistanceButton.js @@ -99,54 +99,6 @@ function createDistanceButton( distanceValue.setAttribute('disabled', true); distanceEntry.appendChild(distanceValue); - const distanceDXLabel = document.createElement('label'); - distanceDX...
2
diff --git a/graphql/schema.graphql b/graphql/schema.graphql @@ -5284,7 +5284,7 @@ type PullRequestReview implements Node & Comment & Deletable & Updatable & Updat """The body of this review rendered as plain text.""" bodyText: String! - """A list of review comments for the checked out pull request review.""" + """A li...
13
diff --git a/core/server/api/v2/authentication.js b/core/server/api/v2/authentication.js const api = require('./index'); const config = require('../../../shared/config'); -const i18n = require('../../../shared/i18n'); +const tpl = require('@tryghost/tpl'); const errors = require('@tryghost/errors'); const web = require...
14
diff --git a/react/src/components/footer/SprkFooter.js b/react/src/components/footer/SprkFooter.js @@ -208,7 +208,7 @@ SprkFooter.propTypes = { */ additionalClasses: PropTypes.string, /** - * The value supplied will be assigned + * Value assigned * to the `data-id` attribute on the * component. This is intended to be *...
7
diff --git a/src/common/quiz/pause_manager.js b/src/common/quiz/pause_manager.js @@ -32,7 +32,7 @@ function save(saveData, savingUser, quizName, gameType) { let now = Date.now(); let fileName = savingUser + '_' + now; let json = JSON.stringify(saveData); - return fs.writeFileAsync(SAVE_DATA_DIR + '/' + fileName, json)....
7
diff --git a/shared/routes/grid/components/grid/Grid.scss b/shared/routes/grid/components/grid/Grid.scss @import '~styles/config'; -@mixin text-col($text, $left: 25px, $right: 25px) { +@mixin placeholder($text, $left: 25px, $right: 25px) { @include responsive-font(14, 14); content: $text; box-shadow: 0 0 0 1px $color-p...
10
diff --git a/.github/workflows/crawler.yml b/.github/workflows/crawler.yml @@ -21,11 +21,12 @@ jobs: python "data/crawlWorldData.py" python "data/crawlKoreaRegionalData.py" python "data/crawlKoreaRegionalCumulativeData.py" + python "data/crawlWorldCumulativeData.py" - name: Commit files run: | git config --local user.e...
0
diff --git a/src/encoded/static/components/globals.js b/src/encoded/static/components/globals.js @@ -290,6 +290,7 @@ export const dbxrefPrefixMap = { MGID: 'http://www.informatics.jax.org/external/festing/mouse/docs/', RBPImage: 'http://rnabiology.ircm.qc.ca/RBPImage/gene.php?cells=', RefSeq: 'https://www.ncbi.nlm.nih....
0
diff --git a/core/server/web/shared/middlewares/maintenance.js b/core/server/web/shared/middlewares/maintenance.js const errors = require('@tryghost/errors'); const config = require('../../../../shared/config'); -const i18n = require('../../../../shared/i18n'); +const tpl = require('@tryghost/tpl'); const urlService = ...
14
diff --git a/server/node/server.js b/server/node/server.js @@ -9,7 +9,7 @@ const stripe = require('stripe')(process.env.STRIPE_SECRET_KEY); app.use(express.static(process.env.STATIC_DIR)); // Use JSON parser for all non-webhook routes. app.use((req, res, next) => { - if (req.originalUrl === '/stripe-events') { + if (re...
1
diff --git a/protocols/swap/README.md b/protocols/swap/README.md @@ -200,7 +200,7 @@ event Invalidate( ## Signatures -When producing [ECDSA](https://hackernoon.com/a-closer-look-at-ethereum-signatures-5784c14abecc) signatures, Ethereum wallets prefix signed data with byte `\x19` to stay out of range of valid RLP so tha...
3
diff --git a/lib/carto/metrics/usage_metrics_retriever.rb b/lib/carto/metrics/usage_metrics_retriever.rb @@ -15,7 +15,7 @@ module Carto::Metrics def get_range(user, org, service, metric, date_from, date_to) usage_metrics = @cls.new(user.try(:username), org.try(:name)) - if usage_metrics.responds_to? :get_date_range + i...
1
diff --git a/README.md b/README.md @@ -35,7 +35,7 @@ Save the following code as a html file, and open in any modern browser. </script> ``` Then, you'll see below. -![VueGL example](https://goo.gl/1tUhsV) +![VueGL example](https://www.evernote.com/shard/s42/sh/475e146b-d187-4abb-8793-09bf0561a295/c581691f3ea3f0f1603fdfb...
14
diff --git a/test-complete/nodejs-optic-nodes.js b/test-complete/nodejs-optic-nodes.js @@ -431,4 +431,63 @@ describe('Nodejs Optic nodes json constructor test', function(){ }, done); }); + /*it('TEST 8 - construct xml from Triples with queryAsStream', function(done){ + var count = 0; + var str = ''; + const chunks = []...
0
diff --git a/src/components/nodes/sequenceFlow/sequenceFlow.vue b/src/components/nodes/sequenceFlow/sequenceFlow.vue @@ -20,12 +20,11 @@ export default { }, computed: { isValidConnection() { - if (this.doesNotHaveTargetType() || this.isTargetTypeALane() || this.isNotSamePool() || - this.isIncomingInvalid(this.sourceNod...
2
diff --git a/doc/developer-center/auth-api/reference/swagger.yaml b/doc/developer-center/auth-api/reference/swagger.yaml @@ -45,8 +45,8 @@ info: ] } ``` - - `database`: Describes to which tables and schemas and which privleges on them this API Key grants access to through `tables` and `schemas` attributes. \ - You can ...
2
diff --git a/lib/camaleon_cms/engine.rb b/lib/camaleon_cms/engine.rb @@ -35,9 +35,10 @@ module CamaleonCms initializer :append_migrations do |app| engine_dir = File.expand_path("../../../", __FILE__) - app.config.i18n.load_path += Dir[File.join($camaleon_engine_dir, 'config', 'locales', '**', '*.{rb,yml}')] + translati...
11
diff --git a/data.js b/data.js @@ -5692,6 +5692,14 @@ module.exports = [{ url: "https://github.com/vitaly-t/excellent", source: "https://raw.githubusercontent.com/vitaly-t/excellent/master/src/excellent.js" }, + { + name: "gradstop", + github: "Siddharth11/gradstop", + tags: ["colors", "palette", "gradient", "hex", "rg...
0
diff --git a/README.md b/README.md @@ -55,7 +55,7 @@ You may also consider using [`plotly.js-dist`](https://www.npmjs.com/package/plo ```html <head> - <script src="https://cdn.plot.ly/plotly-2.2.1.min.js"></script> + <script src="https://cdn.plot.ly/plotly-2.3.0.min.js"></script> </head> <body> <div id="gd"></div> @@ -...
3
diff --git a/avatars/avatars.js b/avatars/avatars.js @@ -8,6 +8,7 @@ import LegsManager from './vrarmik/LegsManager.js'; // import {world} from '../world.js'; import MicrophoneWorker from './microphone-worker.js'; import skeletonString from './skeleton.js'; +import {angleDifference} from '../util.js'; import physicsMan...
0
diff --git a/contracts/Havven.sol b/contracts/Havven.sol @@ -487,31 +487,34 @@ contract Havven is DestructibleExternStateToken { { uint currentBalanceSum = preIssuance.currentBalanceSum; - uint lastAvgBal = preIssuance.lastAverageBalance; + uint lastAverageBalance = preIssuance.lastAverageBalance; uint lastModified = p...
7
diff --git a/packages/idyll-document/src/utils/index.js b/packages/idyll-document/src/utils/index.js @@ -43,7 +43,7 @@ export const buildExpression = (acc, expr, key, context, isEventHandler) => { var __idyllStateProxy = new Proxy({ ${identifiers .map(key => { - return `${key}: __idyllCopy(context['${key}'])`; + return...
1
diff --git a/magefile.go b/magefile.go @@ -320,7 +320,6 @@ func Publish() error { []string{"echo", "Checking `git` tree status"}, []string{"git", "diff", "--exit-code"}, // TODO - migrate to Go - []string{"./buildinfo.sh"}, []string{"git", "commit", "-a", "-m", "Tagging Sparta commit"}, []string{"git", "push", "origin"...
2
diff --git a/src/components/common/SourceOrCollectionWidget.js b/src/components/common/SourceOrCollectionWidget.js @@ -10,17 +10,22 @@ const SourceOrCollectionWidget = (props) => { const typeClass = isCollection ? 'collection' : 'source'; const objectId = object.id || (isCollection ? object.tags_id : object.media_id); ...
9
diff --git a/articles/support/matrix.md b/articles/support/matrix.md @@ -400,6 +400,31 @@ Auth0 support is limited to the most recent version of the OS listed (unless oth </tbody> </table> +### Content Management Systems Plugins + + <table class="table"> + <thead> + <tr> + <th width="80%">CMS</th> + <th width="20%">Lev...
0
diff --git a/packages/react-scripts/template/README.md b/packages/react-scripts/template/README.md @@ -269,7 +269,7 @@ Then add the block below to your `launch.json` file and put it inside the `.vsco "request": "launch", "url": "http://localhost:3000", "webRoot": "${workspaceRoot}/src", - "userDataDir": "${workspaceRoo...
12
diff --git a/src/extension/features/budget/days-of-buffering/index.js b/src/extension/features/budget/days-of-buffering/index.js -import { getEntityManager } from 'toolkit/extension/utils/ember'; +import { getEntityManager } from 'toolkit/extension/utils/ynab'; import { Feature } from 'toolkit/extension/features/featur...
1
diff --git a/scripts/deployment/deploy_protocol.py b/scripts/deployment/deploy_protocol.py @@ -41,6 +41,9 @@ def deployProtocol(acct, tokens, mocOracleAddress, rskOracleAddress): print("Calling replaceContract.") sovryn.replaceContract(settings.address) + # Set SOV Token Address + sovryn.setSOVTokenAddress(tokens.sov.a...
12
diff --git a/etc/jshint.conf b/etc/jshint.conf "laxbreak": true, "browser": true, "globalstrict": true, - "predef": ["angular", "$", "console", "d3", "SIREPO", "saveAs", "printStackTrace", "Colorbar", "Modernizr"] + "predef": ["angular", "$", "console", "d3", "SIREPO", "saveAs", "printStackTrace", "Colorbar", "Detector...
8
diff --git a/shared/naturalcrit/markdown.js b/shared/naturalcrit/markdown.js @@ -384,8 +384,10 @@ const splitCells = (tableRow, count, prevRow = [])=>{ return ` ${p1}`; } }); + tableRow = ` ${tableRow}`; - const cells = tableRow.split(/(?: \||(?<=\|)\|)(?=[^\|]|$)/g); + // Split into cells. Contents are: no pipes unles...
14
diff --git a/src/components/metrics/card/MetricCardViewSection/index.js b/src/components/metrics/card/MetricCardViewSection/index.js @@ -149,7 +149,7 @@ export class MetricCardViewSection extends Component { </div> </div> - {(!_.isEmpty(metric.name) || inSelectedCell) && + {(!_.isEmpty(metric.name) || inSelectedCell ||...
1
diff --git a/test/testnet/index.js b/test/testnet/index.js @@ -43,10 +43,11 @@ const logExchangeRates = (currencyKeys, rates, times) => { program .option('-n, --network <value>', 'The network to run off.', x => x.toLowerCase(), 'kovan') + .option('-g, --gas-price <value>', 'Gas price in GWEI', '5') .option('-y, --yes',...
3
diff --git a/src/encoded/tests/datafixtures.py b/src/encoded/tests/datafixtures.py @@ -400,10 +400,10 @@ def treatment(testapp, organism): item = { 'treatment_term_name': 'ethanol', 'treatment_type': 'chemical' - } return testapp.post_json('/treatment', item).json['@graph'][0] + @pytest.fixture def attachment(): return...
2
diff --git a/node/lib/cmd/add_submodule.js b/node/lib/cmd/add_submodule.js @@ -121,7 +121,7 @@ The path ${colors.red(args.path)} already exists.`); if (null === importArg) { console.log(`\ Added new sub-repo ${colors.blue(args.path)}. It is currently empty. Please -stage changes and/or make a commit before finishing wi...
1
diff --git a/src/track.js b/src/track.js @@ -7,34 +7,32 @@ import { lazyStartIndex, lazyEndIndex, getPreClones } from './utils/innerSliderU // given specifications/props for a slide, fetch all the classes that need to be applied to the slide var getSlideClasses = (spec) => { - // if spec has currentSlideIndex, we can a...
0
diff --git a/src/components/play-mode/minimap/Minimap.jsx b/src/components/play-mode/minimap/Minimap.jsx @@ -7,8 +7,11 @@ import styles from './minimap.module.css'; // let minimap = null; -const minimapSize = 300; -const minimapWorldSize = 50; +const canvasSize = 180 * window.devicePixelRatio; +const minimapSize = 2048...
4
diff --git a/htdocs/js/ui/notebook_merger/merger_view.js b/htdocs/js/ui/notebook_merger/merger_view.js @@ -324,7 +324,7 @@ RCloudNotebookMerger.view = (function(model) { - panelBody.cssUnit('padding-top')[0] - panelBody.cssUnit('padding-bottom')[0] - panelBody.cssUnit('margin-top')[0] - panelBody.cssUnit('margin-bottom...
11
diff --git a/src/pagination.js b/src/pagination.js @@ -66,9 +66,7 @@ export default React.createClass({ <div className='-center'> <span className='-pageInfo'> {this.props.pageText} {showPageJump ? ( - <form className='-pageJump' - onSubmit={this.applyPage} - > + <div className='-pageJump'> <input type={this.state.page ...
2
diff --git a/client/components/main/globalSearch.jade b/client/components/main/globalSearch.jade @@ -17,9 +17,9 @@ template(name="globalSearch") else if hasResults.get .global-search-dueat-list-wrapper h1 - if $eq resultCount.get 0 + if $eq resultsCount.get 0 | {{_ 'no-results' }} - else if $eq resultCount.get 1 + else...
1
diff --git a/package.json b/package.json "devDependencies": { "assert-diff": "^1.2.0", "error-stack-parser": "^2.0.1", - "eslint": "^5.0.0", + "eslint": "^4.19.0", "eslint-config-prettier": "^2.9.0", "eslint-plugin-async-await": "0.0.0", "eslint-plugin-markdown": "^1.0.0-beta.6",
13
diff --git a/.circleci/config.yml b/.circleci/config.yml @@ -61,9 +61,6 @@ jobs: command: | yarn ganache > /dev/null & cd source/swap && yarn test - - persist_to_workspace: - root: *working_directory - paths: . indexer_tests: <<: *container_config @@ -75,9 +72,6 @@ jobs: command: | yarn ganache > /dev/null & cd source/...
2
diff --git a/packages/spark-core/settings/_settings.scss b/packages/spark-core/settings/_settings.scss @@ -672,6 +672,7 @@ $sprk-dropdown-active-border: 2.5px solid $sprk-green !default; $sprk-dropdown-active-box-shadow: -1px 0 0 0 $sprk-green !default; $sprk-dropdown-max-width: 24rem !default; $sprk-dropdown-shadow: 0...
3
diff --git a/packages/component-library/stories/index.js b/packages/component-library/stories/index.js @@ -15,6 +15,7 @@ import dataTable from "./DataTable.story"; import dropdownStory from "./DropdownMenu.story"; import gradientScaleStory from "./GradientScale.story"; import headerStory from "./Header.story"; +import ...
13
diff --git a/graveyard.json b/graveyard.json "description": "Microsoft Excel Viewer was a freeware program for viewing and printing spreadsheet documents created by Excel.", "link": "https://en.wikipedia.org/wiki/Microsoft_Excel#Microsoft_Excel_Viewer", "links": [ - "https://docs.microsoft.com/it-it/archive/blogs/offic...
14
diff --git a/src/libs/ActiveClientManager/index.js b/src/libs/ActiveClientManager/index.js @@ -40,9 +40,7 @@ Onyx.connect({ // Save the clients back to onyx, if they changed if (removed) { - ActiveClients.setActiveClients(activeClients).then(() => { - resolveSavedSelfPromise(); - }); + ActiveClients.setActiveClients(ac...
5
diff --git a/packages/app/config/webpack.common.js b/packages/app/config/webpack.common.js @@ -127,6 +127,7 @@ module.exports = (options) => { // ignore new webpack.IgnorePlugin(/^\.\/lib\/deflate\.js/, /markdown-it-plantuml/), new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/), + new webpack.IgnorePlugin(/mongoose/),...
8
diff --git a/src/libs/OptionsListUtils.js b/src/libs/OptionsListUtils.js @@ -237,11 +237,13 @@ function createOption(personalDetailList, report, { let text; let alternateText; + let icons; if (isBusinessChatRoom) { text = lodashGet(report, ['reportName'], ''); alternateText = (showChatPreviewLine && !forcePolicyNamePre...
11
diff --git a/token-metadata/0x6e36556B3ee5Aa28Def2a8EC3DAe30eC2B208739/metadata.json b/token-metadata/0x6e36556B3ee5Aa28Def2a8EC3DAe30eC2B208739/metadata.json "symbol": "BUILD", "address": "0x6e36556B3ee5Aa28Def2a8EC3DAe30eC2B208739", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED...
3
diff --git a/src/components/layouts/LayoutGlass/index.js b/src/components/layouts/LayoutGlass/index.js import React, { Component } from "react"; import Alerts from "../../generic/Alerts"; -import ActionsMixin from "../../generic/Actions"; import TransitionGroup from "react-addons-transition-group"; import CardFrame fro...
2
diff --git a/app/views/layouts/registrations.html.haml b/app/views/layouts/registrations.html.haml ) }.reverse.join( ", " ) place_guess = obs.place_guess if place_guess.blank? + taxon_name = if obs.taxon + render( partial: "shared/taxon", locals: { taxon: obs.taxon, one_name: true } ) + else + t(:unknown) + end #imgcol...
9
diff --git a/token-metadata/0x9469D013805bFfB7D3DEBe5E7839237e535ec483/metadata.json b/token-metadata/0x9469D013805bFfB7D3DEBe5E7839237e535ec483/metadata.json "symbol": "RING", "address": "0x9469D013805bFfB7D3DEBe5E7839237e535ec483", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED"...
3
diff --git a/token-metadata/0xf18432Ef894Ef4b2a5726F933718F5A8cf9fF831/metadata.json b/token-metadata/0xf18432Ef894Ef4b2a5726F933718F5A8cf9fF831/metadata.json "symbol": "BIO", "address": "0xf18432Ef894Ef4b2a5726F933718F5A8cf9fF831", "decimals": 8, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED" }...
3
diff --git a/src/app/Http/Controllers/CrudController.php b/src/app/Http/Controllers/CrudController.php @@ -113,7 +113,7 @@ class CrudController extends BaseController } // insert item in the db - $item = $this->crud->create($request->except(['save_action', '_token', '_method'])); + $item = $this->crud->create($request-...
8
diff --git a/assets/js/components/events/EventsDashboard.jsx b/assets/js/components/events/EventsDashboard.jsx @@ -6,7 +6,7 @@ import groupBy from 'lodash/groupBy'; import PacketGraph from '../common/PacketGraph' import { DEVICE_EVENTS, EVENTS_SUBSCRIPTION } from '../../graphql/events' import { graphql } from 'react-ap...
11
diff --git a/src/loader/loadingscreen.js b/src/loader/loadingscreen.js import { world, viewport } from "./../game.js"; -import { createCanvas, renderer } from "./../video/video.js"; +import { renderer } from "./../video/video.js"; import * as event from "./../system/event.js"; import {nextPowerOfTwo} from "./../math/ma...
4
diff --git a/shows/043 - Method Madness.md b/shows/043 - Method Madness.md @@ -5,7 +5,7 @@ date: 1524654511142 url: https://traffic.libsyn.com/syntax/Syntax043.mp3 --- -Wes and Scott rattle through ~20 different Object and Arra Methods that will make you a better JavaScript developer. +Wes and Scott rattle through ~20 ...
1
diff --git a/make/watch.js b/make/watch.js @@ -12,6 +12,13 @@ var chalk = require("chalk"); var chokidar = require("chokidar"); var browserSync = require("browser-sync"); +// The following files will not trigger a reload +var exclude = [ + "!**/.*", // hidden file, perhaps an editor lock or some such + "!**/*~", // bac...
8
diff --git a/sirepo/server.py b/sirepo/server.py @@ -255,9 +255,7 @@ def api_getApplicationData(filename=None): req = http_request.parse_post(template=True, filename=filename or None) with simulation_db.tmp_dir() as d: res = req.template.get_application_data(req.req_data, tmp_dir=d) - if 'filename' in req: - assert isi...
11
diff --git a/slick.grid.js b/slick.grid.js @@ -2614,6 +2614,21 @@ if (typeof Slick === "undefined") { var handled = e.isImmediatePropagationStopped(); var keyCode = Slick.keyCode; + if (!handled) { + if (!e.shiftKey && !e.altKey) { + if (options.editable && currentEditor && currentEditor.keyCaptureList) { + if (current...
9
diff --git a/articles/api/authentication/_introduction.md b/articles/api/authentication/_introduction.md @@ -14,31 +14,32 @@ The Authentication API is served over HTTPS. All URLs referenced in the document ## Authentication methods -There are three ways that you can authenticate with this API: +You have three options f...
3
diff --git a/hyperapp.d.ts b/hyperapp.d.ts @@ -10,7 +10,7 @@ export interface VNode<Attributes = {}> { nodeName: string attributes?: Attributes children: Array<VNode | string> - key: string | number + key: string | number | null } /** A Component is a function that returns a custom VNode or View.
7
diff --git a/weapons-manager.js b/weapons-manager.js @@ -855,7 +855,7 @@ const _updateWeapons = () => { }; _handleUseAnimation(); - crosshairEl.classList.toggle('visible', ['camera', 'firstperson', 'thirdperson'].includes(cameraManager.getMode()) && !appManager.grabbedObjects[0]); + crosshairEl.classList.toggle('visibl...
2
diff --git a/packages/node_modules/@node-red/nodes/core/storage/10-file.html b/packages/node_modules/@node-red/nodes/core/storage/10-file.html <option value="stream" data-i18n="file.output.stream"></option> </select> </div> - <div class="form-row"> - <label></label> - <input type="checkbox" id="node-input-sendError" st...
2
diff --git a/docs/index.md b/docs/index.md @@ -41,6 +41,49 @@ program's boundaries. This has two benefits: (1) your inputs are getting validat (2) you can now statically know for sure the shape of the incoming data. **Decoders help solve both of these problems at once.** +## Example + +Suppose, for example, you have an...
5
diff --git a/metro/log-collector.js b/metro/log-collector.js @@ -47,6 +47,9 @@ module.exports = function logCollector () { // rename level => levelname to avoid type clashing in ES accEntry.levelname = LEVELS[accEntry.level]; delete accEntry.level; + accEntry.errors = accEntry.error; + delete accEntry.error; + accEntry...
10
diff --git a/CHANGELOG.md b/CHANGELOG.md @@ -10,6 +10,13 @@ https://github.com/plotly/plotly.js/compare/vX.Y.Z...master where X.Y.Z is the semver of most recent plotly.js release. +## [1.42.5] -- 2018-11-08 + +### Fixed +- Fix `scattergl` / `scatterpolargl` with `mode: lines` and + more than 1e5 pts (bug introduced in ...
3
diff --git a/src/client/wallet/Transfer.js b/src/client/wallet/Transfer.js @@ -59,9 +59,13 @@ export default class Transfer extends React.Component { static minAccountLength = 3; static maxAccountLength = 16; static exchangeRegex = /^(bittrex|blocktrades|poloniex|changelly|openledge|shapeshiftio)$/; + static CURRENCIES...
4
diff --git a/src/pages/settings/Profile/ProfilePage.js b/src/pages/settings/Profile/ProfilePage.js @@ -191,20 +191,21 @@ class ProfilePage extends Component { */ validate(values) { const errors = {}; - let firstNameHasInvalidCharacters = false; - let lastNameHasInvalidCharacters = false; - + const [firstNameHasInvalidC...
4
diff --git a/electron.js b/electron.js @@ -11,13 +11,13 @@ function createWindow() { win = new BrowserWindow({ // Set the minimal window size - minWidth: 480, + minWidth: 640, minHeight: 360, // Set the initial window size - width: 800, - height: 600, + width: 960, + height: 540, // If resize is disabled, the resolutio...
12
diff --git a/src/components/layouts/Layout.js b/src/components/layouts/Layout.js @@ -87,11 +87,11 @@ const Layout = ({ children, initialContext, hasSideBar, location }) => { July 14, 2021 should reference <a href="https://sparkdesignsystem.com/" - className="docs-c-Banner--link sprk-u-mas" + className="docs-c-Banner--l...
3
diff --git a/README.md b/README.md @@ -47,6 +47,7 @@ Moleculer is a fast & powerful microservices framework for NodeJS (>= v6.x). - [Logging](#logging) - [Cachers](#cachers) - [Transporters](#transporters) + - [Serializers](#serializers) - [Metrics](#metrics) - [Statistics](#statistics) - [Nodes](#nodes) @@ -192,11 +19...
3
diff --git a/src/common/blockchain/mini-blockchain/blocks/Mini-Blockchain-Block.js b/src/common/blockchain/mini-blockchain/blocks/Mini-Blockchain-Block.js @@ -129,8 +129,10 @@ class MiniBlockchainBlock extends inheritBlockchainBlock { let number = new BigInteger(hash.toString("hex"), 16); - //return Serialization.seria...
7
diff --git a/config/env.dev.js b/config/env.dev.js @@ -2,18 +2,20 @@ module.exports = { NODE_ENV: 'development', FILE_UPLOAD: 'local', // MATHJAX: 1, - REDIS_URL: 'redis://localhost:6379/crowi', - ELASTICSEARCH_URI: 'http://localhost:9200/crowi', + // REDIS_URL: 'redis://localhost:6379/crowi', + // ELASTICSEARCH_URI: '...
13
diff --git a/ui/package.json b/ui/package.json }, "devDependencies": { "@babel/plugin-proposal-decorators": "^7.6.0", + "@formatjs/cli": "^1.1.18", "@svgr/webpack": "4.3.3", "babel-eslint": "^10.0.3", "babel-jest": "24.9.0", ], "scripts": { "translate": "npm run messages && npm run json2pot && npm run po2json", - "mess...
14
diff --git a/src/apps.json b/src/apps.json 34 ], "headers": { - "Server": "Virtuoso\\/?(\\d{2}\\.\\d{2}\\.\\d{4})?\\;version:\\1" + "Server": "Virtuoso/?([0-9.]+)?\\;version:\\1" }, "meta": { "Copyright": "^Copyright &copy; \\d{4} OpenLink Software", "Keywords": "^OpenLink Virtuoso Sparql" }, - "url": ".*/sparql\\.*", ...
7
diff --git a/css/livecod-custom.css b/css/livecod-custom.css @@ -143,4 +143,9 @@ div.anchor { font-size: 0.4em; } - +/** + * Remove excessive padding for accordion news headers + */ +.news-accordion > .card > .card-header { + padding: 0; +} \ No newline at end of file
2
diff --git a/articles/libraries/_includes/_default_values.md b/articles/libraries/_includes/_default_values.md Auth0.js 9 will default the value of the [scope](/scopes) parameter to `openid profile email`. -If you don't specify that scope when initializing auth0.js, you call `getSSOData()`, and you are running your web...
3
diff --git a/src/handler-runner/ServerlessInvokeLocalRunner.js b/src/handler-runner/ServerlessInvokeLocalRunner.js @@ -40,7 +40,7 @@ module.exports = class ServerlessInvokeLocalRunner { subprocess.stdin.end() const newlineRegex = /\r?\n|\r/g - const proxyResponseRegex = /{[\r\n]?\s*('|")isBase64Encoded('|")|{[\r\n]?\s*...
1
diff --git a/examples/js/custom/search/custom-search-panel-1.js b/examples/js/custom/search/custom-search-panel-1.js @@ -25,6 +25,7 @@ addProducts(5); class MySearchPanel extends React.Component { render() { return ( + <div> <div className='input-group'> <span className='input-group-btn'> <button @@ -33,12 +34,8 @@ cla...
7
diff --git a/src/serializers/proto/packets.proto.js b/src/serializers/proto/packets.proto.js -/* istanbul ignore next */ /*eslint-disable block-scoped-var, no-redeclare, no-control-regex, no-prototype-builtins*/ "use strict"; @@ -10,6 +9,7 @@ let $Reader = $protobuf.Reader, $Writer = $protobuf.Writer, $util = $protobuf...
8
diff --git a/package.json b/package.json "http-auth": "^3.1.3", "jshint": "^2.9.4", "mocha": "^3.4.2", - "spectron": "^3.6.4", + "spectron": "3.6.x", "stylelint": "^7.11.0", "stylelint-config-standard": "latest", "time-grunt": "latest"
12
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md @@ -11,9 +11,11 @@ Tuesday UTC may not be incorporated due to time constraints. The compatibility matrix section of the website is built from [YAML](https://yaml.org/) files located in [_data/compatibility/](_data/compatibility/). -The compatibility images (usability scree...
0
diff --git a/examples/component/index.js b/examples/component/index.js import React from "react"; import ReactDOM from "react-dom"; import FormControlLabel from '@material-ui/core/FormControlLabel'; +import TextField from '@material-ui/core/TextField'; import Switch from '@material-ui/core/Switch'; import MUIDataTable ...
0
diff --git a/src/network/receive.ts b/src/network/receive.ts @@ -247,14 +247,11 @@ async function onReceive(payload: Payload, dest: string) { }, })) as ChatMemberRecord if (payload.type === msgtypes.message) { - const currentTribe = (await models.Chat.findOne({ - where: { uuid: payload.chat.uuid }, - })) as ChatMemberR...
2
diff --git a/beeline/services/MapViewFactory.js b/beeline/services/MapViewFactory.js @@ -3,21 +3,21 @@ import _ from "lodash" angular.module("beeline").factory("MapViewFactory", () => { return { - init: function($scope) { - $scope.mapObject = this.mapObject() + init: function(scope) { + scope.mapObject = this.mapObject...
14
diff --git a/src/js/components/Form/Form.js b/src/js/components/Form/Form.js @@ -72,14 +72,23 @@ class Form extends Component { }; onReset = event => { - const { onReset } = this.props; + const { onChange, onReset } = this.props; + const value = {}; + this.setState({ errors: {}, value, touched: {} }, () => { if (onRese...
1
diff --git a/continuous_deployment/bs.js b/continuous_deployment/bs.js @@ -59,11 +59,12 @@ var iPhoneDriver = new webdriver.Builder() .withCapabilities(iPhone) .build() - */ + var androidDriver = new webdriver.Builder() .usingServer('http://hub-cloud.browserstack.com/wd/hub') .withCapabilities(android) .build() + */ va...
2
diff --git a/docs/hydra/5min-tutorial.md b/docs/hydra/5min-tutorial.md @@ -6,10 +6,10 @@ title: 5 Minute Tutorial To get started quickly, we provide a Docker Compose based example for setting up ORY Hydra, a PostgreSQL instance and an exemplary User Login & Consent App. You need to have the latest Docker as well as Doc...
1
diff --git a/package.json b/package.json "scripts": { "test": "webpack-dev-server --config webpack.test.js --devtool eval --port 8081", "pretest:headless": "webpack --config webpack.test.js --devtool eval", - "test:headless": "mocha-phantomjs --ssl-protocol=tlsv1 -R xunit -f test-results.xml build/index.html", + "test:...
8
diff --git a/src/constants/parade-coordinates.js b/src/constants/parade-coordinates.js @@ -58,48 +58,27 @@ export default [ { longitude: -0.13638, latitude: 51.50995 }, { longitude: -0.13632, latitude: 51.50995 }, { longitude: -0.1362, latitude: 51.50996 }, - { longitude: -0.13614, latitude: 51.50989 }, - { longitude: ...
2
diff --git a/components/Discussion/debug.js b/components/Discussion/debug.js -import mkDebug from 'debug' +// import mkDebug from 'debug' -export const debug = mkDebug('discussion') +export const debug = () => {} // mkDebug('discussion') /** * If this is true we render helpful information into the webpage.
14
diff --git a/src/lib/reducers.test.js b/src/lib/reducers.test.js @@ -17,10 +17,6 @@ describe("goalsReducer", () => { }); it("should error on no action type", () => { - try { - goalsReducer(state, {}); - } catch (e) { - expect(e).toEqual(new Error("No Action was provided.")); - } + expect(goalsReducer.bind(null, state, ...
7