code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/lib/build/tasks/copy.js b/lib/build/tasks/copy.js @@ -16,7 +16,7 @@ exports.task = function (grunt) {
// Change all routes from img to asset version path
process: function (content, srcpath) {
// return content.replace(/\.\.\/img/gi,"/assets/<%= pkg.version %>/images/themes");
- var path = grunt.template.p... | 1 |
diff --git a/src/pages/iou/IOUDetailsModal.js b/src/pages/iou/IOUDetailsModal.js @@ -22,6 +22,7 @@ import SettlementButton from '../../components/SettlementButton';
import ROUTES from '../../ROUTES';
import FixedFooter from '../../components/FixedFooter';
import networkPropTypes from '../../components/networkPropTypes'... | 4 |
diff --git a/test/functional/specs/Personalization/C28755.js b/test/functional/specs/Personalization/C28755.js @@ -23,7 +23,7 @@ const decisionContent =
createFixture({
title:
- "C28755: A VEC offer for all visitors should return in every event if __view__ scope exist",
+ "C28755: The first sendEvent on the page should... | 3 |
diff --git a/articles/quickstart/spa/react/_includes/_centralized_login.md b/articles/quickstart/spa/react/_includes/_centralized_login.md @@ -273,7 +273,7 @@ To display this information to the user, create a new file called `Profile.js` i
```jsx
// src/components/Profile.js
-import React from "react";
+import React, {... | 2 |
diff --git a/lib/voice/SharedStream.js b/lib/voice/SharedStream.js @@ -229,8 +229,8 @@ class SharedStream extends EventEmitter {
}
this.voiceConnections.forEach((connection) => {
- if(connection.ready) {
- connection._sendPacket(connection._createPacket(this.current.buffer));
+ if(connection.ready && this.current.buffe... | 4 |
diff --git a/assets/js/modules/adsense/components/setup/v2/SetupAccount.js b/assets/js/modules/adsense/components/setup/v2/SetupAccount.js @@ -58,10 +58,6 @@ export default function SetupAccount( { account, finishSetup } ) {
select( MODULES_ADSENSE ).getClientID()
);
- const clients = useSelect( ( select ) =>
- select(... | 2 |
diff --git a/app/pages/project/index.spec.js b/app/pages/project/index.spec.js @@ -84,6 +84,9 @@ const preferences = apiClient.type('project_preferences').create({
},
links: {
project: project.id
+ },
+ save() {
+ Promise.resolve(preferences)
}
});
@@ -120,7 +123,8 @@ describe('ProjectPageController', () => {
});
it('s... | 1 |
diff --git a/src/connectors/youtube.js b/src/connectors/youtube.js @@ -32,7 +32,13 @@ Connector.getArtistTrack = () => {
if (byLineMatch) {
return { artist: byLineMatch[1], track: videoTitle };
}
- return Util.processYoutubeVideoTitle(videoTitle);
+
+ let { artist, track } = Util.processYoutubeVideoTitle(videoTitle);
+... | 7 |
diff --git a/src/mixins/crownConfig.js b/src/mixins/crownConfig.js @@ -4,7 +4,7 @@ import messageFlowIcon from '@/assets/message-flow.svg';
import { direction } from '@/components/nodes/association/associationConfig';
import pull from 'lodash/pull';
import startCase from 'lodash/startCase';
-import JQuery from 'jquery'... | 2 |
diff --git a/bundles/ranvier-crafting/commands/craft.js b/bundles/ranvier-crafting/commands/craft.js @@ -61,7 +61,6 @@ module.exports = (srcPath, bundlePath) => {
return say(player, "Invalid item.");
}
- item.item.hydrate(state);
say(player, renderItem(state, item.item, player));
say(player, '<b>Recipe:</b>');
for (con... | 1 |
diff --git a/docs/pitfalls.md b/docs/pitfalls.md @@ -5,7 +5,7 @@ title: Pitfalls
<div id="codefund"><!-- fallback content --></div>
-1. Don't redefine draft like, `draft = myCoolNewState`. Instead, either modify the `draft` or return a new state. See [Returning data from producers](#returning-data-from-producers).
+1. ... | 1 |
diff --git a/lib/plugins/package/package.test.js b/lib/plugins/package/package.test.js @@ -15,7 +15,8 @@ describe('Package', () => {
let options;
let pkg;
- beforeEach(() => {
+ beforeEach(function () {
+ this.timeout(5000); // Ocassionally timed out with default settings
serverless = new Serverless();
return serverles... | 7 |
diff --git a/test/e2e/display.test.js b/test/e2e/display.test.js @@ -82,7 +82,7 @@ function assertDiffThresholdMet (diff) {
} else if (environmentIs(DEVICES.IOS)) {
threshold = 0.25;
} else if (environmentIs(BROWSERS.EDGE)) {
- threshold = 0.05;
+ threshold = 0.09;
}
if (threshold) assert(diff <= threshold, `${diff} is... | 3 |
diff --git a/Source/Core/Quaternion.js b/Source/Core/Quaternion.js @@ -183,9 +183,7 @@ define([
* negative z axis. Pitch is the rotation about the negative y axis. Roll is the rotation about
* the positive x axis.
*
- * @param {Number} heading The heading angle in radians.
- * @param {Number} pitch The pitch angle in r... | 3 |
diff --git a/infra/token-transfer-server/src/lib/email.js b/infra/token-transfer-server/src/lib/email.js @@ -5,6 +5,7 @@ const template = require('lodash/template')
const sendgridMail = require('@sendgrid/mail')
const jwt = require('jsonwebtoken')
const mjml2html = require('mjml')
+const Sequelize = require('sequelize'... | 8 |
diff --git a/src/components/Modal.js b/src/components/Modal.js @@ -5,6 +5,8 @@ const FocusTrap = require('focus-trap-react');
const Button = require('./Button');
const Icon = require('./Icon');
+const _merge = require('lodash/merge');
+
const { themeShape } = require('../constants/App');
const StyleUtils = require('../... | 11 |
diff --git a/shared/js/background/classes/tab.es6.js b/shared/js/background/classes/tab.es6.js @@ -115,15 +115,6 @@ class Tab {
}
};
- addBlockedAsset (url, type) {
- this.blockedAssets.push({url, type})
- };
-
- // return list of asset urls of specific type
- getBlockedAssets (types) {
- return this.blockedAssets.filt... | 2 |
diff --git a/articles/clients/client-grant-types.md b/articles/clients/client-grant-types.md @@ -149,6 +149,10 @@ Trusted first-party clients can additionally use the following `grant_types`:
* `http://auth0.com/oauth/grant-type/mfa-otp`
* `http://auth0.com/oauth/grant-type/mfa-recovery-code`
+::: note
+If you are usin... | 0 |
diff --git a/token-metadata/0x111111111117dC0aa78b770fA6A738034120C302/metadata.json b/token-metadata/0x111111111117dC0aa78b770fA6A738034120C302/metadata.json "symbol": "1INCH",
"address": "0x111111111117dC0aa78b770fA6A738034120C302",
"decimals": 18,
- "dharmaVerificationStatus": "UNVERIFIED"
+ "dharmaVerificationStatu... | 3 |
diff --git a/articles/users/search/v3/query-syntax.md b/articles/users/search/v3/query-syntax.md @@ -26,7 +26,8 @@ You can search for users using the following fields:
* Booleans
* Numeric (integer or double)
* Text
- * Arrays. You can search for strings and numerics in metadata arrays on the root object, but not in ne... | 3 |
diff --git a/js/webcomponents/bisweb_mainviewerapplication.js b/js/webcomponents/bisweb_mainviewerapplication.js @@ -268,10 +268,8 @@ class ViewerApplicationElement extends HTMLElement {
// --------------------------------------------------------------------------------
/** Save image from viewer to a file */
saveImage... | 2 |
diff --git a/token-metadata/0xa960d2bA7000d58773E7fa5754DeC3Bb40A069D5/metadata.json b/token-metadata/0xa960d2bA7000d58773E7fa5754DeC3Bb40A069D5/metadata.json "symbol": "ODEX",
"address": "0xa960d2bA7000d58773E7fa5754DeC3Bb40A069D5",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/public/index.html b/public/index.html f.parentNode.insertBefore(j, f)
})(window, document, 'script', 'dataLayer', 'GTM-PZJ7X57')
</script>
+ <script>
+ var oldErrorHandler = window.onerror;
+ window.onerror = function newErrorHandler(m, u, l, c, error) {
+ if(error && error.name === 'SyntaxError' && error.... | 0 |
diff --git a/lambda_permissions.go b/lambda_permissions.go @@ -69,6 +69,9 @@ type BasePermission struct {
}
func (perm *BasePermission) sourceArnExpr(joinParts ...gocf.Stringable) *gocf.StringExpr {
+ if perm.SourceArn == nil {
+ return nil
+ }
stringARN, stringARNOk := perm.SourceArn.(string)
if stringARNOk && strings... | 9 |
diff --git a/src/components/Pane/Pane.js b/src/components/Pane/Pane.js @@ -6,6 +6,7 @@ import type { ComponentType } from "react";
import { Column, MainContainer, SelectorLabelContainer, SelectorDescription, SelectorLabel, SelectorContainer } from "./Pane.styles";
import { useLocation} from "react-router";
import { Lin... | 7 |
diff --git a/articles/connections/social/salesforce-community.md b/articles/connections/social/salesforce-community.md @@ -49,7 +49,7 @@ While setting up your app, make sure you use the following settings:
| Field | Value to Provide |
| - | - |
| API (Enable OAuth Settings) | Click `Enable OAuth Settings` |
-| Callback... | 3 |
diff --git a/tests/phpunit/integration/Core/Storage/SettingTest.php b/tests/phpunit/integration/Core/Storage/SettingTest.php @@ -142,7 +142,7 @@ class SettingTest extends TestCase {
$setting = new FakeSetting( new Options( $this->context ) );
// Without callback, value should be passed through.
- $this->assertEquals( '... | 4 |
diff --git a/src/error-rescue.js b/src/error-rescue.js @@ -143,7 +143,7 @@ module.exports = class KiteErrorRescue {
if (this.isSidebarOpen) {
this.update();
} else {
- vscode.commands.executeCommand('vscode.previewHtml', URI, vscode.ViewColumn.Two, 'Kite');
+ vscode.commands.executeCommand('vscode.previewHtml', URI, vs... | 10 |
diff --git a/css/tarteaucitron.css b/css/tarteaucitron.css @@ -784,3 +784,16 @@ a.tarteaucitronSelfLink {
span.tarteaucitronTitle.tarteaucitronH3 {
margin-top: 12px!important;
}
+
+.spacer-20 {
+ height: 20px;
+ display: block;
+}
+
+.display-block {
+ display: block;
+}
+
+.display-none {
+ display: none;
+}
| 5 |
diff --git a/avatars/avatars.js b/avatars/avatars.js @@ -198,17 +198,11 @@ const animationsIdleArrays = {
run: {name: 'idle.fbx'},
crouch: {name: 'Crouch Idle.fbx'},
};
-let animations;
-// let walkingAnimations;
-// let walkingBackwardAnimations;
-// let runningAnimations;
-// let runningBackwardAnimations;
+let anima... | 0 |
diff --git a/packages/app/src/server/models/in-app-notification.ts b/packages/app/src/server/models/in-app-notification.ts @@ -4,6 +4,7 @@ import {
} from 'mongoose';
import mongoosePaginate from 'mongoose-paginate-v2';
import ActivityDefine from '../util/activityDefine';
+import { ActivityDocument } from './activity';... | 7 |
diff --git a/layouts/partials/header.html b/layouts/partials/header.html <div id="header-menu-wrap" data-js-header-menu-wrap>
<nav id="header-main-menu">
<a class="menu-link" href='{{ site.Param "landingURL" }}/pricing' onclick="sendGtag('Pricing_clicked', 'CodemagicMenu')" target="_blank">Pricing</a>
- <a class="menu-... | 10 |
diff --git a/HeroSystem6e/HeroSystem6e.js b/HeroSystem6e/HeroSystem6e.js -var Hero6Playable = Hero6Playable || (function() {
+var HeroSystem6e = HeroSystem6e || (function() {
'use strict';
- var version = '1.0',
- lastUpdate = 1529297199799,
+ var version = '1.1',
+ lastUpdate = 1531368487971,
lastBody = 0,
checkInstal... | 3 |
diff --git a/src/lib/gundb/UserPropertiesClass.js b/src/lib/gundb/UserPropertiesClass.js @@ -65,8 +65,7 @@ export default class UserProperties {
* @returns {Promise<void>}
*/
async set(field: string, value: any) {
- this.data[field] = value
- await this.gun.secret(this.data)
+ await this.updateAll({ [field]: value })
r... | 3 |
diff --git a/src/components/small-item-table/index.js b/src/components/small-item-table/index.js @@ -75,7 +75,7 @@ function SmallItemTable(props) {
const data = useMemo(() => {
let returnData = items.map((itemData) => {
- return {
+ const formattedItem = {
id: itemData.id,
name: itemData.name,
shortName: itemData.short... | 4 |
diff --git a/templates/master/elasticsearch/schema/qna.js b/templates/master/elasticsearch/schema/qna.js @@ -66,6 +66,16 @@ module.exports={
type:"string",
description:"Enter your lambda function name/ARN to dynamically create or modify answers, or to redirect to a different question.",
title:"Lambda Hook"
+ },
+ args:... | 3 |
diff --git a/test/statementTests.js b/test/statementTests.js @@ -199,8 +199,9 @@ describe('Test statements', function() {
'if (true) {',
' function foo() {}',
' abstract class foo {}',
- ' trait foo {}',
' final class foo {}',
+ ' class foo {}',
+ ' trait foo {}',
' interface foo {}',
'}'
].join('\n'), {
| 7 |
diff --git a/lib/carto/dbdirect/firewall_manager.rb b/lib/carto/dbdirect/firewall_manager.rb @@ -49,7 +49,7 @@ module Carto
@service.delete_firewall(config['project_id'], name)
rescue Google::Apis::ClientError => error
- # error.message =~ /^notFound:/
+ raise unless error.message =~ /^notFound:/
end
def create_rule(pr... | 8 |
diff --git a/lib/cartodb/controllers/named_maps_admin.js b/lib/cartodb/controllers/named_maps_admin.js @@ -136,7 +136,7 @@ NamedMapsAdminController.prototype.update = function () {
};
NamedMapsAdminController.prototype.retrieve = function () {
- return function updateTemplateMiddleware (req, res, next) {
+ return funct... | 10 |
diff --git a/src/encoded/tests/test_types_biosample.py b/src/encoded/tests/test_types_biosample.py @@ -158,6 +158,7 @@ def test_biosample_summary_construct(testapp,
'biosample_term_name': 'liver',
'biosample_type': 'tissue',
'constructs': [construct['@id']],
+ 'transfection_type': 'stable',
'model_organism_age': '10',
... | 1 |
diff --git a/client/components/cards/checklists.styl b/client/components/cards/checklists.styl @@ -46,6 +46,8 @@ textarea.js-add-checklist-item, textarea.js-edit-checklist-item
font-size: 1.1em
margin-top: 3px
display: flex
+ &:hover
+ background-color: darken(white, 8%)
.check-box
margin-top: 5px
@@ -54,6 +56,7 @@ tex... | 7 |
diff --git a/runtime/opensbp/parser.js b/runtime/opensbp/parser.js @@ -144,7 +144,7 @@ Parser.prototype._transform = function(chunk, enc, cb) {
}
Parser.prototype._flush = function(done) {
- if (this.scrap) { this.push(parseLine(scrap)); }
+ if (this.scrap) { this.push(parseLine(this.scrap)); }
this.scrap = '';
done();... | 1 |
diff --git a/src/core/operations/Lorenz.mjs b/src/core/operations/Lorenz.mjs * @license Apache-2.0
*/
-import Operation from "../Operation";
-import OperationError from "../errors/OperationError";
+import Operation from "../Operation.mjs";
+import OperationError from "../errors/OperationError.mjs";
/**
* Lorenz operati... | 0 |
diff --git a/userscript.user.js b/userscript.user.js @@ -7588,7 +7588,7 @@ var $$IMU_EXPORT$$;
var cache_key = "tiktok_watermarkfree:" + vidid;
api_cache.fetch(cache_key, cb, function(done) {
do_request({
- url: "https://api2.musical.ly/aweme/v1/playwm/?video_id=" + vidid,
+ url: "https://api2.musical.ly/aweme/v1/playw... | 7 |
diff --git a/src/system/dom.js b/src/system/dom.js import * as event from "./event.js";
+import { nodeJS } from "./platform.js";
// track if DOMContentLoaded was called already
let readyBound = false;
@@ -51,7 +52,7 @@ export function DOMContentLoaded(fn) {
// bind dom load event if not done yet
if (!readyBound) {
// d... | 1 |
diff --git a/app/views/about/show.html.haml b/app/views/about/show.html.haml %h1
Hack Week
%small
- \- Innovate, collaborate, and learn!
+ \- Innovate, collaborate, and learn.
%p.lead
- In the past Hack Week has incubated software that brought SUSE products forward
- like the openSUSE ARM port, projects that benefit th... | 1 |
diff --git a/resource/js/util/Crowi.js b/resource/js/util/Crowi.js @@ -142,12 +142,11 @@ export default class Crowi {
if (res.data.ok) {
resolve(res.data);
} else {
- // FIXME?
reject(new Error(res.data));
}
- }).catch(res => {
- // FIXME?
- reject(new Error('Error'));
+ })
+ .catch(res => {
+ reject(res);
});
});
}
| 7 |
diff --git a/src/component/parent/drivers.js b/src/component/parent/drivers.js @@ -109,6 +109,7 @@ RENDER_DRIVERS[CONTEXT_TYPES.IFRAME] = {
getInitialDimensions: DELEGATE.CALL_ORIGINAL,
renderTemplate: DELEGATE.CALL_ORIGINAL,
+ openContainerFrame: DELEGATE.CALL_ORIGINAL,
open(original, override) {
return function() {
@... | 11 |
diff --git a/src/test-utils/createShallow.js b/src/test-utils/createShallow.js @@ -25,9 +25,5 @@ export default function createShallow(
shallowWithContext.context = context;
- shallowWithContext.cleanUp = () => {
- styleManager.reset();
- };
-
return shallowWithContext;
}
| 2 |
diff --git a/app/lib/components/Peers.jsx b/app/lib/components/Peers.jsx @@ -25,12 +25,7 @@ class Peers extends React.Component
updateDimensions()
{
- const n = this.props.videoStreams ? this.props.videoStreams : 0;
-
- if (n == 0)
- {
- return;
- }
+ const n = this.props.peers.length;
const width = this.refs.peers.cli... | 4 |
diff --git a/package.json b/package.json "build": "lerna run build --scope @semcore/icon && lerna run build --scope @semcore/* --ignore @semcore/icon,@semcore/ui",
"typecheck": "lerna exec --scope @semcore/* -- tsc --noEmit",
"prebuild": "rm -rf semcore/**/lib && find semcore/icon/. -type d -maxdepth 1 | egrep -v \"__t... | 0 |
diff --git a/lib/utils.js b/lib/utils.js @@ -132,7 +132,7 @@ const isPlainObject = (val) => {
}
const prototype = getPrototypeOf(val);
- return prototype === null || prototype === Object.prototype;
+ return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.t... | 7 |
diff --git a/packages/vulcan-forms/lib/components/Form.jsx b/packages/vulcan-forms/lib/components/Form.jsx @@ -477,7 +477,8 @@ class SmartForm extends Component {
// get nested schema
// for each nested field, get field object by calling createField recursively
field.nestedFields = this.getFieldNames({
- schema: field.... | 1 |
diff --git a/src/client/js/components/Admin/SlackIntegration/OfficialBotSettings.jsx b/src/client/js/components/Admin/SlackIntegration/OfficialBotSettings.jsx import React from 'react';
import { useTranslation } from 'react-i18next';
-import OfficialBotSettingsAccordion from './CustomBotWithoutProxySettingsAccordion';
... | 10 |
diff --git a/src/web/workers/ZipWorker.mjs b/src/web/workers/ZipWorker.mjs @@ -26,10 +26,6 @@ self.addEventListener("message", function(e) {
log.error("No filename was passed to the ZipWorker");
return;
}
- if (!r.hasOwnProperty("fileExtension")) {
- log.error("No file extension was passed to the ZipWorker");
- return;... | 2 |
diff --git a/includes/Modules/AdSense.php b/includes/Modules/AdSense.php @@ -783,24 +783,4 @@ tag_partner: "site_kit"
protected function setup_settings() {
return new Settings( $this->options );
}
-
- /**
- * Transforms an exception into a WP_Error object.
- *
- * @since 1.4.0
- *
- * @param Exception $e Exception obje... | 2 |
diff --git a/assets/js/modules/pagespeed-insights/components/ReportMetric.js b/assets/js/modules/pagespeed-insights/components/ReportMetric.js @@ -67,12 +67,7 @@ export default function ReportMetric( {
<div className="googlesitekit-pagespeed-report-metric-value__number">
{ displayValue }
</div>
- <div
- className={ cla... | 2 |
diff --git a/src/jsx.d.ts b/src/jsx.d.ts @@ -29,7 +29,8 @@ export namespace JSXInternal {
children: any;
}
- interface SVGAttributes extends HTMLAttributes<SVGElement> {
+ interface SVGAttributes<Target extends EventTarget = SVGElement>
+ extends HTMLAttributes<Target> {
accentHeight?: number | string;
accumulate?: 'no... | 7 |
diff --git a/contracts/Havven.sol b/contracts/Havven.sol @@ -167,8 +167,8 @@ contract Havven is ERC20Token, Owned {
uint public targetFeePeriodDurationSeconds = 1 weeks;
// And may not be set to be shorter than 1 day.
uint public constant minFeePeriodDurationSeconds = 1 days;
- // The actual measured duration of the la... | 10 |
diff --git a/src/components/sign/SignTransferDetails.js b/src/components/sign/SignTransferDetails.js @@ -175,7 +175,7 @@ const ActionMessage = ({ transaction, action, actionKind }) => (
const ActionWarrning = ({ actionKind, action }) => (
<Fragment>
{actionKind === 'functionCall' && (
- !!action?.args.length
+ !!action... | 9 |
diff --git a/README.md b/README.md @@ -159,7 +159,7 @@ Use the "Table of Contents" menu on the top-left corner to explore the list.
- [vite-plugin-plain-text](https://github.com/zheeeng/vite-plugin-plain-text) - A Vite plugin transforms the rule-matched file as plain text.
- [vite-plugin-virtual-html-template](https://... | 1 |
diff --git a/src/og/terrain/GlobusTerrain.js b/src/og/terrain/GlobusTerrain.js @@ -146,8 +146,8 @@ class GlobusTerrain extends EmptyTerrain {
this._urlRewriteCallback = null;
this._ellToAltFn = [
- (lonLat, altEll, callback) => callback(altEll),
- (lonLat, altEll, callback) => callback(altEll - this._geoid.getHeightLon... | 0 |
diff --git a/.github/workflows/jest-cadence-tests.yml b/.github/workflows/jest-cadence-tests.yml @@ -63,7 +63,7 @@ jobs:
run: iex "& { $(irm 'https://storage.googleapis.com/flow-cli/install.ps1') }"
- name: Update PATH
- run: echo "/root/.local/bin" >> $GITHUB_PATH
+ run: echo "/root/.local/bin" | Out-File -FilePath $e... | 14 |
diff --git a/test/unit/tracing/exporters/datadog.spec.js b/test/unit/tracing/exporters/datadog.spec.js @@ -253,8 +253,8 @@ describe("Test Datadog tracing exporter class", () => {
//expect(fakeSpanContext._traceId).toBeInstanceOf("Identifier");
//expect(fakeSpanContext._spanId).toBeInstanceOf(DatadogID.Identifier);
- ex... | 3 |
diff --git a/tests/e2e/specs/modules/tagmanager/setup.test.js b/tests/e2e/specs/modules/tagmanager/setup.test.js @@ -34,7 +34,6 @@ import {
resetSiteKit,
useRequestInterception,
setSearchConsoleProperty,
- setupAnalytics,
setAMPMode,
pageWait,
} from '../../../utils';
@@ -75,7 +74,6 @@ describe( 'Tag Manager module set... | 2 |
diff --git a/app/remoteConfig.js b/app/remoteConfig.js @@ -10,6 +10,13 @@ const airgrabs = [
description: 'Payments & Budget Management Decentralized App Leveraging the Blockchain, Cryptocurrency and AI Technologies. Drops happen every 24 hours, Airgrab Today!',
url: 'https://www.atidium.io/',
},
+ {
+ symbol: 'BRM',
+... | 0 |
diff --git a/scripts/kvm/create_link.sh b/scripts/kvm/create_link.sh @@ -13,8 +13,7 @@ cat /proc/net/dev | grep -q "\<$vm_br\>:"
if [ $? -eq 0 ]; then
[ "$vlan" = "$external_vlan" -o "$vlan" = "$internal_vlan" ] && exit 0
else
- nmcli connection add con-name $vm_br type bridge ifname $vm_br ipv4.method static ipv4.addr... | 12 |
diff --git a/lib/runtime/console2.js b/lib/runtime/console2.js @@ -88,7 +88,8 @@ export function activate (ink) {
}
let validator = (uri, cb) => {
- if (client.isActive()) {
+ // FIXME: maybe choose something less arbitrary for the path length limit:
+ if (client.isActive() && uri.length < 500) {
validatepath(uri).then... | 12 |
diff --git a/tests/test_utils.py b/tests/test_utils.py @@ -27,10 +27,11 @@ def test_copy(tmpdir):
filename = 'KeckObservatory20071020.jpg'
src = os.path.join(SAMPLE_DIR, 'pictures', 'dir2', filename)
+ dst = str(tmpdir.join(filename))
utils.copy(src, dst, symlink=True, rellink=True)
assert os.path.islink(dst)
- assert ... | 1 |
diff --git a/public/app/js/cbus-ui.js b/public/app/js/cbus-ui.js @@ -92,7 +92,7 @@ cbus.ui.display = function(thing, data) {
ctx.fillRect(0, 0, canvas.width, canvas.height);
});
if (feed.image === cbus.data.IMAGE_ON_DISK_PLACEHOLDER) {
- podcastImage.src = "file:///" + cbus.data.PODCAST_IMAGES_DIR.replace(/\\/g,"/") + ... | 1 |
diff --git a/packages/node_modules/pouchdb-adapter-indexeddb/src/index.js b/packages/node_modules/pouchdb-adapter-indexeddb/src/index.js @@ -78,13 +78,12 @@ function IdbPouch(dbOpts, callback) {
setup(openDatabases, api, dbOpts).then(function (res) {
metadata = res.metadata;
txn.txn = res.idb.transaction(stores, mode);... | 5 |
diff --git a/README.md b/README.md @@ -9,7 +9,7 @@ Head Start is a web-based knowledge mapping software intended to give researcher
### Client
To get started, clone this repository. Next, duplicate the file `config.example.js` in the root folder and rename it to `config.js`.
-Make sure to have `npm` version 3.10.10 ins... | 3 |
diff --git a/src/apps.json b/src/apps.json "cats": [
47
],
- "html": "<p>Powered by <a[^>]+>GitList ([\\d.+])\\;version:\\1",
+ "html": "<p>Powered by <a[^>]+>GitList ([\\d.]+)\\;version:\\1",
"implies": [
"PHP",
"git"
| 1 |
diff --git a/packages/slackbot-proxy/src/controllers/slack.ts b/packages/slackbot-proxy/src/controllers/slack.ts @@ -109,8 +109,11 @@ export class SlackCtrl {
const url = new URL('/_api/v3/slack-integration/proxied/commands', relation.growiUri);
return axios.post(url.toString(), {
...body,
- tokenPtoG: relation.tokenPt... | 12 |
diff --git a/README.markdown b/README.markdown @@ -119,7 +119,7 @@ seo:
---
```
-By default `<title>` tags follow the template `{Page Title} {Site Title}`. However the page title can be changed for the purpose of the tag by using `seo["title"]`. `seo["override"]` will override the entire template, instead making the ti... | 13 |
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md I am very excited that you are interested in contributing to neo.mjs.
-Please make sure that pull requests are always related to an issue inside our <a href="issues">Issues Tracker</a>.
+Please make sure that pull requests are always related to an issue inside our <a href=... | 12 |
diff --git a/src/context/useGenerateTest.jsx b/src/context/useGenerateTest.jsx @@ -1615,6 +1615,21 @@ function useGenerateTest(test, projectFilePath) {
}))
);
// add solid switch statement **************************************
+ case 'solid':
+ var solidTestCase = testState;
+ var mockData = mockDataState;
+ return (
... | 3 |
diff --git a/index.html b/index.html <h1>Find polar Representaion of complex number</h1>
-
- <h1>Polar representaion of complex number</h1>
-
<div class="form-group" style="display:inline-block">
<label>Enter the real part : </label>
<input type="number" id="cpreal" class="form__field" placeholder="Real"
| 1 |
diff --git a/planet.js b/planet.js @@ -751,6 +751,7 @@ const _connectRoom = async roomName => {
playerRig.inputs.leftGamepad.quaternion.fromArray(leftGamepad[1]);
playerRig.inputs.rightGamepad.position.fromArray(rightGamepad[0]);
playerRig.inputs.rightGamepad.quaternion.fromArray(rightGamepad[1]);
+ playerRig.setFloorH... | 3 |
diff --git a/pages/show/[number]/[slug].js b/pages/show/[number]/[slug].js @@ -66,7 +66,7 @@ export default withRouter(
};
}
- componentWillReceiveProps(nextProps) {
+ UNSAFE_componentWillReceiveProps(nextProps) {
const { query } = nextProps.router;
if (query.number) {
this.setState({ currentShow: query.number });
| 10 |
diff --git a/utils/order-utils/src/signatures.js b/utils/order-utils/src/signatures.js @@ -32,6 +32,7 @@ const hashes = require('./hashes')
module.exports = {
async getWeb3Signature(order, signatory, verifyingContract) {
const orderHash = hashes.getOrderHash(order, verifyingContract)
+ console.log(orderHash)
const orde... | 13 |
diff --git a/samples/javascript_nodejs/11.qnamaker/README.md b/samples/javascript_nodejs/11.qnamaker/README.md @@ -115,6 +115,6 @@ To learn more about deploying a bot to Azure, see [Deploy your bot to Azure][40]
[50]: https://docs.microsoft.com/en-us/azure/cognitive-services/qnamaker/how-to/improve-knowledge-base
[51]:... | 3 |
diff --git a/modules/xmpp/XmppConnection.js b/modules/xmpp/XmppConnection.js @@ -206,7 +206,7 @@ export default class XmppConnection extends Listenable {
* @returns {void}
*/
connect(jid, pass, callback, ...args) {
- const connectCb = (status, condition) => {
+ const connectCb = (status, ...cbArgs) => {
this._status = ... | 1 |
diff --git a/Specs/Scene/ImageryLayerCollectionSpec.js b/Specs/Scene/ImageryLayerCollectionSpec.js @@ -288,9 +288,6 @@ describe(
var scene;
var globe;
var camera;
- var customScene;
- var customGlobe;
- var customCamera;
beforeAll(function () {
scene = createScene();
@@ -298,12 +295,6 @@ describe(
camera = scene.camera... | 3 |
diff --git a/native/navigation-setup.js b/native/navigation-setup.js import type { BaseAction } from 'lib/types/redux-types';
import type { BaseNavInfo } from 'lib/types/nav-types';
import type { CalendarInfo } from 'lib/types/calendar-types';
-import type { NavigationState } from 'react-navigation';
+import type {
+ N... | 0 |
diff --git a/packages/sling-web-component-table/src/component/Table.js b/packages/sling-web-component-table/src/component/Table.js @@ -120,7 +120,7 @@ export class Table extends HTMLElement {
}
case 'rate': {
cell = `
- <span>${fieldItem.toString().concat('%')}</span>
+ <span>${fieldItem.toString().replace('.', ',').co... | 14 |
diff --git a/scripts/compile-fx.sh b/scripts/compile-fx.sh @@ -13,3 +13,12 @@ for f2 in *.webm; do
cp spritesheet.png "$f2"-spritesheet.png
cp spritesheet.ktx2 "$f2"-spritesheet.ktx2
done;
+
+rm -f animation-frames.txt
+for f2 in *.webm; do
+ frameCount=$(ffprobe -v error -select_streams v:0 -count_frames -show_entries... | 0 |
diff --git a/tests/phpunit/includes/TestCase.php b/tests/phpunit/includes/TestCase.php @@ -31,7 +31,7 @@ class TestCase extends \WP_UnitTestCase {
*/
add_filter(
'wp_redirect_status',
- function ( $status, $location ) {
+ function ( $status, $location ) { // phpcs:ignore WordPressVIPMinimum.Hooks.AlwaysReturnInFilter.M... | 8 |
diff --git a/test/jasmine/tests/draw_shape_test.js b/test/jasmine/tests/draw_shape_test.js @@ -6,6 +6,7 @@ var Lib = require('@src/lib');
var createGraphDiv = require('../assets/create_graph_div');
var destroyGraphDiv = require('../assets/destroy_graph_div');
var failTest = require('../assets/fail_test');
+var selectBu... | 0 |
diff --git a/modules/@apostrophecms/page/ui/apos/components/AposPagesManager.stories.js b/modules/@apostrophecms/page/ui/apos/components/AposPagesManager.stories.js export default {
- title: 'Pages Organize'
+ title: 'Pages Manager'
};
-export const pagesOrganize = () => {
+export const pagesManager = () => {
return {
... | 10 |
diff --git a/token-metadata/0x757703bD5B2c4BBCfde0BE2C0b0E7C2f31FCf4E9/metadata.json b/token-metadata/0x757703bD5B2c4BBCfde0BE2C0b0E7C2f31FCf4E9/metadata.json "symbol": "ZEST",
"address": "0x757703bD5B2c4BBCfde0BE2C0b0E7C2f31FCf4E9",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/test/jasmine/assets/mock_lists.js b/test/jasmine/assets/mock_lists.js @@ -68,7 +68,8 @@ var glMockList = [
var mapboxMockList = [
['scattermapbox', require('@mocks/mapbox_bubbles-text.json')],
- ['choroplethmapbox', require('@mocks/mapbox_choropleth0.json')]
+ ['choroplethmapbox', require('@mocks/mapbox_ch... | 0 |
diff --git a/resources/css/custom-stylesheet.css b/resources/css/custom-stylesheet.css @@ -531,15 +531,12 @@ body.no-acrylic {
}
@keyframes lyricWaitingLine {
0% {
- opacity: 0;
transform: scale(0.85);
}
50% {
- opacity: 1;
transform: scale(1);
}
100% {
- opacity: 0;
transform: scale(0.85);
}
}
| 2 |
diff --git a/src/dev/fdm/Creality.Ender.3 b/src/dev/fdm/Creality.Ender.3 "M107 ; turn off filament cooling fan",
"G90 ; set absolute positioning mode",
"M82 ; set absolute positioning for extruder",
- "M104 S{temp} T{tool} ; set extruder temperature",
- "M140 S{bed_temp} T{tool} ; set bed temperature",
+ "M104 S{temp} ... | 3 |
diff --git a/modules/keyboard.js b/modules/keyboard.js @@ -342,6 +342,20 @@ Keyboard.DEFAULTS = {
}
},
},
+ 'table tab': {
+ key: 'Tab',
+ shiftKey: null,
+ format: ['table'],
+ handler(range, context) {
+ const { event, line: cell } = context;
+ const offset = cell.offset(this.quill.scroll);
+ if (event.shiftKey) {
+ ... | 9 |
diff --git a/Specs/Scene/SceneSpec.js b/Specs/Scene/SceneSpec.js @@ -1317,17 +1317,41 @@ describe(
s.initializeFrame();
s.render();
- s.camera.lookLeft(
+ s.camera.lookUp(
s.camera.frustum.fov * (s.camera.percentageChanged + 0.1)
);
s.initializeFrame();
s.render();
- expect(spyListener.calls.count()).toBe(2);
+ expect(... | 3 |
diff --git a/static/css/app.css b/static/css/app.css @@ -10,6 +10,7 @@ html {
body {
/* Margin bottom by footer height */
height: 100%;
+ margin-top: 50px;
margin-bottom: 60px;
font-family: "Lato", system-ui, sans-serif !important;
background-color: #fafafa;
| 0 |
diff --git a/javascript/utils/StyleValue.ts b/javascript/utils/StyleValue.ts @@ -4,7 +4,6 @@ import {
processColor,
ProcessedColorValue,
} from 'react-native';
-import { UsesNonExemptEncryption } from '@expo/config-plugins/build/ios';
import { getStyleType } from './styleMap';
import BridgeValue, {
| 2 |
diff --git a/src/VR.js b/src/VR.js @@ -430,6 +430,9 @@ class FakeVRDisplay extends MRDisplay {
requestPresent() {
this.isPresenting = true;
+ GlobalContext.xrState.renderWidth[0] = this.window.innerWidth * this.window.devicePixelRatio;
+ GlobalContext.xrState.renderHeight[0] = this.window.innerHeight * this.window.devi... | 12 |
diff --git a/assets/js/googlesitekit/modules/datastore/modules.js b/assets/js/googlesitekit/modules/datastore/modules.js @@ -214,7 +214,6 @@ const baseActions = {
const registry = yield commonActions.getRegistry();
yield actions.waitForModules();
- registry.select( STORE_NAME ).getModules();
yield registryKeyActions.wa... | 2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.