code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/lib/client.js b/lib/client.js @@ -50,13 +50,15 @@ class Client {
res.end();
}
- error(status, err) {
+ error(status, err, callId = err) {
const { req: { url }, res, connection } = this;
const reason = http.STATUS_CODES[status];
+ if (typeof err === 'number') err = undefined;
const error = err ? err.stack :... | 7 |
diff --git a/lib/carto/dbdirect/certificate_manager.rb b/lib/carto/dbdirect/certificate_manager.rb @@ -44,10 +44,11 @@ module Carto
key = OpenSSL::PKey::RSA.new 2048
if passphrase.present?
cipher = OpenSSL::Cipher.new 'AES-128-CBC'
- key = key.export cipher, passphrase
- end
+ key.export cipher, passphrase
+ else
key.t... | 1 |
diff --git a/CHANGELOG.md b/CHANGELOG.md @@ -10,6 +10,12 @@ https://github.com/plotly/plotly.js/compare/vX.Y.Z...master
where X.Y.Z is the semver of most recent plotly.js release.
+## [1.47.1] -- 2019-04-10
+
+### Fixed
+- Fix console errors during selections (bug introduced in 1.47.0) [#3755]
+
+
## [1.47.0] -- 2019-0... | 3 |
diff --git a/scenes/treehouse.scn b/scenes/treehouse.scn "start_url": "https://webaverse.github.io/silkworm/",
"dynamic": true
},
- {
- "position": [
- 2,
- 1,
- 0
- ],
- "quaternion": [
- 0,
- 0,
- 0,
- 1
- ],
- "physics": false,
- "start_url": "https://webaverse.github.io/damage-mesh/",
- "dynamic": true
- },
{
"posi... | 2 |
diff --git a/packages/vue/docs/design/sizes.md b/packages/vue/docs/design/sizes.md @@ -6,7 +6,7 @@ Below is the list of our standard sizes used for typography and its correspondin
<SfDocsSizes/>
-These sizes are defined [here](https://github.com/DivanteLtd/storefront-ui/blob/develop/packages/shared/styles/variables/css... | 1 |
diff --git a/articles/tutorials/redirecting-users.md b/articles/tutorials/redirecting-users.md ---
description: How to handle returning users after authentication.
---
-
# Redirect Users After Login
-To make your login process as easy-to-use and seamless as possible, you'll need provide Auth0 with explicit information ... | 2 |
diff --git a/package.json b/package.json "i18n-js": "^3.0.0"
},
"devDependencies": {
- "@sambego/storybook-state": "^1.3.2",
+ "@sambego/storybook-state": "^1.3.4",
"@storybook/addon-a11y": "^5.1.8",
"@storybook/addon-actions": "^5.1.8",
"@storybook/addon-info": "^5.1.8",
| 13 |
diff --git a/components/Discussion/enhancers.js b/components/Discussion/enhancers.js @@ -27,8 +27,9 @@ const emptyPageInfo = () => ({
endCursor: null
})
-const emptyCommentConnection = () => ({
+const emptyCommentConnection = comment => ({
__typename: 'CommentConnection',
+ id: comment.id,
totalCount: 0,
nodes: [],
pag... | 4 |
diff --git a/package.json b/package.json "test:e2e:interactive": "npm run test:e2e -- --puppeteer-interactive",
"test:e2e:watch": "npm run test:e2e -- --watch",
"test:e2e:watch:interactive": "npm run test:e2e -- --watch --puppeteer-interactive",
- "storybook": "start-storybook -s ./dist -p 9001 -c .storybook --no-versi... | 2 |
diff --git a/src/components/fx/hover.js b/src/components/fx/hover.js @@ -1165,7 +1165,7 @@ function createHoverText(hoverData, opts, gd) {
}
ly += HOVERTEXTPAD;
- legendContainer.attr('transform', strTranslate(lx, ly));
+ legendContainer.attr('transform', strTranslate(lx - 1, ly - 1));
return legendContainer;
}
| 5 |
diff --git a/package.json b/package.json "chalk": "1.1.3",
"chokidar": "1.6.0",
"cross-spawn": "4.0.0",
- "elm-doc-test": "1.2.0",
+ "elm-doc-test": "2.1.0",
"firstline": "^1.2.0",
"fs-extra": "0.30.0",
"lodash": "4.13.1",
| 3 |
diff --git a/packages/cli/src/models/files/ZosNetworkFile.js b/packages/cli/src/models/files/ZosNetworkFile.js @@ -217,14 +217,15 @@ export default class ZosNetworkFile {
delete this.data.contracts[alias]
}
+ unsetContract(alias) {
+ delete this.data.contracts[alias];
+ }
+
setProxies(packageName, alias, value) {
const... | 0 |
diff --git a/lib/windshaft/backends/map_validator.js b/lib/windshaft/backends/map_validator.js @@ -35,7 +35,10 @@ MapValidatorBackend.prototype.validate = function(mapConfigProvider, callback) {
}
if (mapConfig.hasIncompatibleLayers()) {
- return callback(new Error(INCOMPATIBLE_LAYERS_ERROR));
+ const error = new Error... | 7 |
diff --git a/src/content/developers/docs/frameworks/index.md b/src/content/developers/docs/frameworks/index.md @@ -51,11 +51,11 @@ Before diving into frameworks, we recommend you first read through our introduct
- [Documentation](https://embark.status.im/docs/)
- [GitHub](https://github.com/embark-framework/embark)
-**... | 14 |
diff --git a/README.md b/README.md 
-
+___
Learn JavaScript fundamentals through fun and challenging quizzes!
View the app online here: [https://quiz.typeofnan.dev](https://quiz.typeofnan.dev)
-# How to run the app locally
+# :rocket: How... | 0 |
diff --git a/src/dom_components/config/config.js b/src/dom_components/config/config.js @@ -37,7 +37,7 @@ module.exports = {
// structure, but in case you need it you can use this option.
// If you have `config.avoidInlineStyle` disabled the wrapper will be stored
// as we need to store inlined style.
- storeWrapper: 1,... | 12 |
diff --git a/packages/idyll-cli/test/basic-project/test.js b/packages/idyll-cli/test/basic-project/test.js @@ -141,16 +141,24 @@ test('should include components configured in package.json', () => {
expect(Object.keys(output.components)).toContain('package-json-component-test');
})
-// This tests for just the *default* ... | 3 |
diff --git a/src/webroutes/getFullReport.js b/src/webroutes/getFullReport.js @@ -16,14 +16,14 @@ const context = 'WebServer:getFullReport';
module.exports = async function action(res, req) {
let timeStart = new Date();
let out = '';
-
+ let cpus;
try {
let giga = 1024 * 1024 * 1024;
let memFree = (os.freemem() / giga).... | 4 |
diff --git a/source/Renderer/shaders/pbr.frag b/source/Renderer/shaders/pbr.frag @@ -206,7 +206,7 @@ MaterialInfo getSpecularGlossinessInfo(MaterialInfo info)
return info;
}
-MaterialInfo getMetallicRoughnessInfo(MaterialInfo info, float f0_ior)
+MaterialInfo getMetallicRoughnessInfo(MaterialInfo info)
{
info.metallic ... | 2 |
diff --git a/packages/mjml-group/src/index.js b/packages/mjml-group/src/index.js @@ -158,7 +158,18 @@ export default class MjGroup extends BodyComponent {
})}
>
<!--[if mso | IE]>
- <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+ <table
+ ${this.htmlAttributes({
+ bgcolor:
+ this.getAttribute('... | 12 |
diff --git a/src/nitrogen.erl b/src/nitrogen.erl @@ -93,6 +93,8 @@ ws_info({comet_actions, Actions} , _Bridge, _State) ->
wf:wire(page, page, Actions),
Return = wf_core:run_websocket_comet(),
{reply, {text, [<<"nitrogen_system_event:">>, Return]}};
+ws_info({'EXIT', _Pid, normal}, _Bridge, _State) ->
+ noreply;
ws_info... | 9 |
diff --git a/src/runtime/components/legacy/defineWidget-legacy-browser.js b/src/runtime/components/legacy/defineWidget-legacy-browser.js @@ -42,7 +42,12 @@ module.exports = function defineWidget(def, renderer) {
if (!proto.___isComponent) {
// Inherit from Component if they didn't already
- inherit(ComponentClass, Base... | 4 |
diff --git a/src/journeys_utils.js b/src/journeys_utils.js @@ -14,6 +14,7 @@ journeys_utils.bannerHeight = '76px';
journeys_utils.isFullPage = false;
journeys_utils.isHalfPage = false;
journeys_utils.divToInjectParents = [];
+journeys_utils.isSafeAreaEnabled = false;
// used to set height of full page interstitials
jou... | 2 |
diff --git a/README.md b/README.md @@ -92,6 +92,9 @@ See the [Contribution](https://github.com/r-spacex/SpaceX-API/blob/master/CONTRI
```bash
docker pull jakewmeyer/spacex-api
```
+* Deploy on your own Heroku app below
+
+[](https://heroku.com/deploy)
## FAQ's
* If ... | 3 |
diff --git a/app/models/carto/user_migration_import.rb b/app/models/carto/user_migration_import.rb @@ -153,6 +153,7 @@ module Carto
service.import_metadata_from_directory(imported, package.meta_dir)
end
rescue => e
+ org_import? ? self.organization = nil : self.user = nil
log.append('=== Error importing visualizations ... | 12 |
diff --git a/.eslintrc.json b/.eslintrc.json "prettier/prettier": 2,
"ava/no-ignored-test-files": 0,
"ava/no-import-test-files": 0,
- "import/no-unresolved": 2,
+ "import/no-unresolved": [2, { "ignore": ["ava", "got"] }],
"import/no-unused-modules": 2,
"import/order": [2, { "newlines-between": "never" }]
}
| 8 |
diff --git a/src/components/appNavigation/AppNavigation.js b/src/components/appNavigation/AppNavigation.js @@ -59,20 +59,20 @@ const AppNavigator = createSwitchNavigator(routes, { initialRouteName })
* Dashboard is the initial route
*/
class AppNavigation extends React.Component<AppNavigationProps, AppNavigationState> ... | 2 |
diff --git a/config/redirects.js b/config/redirects.js @@ -567,10 +567,6 @@ module.exports = [
from: '/login-widget',
to: '/libraries/login-widget'
},
- {
- from: '/login-widget2',
- to: '/libraries/login-widget2'
- },
{
from: ['/okta', '/saml/identity-providers/okta'],
to: '/protocols/saml/identity-providers/okta'
| 2 |
diff --git a/index.html b/index.html if (options.publicBrowser) {
$("#editionLabel").html(release.name);
$("#versionLabel").html(release.latestVersion.version);
- initVersionsDropdown(release);
+ initVersionsDropdown(release.shortName);
} else {
$("#editionLabel").html(release.name + " " + release.latestVersion.version... | 1 |
diff --git a/generate.js b/generate.js @@ -171,7 +171,7 @@ for(var l in languages){
${langLessons.map((x,i)=> {
let s = `<li><a href="${getFileName(lang,i,false,x.chapter)}">${x[lang]["title"]}</a></li>`;
if(x.chapter != undefined){
- s = `</ul><h3>${getWord(words,lang,"chapter")} ${x.chapter}</h3><ul>` + s;
+ s = `</u... | 7 |
diff --git a/aleph/analyze/analyzer.py b/aleph/analyze/analyzer.py import logging
-from flask import _request_ctx_stack
from aleph import settings
-from aleph.core import celery
+from aleph.core import celery, db
from aleph.model import DocumentTagCollector
from alephclient.services.common_pb2 import Text
@@ -43,6 +42,... | 12 |
diff --git a/views/shoppinglist.blade.php b/views/shoppinglist.blade.php <i class="fas fa-cart-plus"></i> {{ $L('Add products that are below defined min. stock amount') }}
</a>
</h1>
+ <p class="btn btn-lg btn-info no-real-button responsive-button">{{ Pluralize(count($missingProducts), $L('#1 product is below defined m... | 4 |
diff --git a/guide/additional-info/async-await.md b/guide/additional-info/async-await.md @@ -40,11 +40,11 @@ In this scenario, the `deleteMessages` function returns a Promise. The `.then()`
## How to implement async/await
### Theory
-The following information is important to know before starting working with async/awai... | 9 |
diff --git a/src/module/config.js b/src/module/config.js @@ -1561,7 +1561,10 @@ SFRPG.itemTypes = {
"technological": "SFRPG.Items.Categories.TechnologicalItems",
"theme": "SFRPG.Items.Categories.Themes",
"upgrade": "SFRPG.Items.Categories.ArmorUpgrades",
- "weapon": "SFRPG.Items.Categories.Weapons"
+ "weapon": "SFRPG.I... | 0 |
diff --git a/lib/glucose-get-last.js b/lib/glucose-get-last.js @@ -8,7 +8,9 @@ var getLastGlucose = function (data) {
}).map(function prepGlucose (obj) {
//Support the NS sgv field to avoid having to convert in a custom way
obj.glucose = obj.glucose || obj.sgv;
+ if ( obj.glucose !== null ) {
return obj;
+ }
});
var no... | 8 |
diff --git a/src/lib/gl_format_color.js b/src/lib/gl_format_color.js @@ -25,7 +25,7 @@ function calculateColor(colorIn, opacityIn) {
}
function validateColor(colorIn) {
- return rgba(colorIn) || colorDfltRgba;
+ return isNumeric(colorIn) ? colorDfltRgba : (rgba(colorIn) || colorDfltRgba);
}
function validateOpacity(opa... | 8 |
diff --git a/client/main.client.js b/client/main.client.js @@ -84,16 +84,17 @@ Meteor.startup(() => {
});
window.onbeforeunload = function (e) {
+ let event = e || window.event;
+
if(Meteor.status().connected) {
- e.cancel();
+ event.cancel();
}
- const message = "Do you really want to leave 4Minitz?",
- e = e || windo... | 7 |
diff --git a/plugins/gameobjects/containerlite/ContainerLite.d.ts b/plugins/gameobjects/containerlite/ContainerLite.d.ts @@ -41,6 +41,12 @@ export default class ContainerLite extends Phaser.GameObjects.Zone {
y: number
): this;
+ setChildLocalPosition(
+ child: Phaser.GameObjects.GameObject,
+ x: number,
+ y: number
+ ... | 7 |
diff --git a/src/lib/realmdb/feedSource/NewsSource.js b/src/lib/realmdb/feedSource/NewsSource.js @@ -73,6 +73,7 @@ export default class NewsSource extends FeedSource {
log.debug('Ceramic fetched posts', { ceramicPosts, formatedCeramicPosts })
+ await Feed.find({ type: 'news' }).delete()
await Feed.save(...formatedCeram... | 0 |
diff --git a/src/screens/transfer/screen/transferScreen.js b/src/screens/transfer/screen/transferScreen.js -import React, { Fragment, Component, useState, useRef, useEffect } from 'react';
+import React, { Fragment, useState, useRef } from 'react';
import { Text, View, ScrollView, TouchableOpacity } from 'react-native'... | 14 |
diff --git a/server/game/cards/04.5-AaN/GameOfSadane.js b/server/game/cards/04.5-AaN/GameOfSadane.js @@ -27,8 +27,13 @@ class GameOfSadane extends DrawCard {
}
duelOutcome(context, winner, loser) {
+ if(winner && loser) {
this.game.addMessage('{0} wins the duel and is honored - {1} loses and is dishonored', winner, los... | 9 |
diff --git a/src/shared/util.js b/src/shared/util.js @@ -1483,6 +1483,7 @@ MessageHandler.prototype = {
if (this.isCancelled) {
return;
}
+ this.isCancelled = true;
sendStreamRequest({ stream: 'close', });
delete self.streamSinks[streamId];
},
| 12 |
diff --git a/lib/node_modules/@stdlib/_tools/scripts/publish_packages.js b/lib/node_modules/@stdlib/_tools/scripts/publish_packages.js @@ -39,6 +39,7 @@ var writeFileSync = require( '@stdlib/fs/write-file' ).sync;
var readFileSync = require( '@stdlib/fs/read-file' ).sync;
var readJSON = require( '@stdlib/fs/read-json' ... | 9 |
diff --git a/token-metadata/0x21D5A14e625d767Ce6b7A167491C2d18e0785fDa/metadata.json b/token-metadata/0x21D5A14e625d767Ce6b7A167491C2d18e0785fDa/metadata.json "symbol": "JNB",
"address": "0x21D5A14e625d767Ce6b7A167491C2d18e0785fDa",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/app/src/scripts/dataset/tools/index.js b/app/src/scripts/dataset/tools/index.js @@ -34,7 +34,8 @@ class Tools extends React.Component {
isIncomplete = !!dataset.status.incomplete,
isInvalid = !!dataset.status.invalid,
isSnapshot = !!dataset.original,
- isSuperuser = window.localStorage.scitran
+ isSuperuse... | 1 |
diff --git a/src/scripts/markdown-checker.js b/src/scripts/markdown-checker.js @@ -79,23 +79,23 @@ function processFrontmatter(path, lang) {
const frontmatter = matter(file).data
if (!frontmatter.title) {
- console.warn(`Missing 'title' frontmatter at ${path}.`)
+ console.warn(`Missing 'title' frontmatter at ${path}:`)... | 14 |
diff --git a/doc/api/app.json b/doc/api/app.json "description": "Fired when the app becomes invisible. Either because another app is in the foreground or the user has returned to the home screen."
},
"terminate": {
- "description": "Fired when the app is being destroyed. After this callback no more interaction with the... | 7 |
diff --git a/lib/node_modules/@stdlib/stats/anova1/README.md b/lib/node_modules/@stdlib/stats/anova1/README.md @@ -148,7 +148,7 @@ table = out.print();
## Notes
-- The calculation for the p value is based on an F distribution as indicated on [this website][penn-state].
+- The calculation for the p value is based on [an... | 14 |
diff --git a/_data/conferences.yml b/_data/conferences.yml place: Toronto, Canada
sub: ML
-- title: IJCAI-PRICAI
- hindex: 67
- year: 2020
- id: ijcai-pricai20
- link: https://www.ijcai20.org/
- deadline: '2020-01-21 23:59:59'
- abstract_deadline: '2020-01-15 23:59:59'
- timezone: UTC-12
- date: July 11-17, 2020
- plac... | 2 |
diff --git a/src/components/Table/Table-story.js b/src/components/Table/Table-story.js @@ -336,7 +336,7 @@ class StatefulTableWrapper extends Component {
? state.view.table.selectedIds.concat([id])
: state.view.table.selectedIds.filter(i => i !== id),
},
- isSelectIndeterminate: {
+ isSelectAllIndeterminate: {
$set: !(... | 1 |
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml -blank_issues_enabled: false
+blank_issues_enabled: true
contact_links:
- name: Have any issues to discuss regarding CircuitVerse?
url: https://join.slack.com/t/circuitverse-team/shared_invite/enQtNjc4MzcyNDE5OTA3LTdjYTM5NjFiZWZlZGI2MmU1... | 11 |
diff --git a/edit.js b/edit.js @@ -11,8 +11,7 @@ import {XRPackage, pe, renderer, scene, camera, parcelMaterial, floorMesh, proxy
import {downloadFile, readFile, bindUploadFileButton} from 'https://static.xrpackage.org/xrpackage/util.js';
// import {wireframeMaterial, getWireframeMesh, meshIdToArray, decorateRaycastMes... | 0 |
diff --git a/src/views/component.njk b/src/views/component.njk {% if not isReadme %}
{% from "breadcrumb/macro.njk" import govukBreadcrumb %}
-{{ govukBreadcrumb(
- classes='',
- [
+
+{{ govukBreadcrumb({
+ "items": [
{ title: 'GOV.UK Frontend', url: '/' },
{ title: componentName | replace("-", " ") | capitalize }
]
-)... | 14 |
diff --git a/src/components/app/App.jsx b/src/components/app/App.jsx @@ -92,33 +92,6 @@ export const App = () => {
};
- const handleShortKeyPress = ( event ) => {
-
- const key = event.detail.key;
-
- switch ( key ) {
-
- case 'z':
-
- if ( AppUIStateManager.state.settings ) break;
- AppUIStateManager.dispatchEvent( ne... | 2 |
diff --git a/README.md b/README.md # CyberChef
[](https://travis-ci.org/gchq/CyberChef)
-[](https://www.npmjs.com/package/cyberchef)
-
options(warn=1)
wd <- dirname(rstudioapi::getActiveDocumentContext()$path)
-
setwd(wd) #Don't forget to set your working directory
query <- "marketing" #args[2]
@@ -... | 3 |
diff --git a/configs/ueberdosis_tiptap.json b/configs/ueberdosis_tiptap.json "lvl4": ".app__main h4",
"lvl5": ".app__main h5",
"lvl6": ".app__main h6",
- "text": ".app__main p, .app__main li"
+ "text": ".app__main p, .app__main li, .app__main pre, .app__main td"
},
"strip_chars": " .,;:#",
"conversation_id": [
| 7 |
diff --git a/src/scripts/admin-add.js b/src/scripts/admin-add.js @@ -104,20 +104,34 @@ async function askForYN(question, defaultAnswer, persist){
}
//Ask question and get response
-async function askForString(question, minLength, persist){
+async function askForString(question, minLength, persist, regex){
//Sanity chec... | 0 |
diff --git a/test/__snapshots__/Modal.spec.js.snap b/test/__snapshots__/Modal.spec.js.snap // Jest Snapshot v1, https://goo.gl/fbAQLP
-exports[`<Modal /> renders a modal has children 1`] = `
+exports[`<Modal /> controlled modal with \`open\` prop mounts opened 1`] = `
<Modal
actions={
Array [
@@ -8,7 +8,7 @@ exports[`<... | 13 |
diff --git a/guide/english/python/commenting-code/index.md b/guide/english/python/commenting-code/index.md ---
title: Python Commenting Code
---
+
Comments are used to annotate, describe, or explain code that is complex or difficult to understand. Python will intentionally ignore comments when it compiles to bytecode b... | 7 |
diff --git a/OpenRobertaParent/OpenRobertaServer/src/test/java/de/fhg/iais/roberta/searchMsg/SearchMsgOccurrencesTest.java b/OpenRobertaParent/OpenRobertaServer/src/test/java/de/fhg/iais/roberta/searchMsg/SearchMsgOccurrencesTest.java @@ -3,14 +3,15 @@ package de.fhg.iais.roberta.searchMsg;
import java.io.File;
import ... | 8 |
diff --git a/tests/mobileNav.tests.js b/tests/mobileNav.tests.js /* global describe it document before */
import { expect } from 'chai';
-import { hideMobileNav, focusTrap } from '../src/assets/drizzle/scripts/navigation/mobileNav';
+import {
+ hideMobileNav,
+ focusTrap,
+ mobileNav,
+} from '../src/assets/drizzle/scr... | 3 |
diff --git a/src/gml/type/GmlTypeCanCastTo.hx b/src/gml/type/GmlTypeCanCastTo.hx @@ -79,6 +79,9 @@ class GmlTypeCanCastTo {
}
case [_, TEither(et2)]: return canCastToAnyOf(from, et2, tpl, imp);
case [TInst(n1, p1, k1), TInst(n2, p2, k2)]: {
+ // allow function->script casts
+ if (k1 == KFunction && n2 == "script") retu... | 11 |
diff --git a/lib/form/revision.js b/lib/form/revision.js @@ -5,7 +5,10 @@ var form = require('express-form')
module.exports = form(
field('pageForm.path').required(),
- field('pageForm.body').required().custom(function(value) { return value.replace(/\r/g, '\n') }),
+ field('pageForm.body').required().custom(function(va... | 14 |
diff --git a/packages/idyll-document/src/index.js b/packages/idyll-document/src/index.js -
import React from 'react';
import Runtime from './runtime';
import compile from 'idyll-compiler';
-import UserViewPlaceholder from './components/user-view-placeholder';
-export const hashCode = (str) => {
- var hash = 0, i, chr;
... | 2 |
diff --git a/src/automod/SafeSearch.js b/src/automod/SafeSearch.js @@ -43,7 +43,7 @@ export default class SafeSearch {
*/
async detect(message) {
/** @type {import('discord.js').Collection<string, import('discord.js').Attachment>} */
- const images = message.attachments.filter(attachment => attachment.contentType.start... | 8 |
diff --git a/src/apps.json b/src/apps.json "AngularDart"
],
"icon": "AngularJS.svg",
+ "html": [
+ "<(?:div|html)[^>]+ng-app=",
+ "<ng-app"
+ ],
"js": {
"angular": "",
"angular.version.full": "(.*)\\;version:\\1"
| 7 |
diff --git a/assets/js/modules/adsense/components/setup/v2/SetupUseSnippetSwitch.js b/assets/js/modules/adsense/components/setup/v2/SetupUseSnippetSwitch.js @@ -46,12 +46,10 @@ export default function SetupUseSnippetSwitch() {
const hasExistingTag = Boolean( existingTag );
useEffect( () => {
- ( async function () {
if ... | 2 |
diff --git a/src/components/Alert.js b/src/components/Alert.js @@ -6,14 +6,14 @@ class Alert extends React.Component {
constructor(props) {
super(props);
- this.onDismiss = this.onDismiss.bind(this);
+ this.dismiss = this.dismiss.bind(this);
this.state = {
alertOpen: props.is_open
};
}
- onDismiss() {
+ dismiss() {
if ... | 11 |
diff --git a/services/ingest-file/ingestors/email/olm.py b/services/ingest-file/ingestors/email/olm.py @@ -55,6 +55,7 @@ class OutlookOLMArchiveIngestor(Ingestor, TempFileSupport, OPFParser):
if name in self.EXCLUDE:
continue
entity = self.manager.make_entity('Folder', parent=entity)
+ entity.add('fileName', name)
enti... | 12 |
diff --git a/src/pages/ReportDetailsPage.js b/src/pages/ReportDetailsPage.js @@ -5,7 +5,7 @@ import Str from 'expensify-common/lib/str';
import _ from 'underscore';
import {View, ScrollView} from 'react-native';
import lodashGet from 'lodash/get';
-import RoomHeaderAvatars from '../components/RoomHeaderAvatars';
+impor... | 13 |
diff --git a/src/components/AccountDropdown/AccountDropdown.js b/src/components/AccountDropdown/AccountDropdown.js @@ -77,7 +77,7 @@ class AccountDropdown extends Component {
onLogin = () => {
const keycloak = new Keycloak({
realm: "default",
- clientId: "account",
+ clientId: "reaction-next-starterkit-client",
url: "h... | 3 |
diff --git a/webpack.config.js b/webpack.config.js @@ -4,7 +4,6 @@ var webpack = require("webpack");
var ProvidePlugin = require('webpack').ProvidePlugin;
var path = require('path');
var ExtractTextPlugin = require('extract-text-webpack-plugin');
-var HtmlWebpackPlugin = require('html-webpack-plugin');
var CleanWebpack... | 2 |
diff --git a/elements/simple-fields/lib/simple-fields-field.js b/elements/simple-fields/lib/simple-fields-field.js @@ -681,7 +681,8 @@ const SimpleFieldsFieldBehaviors = function (SuperClass) {
? !!this.value
: this.type === "radio"
? this.value === (option || {}).value
- : (this.value || []).includes((option || {}).va... | 1 |
diff --git a/assets/js/googlesitekit/datastore/user/surveys.js b/assets/js/googlesitekit/datastore/user/surveys.js @@ -108,13 +108,8 @@ const baseActions = {
}
if ( ttl > 0 ) {
setTimeout( () => {
- function* generator() {
// With a positive ttl we cache an empty object to avoid calling fetchTriggerSurvey() again after... | 2 |
diff --git a/lib/waterline/methods/destroy.js b/lib/waterline/methods/destroy.js @@ -238,10 +238,16 @@ module.exports = function destroy(criteria, done, metaContainer) {
// The only tangible difference is that its criteria has a `select` clause so that
// records only contain the primary key field (by column name, of c... | 0 |
diff --git a/tools/make/common.mk b/tools/make/common.mk @@ -101,6 +101,9 @@ JAVASCRIPT_LINTER ?= eslint
# Define the code coverage instrumentation utility:
JAVASCRIPT_CODE_INSTRUMENTER ?= istanbul
+# Define the linter to use when linting TypeScript definition files:
+TYPESCRIPT_DEFINITION_LINTER ?= dtslint
+
# Define ... | 12 |
diff --git a/app/templates/account/billing/invoices/list.hbs b/app/templates/account/billing/invoices/list.hbs <div class="sixteen wide column">
- <Tables::Default
- @columns={{columns}}
- @rows={{model.eventInvoices.data}}
- @currentPage={{page}}
- @pageSize={{per_page}}
- @searchQuery={{search}}
- @sortBy={{sort_by}}... | 13 |
diff --git a/articles/api/management/v2/changes.md b/articles/api/management/v2/changes.md @@ -31,13 +31,13 @@ This document describes the major differences between Auth0's Management API v1
| [GET /api/users](/api/v1#!#get--api-users) | None. | [GET /api/v2/users](/api/v2#!/Users/get_users) |
| [GET /api/users?search=... | 7 |
diff --git a/webui/src/Visualization.elm b/webui/src/Visualization.elm @@ -200,7 +200,7 @@ spec model =
toVegaLite
[ des
, data []
- , bar []
+ , bar [ maColor "#2fa09d" ]
, columns columnCount
, enc [ ( "facet", Json.Encode.object [ ( "field", Json.Encode.string "category" ), ( "type", Json.Encode.string "ordinal" ) ]... | 12 |
diff --git a/ts-defs-src/runner-api/runner-api.d.ts b/ts-defs-src/runner-api/runner-api.d.ts @@ -335,6 +335,14 @@ interface RunOptions {
* Defines whether to disable page caching during test execution.
*/
disablePageCaching: boolean;
+ /**
+ * Specifies the timeout in milliseconds to complete the request for the page's... | 0 |
diff --git a/src/public/common/search/Search.js b/src/public/common/search/Search.js @@ -91,6 +91,7 @@ const customStyles = {
maxHeight: '500px',
}),
group: base => ({ ...base, padding: 0 }),
+ container: base => ({ ...base, minWidth: '450px' }),
};
class Search extends Component {
| 12 |
diff --git a/src/pages/iou/steps/IOUAmountPage.js b/src/pages/iou/steps/IOUAmountPage.js @@ -139,7 +139,7 @@ class IOUAmountPage extends React.Component {
* @returns {Boolean}
*/
validateAmount(amount) {
- const decimalNumberRegex = new RegExp(/^(?!0{2,})\d+(,\d+)*(\.\d{0,2})?$/, 'i');
+ const decimalNumberRegex = new ... | 13 |
diff --git a/assets/js/modules/subscribe-with-google/datastore/constants.js b/assets/js/modules/subscribe-with-google/datastore/constants.js export const STORE_NAME = 'modules/subscribe-with-google';
export { STORE_NAME as MODULES_SUBSCRIBE_WITH_GOOGLE };
-
-// Form ID for the module setup form.
-export const FORM_SETU... | 2 |
diff --git a/package.json b/package.json "grunt-contrib-copy": "1.0.0",
"grunt-shell": "3.0.1",
"grunt-wp-deploy": "2.0.0",
+ "jest-each": "24.8.0",
"lodash": "4.17.14",
"mini-css-extract-plugin": "0.7.0",
"moment": "2.24.0",
| 7 |
diff --git a/Source/Scene/Camera.js b/Source/Scene/Camera.js @@ -1506,7 +1506,14 @@ define([
*/
Camera.prototype.moveForward = function(amount) {
amount = defaultValue(amount, this.defaultMoveAmount);
+
+ if (this._scene.mapMode2D === MapMode2D.ROTATE) {
+ // 3D mode
this.move(this.direction, amount);
+ } else {
+ // 2... | 3 |
diff --git a/src/utils/dom.js b/src/utils/dom.js @@ -26,7 +26,9 @@ import {
append,
prepend,
next,
+ nextAll,
prev,
+ prevAll,
parent,
parents,
closest,
@@ -63,7 +65,9 @@ const Methods = {
append,
prepend,
next,
+ nextAll,
prev,
+ prevAll,
parent,
parents,
closest,
| 0 |
diff --git a/website/modules/examples/RouteConfig.js b/website/modules/examples/RouteConfig.js @@ -7,8 +7,6 @@ import { BrowserRouter as Router, Route, Link } from "react-router-dom";
////////////////////////////////////////////////////////////
// first our route components
-const Main = () => <h2>Main</h2>;
-
const Sa... | 2 |
diff --git a/README.md b/README.md @@ -14,7 +14,9 @@ PORT=3010
API_URL=http://localhost:3020/graphql
API_WS_URL=ws://localhost:3020/graphql
ASSETS_SERVER_BASE_URL=http://localhost:3021
-# production only
+
+# used for static folder assets and
+# in production as the next.js asset prefix
CDN_FRONTEND_BASE_URL=
```
| 7 |
diff --git a/src/technologies/p.json b/src/technologies/p.json 89
],
"cookies": {
- "pll_language": ""
+ "pll_language": "([a-z]{2})"
},
"description": "Polylang is a WordPress plugin which allows you to create multilingual WordPress site.",
"dom": {
"icon": "Polylang.svg",
"oss": true,
"requires": "WordPress",
+ "pric... | 7 |
diff --git a/src/pages/iou/IOUModal.js b/src/pages/iou/IOUModal.js @@ -311,13 +311,9 @@ class IOUModal extends Component {
createTransaction() {
const reportID = lodashGet(this.props, 'route.params.reportID', '');
- // We use hasSelectedMultipleParticipants instead of props.hasMultipleParticipants because the user can ... | 11 |
diff --git a/articles/support/index.md b/articles/support/index.md @@ -27,3 +27,28 @@ Auth0 offers the following support plans:
<td>For customers with an Enterprise subscription plan that have added the Preferred Support option.</td>
</tr>
</table>
+
+### No Support
+
+Customers with Auth0's free subscription plan can ... | 0 |
diff --git a/app/models/user.rb b/app/models/user.rb @@ -191,8 +191,6 @@ class User < Sequel::Model
errors.add(:org_admin, "cannot be set for non-organization user")
end
- validates_presence :job_role
-
errors.add(:geocoding_quota, "cannot be nil") if geocoding_quota.nil?
errors.add(:here_isolines_quota, "cannot be nil... | 2 |
diff --git a/src/index.js b/src/index.js @@ -754,10 +754,9 @@ class Offline {
debugLog('_____ RESPONSE PARAMETERS PROCCESSING _____');
debugLog(`Found ${responseParametersKeys.length} responseParameters for '${responseName}' response`);
- responseParametersKeys.forEach(key => {
-
// responseParameters use the following... | 4 |
diff --git a/src/components/Contributors.js b/src/components/Contributors.js @@ -45,16 +45,14 @@ const Contributors = () => {
return (
<Container>
- {contributorsList.map((contributor, idx) => {
- return (
+ {contributorsList.map((contributor, idx) => (
<ContributorCard
key={idx}
image={contributor.avatar_url}
to={cont... | 7 |
diff --git a/packages/yoroi-extension/app/components/wallet/send/WalletSendForm.js b/packages/yoroi-extension/app/components/wallet/send/WalletSendForm.js @@ -446,7 +446,7 @@ export default class WalletSendForm extends Component<Props> {
}).TokenId
}
renderValue={value => (
- <Box>{tokenOptions.filter(option => option.... | 9 |
diff --git a/source/datastore/record/Record.js b/source/datastore/record/Record.js @@ -44,9 +44,11 @@ const Record = Class({
this._noSync = false;
this._data = storeKey
? null
- : {
+ : store
+ ? {
accountId: store.getPrimaryAccountIdForType(this.constructor),
- };
+ }
+ : {};
this.store = store;
this.storeKey = storeK... | 11 |
diff --git a/rig.js b/rig.js @@ -77,7 +77,7 @@ class RigManager {
this.lastTimetamp = Date.now();
}
- clear() {
+ clearAvatar() {
if (this.localRig) {
this.scene.remove(this.localRig);
this.scene.add(this.localRig.textMesh);
@@ -86,7 +86,7 @@ class RigManager {
}
setDefault() {
- this.clear();
+ this.clearAvatar();
thi... | 10 |
diff --git a/src/file-upload.jsx b/src/file-upload.jsx @@ -48,7 +48,7 @@ class FileUpload extends React.Component {
<div className="ffe-file-upload">
<button
className="ffe-file-upload__button"
- aria-invalid={ !!errorMessage }
+ aria-invalid={ String(!!errorMessage) }
onClick={ this.triggerUploadFileNativeHandler }
>
... | 12 |
diff --git a/util.js b/util.js @@ -756,3 +756,14 @@ export async function loadAudioBuffer(audioContext, url) {
const audioBuffer = await audioContext.decodeAudioData(arrayBuffer);
return audioBuffer;
}
+export const memoize = fn => {
+ let loaded = false;
+ let cache = null;
+ return () => {
+ if (!loaded) {
+ cache = ... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.