code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/src/context/directory/handlers/attackProtection.js b/src/context/directory/handlers/attackProtection.js @@ -19,11 +19,7 @@ function parse(context) {
if (!existsMustBeDir(files.directory)) {
return {
- attackProtection: {
- breachedPasswordDetection: {},
- bruteForceProtection: {},
- suspiciousIpThrottling:... | 12 |
diff --git a/examples/hello-world-webpack2/README.md b/examples/hello-world-webpack2/README.md -* [hello-world-webpack2](./hello-world-webpack.md): Bundles a minimal app with
- [webpack 2](https://github.com/webpack/webpack) and serves it with webpack-dev-server.
+<div align="center">
+ <img width="150" heigth="150" sr... | 3 |
diff --git a/articles/tutorials/generic-oauth2-connection-examples.md b/articles/tutorials/generic-oauth2-connection-examples.md @@ -257,20 +257,23 @@ In the JSON below, replace all instances of the following placeholders:
node -p -e 'JSON.stringify(require("fs").readFileSync("EXAMPLE.key").toString("ascii"));'
```
-``... | 0 |
diff --git a/src/buttons/component.jsx b/src/buttons/component.jsx @@ -155,15 +155,10 @@ export const Buttons : Component<ButtonProps> = create({
}
};
- const orderPromise = original(data, actions);
-
- if (!ZalgoPromise.isPromise(orderPromise)) {
- throw new Error(`Expected createOrder to return a promise for an order... | 11 |
diff --git a/README.md b/README.md ### Build reactive [Single Page Applications (SPAs)](https://en.wikipedia.org/wiki/Single-page_application) with [Rails](https://rubyonrails.org) and [Stimulus](https://stimulusjs.org)
-This project supports building [Single Page Applications (SPAs)](https://en.wikipedia.org/wiki/Sing... | 14 |
diff --git a/layouts/partials/helpers/fragments-renderer.html b/layouts/partials/helpers/fragments-renderer.html {{- $root := $layout_info.root -}}
{{- range sort ($page_scratch.Get "page_fragments") "Params.weight" -}}
- {{- if not (isset .Params "slot") -}}
+ {{/* If a fragment contains a slot variable in it's frontm... | 0 |
diff --git a/src/components/metadata/MetaObject.js b/src/components/metadata/MetaObject.js @@ -34,7 +34,7 @@ export class MetaObject extends Component {
{items}
<a onClick={() => addField(namePrefix)}
className="add-field-object" title="Add new key/value pair">
- New key/value pair
+ New key/value pair under <strong>{f... | 7 |
diff --git a/test/fixtures/docker-compose.yml b/test/fixtures/docker-compose.yml @@ -3,11 +3,11 @@ version: '2.0'
services:
cop:
- image: hyperledger/fabric-cop
+ image: hyperledger/fabric-ca
ports:
- "8888:8888"
- command: sh -c 'cop server start -ca ~/.cop/ec.pem -ca-key ~/.cop/ec-key.pem -config /etc/hyperledger/fab... | 10 |
diff --git a/versioned_docs/version-6.x/drawer-navigator.md b/versioned_docs/version-6.x/drawer-navigator.md @@ -42,7 +42,7 @@ import 'react-native-gesture-handler';
> Note: If you are building for Android or iOS, do not skip this step, or your app may crash in production even if it works fine in development. This is n... | 1 |
diff --git a/truffle-ci.js b/truffle-ci.js @@ -35,10 +35,6 @@ module.exports = {
},
},
mocha: {
- enableTimeouts: false,
- reporter: "mocha-junit-reporter",
- reporterOptions: {
- mochaFile: './test-results/mocha/results.xml'
- }
+ enableTimeouts: false
}
};
| 3 |
diff --git a/lib/plugins/interactiveCli/setupAws.js b/lib/plugins/interactiveCli/setupAws.js @@ -74,7 +74,7 @@ http://slss.io/aws-creds-setup`);
return openBrowser('https://portal.aws.amazon.com/billing/signup').then(() =>
inquirer.prompt({
message: 'Press Enter to continue after creating an AWS account',
- name: 'junk... | 7 |
diff --git a/articles/rules/redirect.md b/articles/rules/redirect.md @@ -31,25 +31,30 @@ function (user, context, callback) {
Once all rules have finished executing, the user will be redirected to the specified URL.
+Auth0 will also pass a state value in that URL, for example `https://example.com/foo?state=abc123`.
+
+... | 0 |
diff --git a/lib/config/index.js b/lib/config/index.js @@ -796,6 +796,14 @@ Config.prototype._fromPassed = function _fromPassed(external, internal, arbitrar
return
}
+ if (key === 'ignored_params') {
+ warnDeprecated(key, 'attributes.exclude')
+ }
+
+ if (key === 'capture_params') {
+ warnDeprecated(key, 'attributes.en... | 14 |
diff --git a/assets/js/components/legacy-setup/wizard-step-authentication.js b/assets/js/components/legacy-setup/wizard-step-authentication.js @@ -30,7 +30,6 @@ import { Component } from '@wordpress/element';
/**
* Internal dependencies
*/
-import { trackEvent } from '../../util';
import Button from '../Button';
import... | 2 |
diff --git a/_data/conferences.yml b/_data/conferences.yml place: Sydney, Australia
sub: ML
-- name: UAI
- year: 2017
- id: UAI17
- link: http://auai.org/uai2017/index.php
- deadline: "2017-03-30 23:59:59"
- date: August 11-August 15, 2017
- place: Sydney, Australia
- sub: ML
-
- name: IROS
year: 2017
id: iros17
place:... | 2 |
diff --git a/ui/app/components/tx-list.js b/ui/app/components/tx-list.js @@ -8,11 +8,17 @@ const valuesFor = require('../util').valuesFor
module.exports = connect(mapStateToProps)(TxList)
function mapStateToProps (state) {
+ const network = state.metamask.network
+ const unapprovedMsgs = valuesFor(state.metamask.unappr... | 5 |
diff --git a/.travis.yml b/.travis.yml @@ -10,8 +10,3 @@ install:
after_script:
- if [[ `node --version` == *v0.10* ]]; then cat ./coverage/lcov-report/lcov.info | ./node_modules/coveralls/bin/coveralls.js; fi
-
-env:
- global:
- - SAUCE_USERNAME="$SAUCE_DEV_NAME"
- - SAUCE_ACCESS_KEY="$SAUCE_DEV_KEY"
| 2 |
diff --git a/src/core/config/createCoreConfigs.js b/src/core/config/createCoreConfigs.js @@ -32,7 +32,5 @@ export default () => ({
.unique()
.required(),
onBeforeEventSend: callback().default(noop),
- datastreamConfigOverrides: validateConfigOverride,
- // TODO: Remove this
- configurationOverrides: validateConfigOverr... | 2 |
diff --git a/lib/node_modules/@stdlib/fs/write-file/docs/repl.txt b/lib/node_modules/@stdlib/fs/write-file/docs/repl.txt Flag. Default: 'w'.
options.mode: integer (optional)
- Mode. Default: 0o666;
+ Mode. Default: 0o666.
clbk: Function
Callback to invoke upon writing data to a file.
Flag. Default: 'w'.
options.mode: i... | 14 |
diff --git a/admin-base/ui.apps/src/main/content/jcr_root/apps/admin/components/pagebrowser/template.vue b/admin-base/ui.apps/src/main/content/jcr_root/apps/admin/components/pagebrowser/template.vue -->
<template>
<transition name="fade">
- <div v-if="isVisible" class="modal-container">
- <div id="pathBrowserModal" cla... | 7 |
diff --git a/bin/local-env/install-wordpress.sh b/bin/local-env/install-wordpress.sh @@ -53,8 +53,6 @@ wp user create author author@example.com --role=author --user_pass=password --qu
echo -e $(status_message "Author created! Username: author Password: password")
wp user create contributor contributor@example.com --rol... | 2 |
diff --git a/app/models/user/UserCurrentRegionTable.scala b/app/models/user/UserCurrentRegionTable.scala @@ -57,31 +57,20 @@ object UserCurrentRegionTable {
def assignEasyRegion(userId: UUID): Int = db.withSession { implicit session =>
val regionIds: Set[Int] = MissionTable.selectIncompleteRegions(userId)
- // Assign o... | 3 |
diff --git a/packages/vulcan-ui-material/lib/components/core/Datatable.jsx b/packages/vulcan-ui-material/lib/components/core/Datatable.jsx @@ -122,12 +122,12 @@ class Datatable extends PureComponent {
return <Components.DatatableContents
columns={this.props.data.length ? Object.keys(this.props.data[0]) : undefined}
- {... | 1 |
diff --git a/angular/projects/spark-angular/src/lib/components/inputs/sprk-checkbox-group/sprk-checkbox-group.component.ts b/angular/projects/spark-angular/src/lib/components/inputs/sprk-checkbox-group/sprk-checkbox-group.component.ts @@ -60,7 +60,7 @@ export class SprkCheckboxGroupComponent implements AfterContentInit... | 3 |
diff --git a/js/bitstamp.js b/js/bitstamp.js @@ -1160,7 +1160,6 @@ module.exports = class bitstamp extends Exchange {
// yfi_withdrawal_fee: '0.00070000',
// yfieur_fee: '0.000',
// yfiusd_fee: '0.000',
- //
// zrx_available: '0.00000000',
// zrx_balance: '0.00000000',
// zrx_reserved: '0.00000000',
@@ -1172,36 +1171,4... | 9 |
diff --git a/apps/dtlaunch/app-b2.js b/apps/dtlaunch/app-b2.js @@ -182,9 +182,14 @@ const returnToClock = function() {
};
// taken from Icon Launcher with minor alterations
+var timeoutToClock;
+const updateTimeoutToClock = function(){
if (settings.timeOut!="Off"){
let time=parseInt(settings.timeOut); //the "s" will be... | 3 |
diff --git a/package.json b/package.json {
"name": "prettier-atom",
"main": "./dist/main.js",
- "version": "0.55.0",
+ "version": "0.55.1",
"description": "Atom plugin for formatting JavaScript using prettier with (optional) prettier-eslint integration",
"keywords": [
"atom",
| 6 |
diff --git a/token-metadata/0xE41d2489571d322189246DaFA5ebDe1F4699F498/metadata.json b/token-metadata/0xE41d2489571d322189246DaFA5ebDe1F4699F498/metadata.json "symbol": "ZRX",
"address": "0xE41d2489571d322189246DaFA5ebDe1F4699F498",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/packages/openneuro-server/src/graphql/resolvers/snapshots.js b/packages/openneuro-server/src/graphql/resolvers/snapshots.js @@ -33,6 +33,21 @@ export const snapshot = (obj, { datasetId, tag }, context) => {
}
export const participantCount = async (obj, { modality }) => {
+ const queryHasSubjects = {
+ 'sum... | 9 |
diff --git a/docs/quicktips/inline-js.md b/docs/quicktips/inline-js.md @@ -45,7 +45,7 @@ Capture the JavaScript into a variable and run it through the filter (this sampl
<!-- capture the JS content as a Nunjucks variable -->
{% set js %}{% include "sample.js" %}{% endset %}
<!-- feed it through our jsmin filter to mini... | 3 |
diff --git a/src/models/Service.js b/src/models/Service.js @@ -189,13 +189,16 @@ export default class Service {
this.isError = false;
});
- this.webview.addEventListener('did-frame-finish-load', () => {
+ const didLoad = () => {
this.isLoading = false;
if (!this.isError) {
this.isFirstLoad = false;
}
- });
+ };
+
+ thi... | 7 |
diff --git a/src/domain/session/room/timeline/linkify.js b/src/domain/session/room/timeline/linkify.js @@ -3,8 +3,8 @@ export function linkify(text, callback) {
const matches = text.matchAll(regex);
let curr = 0;
for (let match of matches) {
- callback(match[0], true);
callback(text.slice(curr, match.index), false);
+ ... | 1 |
diff --git a/README.md b/README.md @@ -42,11 +42,21 @@ and integrate with:
If you already have Node/Go setup, all you have to do is run:
+```shell
$ npm install -g generator-ng-fullstack
+```
-then to create a new app:
+Or, if you want to run the latest (in development) version:
+```shell
+$ npm install -g generator-ng... | 3 |
diff --git a/CHANGELOG.md b/CHANGELOG.md @@ -134,6 +134,24 @@ Released: 2019-02-11
This release adds support for the new Instagram API, image and archive icons to the Dashboard, fixes upload retries and moves OneDrive out of beta.
+| Package | Version | Package | Version |
+|-|-|-|-|
+| @uppy/aws-s3-multipart | 1.5.0 |... | 0 |
diff --git a/src/core/scene/a-scene.js b/src/core/scene/a-scene.js @@ -327,7 +327,7 @@ module.exports.AScene = registerElement('a-scene', {
// Exiting VR in embedded mode, no longer need fullscreen styles.
if (self.hasAttribute('embedded')) { self.removeFullScreenStyles(); }
self.resize();
- if (self.isIOS) { utils.for... | 1 |
diff --git a/src/lime/tools/Library.hx b/src/lime/tools/Library.hx @@ -5,14 +5,14 @@ import hxp.Path;
class Library
{
public var embed:Null<Bool>;
- public var generate:Bool;
+ public var generate:Null<Bool>;
public var name:String;
public var prefix:String;
- public var preload:Bool;
+ public var preload:Null<Bool>;
p... | 11 |
diff --git a/userscript.user.js b/userscript.user.js @@ -20922,9 +20922,16 @@ var $$IMU_EXPORT$$;
}
if (domain_nosub === "fc2.com" && /^video[0-9]*-thumbnail[0-9]*\./.test(domain)) {
- // https://video-thumbnail2.fc2.com/w480/vip.video83000.fc2.com/up/thumb2/201808/03/1/201808031dv6cvPL.jpg
// https://video8-thumbnail2... | 7 |
diff --git a/src/collection.js b/src/collection.js @@ -90,9 +90,11 @@ var _ = Mavo.Collection = $.Class({
if (this.initialItems > 1) {
// Add extra items
+ this.mavo.treeBuilt.then(() => {
for (let i=1; i<this.initialItems; i++) {
this.add();
}
+ });
}
Mavo.hooks.run("collection-init-end", this);
| 1 |
diff --git a/src/contourFeature.js b/src/contourFeature.js @@ -129,8 +129,7 @@ var contourFeature = function (arg) {
minValue, maxValue, val, range, i, k;
var result = this.createMesh({
used: function (d, i) {
- var val = valueFunc(d, i);
- return !isNaN(val) && val !== null;
+ return util.isNonNullFinite(valueFunc(d, ... | 4 |
diff --git a/.github/lock.yml b/.github/lock.yml @@ -9,11 +9,11 @@ skipCreatedBefore: false
# Issues and pull requests with these labels will be ignored. Set to `[]` to disable
exemptLabels:
- - STATE: Need response
- - STATE: Need clarification
+ - `STATE: Need response`
+ - `STATE: Need clarification`
# Label to add ... | 0 |
diff --git a/packages/build/src/plugins/child/utils.js b/packages/build/src/plugins/child/utils.js @@ -23,7 +23,7 @@ const getUtil = async function(varName, packageName, pluginPath) {
return {}
}
- const util = require(utilPath)
+ const util = await resolveUtil(utilPath, varName)
return { [varName]: util }
}
@@ -36,4 +... | 7 |
diff --git a/src/components/fx/hover.js b/src/components/fx/hover.js @@ -653,8 +653,8 @@ function _hover(gd, evt, subplot, noHoverEvent) {
var isGrouped = (fullLayout.boxmode === 'group' || fullLayout.violinmode === 'group');
findHoverPoints(
- getVal('x', winningPoint, isGrouped),
- getVal('y', winningPoint, isGrouped... | 10 |
diff --git a/app/modules/main/containers/Sections/Home/Setup/Backup.js b/app/modules/main/containers/Sections/Home/Setup/Backup.js @@ -214,7 +214,7 @@ class AccountSetupBackup extends Component<Props> {
placeholder="Select a printer from the list"
onChange={this.setPrinter}
options={printers}
- value={printers[0].key}
... | 12 |
diff --git a/src/scripts/interaction.js b/src/scripts/interaction.js @@ -1398,6 +1398,9 @@ function Interaction(parameters, player, previousState) {
action.params = action.params || {};
instance = H5P.newRunnable(action, player.contentId, undefined, undefined, {parent: player, editing: player.editor !== undefined});
+ ... | 7 |
diff --git a/articles/extensions/authorization-extension.md b/articles/extensions/authorization-extension.md @@ -17,7 +17,7 @@ The Auth0 Authorization Extension provides user authorization support in Auth0.
First make sure you have a Client created that can support the Authorization extension. Supported client types fo... | 3 |
diff --git a/src/encoded/tests/data/inserts/experiment.json b/src/encoded/tests/data/inserts/experiment.json "description": "RNA Evaluation K562 Long Poly-A+ RNA-seq from Gingeras",
"lab": "thomas-gingeras",
"status": "released",
+ "supersedes": "ENCSR000AES",
"date_released": "2016-01-01",
"submitted_by": "dignissim.e... | 0 |
diff --git a/lib/fetching/content-services/crowd-tangle-content-service.js b/lib/fetching/content-services/crowd-tangle-content-service.js @@ -80,7 +80,9 @@ CrowdTangleContentService.prototype._httpRequest = function(params, callback) {
CrowdTangleContentService.prototype._completeUrl = function() {
// add one second t... | 12 |
diff --git a/docs/contributing/common-scenarios.html b/docs/contributing/common-scenarios.html <li>Open a pull request, with a description of the deficiency of the polyfill and how you've fixed it. Ideally link to spec documentation that specifies the behaviour that you are correcting. Finally, tell us how this aspect ... | 0 |
diff --git a/protocols/peer/test/Peer-unit.js b/protocols/peer/test/Peer-unit.js @@ -6,7 +6,6 @@ const {
passes,
emitted,
reverted,
- fails,
} = require('@airswap/test-utils').assert
const { takeSnapshot, revertToSnapShot } = require('@airswap/test-utils').time
const { EMPTY_ADDRESS } = require('@airswap/order-utils').... | 3 |
diff --git a/README.md b/README.md @@ -250,7 +250,7 @@ The `constants` key contains the following values:
### Utilities
-Several utilities are providing with the `utils` argument to event handlers:
+Several utilities are provided with the `utils` argument to event handlers:
- [`build`](#error-reporting): to report erro... | 7 |
diff --git a/userscript.user.js b/userscript.user.js @@ -21725,9 +21725,32 @@ var $$IMU_EXPORT$$;
domain_nosub === "gog-statics.com") && domain.match(/images.*\./)) {
// https://images-2.gog.com/859a7d00d0c0d46c8c4a215906479580f06837daa13d90837deba59ad51fdd8a_product_card_screenshot_112.jpg
// https://images-2.gog.com/... | 7 |
diff --git a/src/client/js/components/Admin/SlackIntegration/CustomBotWithProxyIntegrationCard.jsx b/src/client/js/components/Admin/SlackIntegration/CustomBotWithProxyIntegrationCard.jsx @@ -22,12 +22,12 @@ const CustomBotWithProxyIntegrationCard = () => {
dangerouslySetInnerHTML={{ __html: t('admin:slack_integration.i... | 7 |
diff --git a/package.json b/package.json "name": "find-and-replace",
"main": "./lib/find",
"description": "Find and replace within buffers and across the project.",
- "version": "0.215.11",
+ "version": "0.215.12",
"license": "MIT",
"activationCommands": {
"atom-workspace": [
| 6 |
diff --git a/src/components/AttachmentModal.js b/src/components/AttachmentModal.js @@ -107,7 +107,7 @@ class AttachmentModal extends PureComponent {
return (
<>
<Modal
- type={CONST.MODAL.MODAL_TYPE.CENTERED}
+ type={modalType}
onSubmit={this.submitAndClose}
onClose={() => this.setState({isModalOpen: false})}
isVisible... | 4 |
diff --git a/src/services/milestones/milestones.hooks.js b/src/services/milestones/milestones.hooks.js @@ -33,8 +33,7 @@ const restrict = () => context => {
];
// reviewers can mark Completed or Canceled
- if (['Completed', 'Canceled'].includes(data.status) &&
- data.mined === false) {
+ if (['Completed', 'Canceled'].i... | 11 |
diff --git a/js/bootstrap-select.js b/js/bootstrap-select.js },
findLis: function () {
- this.$lis = this.$menuInner.find('li');
+ this.$lis = this.$menuInner.find('.inner > li');
return this.$lis;
},
render: function () {
var that = this,
$selectOptions = this.$element.find('option'),
- $lis = that.findLis(),
selected... | 7 |
diff --git a/core/algorithm-builder/lib/builds/build-algorithm-image.sh b/core/algorithm-builder/lib/builds/build-algorithm-image.sh #!/usr/bin/env bash
-# This script used to create a specific algorithm
+# This script used to create a specific algorithm image
source $PWD/lib/builds/build-utils.sh
| 3 |
diff --git a/core/field_bound_variable.js b/core/field_bound_variable.js @@ -196,7 +196,7 @@ Blockly.FieldBoundVariable.prototype.getValue = function() {
* @override
*/
Blockly.FieldBoundVariable.prototype.setText = function(newText) {
- if (!newText) {
+ if (newText !== null) {
var text = String(newText);
if (this.dat... | 12 |
diff --git a/base/battle/Battle.ts b/base/battle/Battle.ts @@ -1426,6 +1426,13 @@ So, if a character will die after 5 turns and you land another Curse on them, it
this.battle_menu.destroy_menu();
this.target_window.destroy();
this.animation_manager.destroy();
+
+ if (this.allies_defeated) {
+ const hero = this.data.inf... | 12 |
diff --git a/src/client/js/components/PageRenameModal.jsx b/src/client/js/components/PageRenameModal.jsx @@ -47,6 +47,8 @@ const PageRenameModal = (props) => {
* @param {string} value
*/
function inputChangeHandler(value) {
+ setErrorCode(null);
+ setErrorMessage(null);
setPageNameInput(value);
}
| 7 |
diff --git a/world.js b/world.js @@ -10,7 +10,7 @@ import WSRTC from 'wsrtc/wsrtc.js';
import hpManager from './hp-manager.js';
// import {rigManager} from './rig.js';
import {AppManager} from './app-manager.js';
-import {chatManager} from './chat-manager.js';
+// import {chatManager} from './chat-manager.js';
// impor... | 2 |
diff --git a/edit.js b/edit.js @@ -1024,8 +1024,9 @@ const [
noise: methodIndex++,
marchingCubes: methodIndex++,
bakeGeometry: methodIndex++,
+ getSubparcel: methodIndex++,
+ releaseSubparcel: methodIndex++,
chunk: methodIndex++,
- releaseUpdate: methodIndex++,
mine: methodIndex++,
releaseMine: methodIndex++,
light: me... | 0 |
diff --git a/edit.js b/edit.js @@ -12,7 +12,7 @@ import {downloadFile, readFile, bindUploadFileButton} from './util.js';
// import {wireframeMaterial, getWireframeMesh, meshIdToArray, decorateRaycastMesh, VolumeRaycaster} from './volume.js';
// import './gif.js';
import {RigManager} from './rig.js';
-import {makeCubeMe... | 0 |
diff --git a/src/common/mining-pools/pool/pool-management/pool-work/Pool-Work-Validation.js b/src/common/mining-pools/pool/pool-management/pool-work/Pool-Work-Validation.js @@ -46,6 +46,9 @@ class PoolWorkValidation{
work.hashHex = work.hash.toString("hex");
+ if ( this._worksDuplicate[work.hashHex] )
+ return;
+
let i... | 7 |
diff --git a/public/javascripts/SVLabel/src/SVLabel/onboarding/InitialMissionInstruction.js b/public/javascripts/SVLabel/src/SVLabel/onboarding/InitialMissionInstruction.js @@ -42,12 +42,15 @@ function InitialMissionInstruction(compass, mapService, neighborhoodContainer, p
this._instructForGSVLabelDisappearing = functi... | 1 |
diff --git a/package.json b/package.json "json-6": "^1.1.4",
"key-did-provider-ed25519": "^1.1.0",
"key-did-resolver": "^1.4.0",
+ "maxrects-packer": "^2.7.2",
"metaversefile": "./packages/totum",
"node-fetch": "^3.1.0",
"openai-api": "^1.2.6",
| 0 |
diff --git a/data_preparation.rst b/data_preparation.rst @@ -338,110 +338,3 @@ This can be aggregated to multiple resolutions using `clodius aggregate multivec
The `--chromsizes-filename` option lists the chromosomes that are in the input
file and their sizes. The `--starting-resolution` option indicates that the
base ... | 2 |
diff --git a/screenshot.html b/screenshot.html } else {
return await _renderDefaultCanvas();
}
+ } else if (['png', 'jpg', 'gif'].includes(ext)) {
+ const img = await new Promise((accept, reject) => {
+ const img = new Image();
+ img.onload = () => {
+ accept(img);
+ };
+ img.onerror = reject;
+ img.src = url;
+ });
+ ... | 0 |
diff --git a/server.js b/server.js (function() {
var express = require('express');
var compression = require('compression');
+ var fs = require('fs');
var url = require('url');
var request = require('request');
+ var gzipHeader = Buffer.from("1F8B08", "hex");
+
var yargs = require('yargs').options({
'port' : {
'default... | 11 |
diff --git a/src/components/dashboard/FaceVerification/api/FaceVerificationApi.js b/src/components/dashboard/FaceVerification/api/FaceVerificationApi.js @@ -157,7 +157,7 @@ class FaceVerificationApi {
const { success, error } = response || {}
- if (!success) {
+ if (false === success) {
// non - success - throwing an e... | 0 |
diff --git a/tests/e2e/plugins/module-setup-tagmanager.php b/tests/e2e/plugins/module-setup-tagmanager.php @@ -116,7 +116,6 @@ add_action(
'methods' => 'GET',
'callback' => function ( $request ) use ( $accounts, $containers ) {
$account_id = $request['accountID'] ?: $accounts[0]['accountId'];
- $containers = filter_by_... | 2 |
diff --git a/docs/source/docs/examples/cards.blade.md b/docs/source/docs/examples/cards.blade.md @@ -19,46 +19,46 @@ title: "Cards"
</div>
</div>
-## Classic card example
+## Stacked
@component('_partials.code-sample', ['class' => 'p-10 flex justify-center'])
<div class="max-w-sm rounded overflow-hidden shadow-lg">
<im... | 14 |
diff --git a/articles/rules/current/context.md b/articles/rules/current/context.md @@ -13,9 +13,6 @@ The following properties are available for the `context` object:
* `connection`: the name of the connection used to authenticate the user (e.g.: `twitter` or `some-google-apps-domain`)
* `connectionStrategy`: the type o... | 2 |
diff --git a/src/lib/API/api.js b/src/lib/API/api.js @@ -87,6 +87,14 @@ class API {
return this.client.post('/verify/topwallet')
}
+ sendVerificationEmail(user: UserRecord): Promise<$AxiosXHR<any>> {
+ return this.client.post('/verify/sendemail', { user })
+ }
+
+ verifyEmail(verificationData: { code: string }): Promis... | 0 |
diff --git a/.circleci/config.yml b/.circleci/config.yml @@ -35,10 +35,6 @@ references:
command: |
yarn ganache > /dev/null &
yarn test
- - run:
- name: Slither run
- command: |
- ./scripts/slither.sh
- save_cache:
paths:
- node_modules
| 2 |
diff --git a/src/components/Privacy/createComponent.js b/src/components/Privacy/createComponent.js @@ -49,19 +49,6 @@ export default ({
.addTask(() => sendSetConsentRequest(value))
.catch(error => {
readCookieIfQueueEmpty();
- // This check re-writes the error message from Konductor to be more clear.
- // We could chec... | 2 |
diff --git a/app/components/cru-secret/template.hbs b/app/components/cru-secret/template.hbs }}
{{/if}}
-{{optionally-namespaced isClone=isClone namespaceErrors=namespaceErrors scope=scope mode=mode namespace=namespace model=model}}
+{{optionally-namespaced namespaceErrors=namespaceErrors scope=scope mode=mode namespac... | 11 |
diff --git a/lib/devices.js b/lib/devices.js @@ -1722,6 +1722,16 @@ const devices = [
states.occupancy, states.no_motion, states.voltage, states.battery,
],
},
+ //iCasa
+ {
+ vendor: 'iCasa',
+ models: ['ICZB-FC'],
+ icon: 'img/philips_hue_lwv001.png',
+ states: lightStatesWithColortemp,
+ linkedStates: [comb.brightne... | 3 |
diff --git a/packages/insomnia-app/package.json b/packages/insomnia-app/package.json "build": "node ./scripts/build.js",
"package": "node ./scripts/package.js",
"release": "node ./scripts/release.js",
- "bootstrap": "rimraf node_modules/fsevents && rimraf node_modules/graphql-language-service-interface/dist/*.flow && e... | 2 |
diff --git a/README.md b/README.md You can [catch me on twitter](http://twitter.com/MrRio): [@MrRio](http://twitter.com/MrRio) or head over to [my company's website](http://parall.ax) for consultancy.
-## [Live Demo](http://rawgit.com/MrRio/jsPDF/master/) | [Documentation](http://rawgit.com/MrRio/jsPDF/master/docs/)
+#... | 14 |
diff --git a/src/utils.js b/src/utils.js @@ -41,6 +41,28 @@ export function loadNamespaces(i18n, ns, cb) {
}
export function hasLoadedNamespace(ns, i18n, options = {}) {
+ /*
+
+ IN I18NEXT > v19.4.5 WE CAN (INTRODUCED JUNE 2020)
+
+ return i18n.hasLoadedNamespace(ns, {
+ precheck: (i18nInstance, loadNotPending) => {
+... | 6 |
diff --git a/src/server/models/attachment.js b/src/server/models/attachment.js @@ -83,7 +83,7 @@ module.exports = function(crowi) {
throw new Error('url is required.');
}
this.externalUrlCached = externalUrl;
- this.externalUrlExpiredAt = addSeconds(new Date(), 120);
+ this.externalUrlExpiredAt = addSeconds(new Date(),... | 4 |
diff --git a/storybook-utilities/icon-utilities/icon-loader.js b/storybook-utilities/icon-utilities/icon-loader.js const request = new XMLHttpRequest();
request.open('GET', 'https://spark-assets.netlify.app/spark-icons.svg');
request.send();
-request.onload = () => {
+// eslint-disable-next-line func-names
+request.onl... | 3 |
diff --git a/src/pages/Trading/Trading.container.js b/src/pages/Trading/Trading.container.js @@ -11,6 +11,7 @@ const mapStateToProps = (state = {}) => ({
layouts: getLayouts(state),
activeMarket: getActiveMarket(state),
exID: getActiveExchange(state),
+ firstLogin: state.ui.firstLogin,
})
const mapDispatchToProps = dis... | 3 |
diff --git a/aa_composer.js b/aa_composer.js @@ -226,6 +226,8 @@ function handleTrigger(conn, batch, fPrepare, trigger, stateVars, arrDefinition,
var storage_size;
var objStateUpdate;
var count = 0;
+ if (bSecondary)
+ updateOriginalOldValues();
// add the coins received in the trigger
function updateInitialAABalances(... | 12 |
diff --git a/js/colorScales.js b/js/colorScales.js @@ -79,8 +79,8 @@ function minHueRange(h0, h1) {
// Since we're doing pixel math, can we just compute the colors on-the-fly, instead
// of using a table?
-var maxHues = 20;
-var maxSaturations = 10;
+var maxHues = 10;
+var maxSaturations = 30;
function scaleTrendAmplit... | 4 |
diff --git a/token-metadata/0x2F141Ce366a2462f02cEA3D12CF93E4DCa49e4Fd/metadata.json b/token-metadata/0x2F141Ce366a2462f02cEA3D12CF93E4DCa49e4Fd/metadata.json "symbol": "FREE",
"address": "0x2F141Ce366a2462f02cEA3D12CF93E4DCa49e4Fd",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/components/App.js b/components/App.js @@ -1220,7 +1220,7 @@ class App extends Component {
}, setting.get('gamechooser.show_delay'))
}
- this.window.setProgressBar(0)
+ this.window.setProgressBar(-1)
callback(error)
if (!error) this.events.emit('fileLoad')
| 2 |
diff --git a/src/commands/Settings/Start.js b/src/commands/Settings/Start.js @@ -12,7 +12,7 @@ class Untrack extends Command {
}
run(message) {
- this.messageManager.reply(message, 'That\'s so 2016, Operator, in 2017, Cephalon Genesis uses `/track` and that\'s all.\nCheck out <https://wfcd.github.io/genesis> for docume... | 3 |
diff --git a/tabulator.js b/tabulator.js }
}
+ //build right column freeze list if entire table isnt frozen
+ if(self.columnFrozenLeft.length != self.columnList.length){
freezeCont = true;
//build right column freeze list
freezeCont = false;
}
}
+ }
| 9 |
diff --git a/src/intrinsics/Promise.mjs b/src/intrinsics/Promise.mjs @@ -139,9 +139,6 @@ function PerformPromiseAll(iteratorRecord, constructor, resultCapability) {
function Promise_all([iterable = Value.undefined], { thisValue }) {
const C = thisValue;
- if (Type(C) !== 'Object') {
- return surroundingAgent.Throw('Typ... | 2 |
diff --git a/packages/bitcore-client/bin/wallet-balance b/packages/bitcore-client/bin/wallet-balance const program = require('../lib/program');
const Wallet = require('../lib/wallet');
+try {
program
.version(require('../package.json').version)
.option('--name <name>', 'REQUIRED - Wallet name')
.option('--path [path]',... | 7 |
diff --git a/packages/web/src/components/basic/ReactiveBase.js b/packages/web/src/components/basic/ReactiveBase.js @@ -46,7 +46,13 @@ class ReactiveBase extends Component {
}
componentDidCatch() {
- console.error(`An error has occured. You're using Reactivesearch Version: ${process.env.VERSION || require('../../../pack... | 3 |
diff --git a/bin/configure-fastly.js b/bin/configure-fastly.js @@ -95,7 +95,7 @@ async.auto({
async.forEachOf(routes, function (route, id, cb2) {
var condition = {
name: fastlyConfig.getConditionNameForRoute(route, 'request'),
- statement: 'req.url ~ "' + route.pattern + '"',
+ statement: 'req.url.path ~ "' + route.pat... | 8 |
diff --git a/src/gml/type/GmlTypeParser.hx b/src/gml/type/GmlTypeParser.hx @@ -290,6 +290,17 @@ class GmlTypeParser {
typeStr += ">";
depth -= 1;
if (depth <= 0) break;
+ case KShr:
+ if (depth == 1) {
+ reader.pos--;
+ typeStr += ">";
+ depth = 0;
+ break;
+ } else {
+ typeStr += ">>";
+ depth -= 2;
+ if (depth <= 0) ... | 1 |
diff --git a/client/src/components/layouts/LayoutCorners/cardSwitcher.scss b/client/src/components/layouts/LayoutCorners/cardSwitcher.scss .card-icon-item {
.card-button-background,
.btn {
- left: 5px;
+ left: 1.3vw;
}
.card-button-mask {
width: auto;
| 1 |
diff --git a/userscript.user.js b/userscript.user.js @@ -5653,9 +5653,14 @@ var $$IMU_EXPORT$$;
// http://image.news1.kr/system/thumbnails/photos/2018/2/19/2973418/thumb_336x230.jpg
// http://image.news1.kr/system/photos/2018/2/19/2973418/original.jpg
// http://image.news1.kr/system/photos/2014/8/22/985836/main_thumb.j... | 7 |
diff --git a/generators/common/templates/sonar-project.properties.ejs b/generators/common/templates/sonar-project.properties.ejs @@ -12,14 +12,14 @@ sonar.java.codeCoveragePlugin=jacoco
sonar.junit.reportPaths=target/test-results/test,target/test-results/integrationTest
<%_ } _%>
<%_ if (!skipClient) { _%>
-sonar.testE... | 7 |
diff --git a/articles/rules/current/index.md b/articles/rules/current/index.md @@ -261,14 +261,12 @@ function(user, context, callback) {
This Rule will require that you have a `configuration` value set for the key `SLACK_HOOK`. At the [Rules](${manage_url}/#/rules/) page in the Dashboard, scroll down beneath your list ... | 2 |
diff --git a/src/components/LayoutColumn.js b/src/components/LayoutColumn.js @@ -3,7 +3,7 @@ import React from "react";
import type { Node } from "react";
import { StyleSheet, View } from "react-native";
-type Props = { spacing: number, children: Array<Node> };
+type Props = { spacing: number, children: Node };
const L... | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.