code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/app/controllers/ValidationController.scala b/app/controllers/ValidationController.scala @@ -39,7 +39,7 @@ class ValidationController @Inject() (implicit val env: Environment[User, Sessio
request.identity match {
case Some(user) =>
WebpageActivityTable.save(WebpageActivity(0, user.userId.toString, ipAddress... | 1 |
diff --git a/blocks/datatypes.js b/blocks/datatypes.js @@ -111,26 +111,34 @@ Blockly.Blocks['create_construct_typed'] = {
var fieldName = value.getContainerFieldName();
var def = valueBlock.getTypeCtorDef(fieldName);
- if (this.definition_ === def) {
- return outType;
- }
-
var input = this.getInput('PARAM');
- if (inp... | 2 |
diff --git a/editor.js b/editor.js @@ -65,6 +65,8 @@ const s = `\
import React, {Fragment, useState, useRef} from 'react';
import ReactThreeFiber from '@react-three/fiber';
const {Canvas, useFrame, useThree} = ReactThreeFiber;
+ import {physics} from 'webaverse';
+ const PhysicsBox = physics.Box;
function Box(props) {
... | 0 |
diff --git a/pages/chart/mat.js b/pages/chart/mat.js @@ -88,13 +88,18 @@ const MeasurementAggregationToolkit = ({ testNames }) => {
pathname: router.pathname,
query: {
test_name: 'web_connectivity',
+ domain: 'twitter.com',
axis_x: 'measurement_start_day',
+ axis_y: 'probe_cc',
since: monthAgo.format('YYYY-MM-DD'),
- u... | 4 |
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.38.2] -- 2018-06-04
+
+### Fixed
+- Fix bar text removal (bug introduced in 1.36.0) [#2689]
+- Fix handling number `0` in hover label... | 3 |
diff --git a/includes/Experiments.php b/includes/Experiments.php @@ -218,6 +218,7 @@ class Experiments {
'label' => __( 'Quick Tips', 'web-stories' ),
'description' => __( 'Enable quick tips for first time user experience (FTUE)', 'web-stories' ),
'group' => 'editor',
+ 'default' => true,
],
/**
* Author: @carlos-kelly... | 12 |
diff --git a/test/server/effect.spec.js b/test/server/effect.spec.js @@ -211,8 +211,8 @@ describe('Effect', function () {
expect(this.effect.targets).toContain(this.matchingCard);
});
- it('should add targets from active plot', function() {
- this.matchingCard.location = 'active plot';
+ it('should add targets from pro... | 14 |
diff --git a/packages/app/src/components/Navbar/GrowiContextualSubNavigation.tsx b/packages/app/src/components/Navbar/GrowiContextualSubNavigation.tsx @@ -167,7 +167,7 @@ const GrowiContextualSubNavigation = (props) => {
const { data: isAbleToShowPageAuthors } = useIsAbleToShowPageAuthors();
const { mutate: mutateSWRTa... | 10 |
diff --git a/src/typescript/typescript.ts b/src/typescript/typescript.ts @@ -130,7 +130,7 @@ export const language = {
{ include: '@whitespace' },
// regular expression: ensure it is terminated before beginning (otherwise it is an opeator)
- [/\/(?=([^\\\/]|\\.)+\/([gimuy]*)(\s*)(\.|;|\/|,|\)|\]|\}|$))/, { token: 'rege... | 11 |
diff --git a/README.md b/README.md @@ -8,6 +8,9 @@ ERP beyond your fridge
## Getting in touch
There is the [r/grocy subreddit](https://www.reddit.com/r/grocy) to connect with other grocy users. If you've found something that does not work or if you have an idea for an improvement or new things which you would find usef... | 0 |
diff --git a/src/components/ContactForm/ContactForm.js b/src/components/ContactForm/ContactForm.js -/* eslint-disable jsx-a11y/label-has-for */
-/* eslint-disable jsx-a11y/label-has-associated-control */
+/* eslint-disable react/jsx-one-expression-per-line */
import React, { useState } from 'react';
import { css } from... | 9 |
diff --git a/server/game/cards/13.3-PoS/TheFaithsDecree.js b/server/game/cards/13.3-PoS/TheFaithsDecree.js @@ -24,7 +24,7 @@ class TheFaithsDecree extends DrawCard {
return false;
}
- this.game.addMessage('{0} plays {1} to prevent opponent\'s from triggering {2}', player, cardName, this);
+ this.game.addMessage('{0} pl... | 1 |
diff --git a/src/components/Story/Story.less b/src/components/Story/Story.less @import (reference) "../../styles/custom.less";
+@import (reference) "../../styles/modules/variables.less";
.Story {
- border-radius: 4px;
background-color: @white;
color: #353535;
+ border-top: solid 1px #e9e7e7;
+ border-bottom: solid 1px ... | 2 |
diff --git a/docs/Watcher-Wizard.md b/docs/Watcher-Wizard.md # Using the Wizard
-SENTINL provides a built-in wizard to assist forming proper watchers using a _step-by-step_ sequence
+SENTINL provides a wizard to help create watchers using a _step-by-step_ sequence.
#### Step 1: New Watcher
-The first step is to give ou... | 3 |
diff --git a/src/plots/geo/constants.js b/src/plots/geo/constants.js @@ -123,113 +123,6 @@ exports.projNames = {
'peirce quincuncial': 'peirceQuincuncial',
};
-var keys = Object.keys(exports.projNames).sort();
-var totalN = keys.length;
-var nRow = 8;
-var nCol = Math.ceil(totalN / nRow);
-var layout = {
- grid: {
- ro... | 2 |
diff --git a/physics-manager.js b/physics-manager.js @@ -22,6 +22,9 @@ const physicsManager = new EventTarget();
const velocity = new THREE.Vector3();
physicsManager.velocity = velocity;
+const offset = new THREE.Vector3();
+physicsManager.offset = offset;
+
let jumpState = false;
const getJumpState = () => jumpState;
... | 0 |
diff --git a/assets/js/modules/analytics/wp-dashboard/wp-dashboard-widget-top-pages-table.js b/assets/js/modules/analytics/wp-dashboard/wp-dashboard-widget-top-pages-table.js @@ -36,6 +36,7 @@ const { Component } = wp.element;
class WPAnalyticsDashboardWidgetTopPagesTable extends Component {
render() {
const { data } =... | 12 |
diff --git a/src/js/controllers/marco-coino.controller.js b/src/js/controllers/marco-coino.controller.js ) {
var MARCO_COINO_BASE_URL = 'https://marco-coino.firebaseapp.com/marcocoino-embed.html?zoom=5&color=gold';
- var ADD_MERCHANT_URL = 'https://shop.bitcoin.com/submit-listing/';
+ var ADD_MERCHANT_URL = 'https://ma... | 3 |
diff --git a/js/webcomponents/bisweb_grapherelement.js b/js/webcomponents/bisweb_grapherelement.js @@ -1115,7 +1115,7 @@ class GrapherModule extends HTMLElement {
if (settings.flipPolarity) { polarityButton = createCheck('Reverse polarity'); }
if (settings.smooth) { smoothButton = createCheck('Smooth input'); }
- if (p... | 1 |
diff --git a/package.json b/package.json {
"name": "minimap",
"main": "./lib/main",
- "version": "4.29.7",
+ "version": "4.29.8",
"private": true,
"description": "A preview of the full source code.",
"author": "Fangdun Cai <cfddream@gmail.com>",
| 6 |
diff --git a/io-manager.js b/io-manager.js @@ -9,15 +9,19 @@ import {isInIframe} from './util.js';
import {renderer, renderer2, camera, avatarCamera, dolly, iframeContainer} from './app-object.js';
/* import {menuActions} from './mithril-ui/store/actions.js';
import {menuState} from './mithril-ui/store/state.js'; */
+i... | 0 |
diff --git a/packages/core/src/utils/page-path-utils.ts b/packages/core/src/utils/page-path-utils.ts import nodePath from 'path';
-import ObjectId from 'bson-objectid';
import escapeStringRegexp from 'escape-string-regexp';
-
+import { isValidObjectId } from './objectid-utils';
import { addTrailingSlash } from './path-... | 7 |
diff --git a/addon/components/polaris-resource-list/filter-control.js b/addon/components/polaris-resource-list/filter-control.js @@ -135,10 +135,11 @@ export default Component.extend(context.ConsumerMixin, {
}).readOnly(),
handleAddFilter(newFilter) {
- let { onFiltersChange, appliedFilters = [] } = this.getProperties(... | 9 |
diff --git a/articles/api/management/v2/tokens.md b/articles/api/management/v2/tokens.md @@ -223,7 +223,7 @@ __How long is the token valid for?__</br>
The Management APIv2 token has by default a validity of __24 hours__. After that the token will expire and you will have to get a new one. If you get one manually from [... | 2 |
diff --git a/src/lib/project-loader-hoc.jsx b/src/lib/project-loader-hoc.jsx @@ -27,7 +27,9 @@ const ProjectLoaderHOC = function (WrappedComponent) {
if (this.state.projectId !== prevState.projectId) {
storage
.load(storage.AssetType.Project, this.state.projectId, storage.DataFormat.JSON)
- .then(projectAsset => this.s... | 9 |
diff --git a/detox/package.json b/detox/package.json "signal-exit": "^3.0.3",
"stream-json": "^1.7.4",
"strip-ansi": "^6.0.1",
- "tail": "^2.0.0",
"telnet-client": "1.2.8",
"tempfile": "^2.0.0",
"trace-event-lib": "^1.3.1",
| 2 |
diff --git a/bin/templates/scripts/cordova/Api.js b/bin/templates/scripts/cordova/Api.js @@ -445,7 +445,7 @@ Api.prototype.addPodSpecs = function (plugin, podSpecs, frameworkPods) {
return podfileFile.install(check_reqs.check_cocoapods)
.then(function () {
- self.setSwiftVersionForCocoaPodsLibraries(podsjsonFile);
+ re... | 8 |
diff --git a/breaking_changes.md b/breaking_changes.md @@ -2,8 +2,8 @@ This file will be updated with breaking changes, before you update you should ch
**27th Jul 2019 (1.19.12-dev)**
- - You can't access old message logs unless you migrate them from the old format using the `migratelogs` owner only command. Be careful... | 1 |
diff --git a/README.md b/README.md @@ -116,6 +116,7 @@ All CLI options are optional:
--useChildProcesses Run handlers in a child process
--useWorkerThreads Uses worker threads for handlers. Requires node.js v11.7.0 or higher
--websocketPort WebSocket port to listen on. Default: 3001
+--useDocker Run handlers in a docke... | 0 |
diff --git a/examples/public/filters/circle-filter.html b/examples/public/filters/circle-filter.html <div class="box" style="max-height:90vh; overflow: auto;">
<header>
<h1>Circle Filter</h1>
+ <p class="open-sans">Draw a circle to get filtered results</p>
</header>
<br />
<div>
// 4. raiload --> timeseries
function in... | 7 |
diff --git a/src/sections/target/MolecularInteractions/StringTab.js b/src/sections/target/MolecularInteractions/StringTab.js @@ -283,7 +283,7 @@ const getHeatmapCell = (score, classes) => {
const id = 'string';
const index = 0;
-const size = 15000;
+const size = 10000;
const color = d3
.scaleQuantize()
.domain([0, 1])
| 12 |
diff --git a/script.json.schema b/script.json.schema "maxItems": 0,
"additionalProperties": {
"type": "string",
- "enum": ["read", "write", "read, write", "write, read"]
+ "enum": ["read", "write", "read, write", "write, read", "read,write", "write,read"]
}
},
"conflicts":{
| 3 |
diff --git a/components/Discussion/enhancers.js b/components/Discussion/enhancers.js @@ -579,11 +579,24 @@ ${fragments.comment}
const nodes = [].concat(data.discussion.comments.nodes)
+ const parentIndex = parentId && nodes.findIndex(n => n.id === parentId)
const insertIndex = parentId
- ? nodes.findIndex(n => n.id ===... | 7 |
diff --git a/javascripts/game.js b/javascripts/game.js @@ -5930,6 +5930,10 @@ window.addEventListener('keydown', function(event) {
}, false);
window.addEventListener('keyup', function(event) {
+ if (event.keyCode === 70) {
+ $.notify("Paying respects", "info")
+ giveAchievement("It pays to have respect")
+ }
if (!playe... | 11 |
diff --git a/tests/browser/nightwatch.js b/tests/browser/nightwatch.js @@ -75,7 +75,7 @@ module.exports = {
// Confirm that it has been added to the recipe
browser
.useCss()
- .waitForElementVisible(op)
+ .waitForElementVisible(op, 100)
.expect.element(op).text.to.contain("To Hex");
// Enter input
@@ -107,6 +107,10 @@ ... | 0 |
diff --git a/app/models/cluster.js b/app/models/cluster.js @@ -89,8 +89,8 @@ export const DEFAULT_GKE_NODE_POOL_CONFIG = {
},
initialNodeCount: 3,
management: {
- autoRepair: false,
- autoUpgrade: false,
+ autoRepair: true,
+ autoUpgrade: true,
},
maxPodsConstraint: 110,
name: null,
| 12 |
diff --git a/src/client/client4.ts b/src/client/client4.ts @@ -1627,17 +1627,17 @@ export default class Client4 {
// Post Routes
createPost = async (post: Post) => {
- const analyticsData = {channel_id: post.channel_id, post_id: post.id, user_actual_id: post.user_id, root_id: post.root_id};
+ const result = await this.... | 1 |
diff --git a/includes/Modules/Thank_With_Google/Settings.php b/includes/Modules/Thank_With_Google/Settings.php @@ -119,7 +119,18 @@ class Settings extends Module_Settings implements Setting_With_Owned_Keys_Interf
* @return string The sanitized value.
*/
private function sanitize_color_theme( $color_theme ) {
- if ( in_... | 1 |
diff --git a/assets/js/googlesitekit/data/create-snapshot-store.js b/assets/js/googlesitekit/data/create-snapshot-store.js @@ -126,8 +126,6 @@ export const createSnapshotStore = ( storeName ) => {
return deleteItem( `datastore::cache::${ storeName }` );
},
[ CREATE_SNAPSHOT ]: createRegistryControl( ( registry ) => () ... | 2 |
diff --git a/react/src/components/dropdown/SprkDropdown.js b/react/src/components/dropdown/SprkDropdown.js @@ -351,7 +351,11 @@ SprkDropdown.propTypes = {
items: PropTypes.arrayOf(
PropTypes.shape({
/** The element to render for each menu item. */
- element: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),
+ el... | 11 |
diff --git a/bot.js b/bot.js @@ -5,22 +5,35 @@ const config = require('./config');
const bot = new Discord.Client();
bot.login(config.auth_token);
+var channels = new Discord.Collection();
+
//connect to mysql db
const database = mysql.createConnection(config.db);
database.connect(function(err) {
if (err) throw err;
co... | 12 |
diff --git a/packages/idyll-document/src/components/author-tool.js b/packages/idyll-document/src/components/author-tool.js @@ -44,12 +44,10 @@ class AuthorTool extends React.PureComponent {
});
const {isAuthorView, debugHeight} = this.state;
const currentDebugHeight = isAuthorView ? debugHeight : 0;
- const marginToGiv... | 2 |
diff --git a/token-metadata/0xd0929d411954c47438dc1d871dd6081F5C5e149c/metadata.json b/token-metadata/0xd0929d411954c47438dc1d871dd6081F5C5e149c/metadata.json "symbol": "RFR",
"address": "0xd0929d411954c47438dc1d871dd6081F5C5e149c",
"decimals": 4,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
}... | 3 |
diff --git a/components/Frame/Header.js b/components/Frame/Header.js @@ -377,7 +377,7 @@ class Header extends Component {
onClick={toggleExpanded}
/>
</div>
- {inNativeIOSApp && <a
+ {(inNativeIOSApp || backButton) && <a
style={{
opacity: backButton ? 1 : 0,
pointerEvents: backButton ? undefined : 'none',
@@ -393,7 +39... | 1 |
diff --git a/js/independentreserve.js b/js/independentreserve.js @@ -186,7 +186,14 @@ module.exports = class independentreserve extends Exchange {
// "CreatedTimestampUtc":"2022-01-14T22:52:29.5029223Z"
// }
const timestamp = this.parse8601 (this.safeString (ticker, 'CreatedTimestampUtc'));
- const symbol = this.safeSy... | 7 |
diff --git a/BUILD.gn b/BUILD.gn @@ -310,7 +310,7 @@ if (is_win && !is_component_build) {
deps = [
"//chrome:reorder_imports",
- "//chrome:main_dll",
+ "//chrome:chrome_dll",
":copy_node",
":payload",
"//v8:nwjc",
@@ -364,7 +364,7 @@ if (is_linux && !is_component_build) {
"$root_build_dir/payload"]
deps = [
"//chrome:c... | 10 |
diff --git a/publish/deployed/kovan/config.json b/publish/deployed/kovan/config.json "SynthsCNY": {
"deploy": false
},
- "SynthsSGD": {
- "deploy": false
- },
- "SynthsRUB": {
- "deploy": false
- },
"SynthsINR": {
"deploy": false
},
- "SynthsBRL": {
- "deploy": false
- },
- "SynthsNZD": {
- "deploy": false
- },
- "Synt... | 2 |
diff --git a/setup.py b/setup.py @@ -5,7 +5,7 @@ here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.md')).read()
CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()
# Edit Snovault version after the `@` here, can be a branch or tag
-SNOVAULT_DEP = "git+https://github.com/ENC... | 3 |
diff --git a/package.json b/package.json {
"name": "kuzzle",
"author": "The Kuzzle Team <support@kuzzle.io>",
- "version": "2.17.8",
+ "version": "2.17.6",
"description": "Kuzzle is an open-source solution that handles all the data management through a secured API, with a large choice of protocols.",
"bin": {
"kuzzle":... | 13 |
diff --git a/validators/bids.js b/validators/bids.js @@ -481,10 +481,22 @@ BIDS = {
dataFile = true
break
}
+ // MEG datafiles may be a folder, therefore not contained in fileList, will need to look in paths
+ if (
+ noExt.endsWith('_meg') ||
+ noExt.endsWith('_coordsystem')
+ ) {
+ // Check for folder ending in meg.ds... | 9 |
diff --git a/source/agent/conference/conference.js b/source/agent/conference/conference.js @@ -1443,6 +1443,10 @@ var Conference = function (rpcClient, selfRpcId) {
return false;
}
+ //FIXME: allow bitrate 1.0x for client-sdk
+ if (req.parameters.bitrate === 'x1.0') {
+ req.parameters.bitrate = undefined;
+ }
if (req.p... | 11 |
diff --git a/docs/components/Modal.md b/docs/components/Modal.md @@ -22,14 +22,14 @@ class MyModal extends React.Component {
render() {
return (
<div>
- <Form>
+ <Form className="mbn">
<FormRow>
- <FormCol fixed>
+ <FormCol fixed hideHelpRow>
<DefaultButton onClick={() => this.setState({show: true})}>
Open Modal
</Defa... | 7 |
diff --git a/snowpack/src/commands/dev.ts b/snowpack/src/commands/dev.ts @@ -44,6 +44,8 @@ import {
} from '../util';
import {getPort, startDashboard, paintEvent} from './paint';
import {cssModuleJSON} from '../build/import-css';
+import {runPipelineCleanupStep} from '../build/build-pipeline';
+
export class OneToManyM... | 11 |
diff --git a/src/server/app.js b/src/server/app.js @@ -204,8 +204,8 @@ app.get("/sitemap.xml", async (req, res)=>{
});*/
let sitemap;
async function gensitemap(){
- const allbots = await Bots.find({}).select('id');
- const botsmap = await allbots.map(function(id){`<url>\n<loc>${process.env.DOMAIN}/bots/${id}</loc>\n<la... | 1 |
diff --git a/README.md b/README.md @@ -328,7 +328,7 @@ document.querySelector
```javascript
// <hello-world>
-// <!-- `onclick` is "automagically" attached -->
+// `onclick` is "automagically" attached
//
// <a onclick=onsneeze> ACHOO! </a>
// </hello-world>
| 2 |
diff --git a/new-client/src/plugins/information/information.js b/new-client/src/plugins/information/information.js @@ -35,12 +35,14 @@ class Information extends React.PureComponent {
if (this.options.visibleAtStart === true) {
if (
this.options.showInfoOnce === true &&
- parseInt(window.localStorage.getItem("alreadySho... | 10 |
diff --git a/frontend/lost/src/components/SIA/SIA.js b/frontend/lost/src/components/SIA/SIA.js @@ -18,12 +18,13 @@ class SIA extends Component{
return(
<React.Fragment>
<Row>
- <Col xs='11' sm='11' lg='11'>
- <Canvas></Canvas>
- </Col>
<Col xs='1' sm='1' lg='1'>
<ToolBar></ToolBar>
</Col>
+ <Col xs='11' sm='11' lg='11'... | 5 |
diff --git a/src/dom_components/view/ComponentTextView.js b/src/dom_components/view/ComponentTextView.js @@ -62,18 +62,20 @@ export default ComponentView.extend({
* Disable element content editing
* @private
* */
- disableEditing() {
+ async disableEditing() {
const { model, rte, activeRte, em } = this;
- const editabl... | 9 |
diff --git a/src/DatabaseProvider/withDatabase.d.ts b/src/DatabaseProvider/withDatabase.d.ts -import type { NonReactStatics } from 'hoist-non-react-statics'
-import { ComponentType } from 'react'
+import * as React from 'react'
+import { NonReactStatics } from 'hoist-non-react-statics'
import type Database from '../Dat... | 13 |
diff --git a/core/algorithm-builder/environments/nodejs/wrapper/package.json b/core/algorithm-builder/environments/nodejs/wrapper/package.json "author": "",
"license": "ISC",
"dependencies": {
- "@hkube/nodejs-wrapper": "^2.0.40"
+ "@hkube/nodejs-wrapper": "^2.0.41"
},
"devDependencies": {}
}
\ No newline at end of fil... | 3 |
diff --git a/src/workingtitle-vcockpits-instruments-airliners/html_ui/Pages/VCockpit/Instruments/Airliners/Shared/WT/AirspeedIndicator.js b/src/workingtitle-vcockpits-instruments-airliners/html_ui/Pages/VCockpit/Instruments/Airliners/Shared/WT/AirspeedIndicator.js @@ -1848,6 +1848,16 @@ class Jet_PFD_AirspeedIndicator ... | 12 |
diff --git a/module/modifier-bucket/resolve-diceroll-app.js b/module/modifier-bucket/resolve-diceroll-app.js @@ -154,7 +154,7 @@ export default class ResolveDiceRoll extends Application {
results.push(value)
- generate(dice, target - value, results)
+ this.generate(dice, target - value, results)
}
return results
}
| 1 |
diff --git a/detox/ios/Detox/DetoxAppDelegateProxy.m b/detox/ios/Detox/DetoxAppDelegateProxy.m @@ -27,6 +27,38 @@ static DetoxAppDelegateProxy* _currentAppDelegateProxy;
return _currentAppDelegateProxy;
}
+static void __copyMethods(Class orig, Class target)
+{
+ //Copy class methods
+ Class targetMetaclass = object_get... | 1 |
diff --git a/NiL.JS/Core/Functions/ConstructorProxy.cs b/NiL.JS/Core/Functions/ConstructorProxy.cs @@ -168,8 +168,6 @@ namespace NiL.JS.Core.Functions
return new Date().ToString();
}
- try
- {
object obj;
if (_staticProxy._hostedType == typeof(BaseLibrary.Array))
{
@@ -289,15 +287,6 @@ namespace NiL.JS.Core.Functions
r... | 2 |
diff --git a/generators/server/files.js b/generators/server/files.js * See the License for the specific language governing permissions and
* limitations under the License.
*/
-const mkdirp = require('mkdirp');
const cleanup = require('../cleanup');
const constants = require('../generator-constants');
@@ -1528,15 +1527,... | 2 |
diff --git a/src/ui/UIMarker.js b/src/ui/UIMarker.js @@ -14,6 +14,8 @@ import UIComponent from './UIComponent';
* @property {Number} [options.single=false] - if the marker is a global single one.
* @property {String|HTMLElement} options.content - content of the marker, can be a string type HTML code or a HTMLElement.
*... | 3 |
diff --git a/avatars/util.mjs b/avatars/util.mjs @@ -602,6 +602,13 @@ export const animationBoneToModelBone = {
'mixamorigLeftFoot': 'Left_ankle',
'mixamorigLeftToeBase': 'Left_toe',
};
+export const modelBoneToAnimationBone = (() => {
+ const result = {};
+ for (const key in animationBoneToModelBone) {
+ result[animat... | 0 |
diff --git a/tests/resize.html b/tests/resize.html position: absolute;
left: 10px;
right: 10px;
- top: 40px;
+ top: 50px;
bottom: 10px;
}
</style>
</head>
<body>
- <p>Resize the window. The dygraph will resize with it.</p>
+ <p>Resize the window. The dygraph will resize with it.
+ This is distinct from the <tt>{ resiza... | 7 |
diff --git a/app/views/full-page-examples/feedback/index.njk b/app/views/full-page-examples/feedback/index.njk {# This example is based of the live "Send your feedback to GOV.UK Verify" start page: https://www.signin.service.gov.uk/feedback #}
{% extends "_generic.njk" %}
+{% from "warning-text/macro.njk" import govukW... | 14 |
diff --git a/src/components/AddressSearch.js b/src/components/AddressSearch.js @@ -26,7 +26,7 @@ const propTypes = {
* @param {Object} props - props passed to the input
* @returns {Object} - returns an Error object if isFormInput is supplied but inputID is falsey or not a string
*/
- inputID: props => FormUtils.getInpu... | 10 |
diff --git a/src/compiler/lexer.imba1 b/src/compiler/lexer.imba1 @@ -144,6 +144,7 @@ var OPERATOR = /// ^ (
var WHITESPACE = /^[^\n\S]+/
var COMMENT = /^###([^#][\s\S]*?)(?:###[^\n\S]*|(?:###)?$)/
+var JS_COMMENT = /^\/\*([\s\S]*?)\*\//
# var INLINE_COMMENT = /^(\s*)((#[ \t\!]||\/\/)(.*)|#[ \t]?(?=\n|$))+/
var INLINE_C... | 11 |
diff --git a/token-metadata/0x82daD985AfD3708680Bac660f4E527DA4f0dCfA5/metadata.json b/token-metadata/0x82daD985AfD3708680Bac660f4E527DA4f0dCfA5/metadata.json "symbol": "INFD",
"address": "0x82daD985AfD3708680Bac660f4E527DA4f0dCfA5",
"decimals": 8,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/src/Navigation.js b/src/Navigation.js @@ -82,15 +82,21 @@ export const getTabTestId = (routeName: string) => {
switch (routeName) {
case EVENT_LIST:
return "events-tab-button";
+ case PARADE:
+ return "parade-tab-button";
+ case SAVED:
+ return "saved-events-tab-button";
+ case SUPPORT_US:
+ return "suppor... | 0 |
diff --git a/src/utils/telemetry/index.js b/src/utils/telemetry/index.js const path = require('path')
const { spawn } = require('child_process')
const isValidEventName = require('./validation')
-const GlobalConfig = require('../../base/global-config')
+const globalConfig = require('../../base/global-config')
const ci =... | 3 |
diff --git a/src/components/mdx/anchor-link.js b/src/components/mdx/anchor-link.js @@ -4,9 +4,12 @@ import { Link } from "gatsby"
const linkClassName = "DocsMarkdown--link" // TODO - get prefix from somewhere
export default ({ href, className, ...props }) => {
- const external = !!href.match(/^https?:/)
+ const isExter... | 7 |
diff --git a/src/components/staking/TableValidators.vue b/src/components/staking/TableValidators.vue <div>
<table class="data-table">
<thead>
- <PanelSort :sort="sort" :properties="properties" />
+ <PanelSort
+ :sort="sort"
+ :properties="properties"
+ />
</thead>
<tbody>
<LiValidator
@@ -70,8 +73,8 @@ export default {... | 1 |
diff --git a/package.json b/package.json "homepage": "https://github.com/z-------------/cumulonimbus",
"dependencies": {
"@polymer/polymer": "1.7.1-npm-test.4",
- "electron": "^1.7.5",
"jimp": "^0.2.28",
"jquery": "^3.2.1",
"js2xmlparser": "^1.0.0",
},
"devDependencies": {
"autoprefixer": "^6.3.6",
+ "electron": "^1.7.... | 12 |
diff --git a/docs/charts/line.md b/docs/charts/line.md @@ -91,7 +91,7 @@ The style of each point can be controlled with the following properties:
| `pointHitRadius` | The pixel size of the non-displayed point that reacts to mouse events.
| `pointRadius` | The radius of the point shape. If set to 0, the point is not ren... | 1 |
diff --git a/src/common/blockchain/interface-blockchain/transactions/protocol/Transactions-Download-Manager.js b/src/common/blockchain/interface-blockchain/transactions/protocol/Transactions-Download-Manager.js @@ -375,7 +375,7 @@ class TransactionsDownloadManager{
for (let txId in this._transactionsQueue)
for( let i =... | 14 |
diff --git a/extension/options.css b/extension/options.css @@ -551,6 +551,7 @@ input:checked + label, button, .button, .button:visited, .dark .button:visited,
#options .category > h2 {
font-size: 1.5em;
font-weight: 100;
+ margin-top: 2em;
margin-bottom: 1em;
padding-bottom: 0.5em;
@@ -560,12 +561,24 @@ input:checked +... | 7 |
diff --git a/services/integration-content-repository/app/api/swagger/swagger.json b/services/integration-content-repository/app/api/swagger/swagger.json "type": "object",
"properties": {
"data": { "$ref": "#/components/schemas/Flow" },
- "meta": { "$ref": "#/components/schemas/Meta" }
+ "meta": {
+ "type": "object"
+ }... | 1 |
diff --git a/edit.js b/edit.js @@ -2475,10 +2475,11 @@ document.getElementById('inventory-drop-zone').addEventListener('drop', async e
jsonItem.getAsString(resolve);
});
const j = JSON.parse(s);
- let {name, dataHash, id, iconHash} = j;
+ let {name, dataHash, id, iconHash, contractAddress} = j;
if (!dataHash) {
const p... | 0 |
diff --git a/src/components/dashboard/Receive.js b/src/components/dashboard/Receive.js @@ -27,9 +27,12 @@ const Receive = ({ screenProps, styles }: ReceiveProps) => {
const amount = 0
const reason = ''
const codeObj = useMemo(() => generateCode(account, networkId, amount, reason), [account, networkId, amount, reason])
... | 0 |
diff --git a/docs/articles/documentation/using-testcafe/using-testcafe-docker-image.md b/docs/articles/documentation/using-testcafe/using-testcafe-docker-image.md @@ -89,7 +89,7 @@ where `$PORT1` and `$PORT2` are vacant container's ports, `$EXTERNAL_HOSTNAME` i
If you are testing a heavy website, you may need to alloca... | 2 |
diff --git a/src/modules/DataLabels.js b/src/modules/DataLabels.js @@ -338,7 +338,7 @@ class DataLabels {
for (let i = 0; i < elDataLabelsNodes.length; i++) {
if (elSeries) {
- elSeries.insertAdjacentElement('beforeEnd', elDataLabelsNodes[i])
+ elSeries.insertBefore(elDataLabelsNodes[i], elSeries.nextSibling)
}
}
}
| 14 |
diff --git a/packages/openneuro-app/src/scripts/utils/bids.js b/packages/openneuro-app/src/scripts/utils/bids.js @@ -156,7 +156,7 @@ export default {
let snapshotQuery = options.snapshot
? (await datalad.getSnapshot(projectId, options)).data
: null
- let snapshot = snapshotQuery ? snapshotQuery.dataset : null
+ let sna... | 1 |
diff --git a/packages/rekit-core/core/vio.js b/packages/rekit-core/core/vio.js @@ -253,8 +253,9 @@ function ls(folder) {
return _.union(diskFiles, memoFiles);
}
-function del(filePath) {
- toDel[filePath] = true;
+function del(filePath, noWarning) {
+ toDel[filePath] = noWarning ? 'no-warning' : true;
+ delete toSave[f... | 11 |
diff --git a/README.md b/README.md @@ -5,7 +5,7 @@ Physically-Based Rendering in glTF 2.0 using WebGL
This is a raw WebGL demo application for the introduction of physically-based materials to the core glTF 2.0 spec. This project is meant to be a barebones reference for developers looking to explore the widespread and ... | 3 |
diff --git a/app/public/javascripts/utils/filter.js b/app/public/javascripts/utils/filter.js let found = false;
let cardsTimer;
+ let title = getTitle();
+ if(title === 'Cameras'){
+ title = window.i18next.t('views.cameras.title');
+ } else if(title === 'Notifications'){
+ title = window.i18next.t('views.notifications.... | 1 |
diff --git a/packages/node_modules/@node-red/editor-client/src/types/node-red/func.d.ts b/packages/node_modules/@node-red/editor-client/src/types/node-red/func.d.ts @@ -27,7 +27,7 @@ interface NodeStatus {
/** The shape property can be: ring or dot */
shape?: string,
/** The text to display */
- text?: string
+ text?: ... | 1 |
diff --git a/spec/models/carto/helpers/billing_cycle_spec.rb b/spec/models/carto/helpers/billing_cycle_spec.rb require_relative '../../../../app/models/carto/helpers/billing_cycle'
require 'ostruct'
-require 'timecop'
+require 'delorean'
describe Carto::BillingCycle do
describe :last_billing_cycle do
@@ -32,7 +32,7 @@ ... | 14 |
diff --git a/token-metadata/0x6c5bA91642F10282b576d91922Ae6448C9d52f4E/metadata.json b/token-metadata/0x6c5bA91642F10282b576d91922Ae6448C9d52f4E/metadata.json "symbol": "PHA",
"address": "0x6c5bA91642F10282b576d91922Ae6448C9d52f4E",
"decimals": 18,
- "dharmaVerificationStatus": "UNVERIFIED"
+ "dharmaVerificationStatus"... | 3 |
diff --git a/core/server/api/canary/mail.js b/core/server/api/canary/mail.js const Promise = require('bluebird');
-const i18n = require('../../../shared/i18n');
+const tpl = require('@tryghost/tpl');
const mailService = require('../../services/mail');
const api = require('./');
let mailer;
let _private = {};
+const mes... | 14 |
diff --git a/extensions/dbgobject/arrays/arrays.js b/extensions/dbgobject/arrays/arrays.js @@ -22,7 +22,7 @@ Loader.OnLoad(function() {
ArrayField.prototype.ensureCompatibleResult = function(result, parentDbgObject) {
if (!Array.isArray(result)) {
- throw new Error("The \"" + this.name + "\" array on " + parentDbgObjec... | 4 |
diff --git a/tmp/test2.py b/tmp/test2.py @@ -12,26 +12,34 @@ while True:
m = common.parse(i)
for ship in m.ships[tag]:
+ assigned = False
+
if ship.docked == "docked":
planet = m.planets[ship.planet]
+ # Undock ships from unproductive planets
+ if planet.remaining == 0:
+ common.send_string("u {ship}".format(ship=ship.... | 7 |
diff --git a/src/plugins/DragDrop/index.js b/src/plugins/DragDrop/index.js @@ -125,6 +125,7 @@ module.exports = class DragDrop extends Plugin {
</svg>
<label class="uppy-DragDrop-label">
<input style={hiddenInputStyle}
+ class="uppy-DragDrop-input"
type="file"
name="files[]"
multiple={restrictions.maxNumberOfFiles !== ... | 0 |
diff --git a/commands/etherscan.js b/commands/etherscan.js @@ -3,7 +3,7 @@ const sleep = require('util').promisify(setTimeout);
let retries = 0;
module.exports = {
- getTransactionStatus: async ({ txid }) => {
+ getTransactionStatus: async txid => {
const { getNetwork } = require('../helpers');
const currentNetwork = g... | 1 |
diff --git a/assets/scripts/lobby/chat4.js b/assets/scripts/lobby/chat4.js @@ -317,7 +317,7 @@ function addToRoomChat(data) {
if (roomChatHistory.filter(d => (['server-text-teal', 'server-text'].includes(d.classStr) && // either msg from server
s.slice(8).trim() === d.message.trim()) ||
(d.username === username && // o... | 8 |
diff --git a/protocols/peer/contracts/Peer.sol b/protocols/peer/contracts/Peer.sol @@ -180,7 +180,7 @@ contract Peer is IPeer, Ownable {
.mul(10 ** rule.priceExp).div(rule.priceCoef);
// Ensure the takerParam does not exceed maximum and is greater than zero.
- if(takerParam <= rule.maxTakerAmount && takerParam > 0) {
+... | 2 |
diff --git a/packages/@uppy/react/src/propTypes.js b/packages/@uppy/react/src/propTypes.js @@ -19,7 +19,10 @@ const metaField = PropTypes.shape({
name: PropTypes.string.isRequired,
placeholder: PropTypes.string,
})
-const metaFields = PropTypes.arrayOf(metaField)
+const metaFields = PropTypes.oneOfType([
+ PropTypes.ar... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.