code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/includes/Core/Notifications/Notification.php b/includes/Core/Notifications/Notification.php @@ -45,7 +45,6 @@ class Notification {
*
* @type string $title Required notification title.
* @type string $content Required notification content. May contain inline HTML tags.
- * @type string $image Image URL.
* @... | 2 |
diff --git a/lib/node_modules/@stdlib/math/base/special/rad2deg/docs/repl.txt b/lib/node_modules/@stdlib/math/base/special/rad2deg/docs/repl.txt Returns
-------
- y: number
+ d: number
Angle in degrees.
Examples
> d = {{alias}}( NaN )
NaN
+ // Due to finite precision, canonical values may not be returned:
+ > d = {{ali... | 10 |
diff --git a/app/javascript/ajax_helper.js b/app/javascript/ajax_helper.js @@ -67,8 +67,14 @@ export const createAjaxHelper = (options = {}) => {
// console.log('instanceOptions',instanceOptions)
const axiosInstance = axios.create(instanceOptions)
// overwrite default Accept Header to use json only
- axiosInstance.defa... | 13 |
diff --git a/dapp/src/components/buySell/SellWidget.js b/dapp/src/components/buySell/SellWidget.js @@ -214,7 +214,7 @@ const SellWidget = ({
if (latestCalc === currTimestamp) {
setSellWidgetIsCalculating(false)
}
- }, 500)
+ }, 250)
const sortSplitCurrencies = (currencies) => {
return currencies.sort((coin) => {
| 12 |
diff --git a/packages/vue/src/examples/pages/category/Category.vue b/packages/vue/src/examples/pages/category/Category.vue <template>
<div id="category">
- <SfBreadcrumbs class="breadcrumbs" :breadcrumbs="breadcrumbs" />
+ <SfBreadcrumbs
+ class="breadcrumbs desktop-only"
+ :breadcrumbs="breadcrumbs"
+ />
<div class="n... | 12 |
diff --git a/src/components/FilterHeaderCategories.js b/src/components/FilterHeaderCategories.js // @flow
import React from "react";
import { View, StyleSheet, Image, PixelRatio, Platform } from "react-native";
-import type { ViewStyleProp } from "react-native/Libraries/StyleSheet/StyleSheet";
import Touchable from "./... | 2 |
diff --git a/src/components/tag-input.js b/src/components/tag-input.js @@ -4,11 +4,9 @@ export default class TagInput extends LitElement {
/* eslint-disable indent */
render() {
return html`
- <div class='tags' tabindex="0" contenteditable="true">
+ <div class='tags' tabindex="0">
${Array.isArray(this.value) && this.va... | 7 |
diff --git a/src/components/dashboard/__tests__/__snapshots__/FaceRecognition.js.snap b/src/components/dashboard/__tests__/__snapshots__/FaceRecognition.js.snap @@ -132,10 +132,7 @@ exports[`FaceRecognition matches snapshot 1`] = `
style={
Object {
"color": "rgba(85,85,85,1.00)",
- "direction": "ltr",
- "fontFamily": "... | 3 |
diff --git a/src/commands/fetch.js b/src/commands/fetch.js @@ -64,8 +64,7 @@ async function fetchCommits ({dir, url, user, repo, commitish, since, token}) {
}
})
let json = res.data
- let pagination = parseLinkHeader(res.headers['link'])
-
+ let link = parseLinkHeader(res.headers['link'])
for (let commit of json) {
if ... | 1 |
diff --git a/app/webpack/observations/identify/components/suggestions.jsx b/app/webpack/observations/identify/components/suggestions.jsx @@ -86,6 +86,8 @@ class Suggestions extends React.Component {
<h3 className="clearfix">
<SplitTaxon
taxon={ taxon }
+ target="_blank"
+ url={ urlForTaxon( taxon ) }
onClick={ e => {
e... | 1 |
diff --git a/lib/api/metadata.js b/lib/api/metadata.js @@ -543,6 +543,7 @@ Metadata.prototype.checkDeployStatus = function(id, includeDetails, callback) {
res.done = res.done === 'true';
res.success = res.success === 'true';
res.checkOnly = res.checkOnly === 'true';
+ res.runTestsEnabled = res.runTestsEnabled === 'true... | 3 |
diff --git a/src/style/themes/classic/classic-theme.config.js b/src/style/themes/classic/classic-theme.config.js @@ -20,11 +20,6 @@ export default (palette) => {
input: '#1e499f',
disabled: '#b3c2c8',
border: '#4d7080'
- },
- status: {
- error: {
- main: 'red'
- }
}
}
);
| 13 |
diff --git a/samples/csharp_dotnetcore/70.qnamaker-multiturn-sample/appsettings.json b/samples/csharp_dotnetcore/70.qnamaker-multiturn-sample/appsettings.json {
"MicrosoftAppId": "",
"MicrosoftAppPassword": "",
- "QnAKnowledgebaseId": "b729b344-1ffd-4a54-8294-c7d9952f9863",
- "QnAEndpointKey": "7109f05a-fc0e-470c-9aa9-... | 2 |
diff --git a/includes/Core/Modules/Modules.php b/includes/Core/Modules/Modules.php @@ -812,6 +812,47 @@ final class Modules {
'schema' => $get_module_schema,
)
),
+ new REST_Route(
+ 'core/modules/data/check-access',
+ array(
+ array(
+ 'methods' => WP_REST_Server::EDITABLE,
+ 'callback' => function( WP_REST_Request $r... | 2 |
diff --git a/luci-app-openclash/luasrc/view/openclash/log.htm b/luci-app-openclash/luasrc/view/openclash/log.htm @@ -231,7 +231,13 @@ function line_tolocal(str){
var dt = new Date(res[1]);
}
if (dt && dt != "Invalid Date"){
- cstrt[cn]=dt.getFullYear()+"-"+p(dt.getMonth()+1)+"-"+p(dt.getDate())+" "+p(dt.getHours())+":"... | 1 |
diff --git a/lib/GoogleHome.js b/lib/GoogleHome.js @@ -485,7 +485,7 @@ class GoogleHome {
name = name.substring(0, pos) + name.substring(pos + room.length + 1);
}
}
- name = name.replace(/\s\s/g).replace(/\s\s/g).trim();
+ name = name.replace(/\s\s+/g, ' ').trim();
}
return name;
}
@@ -726,9 +726,6 @@ class GoogleHome ... | 7 |
diff --git a/token-metadata/0x23aEfF664c1B2bbA98422a0399586e96cc8a1C92/metadata.json b/token-metadata/0x23aEfF664c1B2bbA98422a0399586e96cc8a1C92/metadata.json "symbol": "FACT",
"address": "0x23aEfF664c1B2bbA98422a0399586e96cc8a1C92",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/examples/basic/serverless.yml b/examples/basic/serverless.yml type: my-project
components:
-# myFunction:
-# type: aws-lambda
-# inputs:
-# memory: 512
-# timeout: 10
-# handler: handler.handler
-# role:
-# arn: ${myRole.arn}
-# myRole:
-# type: aws-iam-role
-# inputs:
-# service: lambda.amazonaws.com
- pr... | 13 |
diff --git a/src/components/sign/SignTransferDetails.js b/src/components/sign/SignTransferDetails.js @@ -176,7 +176,8 @@ const ActionMessage = ({ transaction, action, actionKind }) => (
const ActionWarrning = ({ actionKind, action }) => (
<Fragment>
{actionKind === 'functionCall' && (
- !!action?.args?.length
+ action.... | 9 |
diff --git a/plugins/debug/particleDebugPanel.js b/plugins/debug/particleDebugPanel.js // patch me.ParticleEmitter.init
me.plugin.patch(me.ParticleEmitter, "init", function (x, y, image) {
- this._patched(x, y, image);
+ this._patched.apply(this, arguments);
_this.emitterCount++;
});
// patch me.ParticleEmitter.destroy... | 1 |
diff --git a/lib/reporter-proxy.js b/lib/reporter-proxy.js @@ -11,7 +11,7 @@ module.exports = class ReporterProxy {
let timingsEvent
while ((timingsEvent = this.timingsQueue.shift())) {
- this.reporter.addTiming(this.eventType, timingsEvent[0], timingsEvent[1])
+ this.reporter.addTiming(this.eventType, timingsEvent.dur... | 4 |
diff --git a/source/Renderer/webgl.js b/source/Renderer/webgl.js @@ -205,13 +205,15 @@ class gltfWebGl
const messages = this.context.getShaderInfoLog(shader).split("\n");
for(const message of messages)
{
- info += message + "\n";
- const matches = message.match(/(?:(?:WARNING)|(?:ERROR)): [0-9]*:([0-9]*).*/i);
- if (ma... | 7 |
diff --git a/devices.js b/devices.js @@ -103,7 +103,7 @@ const devices = [
supports: 'on/off, power measurement',
fromZigbee: [
fz.QBKG04LM_QBKG11LM_state, fz.QBKG11LM_power, fz.ignore_onoff_change, fz.ignore_basic_change,
- fz.ignore_multistate_report, fz.ignore_multistate_change,
+ fz.ignore_multistate_report, fz.ign... | 8 |
diff --git a/tests/e2e/specs/Modeler.spec.js b/tests/e2e/specs/Modeler.spec.js @@ -263,7 +263,7 @@ describe('Modeler', () => {
const startEventPosition = { x: 150, y: 150 };
getElementAtPosition(startEventPosition).then($startEvent => {
- cy.wrap($startEvent).get('[stroke=red]').should('exist');
+ cy.wrap($startEvent).... | 1 |
diff --git a/source/views/panels/ModalEventHandler.js b/source/views/panels/ModalEventHandler.js import { Class } from '../../core/Core';
import Obj from '../../foundation/Object';
import '../../foundation/EventTarget'; // For Function#on
+import ScrollView from '../containers/ScrollView';
+
+const inView = function ( ... | 11 |
diff --git a/_includes/content.html b/_includes/content.html {% include messages/needs-editing.html %}
{% include content/github-buttons.html %}
<article>
- {% if page.url contains "overview" %}
+ {% unless page.url contains "overview" %}
<h1 class="ui header xo margin top without">
<div class="ui medium header">{{ pag... | 2 |
diff --git a/src/io/ble.js b/src/io/ble.js @@ -153,7 +153,7 @@ class BLE extends JSONRPC {
if (encoding) {
params.encoding = encoding;
}
- if (withResponse) {
+ if (withResponse !== null) {
params.withResponse = withResponse;
}
return this.sendRemoteRequest('write', params)
| 11 |
diff --git a/source/datastore/store/Store.js b/source/datastore/store/Store.js @@ -1991,28 +1991,26 @@ const Store = Class({
const account = this.getAccount(accountId, Type);
const typeId = guid(Type);
const clientState = account.clientState[typeId];
-
- if (account.serverState[typeId] === newState) {
- // Do nothing, ... | 7 |
diff --git a/assets/js/components/Header.stories.js b/assets/js/components/Header.stories.js @@ -56,7 +56,6 @@ import {
} from '../googlesitekit/datastore/user/constants';
import { Provider as ViewContextProvider } from './Root/ViewContextContext';
import { getMetaCapabilityPropertyName } from '../googlesitekit/datasto... | 2 |
diff --git a/src/plugins/ReduxDevTools.js b/src/plugins/ReduxDevTools.js @@ -45,8 +45,7 @@ module.exports = class ReduxDevTools extends Plugin {
return
case 'JUMP_TO_STATE':
case 'JUMP_TO_ACTION':
- // this.setState(state)
- this.uppy.state = Object.assign({}, this.uppy.state, JSON.parse(message.state))
+ this.uppy.sto... | 1 |
diff --git a/ui/app/components/pages/confirm-transaction-base/confirm-transaction-base.component.js b/ui/app/components/pages/confirm-transaction-base/confirm-transaction-base.component.js @@ -386,6 +386,37 @@ export default class ConfirmTransactionBase extends Component {
)
}
+
+ renderFeeError = () => {
+
+ return (
... | 7 |
diff --git a/generators/upgrade/index.js b/generators/upgrade/index.js @@ -131,14 +131,11 @@ module.exports = class extends BaseGenerator {
this.success(`Checked out branch "${branch}"`);
}
- _upgradeFiles(callback) {
+ _upgradeFiles() {
if (cleanup.upgradeFiles(this)) {
const gitCommit = this.gitExec(['commit', '-q', ... | 2 |
diff --git a/components/bases-locales/publication/code-authentification.js b/components/bases-locales/publication/code-authentification.js @@ -9,18 +9,18 @@ import theme from '@/styles/theme'
import Button from '@/components/button'
import Notification from '@/components/notification'
-function CodeAuthentification({ba... | 10 |
diff --git a/README.md b/README.md @@ -16,7 +16,7 @@ MUI-Datatables is a data tables component built on [Material-UI](https://www.mat
<img src="https://user-images.githubusercontent.com/19170080/38026128-eac9d506-3258-11e8-92a7-b0d06e5faa82.gif" />
</div>
-# Table of content
+# Table of contents
* [Install](#install)
*... | 0 |
diff --git a/layouts/_default/single.html b/layouts/_default/single.html footer fragment, the local one is rendered.
*/}}
{{ $global := .Site.GetPage "page" "global" }}
- {{ $.Scratch.Delete "global_fragments" }}
+ {{ .Scratch.Delete "global_fragments" }}
{{ if $global }}
{{ $.Scratch.Set "global_fragments" ($global.Re... | 2 |
diff --git a/test/client/popupBridge.js b/test/client/popupBridge.js /* @flow */
/* eslint require-await: off, max-lines: off, max-nested-callbacks: off */
-import { wrapPromise } from 'belter/src';
+import { wrapPromise, parseQuery } from 'belter/src';
import { ZalgoPromise } from 'zalgo-promise/src';
import { FUNDING... | 7 |
diff --git a/assets/js/googlesitekit/data/index.js b/assets/js/googlesitekit/data/index.js @@ -35,12 +35,6 @@ import {
import {
addInitializeAction,
addInitializeReducer,
- collectActions,
- collectControls,
- collectReducers,
- collectResolvers,
- collectSelectors,
- collectState,
collectName,
combineStores,
commonAct... | 2 |
diff --git a/circle.yml b/circle.yml @@ -17,7 +17,7 @@ test:
deployment:
aws:
- branch: aws-batch
+ branch: aws
commands:
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- docker tag poldracklab/$CIRCLE_PROJECT_REPONAME:aws-$(node -p -e "require('./package.json').version") poldracklab/$CIRCLE_PROJECT_RE... | 10 |
diff --git a/src/post/postSingle/PostSingleModal.js b/src/post/postSingle/PostSingleModal.js @@ -66,14 +66,18 @@ export default class PostSingleModal extends Component {
window.history.pushState({}, content.title, content.url);
};
+ replaceUrlState = (content) => {
+ window.history.replaceState({}, content.title, conte... | 1 |
diff --git a/layouts/partials/fragments/list.html b/layouts/partials/fragments/list.html ">
{{ partial "helpers/slot.html" (dict "root" $ "slot" "before-content")}}
{{- range first (.Params.count | default 10) (.page_scratch.Get "pages") -}}
- {{ partial "helpers/slot.html" (dict "root" $ "slot" "before-item")}}
{{- $p... | 0 |
diff --git a/app/routes/application.js b/app/routes/application.js @@ -14,10 +14,13 @@ export default Route.extend(ApplicationRouteMixin, {
return tokens.join(' | ');
},
- async beforeModel() {
+ async beforeModel(transition) {
this._super(...arguments);
await this.get('authManager').initialize();
await this.get('setti... | 12 |
diff --git a/config/canonical.json b/config/canonical.json },
"amenity/fuel|United": {
"count": 221,
+ "match": [
+ "amenity/fuel|United Petroleum"
+ ],
"nomatch": ["amenity/bank|United Bank"],
"tags": {
"amenity": "fuel",
"brand": "United",
+ "brand:wikidata": "Q28224393",
+ "brand:wikipedia": "en:United Petroleum",
"... | 7 |
diff --git a/contribs/gmf/apps/desktop_alt/index.html b/contribs/gmf/apps/desktop_alt/index.html <span class="caret"></span>
</a>
<div class="import">
- <div>local</div>
+ <div>Local</div>
<div class="import-local"
ngeo-import-local
ngeo-import-local-options="::mainCtrl.importOptions">
</div>
- <div>online</div>
+ <div... | 4 |
diff --git a/lib/plugin/gitlab/GitLab.js b/lib/plugin/gitlab/GitLab.js @@ -43,8 +43,8 @@ class GitLab extends Release {
throw new Error(`Could not authenticate with GitLab using environment variable "${this.options.tokenRef}".`);
}
if (!(await this.isCollaborator())) {
- const { username, repo } = this.getContext();
- ... | 7 |
diff --git a/test/Synthetix.js b/test/Synthetix.js @@ -11,12 +11,11 @@ const {
multiplyDecimal,
divideDecimal,
toUnit,
- fromUnit,
ZERO_ADDRESS,
} = require('../utils/testUtils');
contract('Synthetix', async function(accounts) {
- const [sUSD, sAUD, sEUR, SNX, XDR, sXYZ] = ['sUSD', 'sAUD', 'sEUR', 'SNX', 'XDR', 'sXYZ']... | 1 |
diff --git a/src/js/base/module/Clipboard.js b/src/js/base/module/Clipboard.js @@ -58,7 +58,8 @@ define([
this.pasteByHook = function () {
var node = this.$paste[0].firstChild;
- if (dom.isImg(node) && node.src.startsWith('data:')) {
+ var src = node && node.src;
+ if (dom.isImg(node) && src.indexOf('data:') === 0) {
v... | 14 |
diff --git a/lib/plugins/team.js b/lib/plugins/team.js @@ -29,8 +29,11 @@ function inject (bot) {
}
if (team !== undefined) {
if (mode === 1) {
- bot.emit('teamRemoved', teams[teamName])
+ team.members.forEach(member => {
+ delete bot.teamMap[member]
+ })
delete teams[teamName]
+ bot.emit('teamRemoved', teams[teamName]... | 2 |
diff --git a/docs/sphinx_greenlight_instructions.md b/docs/sphinx_greenlight_instructions.md @@ -23,7 +23,7 @@ The sha256 of the zip file you will download from us is the following:
On macOS, you can check it by running this command in the directory where you have the file:
-`shasum -a 256 sphinx_greenlight_0_3.img.zip... | 3 |
diff --git a/src/pages/EnterpriseShared/AppExporter.js b/src/pages/EnterpriseShared/AppExporter.js @@ -29,6 +29,10 @@ export default class AppExporter extends PureComponent {
};
}
componentDidMount() {
+ const { exportVersionList, exportVersion } = this.state;
+ if (exportVersionList && exportVersionList.length > 0 && ... | 1 |
diff --git a/assets/js/components/Root/index.js b/assets/js/components/Root/index.js @@ -31,7 +31,7 @@ import { enabledFeatures } from '../../features';
import PermissionsModal from '../PermissionsModal';
import RestoreSnapshots from '../RestoreSnapshots';
import CollectModuleData from '../data/collect-module-data';
-i... | 14 |
diff --git a/generators/server/templates/src/main/java/package/config/Constants.java.ejs b/generators/server/templates/src/main/java/package/config/Constants.java.ejs @@ -25,7 +25,7 @@ public final class Constants {
<%_ if (!skipUserManagement || authenticationType === 'oauth2') { _%>
// Regex for acceptable logins
- p... | 2 |
diff --git a/assets/js/components/surveys/SurveyQuestionRating.stories.js b/assets/js/components/surveys/SurveyQuestionRating.stories.js @@ -50,8 +50,7 @@ SurveyQuestionRatingStory.args = {
},
],
answerQuestion: ( answer ) => {
- global.console.log( `Clicked: ${ answer }` );
- global.console.log( answer );
+ global.con... | 2 |
diff --git a/src/components/Navigation/Topnav.js b/src/components/Navigation/Topnav.js import React, { PropTypes } from 'react';
import { Link } from 'react-router';
-import { Menu, Popover, Icon, Input } from 'antd';
+import { Menu, Popover, Input } from 'antd';
import Avatar from '../Avatar';
import './Topnav.less';
| 2 |
diff --git a/lib/plugins/analysisstorer/index.js b/lib/plugins/analysisstorer/index.js @@ -26,7 +26,8 @@ function shouldIgnoreMessage(message) {
'html.pug',
's3.finished',
'gcs.finished',
- 'ftp.finished'
+ 'ftp.finished',
+ 'graphite.setup'
].indexOf(message.type) >= 0
);
}
| 8 |
diff --git a/src/reducers/account/index.js b/src/reducers/account/index.js @@ -15,7 +15,8 @@ import {
getBalance,
selectAccount,
setLocalStorage,
- getAccountBalance
+ getAccountBalance,
+ setAccountBalance
} from '../../actions/account'
import {
@@ -178,6 +179,15 @@ const account = handleActions({
[meta.accountId]: pa... | 9 |
diff --git a/source/components/NumericInput.js b/source/components/NumericInput.js @@ -101,7 +101,7 @@ export default class NumericInput extends FormField {
if (splitedValue.length === 3) {
// input value contains more than one dot
const splitedOldValue = this.state.oldValue.split('.');
- if (splitedOldValue[0] <= spli... | 9 |
diff --git a/server.coffee b/server.coffee @@ -813,6 +813,7 @@ class FilesCollection
@name load
@param {String} url - URL to file
@param {Object} opts - Object with file-data
+ @param {Object} opts.headers - HTTP headers to use when requesting the file
@param {String} opts.name - File name, alias: `fileName`
@param {St... | 11 |
diff --git a/lib/tasks/result_monitor.rake b/lib/tasks/result_monitor.rake @@ -66,7 +66,7 @@ class MonitorPipelineResults
samples = Sample.current_stalled_local_uploads(18.hours)
unless samples.empty?
Rails.logger.error(
- "SampleFailedEvent: Failed to upload local samples after 18 hours #{samples.pluck(:id)}"
+ "Uploa... | 10 |
diff --git a/tests/e2e/config/bootstrap.js b/tests/e2e/config/bootstrap.js @@ -201,18 +201,6 @@ function observeRestRequest( req ) {
// eslint-disable-next-line no-console
console.log( '>>>', req.method(), req.url(), req.postData() );
}
- if ( req.url().match( 'google-site-kit/v1/data/' ) ) {
- const rawBatchRequest = ... | 2 |
diff --git a/magda-int-test/src/test/scala/au/csiro/data61/magda/test/util/MagdaGeneratorTest.scala b/magda-int-test/src/test/scala/au/csiro/data61/magda/test/util/MagdaGeneratorTest.scala @@ -5,7 +5,7 @@ import org.scalactic.anyvals.PosInt
import org.scalatest.prop.GeneratorDrivenPropertyChecks
trait MagdaGeneratorTes... | 12 |
diff --git a/client/src/components/graph/graph.js b/client/src/components/graph/graph.js @@ -6,6 +6,7 @@ import { mat3, vec2 } from "gl-matrix";
import _regl from "regl";
import memoize from "memoize-one";
import Async from "react-async";
+import { Button } from "@blueprintjs/core";
import setupSVGandBrushElements from... | 7 |
diff --git a/package.json b/package.json "scripts": {
"check-links": "npx check-html-links _site",
"build": "npx @11ty/eleventy",
- "start": "npx @11ty/eleventy --serve",
+ "start": "npx @11ty/eleventy --serve --port=8091",
"build-production": "npm run get-new-data && NODE_ENV=production npx @11ty/eleventy",
"get-new-d... | 4 |
diff --git a/lib/iob/history.js b/lib/iob/history.js @@ -265,7 +265,11 @@ function calcTempTreatments (inputs, zeroTempDuration) {
var temp = current;
current = temp.bolus;
}
+ if (current.created_at) {
+ current.timestamp = current.created_at;
+ }
var currentRecordTime = new Date(tz(current.timestamp));
+ //console.er... | 12 |
diff --git a/public/javascripts/SVLabel/src/SVLabel/mission/MissionProgress.js b/public/javascripts/SVLabel/src/SVLabel/mission/MissionProgress.js @@ -93,7 +93,7 @@ function MissionProgress (svl, gameEffectModel, missionModel, modalModel, neighb
// 1. User has completed numMissionsBeforeSurvey number of missions
// 2. ... | 3 |
diff --git a/README.md b/README.md @@ -54,24 +54,37 @@ Bitcore-Node can access a bitcore.config.json file from
```
{
"bitcoreNode": {
+ "dbHost": "OPTIONAL IP FOR REMOTE DB",
"pruneSpentScripts": true,
"chains": {
"BTC": {
- "regtest": {
+ "mainnet": {
"chainSource": "p2p",
"trustedPeers": [
{
"host": "127.0.0.1",
- "p... | 3 |
diff --git a/app/tasks/install.php b/app/tasks/install.php @@ -214,9 +214,9 @@ $cli
}
}
- Console::log("Running \"docker compose -f {$path}/docker-compose.yml up -d --remove-orphans --renew-anon-volumes\"");
+ Console::log("Running \"docker-compose -f {$path}/docker-compose.yml up -d --remove-orphans --renew-anon-volum... | 13 |
diff --git a/rendersettings-manager.js b/rendersettings-manager.js @@ -78,13 +78,35 @@ class RenderSettingsManager {
} = (renderSettings ?? {});
localPostProcessing.setPasses(passes);
}
- push(srcScene, dstScene = srcScene) {
+ push(srcScene, dstScene = srcScene, {
+ fog = false,
+ } = {}) {
const renderSettings = this... | 0 |
diff --git a/userscript.user.js b/userscript.user.js @@ -1660,7 +1660,7 @@ var $$IMU_EXPORT$$;
mouseover_styles: "",
mouseover_fade_time: 100,
mouseover_enable_mask_styles: false,
- mouseover_mask_styles2: "",
+ mouseover_mask_styles2: "background-color: rgba(0, 0, 0, 0.5)",
mouseover_mask_fade_time: 100,
mouseover_ui_... | 12 |
diff --git a/src/components/Forms/Subscribe.js b/src/components/Forms/Subscribe.js @@ -23,11 +23,18 @@ const SignUp = ({ subscribed = false }) => (
}}
validationSchema={SubscribeSchema}
onSubmit={values => {
- setTimeout(() => {
- alert(JSON.stringify(values, null, 2))
- }, 500)
+ // setTimeout(() => {
+ // alert(JSON.... | 12 |
diff --git a/articles/security/bulletins/cve-2018-7307.md b/articles/security/bulletins/cve-2018-7307.md ---
title: Auth0 Security Bulletin CVE 2018-7307
description: Details about a security vulnerability identified for auth0.js < 9.3
-toc: true
---
# Security Vulnerability for auth0.js < 9.3
| 2 |
diff --git a/src/media/RPA Workshop.md b/src/media/RPA Workshop.md @@ -3,7 +3,7 @@ TagUI is a CLI tool for automating user interactions. This branch of automation
For more information on TagUI, visit its [repository page](https://github.com/kelaberetiv/TagUI). TagUI is now maintained by [AI Singapore](https://www.aisin... | 7 |
diff --git a/generators/generator-constants.js b/generators/generator-constants.js @@ -22,8 +22,8 @@ const JAVA_VERSION = '1.8'; // Java version is forced to be 1.8. We keep the var
// Version of Node, Yarn, NPM
const NODE_VERSION = '12.13.1';
-const YARN_VERSION = '1.19.2';
-const NPM_VERSION = '6.13.2';
+const YARN_V... | 3 |
diff --git a/src/libs/Pusher/pusher.js b/src/libs/Pusher/pusher.js @@ -5,14 +5,14 @@ import Pusher from './library';
import TYPE from './EventType';
import Log from '../Log';
-let shouldForceOffline = false;
+let isOffline = false;
Onyx.connect({
key: ONYXKEYS.NETWORK,
callback: (network) => {
if (!network) {
return;
}... | 8 |
diff --git a/js/jquery.terminal.d.ts b/js/jquery.terminal.d.ts @@ -89,8 +89,8 @@ declare namespace JQueryTerminal {
type commandsCmdFunction = (command: string) => any;
type echoValue = string | string[] | (() => string | string[]);
type setStringFunction = (value: string) => void;
- type setEchoValueFunction = (value:... | 7 |
diff --git a/blots/embed.js b/blots/embed.js import Parchment from 'parchment';
+import TextBlot from './text';
+
+const GUARD_TEXT = "\uFEFF";
class Embed extends Parchment.Embed { }
@@ -12,8 +15,8 @@ class InlineEmbed extends Embed {
[].slice.call(this.domNode.childNodes).forEach(function(childNode) {
wrapper.appendC... | 9 |
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 </div>
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> <span data-i18n="common.label.name"></span></label>
- <input type="text" id="node-input-name... | 2 |
diff --git a/src/generators/tailwind.js b/src/generators/tailwind.js @@ -8,6 +8,8 @@ const postcssNested = require('postcss-nested')
const mergeLonghand = require('postcss-merge-longhand')
const purgecss = require('@fullhuman/postcss-purgecss')
+const defaultPurgeCSSExtractor = /[\w-/:%]+(?<!:)/g
+
module.exports = {
f... | 0 |
diff --git a/src/encoded/static/components/award.js b/src/encoded/static/components/award.js @@ -39,12 +39,15 @@ function generateQuery(chosenOrganisms, searchTerm) {
// Draw the total chart count in the middle of the donut.
function drawDonutCenter(chart) {
- const data = chart.data.datasets[0].data;
- if (data.length... | 2 |
diff --git a/CHANGELOG.md b/CHANGELOG.md # Buttercup browser extension changelog
+## v2.25.2
+_2022-09-03_
+
+ * **Bugfix**:
+ * Fixed Dropbox connectivity issues
+ * Fixed Google Drive re-authentication loop, short auth time
+
## v2.25.1
_2022-08-16_
| 6 |
diff --git a/lib/assets/core/javascripts/cartodb3/editor/export-image-pane/export-image-pane.js b/lib/assets/core/javascripts/cartodb3/editor/export-image-pane/export-image-pane.js @@ -123,7 +123,7 @@ module.exports = CoreView.extend({
var format = this._exportImageFormModel.get('format');
- var url = vis.getStaticImag... | 3 |
diff --git a/src/components/accordion/accordion.js b/src/components/accordion/accordion.js @@ -49,6 +49,7 @@ Accordion.prototype.init = function () {
// Create "Open all" button and set attributes
this.$openAllButton = document.createElement('button')
+ this.$openAllButton.setAttribute('type', 'button')
this.setOpenAll... | 14 |
diff --git a/app/components/Settings/RestoreSettings.jsx b/app/components/Settings/RestoreSettings.jsx @@ -6,6 +6,9 @@ import Translate from "react-translate-component";
import counterpart from "counterpart";
import SettingsActions from "actions/SettingsActions";
import RestoreFavorites from "./RestoreFavorites";
+impo... | 14 |
diff --git a/pages/releases.js b/pages/releases.js import React from 'react'
import styled from 'styled-components'
+import MDX from '@mdx-js/runtime'
import DocsLayout from '../components/DocsLayout'
import { getReleases } from '../utils/githubApi'
-import md from '../components/md'
import Anchor from '../components/A... | 5 |
diff --git a/workshops/arm/arm-lab4-conditions.md b/workshops/arm/arm-lab4-conditions.md @@ -34,7 +34,9 @@ Copy the lab3 directory and paste it into a blank area of the Explorer. Visual
Clear the outputs object. We'll cover the reason why later. It should be set to `"outputs": {}`
-Default the dnsLabelPrefix parameter ... | 7 |
diff --git a/lib/tests/test.js b/lib/tests/test.js @@ -72,6 +72,9 @@ class Test {
if (this.simOptions.accounts) {
this.simOptions.accounts = this.simOptions.accounts.map((account) => {
+ if (!account.hexBalance) {
+ account.hexBalance = '0x8AC7230489E80000'; // 10 ether
+ }
return {balance: account.hexBalance, secretKe... | 12 |
diff --git a/tests/phpunit/integration/PluginTest.php b/tests/phpunit/integration/PluginTest.php @@ -51,9 +51,6 @@ class PluginTest extends TestCase {
remove_all_actions( 'login_head' );
$GLOBALS['wp_actions'] = [];
- wp_schedule_event( time(), 'daily', 'googlesitekit_cron_daily', array( 'interval' => 'daily' ) );
- wp... | 2 |
diff --git a/distribution/client/test/storage.test.ts b/distribution/client/test/storage.test.ts @@ -57,12 +57,15 @@ describe('The storage module', () => {
mkdirp.sync(pluginPath);
filenames.forEach((filename) => {
fs.mkdirSync(`${pluginPath}/${filename}`)
+ h.touchFile(`${pluginPath}/${filename}/testfile`); // make su... | 3 |
diff --git a/extensions/file/README.md b/extensions/file/README.md @@ -32,6 +32,8 @@ Please be aware that the integer values (always unsigned) given for the sizes (e
### Data Types
+The allowed values for `file:data_type` are:
+
- `int8`: 8-bit integer
- `int16`: 16-bit integer
- `int32`: 32-bit integer
@@ -49,9 +51,9 ... | 0 |
diff --git a/src/inner-slider.js b/src/inner-slider.js @@ -153,16 +153,18 @@ export class InnerSlider extends React.Component {
if (!image.onclick) {
image.onclick = () => image.parentNode.focus()
} else {
- const prevClick = image.onclick
+ const prevClickHandler = image.onclick
image.onclick = () => {
- prevClick()
+... | 10 |
diff --git a/src/web/routes/api/index.js b/src/web/routes/api/index.js @@ -4,6 +4,7 @@ const api = express.Router()
const rateLimit = require('express-rate-limit')
const controllers = require('../../controllers/index.js')
const createError = require('../../util/createError.js')
+const createLogger = require('../../../u... | 14 |
diff --git a/edit.js b/edit.js @@ -42,6 +42,7 @@ import {Bot} from './bot.js';
import {Sky} from './Sky.js';
import {GuardianMesh} from './land.js';
import {storageHost} from './constants.js';
+import {CapsuleGeometry} from './CapsuleGeometry.js';
import {renderer, scene, camera, appManager} from './app-object.js';
imp... | 0 |
diff --git a/Sources/web3swift/Utils/ENS/ETHRegistrarController.swift b/Sources/web3swift/Utils/ENS/ETHRegistrarController.swift @@ -20,8 +20,7 @@ public extension ENS {
return contract!
}()
- // FIXME: Rewrite this to CodableTransaction
- lazy var defaultOptions: CodableTransaction = {
+ lazy var defaultTransaction: C... | 10 |
diff --git a/articles/quickstart/webapp/nodejs/01-login.md b/articles/quickstart/webapp/nodejs/01-login.md @@ -40,7 +40,7 @@ In `app.js`, include the `express-session` module and configure it. The `secret`
var session = require('express-session');
-//session-related stuff
+// initialize express-session
var sess = {
sec... | 7 |
diff --git a/generators/entity-client/templates/angular/src/main/webapp/app/entities/route/entity-management-routing.module.ts.ejs b/generators/entity-client/templates/angular/src/main/webapp/app/entities/route/entity-management-routing.module.ts.ejs @@ -33,7 +33,7 @@ const <%= entityInstance %>Route: Routes = [
compon... | 2 |
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md @@ -40,7 +40,7 @@ You will need the following things properly installed on your computer.
### Running / Development Without Docker (Recommended)
-* `node server.js` from your gatekeeper folder
+* `node index.js` from your gatekeeper folder
* `yarn` from ember twiddle folde... | 3 |
diff --git a/components/AppLayout/AppHeader.js b/components/AppLayout/AppHeader.js @@ -170,7 +170,7 @@ const Links = ({ classes, unsolvedCount }) => (
</>
);
-function AppHeader({ onMenuButtonClick, user, onLoginModalOpen, logout }) {
+function AppHeader({ onMenuButtonClick, user, onLoginModalOpen, onLogout }) {
const ... | 1 |
diff --git a/.circleci/config.yml b/.circleci/config.yml @@ -2,8 +2,8 @@ version: 2.1
aliases:
- &GAIA /tmp/gaia
- - &WORKSPACE /tmp/build_output
- - &DIST /tmp/build_output/app/dist
+ - &WORKSPACE /tmp/voyager
+ - &DIST /tmp/voyager/app/dist
- &docker-node circleci/node:10.15
- &docker-browsers circleci/node:10.15-bro... | 10 |
diff --git a/closure/goog/testing/net/xhriopool.js b/closure/goog/testing/net/xhriopool.js @@ -57,6 +57,15 @@ goog.testing.net.XhrIoPool.prototype.createObject = function() {
};
+/**
+ * Override adjustForMinMax to not call handleRequests because that causes
+ * problems. See b/31041087.
+ *
+ * @override
+ */
+goog.te... | 1 |
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml @@ -69,23 +69,24 @@ jobs:
run: |
yarn update-release-changelog
git add semcore/ui/CHANGELOG.md
- - name: make first branch commit
+ - name: commit changelog change as a first commit in the release branch
run: |
git commit -m "Automatically updat... | 4 |
diff --git a/bin/cli.js b/bin/cli.js @@ -78,10 +78,12 @@ let showCorrectUsage = function () {
console.log(' deploy <app-path> [requires kubectl] Deploy app at path to your Kubernetes cluster');
console.log(' deploy-update <app-path> [requires kubectl] Deploy update to app which was previously deployed');
console.log(' ... | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.