code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/src/cli.js b/src/cli.js @@ -54,6 +54,11 @@ const {
}));
console.log('\n\nResults: \n');
- const report = constructReport(results);
+ const { summary, report } = constructReport(results);
+ if (summary.allGreen) {
+ process.exit(0);
+ } else {
await saveReport(report);
+ process.exit(1);
+ }
})();
| 7 |
diff --git a/server/game/player.js b/server/game/player.js @@ -71,6 +71,9 @@ class Player extends Spectator {
fate: false,
regroup: false
};
+ this.timerSettings = user.settings.timerSettings || {};
+ this.timerSettings.windowTimer = user.settings.windowTimer;
+ this.keywordSettings = user.settings.keywordSettings;
thi... | 1 |
diff --git a/src/apps.json b/src/apps.json "cats": [
19
],
- "html": "<[^>]+id='cgit'",
+ "meta": {
+ "generator": "^cgit v([\d.a-z-]+)$\\;version:\\1"
+ },
+ "html": [
+ "<[^>]+id='cgit'",
+ "generated by <a href='http://git.zx2c4.com/cgit/about/'>cgit v([\d.a-z-]+)</a>\\;version:\\1"
+ ],
"icon": "cgit.png",
"implies... | 7 |
diff --git a/src/core/operations/BlurImage.mjs b/src/core/operations/BlurImage.mjs @@ -32,7 +32,8 @@ class BlurImage extends Operation {
{
name: "Blur Amount",
type: "number",
- value: 5
+ value: 5,
+ min: 1
},
{
name: "Blur Type",
@@ -59,6 +60,8 @@ class BlurImage extends Operation {
image.blur(blurAmount);
break;
cas... | 12 |
diff --git a/src/Colors/index.js b/src/Colors/index.js @@ -14,7 +14,7 @@ let colors = {
export const initColors = colors => {
return new Promise((resolve, reject) => {
if (typeof colors === 'object') {
- this.add(colors)
+ add(colors)
resolve()
}
fetch(colors)
| 1 |
diff --git a/edit.js b/edit.js @@ -2490,16 +2490,21 @@ const geometryWorker = (() => {
value: null,
needsUpdate: true,
},
- uSelectId: {
+ uHitId: {
type: 'f',
value: -1,
needsUpdate: true,
},
- uSelectPosition: {
+ uHitPosition: {
type: 'v3',
value: new THREE.Vector3(),
needsUpdate: true,
},
+ uSelectId: {
+ type: 'f'... | 0 |
diff --git a/articles/connections/enterprise/ws-fed.md b/articles/connections/enterprise/ws-fed.md @@ -18,7 +18,7 @@ To configure this connection, navigate to [Dashboard > Connections > Enterprise]
Click __Create New Connection__ and enter the following information:
* __Connection Name__ - A descriptive name for the co... | 0 |
diff --git a/src/runtime/meter-toast-api.js b/src/runtime/meter-toast-api.js @@ -37,8 +37,8 @@ export const DEFAULT_IFRAME_URL = '/metertoastiframe';
* - iframeUrlParams: List of extra params appended to the URL.
*
* @typedef {{
- * iframeUrl: (string|undefined),
- * iframeUrlParams: (?Object<string, string>|undefined)... | 12 |
diff --git a/admin-base/ui.apps/src/main/content/jcr_root/apps/field/collection/template.vue b/admin-base/ui.apps/src/main/content/jcr_root/apps/field/collection/template.vue mounted(){
// console.log('this.model: ', this.model)
if(this.schema.multifield){
- $(this.$refs.collapsible).collapsible()
+ $(this.$refs.collap... | 12 |
diff --git a/docs/api/bindings/createComponent.md b/docs/api/bindings/createComponent.md @@ -7,7 +7,7 @@ It automatically composes rules and passed props for nested Fela components.
## Arguments
| Argument | Type | Default | Description |
| --- | --- | --- | --- |
-| rule | *Function*<br>*Object* | | Either a [style ob... | 1 |
diff --git a/website/src/docs/fileinput.md b/website/src/docs/fileinput.md @@ -47,7 +47,7 @@ import '@uppy/core/dist/style.css'
import '@uppy/file-input/dist/style.css'
```
-Import general Core styles from `@uppy/core/dist/style.css` first, then add the Drag & Drop styles from `@uppy/file-input/dist/style.css`. A minif... | 14 |
diff --git a/css/style.css b/css/style.css @@ -388,6 +388,10 @@ table.dataTable.display tbody tr.odd:hover,
table.dataTable.display tbody tr.even:hover {
background-color: rgba(255, 255, 0, 0.2);
}
+table.dataTable.hover tbody tr:hover.selected,
+table.dataTable.display tbody tr:hover.selected {
+ background-color: #bc... | 12 |
diff --git a/assets/js/components/notifications/IdeaHubModuleNotification.js b/assets/js/components/notifications/IdeaHubModuleNotification.js @@ -28,6 +28,8 @@ import { useCallback } from '@wordpress/element';
import Data from 'googlesitekit-data';
import { CORE_MODULES } from '../../googlesitekit/modules/datastore/co... | 4 |
diff --git a/angular/projects/spark-angular/src/lib/components/sprk-dictionary/sprk-dictionary.stories.ts b/angular/projects/spark-angular/src/lib/components/sprk-dictionary/sprk-dictionary.stories.ts @@ -62,7 +62,7 @@ export const striped = () => ({
'Work Phone': '(555) 555-5555',
'Work Extension': '55555'
}"
- idStri... | 3 |
diff --git a/src/components/core/events/onResize.js b/src/components/core/events/onResize.js @@ -29,7 +29,6 @@ export default function () {
if (params.autoHeight) {
swiper.updateAutoHeight();
}
-
} else {
swiper.updateSlidesClasses();
if ((params.slidesPerView === 'auto' || params.slidesPerView > 1) && swiper.isEnd && ... | 2 |
diff --git a/src/immer.d.ts b/src/immer.d.ts @@ -23,7 +23,7 @@ export default function<S = any, A = any, B = any>(
): (currentState: S, a: A, b: B) => S
export default function<S = any, A = any>(
recipe: (this: S, draftState: S, a: A) => void
-): (currentState: S) => S
+): (currentState: S, a: A) => S
export default fu... | 0 |
diff --git a/packages/@uppy/status-bar/src/style.scss b/packages/@uppy/status-bar/src/style.scss }
}
- .uppy-StatusBar-actionCircleBtn:focus {
- outline: 2px solid $blue;
- outline-offset: 0;
- }
-
// .uppy-StatusBar-actionCircleBtn:not(:last-child) {
// margin-right: 2px;
// }
| 2 |
diff --git a/new-client/src/plugins/DocumentHandler/documentWindow/TableOfContents.js b/new-client/src/plugins/DocumentHandler/documentWindow/TableOfContents.js @@ -179,6 +179,7 @@ class TableOfContents extends React.PureComponent {
className={classes.collapseContainer}
in={expanded}
id="expansion-panel-content"
+ aria... | 12 |
diff --git a/src/inner-slider.js b/src/inner-slider.js @@ -46,13 +46,13 @@ export var InnerSlider = createReactClass({
},
componentDidMount: function componentDidMount() {
let spec = assign({listRef: this.list, trackRef: this.track}, this.props)
- let initialState = initializedState(spec)
- assign(spec, {slideIndex: in... | 10 |
diff --git a/8-code-editor/1-using-a-code-editor/README.md b/8-code-editor/1-using-a-code-editor/README.md @@ -23,7 +23,7 @@ In this lesson, you'll learn how to:
### Prerequisites
-Before you begin, you'll need to create an account with [GitHub](https://github.com). Navigate to [GtiHub](https://github.com/) and create ... | 1 |
diff --git a/packages/react-router/index.tsx b/packages/react-router/index.tsx @@ -884,7 +884,7 @@ export function matchPath(
let matchedPathname = match[1];
let values = match.slice(2);
let params = paramNames.reduce((memo, paramName, index) => {
- memo[paramName] = safelyDecodeURIComponent(values[index], paramName);
... | 14 |
diff --git a/public/viewjs/mealplan.js b/public/viewjs/mealplan.js @@ -98,7 +98,7 @@ $("#add-recipe-modal").on("shown.bs.modal", function(e)
$(document).on("click", ".remove-recipe-button", function(e)
{
- var mealPlanEntry = JSON.parse($(this).closest(".fc-h-event").attr("data-meal-plan-entry"));
+ var mealPlanEntry =... | 7 |
diff --git a/lib/cartodb/central.rb b/lib/cartodb/central.rb @@ -36,7 +36,7 @@ module Cartodb
http_client.request(
"#{@host}/#{path}",
method: method,
- body: body.to_json,
+ body: body.nil? ? nil: body.to_json,
userpwd: "#{@auth[:username]}:#{@auth[:password]}",
headers: { "Content-Type" => "application/json" },
ssl_v... | 1 |
diff --git a/app/src/renderer/styles/variables.styl b/app/src/renderer/styles/variables.styl :root
--mc hsl(325, 96%, 59%)
--accent hsl(229, 96%, 62%)
- --app-fg hsl(133, 33%, 16%)
- --app-bg hsl(133, 36%, 13%)
- --app-bg-alpha hsla(133, 36%, 13%, 95%)
+ --primary hsl(233, 88%, 57%)
+ --primary-bc hsl(233, 88%, 43%)
+ ... | 12 |
diff --git a/factory-ai-vision/EdgeSolution/modules/WebModule/ui/src/components/MainLayout/MainLayout.tsx b/factory-ai-vision/EdgeSolution/modules/WebModule/ui/src/components/MainLayout/MainLayout.tsx import React, { FC, MouseEvent } from 'react';
-import { Grid, Segment, Image, Flex, Text, MenuIcon } from '@fluentui/r... | 14 |
diff --git a/articles/hooks/extensibility-points/pre-user-registration.md b/articles/hooks/extensibility-points/pre-user-registration.md @@ -9,12 +9,7 @@ beta: true
For [Database Connections](/connections/database), the `pre-user-registration` extensibility point allows you to add custom `app_metadata` or `user_metadat... | 2 |
diff --git a/README.md b/README.md @@ -105,5 +105,22 @@ options={
}
```
+## FormioBuilder class
+The FormioBuilder class can be used to embed a form builder directly in your react application. Please note that you'll need to include the CSS for the form builder from formio.js as well.
+
+** For es6 import/export module... | 0 |
diff --git a/lib/rules/lint-attribute-indentation.js b/lib/rules/lint-attribute-indentation.js @@ -27,7 +27,7 @@ const canApplyRule = function(node, type, config) {
}
if (start.line === end.line) {
- return (end.column - start.column) > config;
+ return (end.column - start.column) > config.maxLength;
}
return true;
@@ ... | 11 |
diff --git a/src/injected/content/bridge.js b/src/injected/content/bridge.js @@ -41,7 +41,7 @@ const bridge = {
if (!handle || !allow[cmd]?.[dataKey]) {
throw new ErrorSafe(`[Violentmonkey] Invalid command: "${cmd}" on ${global.location.host}`);
}
- const callbackId = data && data::getOwnProp(CALLBACK_ID);
+ const call... | 1 |
diff --git a/src/selection-handler.js b/src/selection-handler.js @@ -187,8 +187,10 @@ Object.assign(SelectionHandler.prototype, require('./function-bind'), require('.
},
block: function(block) {
- var blockPosition = this.editor.getBlockPosition(block.el);
+ var blockPosition = this.editor.blockManager.getBlockPosition... | 2 |
diff --git a/packages/node_modules/@node-red/nodes/core/network/10-mqtt.html b/packages/node_modules/@node-red/nodes/core/network/10-mqtt.html default: !this.expiry ? 'none':'num',
types: [typedInputNoneOpt, 'num']
});
- $("#node-input-contentType").on('change', function (event, type, value, urg) {
- console.log(event)... | 2 |
diff --git a/src/components/Tabs.js b/src/components/Tabs.js @@ -189,8 +189,7 @@ const Tabs = React.createClass({
tabsContainer: {
borderBottom: this.props.showBottomBorder ? '1px solid ' + StyleConstants.Colors.FOG : 'none',
boxSizing: 'border-box',
- paddingBottom: 20,
- paddingLeft: 20,
+ padding: `0 0 ${StyleConsta... | 1 |
diff --git a/docs/documentation/sitespeed.io/introduction/index.md b/docs/documentation/sitespeed.io/introduction/index.md @@ -20,9 +20,9 @@ twitterdescription: Introduction for sitespeed.io.
We think of a complete web performance tool as having three key capabilities:
- - It test web sites using real browsers, simulat... | 7 |
diff --git a/token-metadata/0xAE9CBE6eBf72A51c9Fcea3830485614486318Fd4/metadata.json b/token-metadata/0xAE9CBE6eBf72A51c9Fcea3830485614486318Fd4/metadata.json "symbol": "NEWTON",
"address": "0xAE9CBE6eBf72A51c9Fcea3830485614486318Fd4",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIE... | 3 |
diff --git a/packages/imba/src/compiler/nodes.imba1 b/packages/imba/src/compiler/nodes.imba1 @@ -3848,11 +3848,16 @@ export class Func < Code
o.push(item.jsdoc())
if option(:inExtension) and @target
+ let kls = @context.node
let name = @context.node.@className
if name and STACK.tsc
# console.log 'inext',@context.node.@... | 7 |
diff --git a/src/userscript.ts b/src/userscript.ts @@ -47206,7 +47206,10 @@ var $$IMU_EXPORT$$;
// thanks to nadomodan on github: https://github.com/qsniyg/maxurl/issues/304
// https://cdn.donmai.us/preview/5e/c1/5ec172460e1f8cf0dff7219c2ba52f4c.jpg
// https://hijiribe.donmai.us/data/5ec172460e1f8cf0dff7219c2ba52f4c.pn... | 7 |
diff --git a/modules/xerte/parent_templates/Nottingham/common_html5/js/loadjs.min.js b/modules/xerte/parent_templates/Nottingham/common_html5/js/loadjs.min.js -loadjs=function(){var e=function(){},n={},t={},r={};function s(e,n){if(e){var s=r[e];if(t[e]=n,s)for(;s.length;)s[0](e,n),s.splice(0,1)}}function i(n,t){n.call&... | 1 |
diff --git a/assets/js/modules/analytics/components/common/AccountSelect.js b/assets/js/modules/analytics/components/common/AccountSelect.js @@ -73,11 +73,7 @@ export default function AccountSelect() {
newAccountID === ACCOUNT_CREATE
? 'change_account_new'
: 'change_account';
- trackEvent(
- `${ viewContext }_analytics... | 2 |
diff --git a/app/components/Settings/BackupSettings.jsx b/app/components/Settings/BackupSettings.jsx @@ -3,6 +3,9 @@ import {BackupCreate} from "../Wallet/Backup";
import BackupBrainkey from "../Wallet/BackupBrainkey";
import counterpart from "counterpart";
import BackupFavorites from "./BackupFavorites";
+import {Sele... | 14 |
diff --git a/packages/ember-routing/lib/system/dsl.js b/packages/ember-routing/lib/system/dsl.js @@ -6,7 +6,10 @@ import { assert, deprecate } from 'ember-metal';
@submodule ember-routing
*/
-function DSL(name, options) {
+let uuid = 0;
+
+class DSL {
+ constructor(name, options) {
this.parent = name;
this.enableLoadin... | 14 |
diff --git a/token-metadata/0x3B7f247f21BF3A07088C2D3423F64233d4B069F7/metadata.json b/token-metadata/0x3B7f247f21BF3A07088C2D3423F64233d4B069F7/metadata.json "symbol": "DYNMT",
"address": "0x3B7f247f21BF3A07088C2D3423F64233d4B069F7",
"decimals": 2,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/lib/global-admin/addon/security/authentication/activedirectory/route.js b/lib/global-admin/addon/security/authentication/activedirectory/route.js @@ -10,13 +10,6 @@ export default Route.extend({
return hash({
activeDirectory: gs.find('authconfig', 'activedirectory'),
principals: gs.all('principal'),
- }).t... | 2 |
diff --git a/packages/fbt-rn-android-native/README.md b/packages/fbt-rn-android-native/README.md -# fbt-rn-android-native
+# fbt-rn-android-native [DEPRECATED]
+
+This package will not longer be maintained. It has been deprecated in favor of [react-native-fbt](https://www.npmjs.com/package/react-native-fbt), which adds... | 4 |
diff --git a/server/handlers/awsJobs.js b/server/handlers/awsJobs.js @@ -427,9 +427,12 @@ let handlers = {
// NOTE: disappearing from batch is not necessarily a bad thing. Batch only keeps jobs around for 24 hours after they have entered
// a failed or succeeded state
if(batchStatus.length != job.analysis.jobs.length) ... | 1 |
diff --git a/tests/e2e/specs/modules/analytics/write-scope-requests.test.js b/tests/e2e/specs/modules/analytics/write-scope-requests.test.js @@ -117,9 +117,7 @@ describe( 'Analytics write scope requests', () => {
interceptCreatePropertyRequest = false;
interceptCreateProfileRequest = false;
- await activatePlugin( 'e2e... | 2 |
diff --git a/src/graphql/mutations/__tests__/CreateMediaArticle.js b/src/graphql/mutations/__tests__/CreateMediaArticle.js @@ -3,20 +3,10 @@ import { loadFixtures, unloadFixtures } from 'util/fixtures';
import client from 'util/client';
import MockDate from 'mockdate';
import fixtures from '../__fixtures__/CreateMediaA... | 2 |
diff --git a/test/jasmine/tests/svg_text_utils_test.js b/test/jasmine/tests/svg_text_utils_test.js @@ -516,7 +516,6 @@ describe('svg+text utils', function() {
describe('sanitizeHTML', function() {
'use strict';
- describe('convertToTspans', function() {
var stringFromCodePoint;
beforeAll(function() {
@@ -623,4 +622,3 @... | 2 |
diff --git a/assets/sass/components/global/_googlesitekit-sharing-settings.scss b/assets/sass/components/global/_googlesitekit-sharing-settings.scss }
.googlesitekit-dashboard-sharing-settings__footer-notice {
+ margin: -0.625rem 0;
@media (max-width: $bp-mobileOnly ) {
padding: 16px 16px 0;
padding: 8px;
}
- @media (m... | 2 |
diff --git a/userscript.user.js b/userscript.user.js @@ -21832,7 +21832,11 @@ var $$IMU_EXPORT$$;
// https://pyxis.nymag.com/v1/imgs/92c/88f/d4a2dede7120bc943ed95943b6ac5fe212-trump.jpg
// https://pyxis.nymag.com/v1/imgs/5d3/ba9/44036335bf752271c445cd3ed12bf0c20d-02-LL-cool-J--WICLW-NEW.rhorizontal.w700.jpg
// https://... | 7 |
diff --git a/lib/cartodb/models/dataview/histogram.js b/lib/cartodb/models/dataview/histogram.js @@ -399,11 +399,7 @@ Histogram.prototype.format = function(result, override) {
width = firstRow.bin_width || width;
avg = firstRow.avg_val;
nulls = firstRow.nulls_count;
- binsStart = override.hasOwnProperty('start') ?
- ge... | 7 |
diff --git a/src/ui/treeview/TreeView.hx b/src/ui/treeview/TreeView.hx @@ -326,7 +326,9 @@ using tools.PathTools;
}
}
}
+ if (children.length > 0) {
dir.treeItems.insertBefore(item, children[i]);
+ } else dir.treeItems.appendChild(item);
}
//
public static function openProject(el:Element) {
| 1 |
diff --git a/articles/libraries/lock/v10/auth0js.md b/articles/libraries/lock/v10/auth0js.md @@ -14,58 +14,64 @@ For simple uses, Lock is all that is necessary. However, while using Lock, if mo
If you included the Lock script from the Auth0 CDN, you will need to also include the auth0.js script before Lock:
-```html
-<... | 0 |
diff --git a/app/shared/containers/Global/Account/Dropdown.js b/app/shared/containers/Global/Account/Dropdown.js @@ -80,11 +80,26 @@ class GlobalAccountDropdown extends Component<Props> {
trigger={trigger}
>
<Dropdown.Menu key="parent">
- <Dropdown.Menu key="menu" scrolling>
+ <Dropdown.Menu key="menu" scrolling style=... | 11 |
diff --git a/packages/react-router-dom/__tests__/trailing-slashes-test.tsx b/packages/react-router-dom/__tests__/trailing-slashes-test.tsx @@ -126,10 +126,10 @@ describe("trailing slashes", () => {
index
element={
<>
- <Link to="../../.." />
- <Link to="../../../" />
- <Link to="../../child" />
- <Link to="../../child/... | 1 |
diff --git a/tests/e2e/utils/switch-date-range.js b/tests/e2e/utils/switch-date-range.js * @param {string} toRange The new date range to select.
*/
export async function switchDateRange( fromRange, toRange ) {
- await expect( page ).toClick( '.mdc-select__selected-text', { text: new RegExp( fromRange, 'i' ) } );
- awai... | 7 |
diff --git a/src/views/landing/sections/sockets/index.js b/src/views/landing/sections/sockets/index.js @@ -167,6 +167,19 @@ const Sockets = ({
min-height: 41px;
}
+ @media screen and (max-width: 680px) {
+ .Project__title {
+ min-height: 82px;
+ font-size: 28px;
+ }
+ }
+
+ @media screen and (max-width: 370px) {
+ .Pro... | 1 |
diff --git a/app/views/monsoon_openstack_auth/sessions/two_factor.haml b/app/views/monsoon_openstack_auth/sessions/two_factor.haml = inside_layout 'login' do
.container
-
-
= form_tag(check_passcode_path(after_login: params[:after_login]), class: "form-signin") do
%h2.form-signin-heading Two-Factor Verification
%p Ente... | 1 |
diff --git a/Specs/Scene/CameraSpec.js b/Specs/Scene/CameraSpec.js @@ -993,6 +993,53 @@ defineSuite([
expect(camera.right).toEqual(right);
});
+ it('moves forward in 2D mode', function() {
+ var frustum = new OrthographicOffCenterFrustum();
+ frustum.near = 1.0;
+ frustum.far = 2.0;
+ frustum.left = -2.0;
+ frustum.rig... | 3 |
diff --git a/preact.config.js b/preact.config.js @@ -4,6 +4,8 @@ const path = require('path');
export default {
webpack(config, env, helpers, options) {
config.node = { fs: 'empty' };
+ config.output = config.output || {};
+ config.output.publicPath = '/';
config.plugins = config.plugins || [];
config.plugins.push(
new... | 12 |
diff --git a/components/core/FilePreviewBubble.js b/components/core/FilePreviewBubble.js @@ -3,10 +3,8 @@ import * as Constants from "~/common/constants";
import { css, keyframes } from "@emotion/react";
import { useState } from "react";
-import SlateMediaObjectPreview from "~/components/core/SlateMediaObjectPreview";
... | 1 |
diff --git a/src/pages/iou/IOUDetailsModal.js b/src/pages/iou/IOUDetailsModal.js @@ -109,9 +109,7 @@ class IOUDetailsModal extends Component {
this.props.iouReport.ownerEmail,
this.props.iouReport.managerEmail,
);
-
- // Not sure if we should navigate to the chat report here as well, but I think we should
- Navigation.... | 4 |
diff --git a/articles/connector/overview.md b/articles/connector/overview.md @@ -12,7 +12,7 @@ The **AD/LDAP Connector** acts as a bridge between your **Active Directory** ser
The Connector supports authentication based on the following:
-* LDAP;
+* [LDAP](/protocols/ldap);
* [Kerberos](/connector/kerberos);
* [Client ... | 0 |
diff --git a/server/game/cards/08-MotC/KitsukiJusai.js b/server/game/cards/08-MotC/KitsukiJusai.js @@ -13,7 +13,7 @@ class KitsukiJusai extends DrawCard {
},
gameAction: AbilityDsl.actions.selectRing(context => ({
activePromptTitle: 'Choose an unclaimed ring to move fate to',
- ringCondition: ring => ring.isUnclaimed()... | 2 |
diff --git a/api/src/api/v2.js b/api/src/api/v2.js @@ -99,8 +99,7 @@ function get_job(body) {
if (
rt.language !== 'file' &&
- files.filter(file => !file.encoding || file.encoding === 'utf8')
- .length === 0
+ !files.some(file => !file.encoding || file.encoding === 'utf8')
) {
return reject({
message: 'files must inclu... | 4 |
diff --git a/examples/__tests__/SimpleSlider.test.js b/examples/__tests__/SimpleSlider.test.js @@ -3,7 +3,7 @@ import React from 'react';
import {shallow, mount} from 'enzyme';
import SimpleSlider from '../SimpleSlider';
-describe('sample enzyme test', function() {
+describe('Simple Slider', function() {
it('should hav... | 0 |
diff --git a/src/layers/fp64/scatterplot-layer/scatterplot-layer-64.js b/src/layers/fp64/scatterplot-layer/scatterplot-layer-64.js @@ -148,7 +148,7 @@ export default class ScatterplotLayer64 extends Layer {
let i = 0;
for (const point of data) {
const position = getPosition(point);
- [value[i + 0], value[i + 1]] = fp64... | 1 |
diff --git a/packages/node_modules/@node-red/runtime/lib/nodes/Node.js b/packages/node_modules/@node-red/runtime/lib/nodes/Node.js @@ -338,12 +338,14 @@ Node.prototype.close = function(removed) {
}
}
if (promises.length > 0) {
- return Promise.all(promises).then(function() {
+ return Promise.all(promises).then(() => {
... | 2 |
diff --git a/src/lib/wallet/GoodWalletClassOld.js b/src/lib/wallet/GoodWalletClassOld.js @@ -540,8 +540,14 @@ export class GoodWallet {
return [0, hasClaim]
}
- const startRef = await this.UBIContract.methods.periodStart.call().then(_ => moment(parseInt(_) * 1000).utc())
- const curDay = await this.UBIContract.methods.... | 0 |
diff --git a/src/layouts/EnterpriseLayout.js b/src/layouts/EnterpriseLayout.js @@ -140,7 +140,14 @@ class EnterpriseLayout extends PureComponent {
},
callback: res => {
const adminer = userUtil.isCompanyAdmin(currentUser);
- if (res && res.list && res.list.length == 0 && adminer) {
+ const currentAddress = window.locat... | 1 |
diff --git a/src/og/control/ruller/RullerScene.js b/src/og/control/ruller/RullerScene.js @@ -56,7 +56,7 @@ class RullerScene extends RenderNode {
this._trackEntity.polyline.altitude = 2;
- let obj3d = Object3d.createCylinder(1.5, 0, 5, 5, 1, true, false, 0, -3.5, 0)
+ let obj3d = Object3d.createCylinder(1.5, 0, 5, 20, ... | 7 |
diff --git a/packages/app/src/components/Common/Dropdown/PageItemControl.tsx b/packages/app/src/components/Common/Dropdown/PageItemControl.tsx @@ -66,12 +66,27 @@ const PageItemControlDropdownMenu = React.memo((props: DropdownMenuProps): JSX.E
additionalMenuItemRenderer: AdditionalMenuItems, isInstantRename, alignRight... | 7 |
diff --git a/democracylab/models.py b/democracylab/models.py @@ -19,7 +19,7 @@ class Contributor(User):
country = models.CharField(max_length=2, blank=True)
postal_code = models.CharField(max_length=20, blank=True)
phone_primary = models.CharField(max_length=200, blank=True)
- about_me = models.CharField(max_length=100... | 13 |
diff --git a/articles/support/matrix.md b/articles/support/matrix.md @@ -319,6 +319,11 @@ Auth0 support is limited to the most recent version of the OS listed (unless oth
<td>v2</td>
<td><div class="label label-primary">Supported</div></td>
</tr>
+ <tr>
+ <td><a href="https://github.com/auth0/auth0-php">Auth0 PHP</a></... | 0 |
diff --git a/contribs/gmf/src/controllers/bootstrap.js b/contribs/gmf/src/controllers/bootstrap.js @@ -34,6 +34,7 @@ function addScript(scriptUrl) {
const script = document.createElement('script');
script.src = scriptUrl;
script.crossOrigin = 'anonymous';
+ script.type = 'module';
document.body.append(script);
}
| 12 |
diff --git a/app/services/carto/user_table_index_service.rb b/app/services/carto/user_table_index_service.rb @@ -31,7 +31,6 @@ module Carto
def generate_indices
auto_indices(valid: false).each do |idx|
- CartoDB::Logger.debug(message: 'Auto index', action: 'drop invalid', table: @user_table, column: idx[:column])
@tabl... | 2 |
diff --git a/src/docs/filters.md b/src/docs/filters.md @@ -14,7 +14,7 @@ tags:
---
# Filters
-A filter is a function which can be used within templating syntax to transform data into a more presentable format. Filters are typically designed to be chained, so that the value returned from one filter is piped into the nex... | 4 |
diff --git a/src/template.json b/src/template.json "size": "",
"notes": "",
"systems": {
- "powercore": "",
- "thrusters": "",
- "armor": "",
"quarters": "",
- "defense": "",
"driftEngine": "",
"bays": {
"value": [],
"value": [],
"custom": ""
},
- "sensors": "",
- "shields": ""
+ "sensors": ""
},
"modifiers": {
"value"... | 2 |
diff --git a/core/dropdowndiv.js b/core/dropdowndiv.js @@ -320,8 +320,6 @@ Blockly.DropDownDiv.show = function(owner, primaryX, primaryY,
* @private
*/
Blockly.DropDownDiv.getBoundsInfo_ = function() {
- // TODO (#2744): Account for toolboxes.
-
var boundPosition = Blockly.DropDownDiv.boundsElement_.getBoundingClientRe... | 2 |
diff --git a/nerdamer.core.js b/nerdamer.core.js @@ -8898,10 +8898,8 @@ var nerdamer = (function (imports) {
var d = _.subtract(u.clone(), v.clone());
//if it's not numeric then we don't know if we can simplify so just return
- if(!d.isConstant()) {
- b = new Symbol(1);
- }
- else {
+ if(d.isConstant()) {
+
//there wil... | 1 |
diff --git a/lambda_permissions.go b/lambda_permissions.go @@ -146,54 +146,6 @@ func (perm BasePermission) export(principal *gocf.StringExpr,
// END - BasePermission
////////////////////////////////////////////////////////////////////////////////
-////////////////////////////////////////////////////////////////////////... | 2 |
diff --git a/diorama.js b/diorama.js @@ -22,7 +22,9 @@ const localVector3 = new THREE.Vector3();
const localVector2D = new THREE.Vector2();
const localVector2D2 = new THREE.Vector2();
const localVector4D = new THREE.Vector4();
+const localQuaternion = new THREE.Quaternion();
const localMatrix = new THREE.Matrix4();
+co... | 0 |
diff --git a/CHANGELOG.md b/CHANGELOG.md ## 7.3.1 (unreleased)
-### Breaking
-
-### Feature
-
### Bugfix
- Solved a browser console error in /contents view (#1695) @silviubogan
- Pagination icon fix @nileshgulia1
-### Internal
-
## 7.3.0 (2020-07-26)
### Feature
| 6 |
diff --git a/plugins/resource_management/app/controllers/resource_management/cloud_admin_controller.rb b/plugins/resource_management/app/controllers/resource_management/cloud_admin_controller.rb @@ -207,7 +207,7 @@ module ResourceManagement
# decide which table we are sorting
if @sortable_table == "domain_overcommitted... | 8 |
diff --git a/src/encoded/static/components/award.js b/src/encoded/static/components/award.js @@ -440,28 +440,22 @@ const ChartRenderer = React.createClass({
if (this.searchData[chartCategory].data.length) {
// Get the array of lab data.
const labFacet = this.searchData[chartCategory].data.find(facet => facet.field === ... | 9 |
diff --git a/app/views/taxon_changes/_form.html.erb b/app/views/taxon_changes/_form.html.erb <%= t(:this_taxon_change_has_been_commited).html_safe %>
</div>
<% end -%>
- <% if taxon_change.new_record? -%>
+ <% unless taxon_change.committed? -%>
<fieldset class="column span-8">
<legend>
<%= t :type %>
<%= f.hidden_field... | 11 |
diff --git a/src/api/v4/error.js b/src/api/v4/error.js +var UNEXPECTED_ERROR = 'unexpected error';
+
/**
* Build a cartoError from a generic error
* @constructor
@@ -18,7 +20,7 @@ function CartoError (error) {
return this;
}
- this.message = 'unexpected error';
+ this.message = UNEXPECTED_ERROR;
}
function _isWindshaft... | 9 |
diff --git a/src/lib/decode.js b/src/lib/decode.js @@ -4,6 +4,8 @@ import { ok, error, map as mapResult } from "./result";
// Decoders give you a way to safely convert from an unknown type to a
// concrete type and recover from failure at runtime.
+// This is essentially a port of elm's JSON decoders
+// http://package... | 0 |
diff --git a/src/components/general/settings/TabAi.jsx b/src/components/general/settings/TabAi.jsx @@ -11,7 +11,7 @@ import styles from './settings.module.css';
//
-const ApiTypes = [ 'NONE', 'AI21', 'GOOSEAI', 'OPENAI' ];
+const ApiTypes = [ 'NONE', 'AI21', 'GOOSEAI', 'OPENAI', 'CONVAI' ];
const DefaultSettings = {
ap... | 0 |
diff --git a/packages/@uppy/xhr-upload/src/index.js b/packages/@uppy/xhr-upload/src/index.js @@ -251,7 +251,7 @@ export default class XHRUpload extends BasePlugin {
}
})
- xhr.addEventListener('load', (ev) => {
+ xhr.addEventListener('load', () => {
this.uppy.log(`[XHRUpload] ${id} finished`)
timer.done()
queuedRequest... | 14 |
diff --git a/ui/app/components/account-dropdowns.js b/ui/app/components/account-dropdowns.js @@ -17,7 +17,7 @@ class AccountDropdowns extends Component {
accountSelectorActive: false,
optionsMenuActive: false,
}
- this.accountSelectorToggleClassName = 'fa-angle-down'
+ this.accountSelectorToggleClassName = 'accounts-se... | 11 |
diff --git a/src/og/control/SimpleSkyBackground.js b/src/og/control/SimpleSkyBackground.js import { Control } from "./Control.js";
import { Program } from '../webgl/Program.js';
+import { htmlColorToRgb } from "../utils/shared.js";
/**
* Frame per second(FPS) display control.
@@ -19,6 +20,23 @@ class SimpleSkyBackgroun... | 0 |
diff --git a/token-metadata/0xD7EFB00d12C2c13131FD319336Fdf952525dA2af/metadata.json b/token-metadata/0xD7EFB00d12C2c13131FD319336Fdf952525dA2af/metadata.json "symbol": "XPR",
"address": "0xD7EFB00d12C2c13131FD319336Fdf952525dA2af",
"decimals": 4,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
}... | 3 |
diff --git a/src/TemplateData.js b/src/TemplateData.js @@ -154,12 +154,12 @@ class TemplateData {
let paths = [
`${dir}/**/*.json`, // covers .11tydata.json too
`${dir}/**/*${this.config.jsDataFileSuffix}.cjs`,
- `${dir}/**/*${this.config.jsDataFileSuffix}.js`
+ `${dir}/**/*${this.config.jsDataFileSuffix}.js`,
];
if (t... | 0 |
diff --git a/example/src/examples/EarthQuakes.js b/example/src/examples/EarthQuakes.js @@ -83,7 +83,7 @@ class EarthQuakes extends React.Component {
<MapboxGL.CircleLayer
id="singlePoint"
- filter={['!'[('has', 'point_count')]]}
+ filter={['!', ['has', 'point_count']]}
style={layerStyles.singlePoint}
/>
</MapboxGL.Shap... | 2 |
diff --git a/src/components/ResultCard.js b/src/components/ResultCard.js -import { Box, Heading, Icon, Link, Text, useTheme } from '@chakra-ui/core';
+import { Box, Heading, Icon, Text, useTheme } from '@chakra-ui/core';
import PropTypes from 'prop-types';
import React, { forwardRef } from 'react';
+import Link from '.... | 4 |
diff --git a/lod.js b/lod.js @@ -248,6 +248,28 @@ const constructOctreeForLeaf = (position, lod1Range, maxLod) => {
rootNodes,
lod1Nodes,
leafNodes,
+ remapNodes(nodes) {
+ for (let i = 0; i < nodes.length; i++) {
+ const node = nodes[i];
+ const hash = _octreeNodeMinHash(node.min, node.lod);
+ const otherNode = nodeMa... | 0 |
diff --git a/lib/plugins/aws/provider/awsProvider.js b/lib/plugins/aws/provider/awsProvider.js @@ -471,7 +471,7 @@ class AwsProvider {
getDeploymentPrefix() {
const provider = this.serverless.service.provider;
- if (!('deploymentPrefix' in provider)) {
+ if (provider.deploymentPrefix === null || provider.deploymentPref... | 11 |
diff --git a/packages/example-forum/lib/modules/posts/parameters.js b/packages/example-forum/lib/modules/posts/parameters.js @@ -9,9 +9,9 @@ import moment from 'moment';
import { addCallback } from 'meteor/vulcan:core';
// Add 'after' and 'before' properties to terms which can be used to limit posts in time.
-function ... | 10 |
diff --git a/lib/react/rails/railtie.rb b/lib/react/rails/railtie.rb @@ -33,9 +33,13 @@ module React
end
# Rails checks these objects for changes:
- app.reloaders << app.config.file_watcher.new([], reload_paths) {}
+ react_reloader = app.config.file_watcher.new([], reload_paths) do
+ React::ServerRendering.reset_pool
+... | 1 |
diff --git a/src/components/level.js b/src/components/level.js import {PRIMARY_STATISTICS} from '../constants';
import {capitalize, formatNumber, getStatistic} from '../utils/commonfunctions';
+import {HeartFillIcon} from '@primer/octicons-v2-react';
import classnames from 'classnames';
import equal from 'fast-deep-equ... | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.