code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/iris/models/thread.js b/iris/models/thread.js @@ -247,6 +247,7 @@ export const getPublicThreadsByUser = (
.filter({ isPrivate: false })
// return the thread object as pure without the isPrivate field from the community join earlier
.without('isPrivate')
+ .orderBy(db.desc('lastActive'), db.desc('createdAt'... | 1 |
diff --git a/public/javascripts/Choropleth.js b/public/javascripts/Choropleth.js /**
* Central function that handles the creation of choropleths and maps.
*/
-function Choropleth(_, $, difficultRegionIds, params, polygonData, polygonRateData, mapParamData) {
+function Choropleth(_, $, difficultRegionIds, params, layers... | 3 |
diff --git a/lib/plugins/aws/package/compile/events/apiGateway/lib/method/index.js b/lib/plugins/aws/package/compile/events/apiGateway/lib/method/index.js @@ -26,6 +26,8 @@ module.exports = {
if (event.http.private) {
template.Properties.ApiKeyRequired = true;
+ } else {
+ template.Properties.ApiKeyRequired = false;
}
... | 12 |
diff --git a/src/components/__snapshots__/SaveEventButton.test.js.snap b/src/components/__snapshots__/SaveEventButton.test.js.snap @@ -39,7 +39,7 @@ exports[`renders correctly 1`] = `
"ddd": 0,
"fr": 25,
"h": 48,
- "ip": 6,
+ "ip": 17,
"layers": Array [
Object {
"ao": 0,
@@ -173,9 +173,9 @@ exports[`renders correctly 1... | 3 |
diff --git a/core/algorithm-builder/environments/nodejs/wrapper/package.json b/core/algorithm-builder/environments/nodejs/wrapper/package.json "author": "",
"license": "ISC",
"dependencies": {
- "@hkube/nodejs-wrapper": "^2.0.41"
+ "@hkube/nodejs-wrapper": "^2.0.45"
},
"devDependencies": {}
}
\ No newline at end of fil... | 3 |
diff --git a/README.md b/README.md @@ -93,7 +93,7 @@ Using melonJS
Basic Example
```JavaScript
-import * as me from "https://cdn.jsdelivr.net/npm/melonjs/dist/melonjs.module.js";
+import * as me from "https://esm.run/melonjs";
me.device.onReady(function () {
// initialize the display canvas once the device/browser is r... | 4 |
diff --git a/assets/js/stripe.js b/assets/js/stripe.js @@ -50,7 +50,7 @@ function onSubmit(configId, form, stripe, card) {
currency: formData.currency,
price: formData.price,
metadata: Object.assign(formData, {}),
- }
+ };
if (formData.custom_value === "true") {
price = formData.custom_price_text;
serializedForm.curren... | 0 |
diff --git a/CHANGES.md b/CHANGES.md @@ -25,6 +25,7 @@ Change Log
* Set `projectionPicker` to `true` in the options when creating a `Viewer` to add a widget that will switch projections. [#5021](https://github.com/AnalyticalGraphicsInc/cesium/pull/5021)
* Call `switchToOrthographicFrustum` or `switchToPerspectiveFrustu... | 3 |
diff --git a/lib/node_modules/@stdlib/repl/presentation/lib/main.js b/lib/node_modules/@stdlib/repl/presentation/lib/main.js @@ -1101,6 +1101,10 @@ setNonEnumerableReadOnly( Presentation.prototype, 'watch', function watch() {
if ( this._source === '' ) {
throw new Error( 'invalid operation. No presentation file to watc... | 9 |
diff --git a/policykit/tests/test_policy_evaluation.py b/policykit/tests/test_policy_evaluation.py @@ -5,7 +5,7 @@ from django.test import Client, TestCase
from integrations.metagov.library import update_metagov_community, metagov_slug
from integrations.metagov.models import MetagovProcess, MetagovPlatformAction
from i... | 0 |
diff --git a/plugins/image/src/_md5.js b/plugins/image/src/_md5.js +/* eslint-disable no-bitwise */
/*
* JavaScript MD5
* https://github.com/blueimp/JavaScript-MD5
* See http://pajhome.org.uk/crypt/md5 for more info.
*/
-/* global define */
-
-/* eslint-disable strict */
-
-
/**
* Add integers, wrapping at 2^32.
| 11 |
diff --git a/src/pages/404.js b/src/pages/404.js import React from "react"
-import { Link } from "gatsby"
+import AnchorLink from "../components/mdx/anchor-link" // TODO
import SEO from "../components/seo"
import DocsTitle from "../components/docs-title"
@@ -10,7 +10,8 @@ const NotFoundPage = () => (
<SEO title="Not fo... | 7 |
diff --git a/content/en/guide/v10/hooks.md b/content/en/guide/v10/hooks.md @@ -224,8 +224,8 @@ The `useCallback` hook can be used to ensure that the returned function will rem
```jsx
const onClick = useCallback(
- () => console.log(a, b);
- [a, b],
+ () => console.log(a, b),
+ [a, b]
);
```
| 14 |
diff --git a/webpack.config.js b/webpack.config.js @@ -38,7 +38,7 @@ module.exports = {
disableHostCheck: true,
historyApiFallback: true,
headers: {
- "Content-Security-Policy-Report-Only": "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; connect-src *; img-src *; ... | 11 |
diff --git a/components/layout/theme.css b/components/layout/theme.css }
& .panel {
+ height: calc(100vh - var(--appbar-height));
+ max-height: calc(100vh - var(--appbar-height));
top: var(--appbar-height);
&:not(.bodyScroll) {
- height: calc(100vh - var(--appbar-height));
- max-height: calc(100vh - var(--appbar-height... | 1 |
diff --git a/src/angular/projects/spark-angular/package.json b/src/angular/projects/spark-angular/package.json "lerna-publish": "cd ../../dist/spark-angular && npm publish"
},
"peerDependencies": {
- "@angular/animations": "^7.0.0 || ^8.0.0",
- "@angular/common": "^7.0.0 || ^8.0.0",
- "@angular/compiler": "^7.0.0 || ^8... | 3 |
diff --git a/metaversefile-api.js b/metaversefile-api.js @@ -442,6 +442,9 @@ metaversefile.setApi({
throw new Error('useApp cannot be called outside of render()');
}
},
+ useScene() {
+ return scene;
+ },
useWorld() {
return {
/* addObject() {
| 0 |
diff --git a/contribs/gmf/src/theme/Themes.js b/contribs/gmf/src/theme/Themes.js @@ -586,15 +586,13 @@ export function getSnappingConfig(node) {
/**
* Get the maximal resolution defined for this layer. Looks in the
* layer itself before to look into its metadata.
- * @param {import('gmf/themes.js').GmfLayerWMS} gmfLaye... | 11 |
diff --git a/userscript.user.js b/userscript.user.js @@ -47980,9 +47980,10 @@ var $$IMU_EXPORT$$;
if (newsrc) return newsrc;
}
- if (domain === "static-lvlt.xhcdn.com") {
+ if (domain_nosub === "xhcdn.com") {
// https://static-lvlt.xhcdn.com/xh-tpl3/images/pixel.gif
- if (/\/xh-tpl[0-9]*\/+images\/+pixel\./.test(src)) ... | 9 |
diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/palette.js b/packages/node_modules/@node-red/editor-client/src/js/ui/palette.js @@ -98,18 +98,36 @@ RED.palette = (function() {
var displayLines = [];
- var currentLine = words[0];
- var currentLineWidth = RED.view.calculateTextWidth(currentLine, "red... | 11 |
diff --git a/components/evenement/event.js b/components/evenement/event.js @@ -211,7 +211,20 @@ function Event({event, background, isPassed, id, activeEvent, handleOpen}) {
}
Event.propTypes = {
- event: PropTypes.object.isRequired,
+ event: PropTypes.shape({
+ titre: PropTypes.string,
+ adresse: PropTypes.object,
+ de... | 0 |
diff --git a/test/jasmine/bundle_tests/finance_test.js b/test/jasmine/bundle_tests/finance_test.js @@ -13,16 +13,18 @@ describe('Bundle with finance trace type', function() {
var mock = require('@mocks/finance_style.json');
- it('should register the correct trace modules for the generated traces', function() {
+ it('sh... | 3 |
diff --git a/CHANGELOG.md b/CHANGELOG.md @@ -10,6 +10,14 @@ 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.48.1] -- 2019-05-30
+
+### Fixed
+- Fix single-sample-point `histogram2d` traces with set bins settings [#3922]
+- Fix bingroup attri... | 3 |
diff --git a/components/Vote/Election.js b/components/Vote/Election.js -import React, { useEffect, useState } from 'react'
+import React, { useEffect, useMemo, useState } from 'react'
import {
A,
Button,
@@ -21,8 +21,6 @@ import ElectionConfirm from './ElectionConfirm'
import { Card, sharedStyles } from './text'
import... | 7 |
diff --git a/assets/stylesheets/sessions/sessions.scss b/assets/stylesheets/sessions/sessions.scss @@ -119,7 +119,6 @@ $cWhite: #FFF;
}
p.Sessions-text--sharedSecret {
- color: $cWhite;
width: 100%;
height: auto;
margin: 0 auto;
@@ -137,7 +136,6 @@ $cWhite: #FFF;
}
p.Sessions-text--code {
- color: $cWhite;
font-weight:... | 3 |
diff --git a/src/encoded/static/components/app.js b/src/encoded/static/components/app.js @@ -45,6 +45,7 @@ const portal = {
{ id: 'assaymatrix', title: 'Experiment matrix', url: '/matrix/?type=Experiment&status=released&perturbed=false', tag: 'collection' },
{ id: 'chip', title: 'ChIP-seq matrix', url: '/chip-seq-matri... | 0 |
diff --git a/articles/api/authentication/api-authz/_authz-client.md b/articles/api/authentication/api-authz/_authz-client.md @@ -187,7 +187,7 @@ This is the OAuth 2.0 grant that Client-side web apps utilize in order to access
|:-----------------|:------------|
| `audience` <br/> | The unique identifier of the target AP... | 3 |
diff --git a/apps/antonclk/app.js b/apps/antonclk/app.js @@ -99,7 +99,7 @@ function updateState() {
}
function isoStr(date) {
- return date.getFullYear() + "-" + ("0" + (date.getMonth() + 1)).substr(-2) + "-" + ("0" + date.getDate()).substr(-2);
+ return date.getFullYear() + "-" + ("0" + (date.getMonth() + 1)).slice(-2... | 14 |
diff --git a/app/views/admin/visualizations/embed_map_error.html.erb b/app/views/admin/visualizations/embed_map_error.html.erb </div>
<p class='CDB-Text CDB-Size-large'>
- Map or dataset not found, or with restricted access. Please <%= link_to "login", login_url(after: request.original_url) %> to your account and try a... | 12 |
diff --git a/token-metadata/0x95aD61b0a150d79219dCF64E1E6Cc01f0B64C4cE/metadata.json b/token-metadata/0x95aD61b0a150d79219dCF64E1E6Cc01f0B64C4cE/metadata.json "symbol": "SHIB",
"address": "0x95aD61b0a150d79219dCF64E1E6Cc01f0B64C4cE",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/src/views/SeedPhrase/Warning.vue b/src/views/SeedPhrase/Warning.vue <strong>Warning</strong>
</NavBar>
<div class="warning-phrase_warning-line"></div>
- <div class="warning-phrase_top-text mx-auto mt-2 px-2 mb-5">
+ <div class="mx-auto mt-2 px-2 mb-5 text-center">
<h1>Show Seed Phrase?</h1>
<h4>Anyone who ... | 1 |
diff --git a/app/student.front.js b/app/student.front.js @@ -91,7 +91,6 @@ $('.math .close').mousedown(e => {
onClose()
})
const mathField = MQ.MathField($equationEditor.get(0), {
- spaceBehavesLikeTab: true,
handlers: {
edit: () => !latexEditorFocus && $latexEditor.val(mathField.latex()),
downOutOf: field => {
| 2 |
diff --git a/player/js/utils/PropertyFactory.js b/player/js/utils/PropertyFactory.js @@ -701,7 +701,6 @@ var PropertyFactory = (function(){
var max = Math.max;
var min = Math.min;
var floor = Math.floor;
- this.mdf = false;
function updateRange(){
if(this.dynamicProperties.length){
var i, len = this.dynamicProperties.l... | 2 |
diff --git a/docs/linking.md b/docs/linking.md @@ -319,7 +319,7 @@ The `Promise` will reject on Android if it was impossible to check if the URL ca
>
> As of iOS 9, your app also needs to provide the `LSApplicationQueriesSchemes` key inside `Info.plist` or `canOpenURL()` will always return `false`.
-> When targeting An... | 1 |
diff --git a/src/mixins/event-handlers.js b/src/mixins/event-handlers.js @@ -6,102 +6,6 @@ import { siblingDirection } from '../utils/trackUtils'
import { getWidth, getHeight, getSwipeDirection } from '../utils/innerSliderUtils'
var EventHandlers = {
- // continuous invokation while swiping/dragging is going on
- //swi... | 2 |
diff --git a/services/importer/lib/importer/downloader.rb b/services/importer/lib/importer/downloader.rb @@ -131,8 +131,7 @@ module CartoDB
def headers
return @headers if @headers
- response = Carto::Http::Client.get('downloader', log_requests: true)
- .head(@translated_url, typhoeus_options)
+ response = http_client.h... | 4 |
diff --git a/userscript.user.js b/userscript.user.js @@ -44870,12 +44870,25 @@ var $$IMU_EXPORT$$;
domain === "i.know.cf" ||
// http://oyster.ignimgs.com/mediawiki/apis.ign.com/best-of-2017-awards/thumb/8/86/Anime.jpg/610px-Anime.jpg
// http://oyster.ignimgs.com/mediawiki/apis.ign.com/best-of-2017-awards/8/86/Anime.jpg... | 7 |
diff --git a/utils/field.js b/utils/field.js @@ -22,8 +22,8 @@ const { isReservedTableName } = require('../jdl/jhipster/reserved-keywords');
const generateFakeDataForField = (field, faker, changelogDate, type = 'csv') => {
let data;
- if (field.options && field.options.faker) {
- data = faker.faker(field.options.faker)... | 10 |
diff --git a/resources/css/custom-stylesheet.css b/resources/css/custom-stylesheet.css @@ -579,12 +579,8 @@ body.no-acrylic {
background: var(--modalBGColor);
overflow: overlay;
position: relative;
- /*box-shadow: 0 2px 20px rgba(0, 0, 0, 0.24);*/
animation: ameModalIn 0.10s var(--appleEase);
will-change: opacity, tran... | 2 |
diff --git a/README.md b/README.md @@ -203,14 +203,14 @@ Automation flows can also be triggered via REST API. TagUI has an API service an
0,15,30,45 * * * * /full_path_on_your_server/tagui_crontab
```
-To call an automation flow from your application or web browser, use below API syntax. Custom input(s) supported. Auto... | 7 |
diff --git a/t/03_license_applied.t b/t/03_license_applied.t @@ -27,8 +27,8 @@ my %exclude = (
"./NOTICE.txt" => "Part of the license",
"./ChangeLog.md" => "No license needed",
"./README.md" => "No license needed",
- "./docs/Development_environment.md"
- => "No license needed",
+ "./README.md" => "No license needed",
+... | 8 |
diff --git a/src/android/java/io/jxcore/node/JXcoreExtension.java b/src/android/java/io/jxcore/node/JXcoreExtension.java @@ -97,7 +97,6 @@ public class JXcoreExtension implements SurroundingStateObserver {
}
public static void LoadExtensions() {
- getInstance();
if (mConnectionHelper != null) {
Log.e(TAG, "LoadExtensio... | 2 |
diff --git a/src/components/inputnumber/InputNumber.js b/src/components/inputnumber/InputNumber.js @@ -135,31 +135,50 @@ export class InputNumber extends Component {
currencyDisplay: this.props.currencyDisplay,
useGrouping: this.props.useGrouping,
minimumFractionDigits: this.props.minFractionDigits,
- maximumFractionDi... | 14 |
diff --git a/articles/support/matrix.md b/articles/support/matrix.md @@ -71,11 +71,11 @@ toc: true
</thead>
<tbody>
<tr>
- <td>Google Chrome</td>
+ <td>Google Chrome (Latest version)</td>
<td><div class="label label-primary">Supported</div></td>
</tr>
<tr>
- <td>Apple Safari</td>
+ <td>Apple Safari (Latest version)</td... | 0 |
diff --git a/packages/fether-electron/src/main/utils/staticPath.js b/packages/fether-electron/src/main/utils/staticPath.js /* global __static */
-import { app } from 'electron';
+const appIsPackaged = !process.defaultApp;
/**
* Get the path to the `static` folder.
*
* @see https://github.com/electron-userland/electron-... | 1 |
diff --git a/src/utils/__tests__/parseMultiValueQueryStringParameters.test.js b/src/utils/__tests__/parseMultiValueQueryStringParameters.test.js @@ -117,6 +117,13 @@ const tests = [
expectedMulti: { '?=/&:': ['?=/&:'] },
},
+ {
+ description: 'end of line',
+ param: '%0A=%0A',
+ expected: { '\n': '\n' },
+ expectedMult... | 0 |
diff --git a/contracts/ExternStateFeeToken.sol b/contracts/ExternStateFeeToken.sol @@ -238,8 +238,8 @@ contract ExternStateFeeToken is Proxyable, SafeDecimalMath {
internal
returns (bool)
{
- uint fee = safeSub(value, priceToSpend(value));
- uint amountReceived = safeSub(value, fee);
+ uint amountReceived = priceToSpen... | 2 |
diff --git a/lib/model/security/profile.ts b/lib/model/security/profile.ts @@ -33,10 +33,11 @@ import { KuzzleRequest } from '../../../index';
const assertionError = kerror.wrap('api', 'assert');
-export type ProfilePolicy = {
+/** @internal */
+export type InternalProfilePolicy = {
role: Role;
restrictedTo: OptimizedP... | 10 |
diff --git a/publish.sh b/publish.sh @@ -5,16 +5,17 @@ set -e
RED='\033[0;31m'
NC='\033[0m' # No Color
+# Do this BEFORE checking there are no git changes!
+echo "Generating documentation ..."
+npm run build-docs
+npm run build-readme
+
PACKAGE_NAME=`node -pe "require('./package.json').name"`
PACKAGE_VERSION=`node -pe ... | 7 |
diff --git a/components/base-adresse-nationale/postal-codes.js b/components/base-adresse-nationale/postal-codes.js @@ -30,6 +30,7 @@ function PostalCodes({codes}) {
width: fit-content;
list-style: none;
text-align: center;
+ color: ${theme.colors.white};
padding: 10px;
border-radius: 5px;
left: 0;
| 0 |
diff --git a/articles/tutorials/using-auth0-to-secure-a-cli.md b/articles/tutorials/using-auth0-to-secure-a-cli.md @@ -29,6 +29,10 @@ The steps to follow to implement this grant are the following:
1. __Initiate the Authorization Request__. The regular OAuth 2.0 authorization request, with the caveat that now it include... | 0 |
diff --git a/lib/helpers/http/request.js b/lib/helpers/http/request.js @@ -27,28 +27,31 @@ class HTTPError extends Error {
}
}
-function requestWrap(method, url, options) {
- if (options.form) {
+function requestWrap(method, url, {
+ form,
+ body,
+ query,
+ ...options
+}) {
+ if (form) {
/* eslint-disable no-param-rea... | 4 |
diff --git a/test/jasmine/tests/modebar_test.js b/test/jasmine/tests/modebar_test.js @@ -981,6 +981,29 @@ describe('ModeBar', function() {
expect(function() { manageModeBar(gd); }).toThrowError();
});
+
+ it('add pre-defined buttons as strings for drawing shapes on cartesian subplot', function() {
+ var gd = setupGraph... | 0 |
diff --git a/includes/Modules/Analytics.php b/includes/Modules/Analytics.php @@ -326,7 +326,7 @@ final class Analytics extends Module implements Module_With_Screen, Module_With_
);
/**
- * Filters the gtag configuration options for the object that is passed to amp-analytics as a JSON component.
+ * Filters the gtag con... | 3 |
diff --git a/lib/plugins/create/create.js b/lib/plugins/create/create.js @@ -38,6 +38,10 @@ const validTemplates = [
'aws-go-mod',
'aws-ruby',
'aws-provided',
+ 'tencent-go',
+ 'tencent-nodejs',
+ 'tencent-python',
+ 'tencent-php',
'azure-nodejs',
'cloudflare-workers',
'cloudflare-workers-enterprise',
@@ -61,10 +65,6 @... | 7 |
diff --git a/connectors/connectorTest.js b/connectors/connectorTest.js @@ -61,6 +61,17 @@ export default class ConnectorTest extends Connector{
switch (type) {
case "hijack":
updates = [
+ {
+ data: {
+ announcements: [{
+ prefixes: ["175.254.205.0/25", "170.254.205.0/25"],
+ next_hop: "124.0.0.3"
+ }],
+ peer: "124.0.... | 7 |
diff --git a/.circleci/config.yml b/.circleci/config.yml @@ -84,8 +84,7 @@ jobs:
name: deploy main
command: |
. venv/bin/activate
- fab prep_www_deploy
- fab rsync_www
+ fab deploy_www
workflows:
version: 2
| 12 |
diff --git a/README.md b/README.md @@ -133,8 +133,8 @@ contributors from liability.
*Note:* This is intended to be a set of tools to support a self-driven DIY
implementation and any person choosing to use these tools is solely
responsible for testing and implement these tools independently or
-together as a system. The... | 1 |
diff --git a/game.js b/game.js @@ -1682,7 +1682,7 @@ const gameManager = {
}
},
menuUpload: _upload,
- addLocalEmote(index) {
+ /* addLocalEmote(index) {
const localPlayer = metaversefileApi.useLocalPlayer();
if (localPlayer.avatar) {
const timestamp = performance.now();
@@ -1714,7 +1714,7 @@ const gameManager = {
};
w... | 2 |
diff --git a/webpack.dev.config.js b/webpack.dev.config.js @@ -39,7 +39,10 @@ module.exports = {
{
test: /\.js$/,
loader: 'babel',
- include: path.join(__dirname, 'src'),
+ include: [
+ path.join(__dirname, 'src'),
+ path.join(__dirname, 'node_modules/ello-brains'),
+ ],
exclude: /node_modules/,
},
{
| 11 |
diff --git a/test/esinstall/rollup/rollup.test.js b/test/esinstall/rollup/rollup.test.js @@ -8,16 +8,37 @@ describe('Rollup config', () => {
const spec = 'svelte-routing';
const {
- importMap: {imports}
+ importMap: {imports},
} = await install([spec], {
cwd,
dest,
rollup: {
- plugins: [require('rollup-plugin-svelte')(... | 0 |
diff --git a/assets/js/googlesitekit/widgets/components/URLSearchWidget.js b/assets/js/googlesitekit/widgets/components/URLSearchWidget.js @@ -30,10 +30,9 @@ import { CORE_SITE } from '../../datastore/site/constants';
import { CORE_LOCATION } from '../../datastore/location/constants';
import Button from '../../../compo... | 2 |
diff --git a/packages/cx/src/charts/LineGraph.d.ts b/packages/cx/src/charts/LineGraph.d.ts -import * as Cx from '../core';
+import * as Cx from "../core";
interface LineGraphProps extends Cx.WidgetProps {
-
/**
* Data for the graph. Each entry should be an object with at least two properties
* whose names should match ... | 0 |
diff --git a/src/components/autoplay/autoplay.js b/src/components/autoplay/autoplay.js @@ -9,7 +9,21 @@ const Autoplay = {
delay = $activeSlideEl.attr('data-swiper-autoplay') || swiper.params.autoplay.delay;
}
swiper.autoplay.timeout = Utils.nextTick(() => {
+ if (swiper.params.autoplay.reverseDirection) {
if (swiper.p... | 0 |
diff --git a/plugins/debug/debugPanel.js b/plugins/debug/debugPanel.js // some internal string/length
this.help_str = "["+String.fromCharCode(32 + this.debugToggle)+"]show/hide";
- this.help_str_len = this.font.measureText(me.video.renderer, this.help_str).width;
- this.fps_str_len = this.font.measureText(me.video.rend... | 1 |
diff --git a/app/controllers/models/wallet.js b/app/controllers/models/wallet.js @@ -123,7 +123,6 @@ module.exports = function (app, sqlLiteService) {
function _add(data) {
data.createdAt = new Date().getTime();
- console.log('data data data data', data);
return knex.transaction((trx) => {
knex(TABLE_NAME).transacting(... | 2 |
diff --git a/index.js b/index.js @@ -59,8 +59,8 @@ async function uuidToUsername(uuid){
output = user.username;
if(+new Date() - user.date > 3600 * 1000){
- try{
- let { data } = await axios(`https://sessionserver.mojang.com/session/minecraft/profile/${uuid}`);
+ axios(`https://sessionserver.mojang.com/session/minecraf... | 14 |
diff --git a/shared/db/db.js b/shared/db/db.js @@ -11,8 +11,8 @@ const IS_PROD = !process.env.FORCE_DEV && process.env.NODE_ENV === 'production';
const DEFAULT_CONFIG = {
// Connect to the test database when, well, testing
db: !process.env.TEST_DB ? 'spectrum' : 'testing',
- max: 1000, // Maximum number of connections,... | 12 |
diff --git a/Specs/Scene/GroundPrimitiveSpec.js b/Specs/Scene/GroundPrimitiveSpec.js @@ -64,15 +64,10 @@ defineSuite([
var rectangleInstance;
var primitive;
var depthPrimitive;
- var largeScene;
var reusablePrimitive;
- var largeSceneReusablePrimitive;
beforeAll(function() {
scene = createScene();
- largeScene = create... | 5 |
diff --git a/lib/document.js b/lib/document.js @@ -1132,6 +1132,13 @@ Document.prototype.$set = function $set(path, val, type, options) {
return this;
}
+ // If overwriting a subdocument path, make sure to clear out
+ // any errors _before_ setting, so new errors that happen
+ // get persisted. Re: #9080
+ if (schema.$... | 1 |
diff --git a/src/input/pointer.js b/src/input/pointer.js // legacy mouse event type
var mouseEventList = [
+ MOUSE_WHEEL[0],
POINTER_MOVE[2],
POINTER_DOWN[2],
POINTER_UP[2],
];
var pointerEventMap = {
+ mousewheel : MOUSE_WHEEL,
pointermove: POINTER_MOVE,
pointerdown: POINTER_DOWN,
pointerup: POINTER_UP,
| 1 |
diff --git a/components/App.js b/components/App.js @@ -326,7 +326,7 @@ export const App = (props) => {
`;
}
-export const updateProps = (newProps, cb) => {
+export const updateProps = newProps => {
const appContainer = document.getElementById('appContainer');
for (let k in newProps) {
appState[k] = newProps[k];
@@ -343... | 2 |
diff --git a/character-controller.js b/character-controller.js @@ -1057,7 +1057,7 @@ class StaticUninterpolatedPlayer extends PlayerBase {
for (let i = 0; i < this.actions.length; i++) {
const action = this.actions[i];
if (action.type === type) {
- this.actions.splice(i, 1);
+ this.removeActionIndex(i);
break;
}
}
| 2 |
diff --git a/client/src/pages/Profile.js b/client/src/pages/Profile.js @@ -116,7 +116,7 @@ const Profile = () => {
postsDispatch({ type: FETCH_POSTS });
try {
if (userId) {
- const res = await axios.get(`/api/posts?limit=5&authorId=${userId}`);
+ const res = await axios.get(`/api/posts?limit=-1&authorId=${userId}`);
po... | 12 |
diff --git a/test/b_capped_sto.js b/test/b_capped_sto.js @@ -86,7 +86,7 @@ contract("CappedSTO", accounts => {
let startTime_ETH2;
let endTime_ETH2;
const cap = web3.utils.toWei("10000");
- const rate = 1000;
+ const rate = web3.utils.toWei("1000");
const E_fundRaiseType = 0;
const address_zero = "0x0000000000000000000... | 3 |
diff --git a/src/components/keyboard/keyboard.js b/src/components/keyboard/keyboard.js @@ -69,6 +69,7 @@ const Keyboard = {
for (let i = 0; i < swiperCoord.length; i += 1) {
const point = swiperCoord[i];
if (point[0] >= 0 && point[0] <= windowWidth && point[1] >= 0 && point[1] <= windowHeight) {
+ if (point[0] === 0 &&... | 8 |
diff --git a/tools/deployer/delegate/src/DelegateMapping.ts b/tools/deployer/delegate/src/DelegateMapping.ts @@ -38,6 +38,15 @@ export function handleUnsetRule(event: UnsetRule): void {
}
export function handleProvideOrder(event: ProvideOrder): void {
- // should update the Delegate rule's values
- // original rule - a... | 3 |
diff --git a/src/pages/Group/AddServiceComponent.js b/src/pages/Group/AddServiceComponent.js @@ -407,7 +407,7 @@ export default class AddServiceComponent extends PureComponent {
<Market
{...MarketParameter}
isHelm={false}
- scopeMax="localApplication"
+ scopeMax={scopeProMax || 'localApplication'}
handleServiceComponen... | 1 |
diff --git a/workshops/reinvent2018/readme.md b/workshops/reinvent2018/readme.md @@ -238,7 +238,7 @@ containing QnABot configuration using the Designer.
2) Use 'Import' to the import a configuration file from the following url:
<pre>
- https://raw.githubusercontent.com/aws-samples/develop/aws-ai-qna-bot/workshops/reinv... | 3 |
diff --git a/.github/workflows/TEST-release.yml b/.github/workflows/TEST-release.yml @@ -23,7 +23,7 @@ jobs:
- 3306:3306
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
blazegraph:
- image: blazegraph:2.1.6
+ image: lyrasis/blazegraph:2.1.6
ports:
- 7200:7200
strateg... | 3 |
diff --git a/src/blockchain/LiquidPledgingMonitor.js b/src/blockchain/LiquidPledgingMonitor.js @@ -63,9 +63,9 @@ export default class {
},
);
- this.txMonitor.on(this.txMonitor.LP_EVENT, this.newEvent.bind(this));
- this.txMonitor.on(this.txMonitor.MILESTONE_EVENT, this.newEvent.bind(this));
- this.txMonitor.on(this.tx... | 11 |
diff --git a/js/exmo.js b/js/exmo.js @@ -328,7 +328,10 @@ module.exports = class exmo extends Exchange {
}
let orders = await this.privatePostUserOpenOrders ();
if (typeof market !== 'undefined')
+ if (typeof orders[market['id']] !== 'undefined')
orders = orders[market['id']];
+ else
+ orders = [];
return this.parseOrd... | 9 |
diff --git a/html/components/footer.stories.js b/html/components/footer.stories.js @@ -81,7 +81,7 @@ export const defaultStory = () => {
<div class="sprk-o-Stack__item sprk-o-Stack sprk-o-Stack--medium">
<div class="sprk-o-Stack__item">
<a class="sprk-b-Link sprk-b-Link--plain" href="#nogo">
- <img src="https://spark-a... | 3 |
diff --git a/lib/modules/ens/embarkjs.js b/lib/modules/ens/embarkjs.js @@ -226,29 +226,6 @@ __embarkENS.lookup = function (address, callback) {
});
};
-__embarkENS.registerSubDomain = function (name, address, callback) {
- callback = callback || function () {};
-
- const resolveAddr = address || '0x00000000000000000000... | 2 |
diff --git a/app-object.js b/app-object.js @@ -201,6 +201,18 @@ class App extends THREE.Object3D {
});
}
}
+ get contentId() {
+ return this.getComponent('contentId');
+ }
+ set contentId(contentId) {
+ this.setComponent('contentId', contentId);
+ }
+ get instanceId() {
+ return this.getComponent('instanceId');
+ }
+ s... | 0 |
diff --git a/src/components/CardList.js b/src/components/CardList.js @@ -11,7 +11,25 @@ const Table = styled.div`
margin-bottom: 2rem;
`
-const Item = styled(Link)`
+const Item = styled.div`
+ cursor: pointer;
+ text-decoration: none;
+ display: flex;
+ justify-content: space-between;
+ color: ${(props) => props.theme.... | 11 |
diff --git a/src/constants/colors.js b/src/constants/colors.js @@ -21,6 +21,7 @@ export const whiteColor = "#ffffff";
export const velvetColor = "#660c63";
export const blackColor = "#111111";
export const coralColor = "#ff5b44";
+export const shadowColor = "rgba(0, 0, 0, 0.1)";
// CUSTOM
| 0 |
diff --git a/token-metadata/0xF063fE1aB7a291c5d06a86e14730b00BF24cB589/metadata.json b/token-metadata/0xF063fE1aB7a291c5d06a86e14730b00BF24cB589/metadata.json "symbol": "SALE",
"address": "0xF063fE1aB7a291c5d06a86e14730b00BF24cB589",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/mesh-lodder.js b/mesh-lodder.js @@ -47,6 +47,17 @@ const textureInitializers = {
}, */
};
+const _eraseVertices = (geometry, positionStart, positionCount/*, indexStart, indexCount*/) => {
+ console.log('erase vertices', geometry, positionStart, positionCount/*, indexStart, indexCount*/);
+ for (let i = 0; ... | 0 |
diff --git a/src/math/vector3.js b/src/math/vector3.js * @return {me.Vector3d} Reference to this object for method chaining
*/
abs : function () {
- return this._set((this.x < 0) ? -this.x : this.x, (this.y < 0) ? -this.y : this.y, (this.z < 0) ? -this.Z : this.z);
+ return this._set((this.x < 0) ? -this.x : this.x, (t... | 1 |
diff --git a/tests/e2e/specs/Modeler.spec.js b/tests/e2e/specs/Modeler.spec.js @@ -113,6 +113,7 @@ describe('Modeler', () => {
const taskPosition = { x: 200, y: 200 };
dragFromSourceToDest(nodeTypes.task, taskPosition);
getElementAtPosition(taskPosition).click();
+ cy.get('#accordion-button-advanced').click();
cy.get('... | 1 |
diff --git a/userscript.user.js b/userscript.user.js @@ -18688,6 +18688,7 @@ var $$IMU_EXPORT$$;
if (domain_nosub === "shopify.com" && /^cdn[0-9]*\./.test(domain)) {
// https://cdn.shopify.com/s/files/1/0947/6410/products/a2178934757_10_1024x1024.jpeg?v=1458824230
+ // https://cdn.shopify.com/s/files/1/0947/6410/produc... | 7 |
diff --git a/app/models/local_sound.rb b/app/models/local_sound.rb @@ -17,7 +17,7 @@ class LocalSound < Sound
end
validates_attachment_content_type :file,
- content_type: [/wav/i, /mpeg/i, /mp3/i, /m4a/i],
+ content_type: [/wav/i, /mpeg/i, /mp3/i, /m4a/i, "audio/mp4"],
message: "must be a WAV, MP3, or M4A"
def to_obser... | 11 |
diff --git a/js/searchbar/placesPlugin.js b/js/searchbar/placesPlugin.js @@ -5,18 +5,6 @@ var searchbarAutocomplete = require('util/autocomplete.js')
var urlParser = require('util/urlParser.js')
var readerDecision = require('readerDecision.js')
-/* For survey */
-var browserUI = require('browserUI.js')
-
-var surveyURL... | 2 |
diff --git a/lib/node_modules/@stdlib/proxy/ctor/docs/repl.txt b/lib/node_modules/@stdlib/proxy/ctor/docs/repl.txt --------
> function get( obj, prop ) { return obj[ prop ] * 2.0 };
> var h = { 'get': get };
- > var p = {{alias}}( {}, h );
+ > var p = new {{alias}}( {}, h );
> p.proxy.a = 3.14;
> p.proxy.a
6.28
| 4 |
diff --git a/src/UserConfig.js b/src/UserConfig.js @@ -645,12 +645,6 @@ class UserConfig {
return;
}
- console.log(
- chalk.yellow(
- "Warning: Configuration API `addExtension` is an experimental Eleventy feature with an unstable API. Be careful!"
- )
- );
-
this.extensionMap.add(
Object.assign(
{
| 2 |
diff --git a/test/tests/operations/ExtractEmailAddresses.mjs b/test/tests/operations/ExtractEmailAddresses.mjs @@ -30,4 +30,26 @@ TestRegister.addTests([
},
],
},
+ {
+ name: "Extract email address (Internationalized)",
+ input: "\u4f0a\u662d\u5091@\u90f5\u4ef6.\u5546\u52d9 \u093e\u092e@\u092e\u094b\u0939\u0928.\u0908\... | 0 |
diff --git a/server/workers/base/renv.lock b/server/workers/base/renv.lock "Repository": "CRAN",
"Hash": "2dc413572eb42475179bfe0afabd2adf"
},
+ "dplyr": {
+ "Package": "dplyr",
+ "Version": "1.0.8",
+ "Source": "Repository",
+ "Repository": "CRAN",
+ "Hash": "ef47665e64228a17609d6df877bf86f2"
+ },
"ellipsis": {
"Packa... | 3 |
diff --git a/server/preprocessing/other-scripts/vis_layout.R b/server/preprocessing/other-scripts/vis_layout.R @@ -21,6 +21,7 @@ vlog <- getLogger('vis')
vis_layout <- function(text, metadata, service,
max_clusters=15, maxit=500,
mindim=2, maxdim=2,
+ lang="english",
testing=FALSE, taxonomy_separator=NULL, list_size=-1... | 13 |
diff --git a/src/encoded/schemas/antibody_lot.json b/src/encoded/schemas/antibody_lot.json "targets.investigated_as": {
"title": "Target of antibody"
},
+ "targets.label": {
+ "title": "Target of antibody",
+ "type": "typeahead",
+ "length": "long"
+ },
"characterizations.characterization_method": {
"title": "Character... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.