code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/Jenkinsfile b/Jenkinsfile // 5. You should get an editor where you can modify the pipeline and run it
// again immediately <3
-def newImage = null
-
pipeline {
agent none
@@ -46,22 +44,17 @@ pipeline {
def dockerRepoName = 'zooniverse/front-end-monorepo-${APP_ENV}'
def dockerImageName = "${dockerRepoName}:... | 1 |
diff --git a/src/components/dashboard/__tests__/Receive.js b/src/components/dashboard/__tests__/Receive.js @@ -2,19 +2,25 @@ import React from 'react'
// Note: test renderer must be required after react-native.
import renderer from 'react-test-renderer'
-import { getWebRouterComponentWithMocks } from './__util__'
-
+le... | 1 |
diff --git a/src/pages/home/sidebar/ChatSwitcherView.js b/src/pages/home/sidebar/ChatSwitcherView.js @@ -359,7 +359,9 @@ class ChatSwitcherView extends React.Component {
.map(report => ({
text: report.reportName,
alternateText: report.reportName,
- searchText: report.participants ? `${report.reportName} ${report.partic... | 4 |
diff --git a/includes/Core/Authentication/Clients/OAuth_Client.php b/includes/Core/Authentication/Clients/OAuth_Client.php @@ -491,7 +491,11 @@ final class OAuth_Client {
wp_safe_redirect( $this->get_proxy_setup_url( $e->getAccessCode(), $e->getMessage() ) );
exit();
} catch ( Exception $e ) {
- $this->user_options->se... | 7 |
diff --git a/packages/node_modules/node-red/bin/node-red-pi b/packages/node_modules/node-red/bin/node-red-pi -#!/bin/bash
+#!/bin/sh
#
# Copyright JS Foundation and other contributors, http://js.foundation
#
@@ -29,15 +29,16 @@ do
done
# Find the real location of this script
-CURRENT_PATH=`pwd`
-SCRIPT_PATH="${BASH_SOU... | 2 |
diff --git a/metaverse_modules/overworld/index.js b/metaverse_modules/overworld/index.js @@ -48,7 +48,7 @@ export default e => {
renderPriority: -1,
},
{
- name: 'barrier',
+ name: 'barrier1forward',
type: 'app',
start_url: '../metaverse_modules/barrier/',
components: [
@@ -61,6 +61,20 @@ export default e => {
}
]
},
+... | 0 |
diff --git a/lime/utils/Assets.hx b/lime/utils/Assets.hx @@ -481,9 +481,7 @@ class Assets {
#if (tools && !display && !macro)
- var data = getText ("libraries/" + name + ".json");
-
- if (data != null && data != "") {
+ loadText ("libraries/" + name + ".json").onComplete (function (data) {
var library = AssetLibrary.fr... | 11 |
diff --git a/assets/js/modules/analytics/hooks/useExistingTagEffect.test.js b/assets/js/modules/analytics/hooks/useExistingTagEffect.test.js @@ -26,7 +26,10 @@ import {
AMP_MODE_SECONDARY,
} from '../../../googlesitekit/datastore/site/constants';
import { renderHook, actHook as act } from '../../../../../tests/js/test-... | 1 |
diff --git a/html/objects/_box.scss b/html/objects/_box.scss padding: 0;
}
-/// Tiny box - 4px padding
+/// Tiny box - Extra small padding (Default 4px)
.sprk-o-Box--tiny {
padding: $sprk-box-padding-tiny;
}
-/// Small box - 8px padding
+/// Small box - Small padding (Default 8px)
.sprk-o-Box--small {
padding: $sprk-bo... | 3 |
diff --git a/constants.js b/constants.js @@ -49,6 +49,7 @@ export const colors = [
];
export const storageHost = 'https://storage.exokit.org';
+export const previewHost = 'https://preview.exokit.org'
export const worldsHost = 'https://worlds.exokit.org';
export const accountsHost = 'https://accounts.exokit.org';
export... | 0 |
diff --git a/src/encoded/types/assay_data.py b/src/encoded/types/assay_data.py @@ -45,5 +45,6 @@ assay_terms = {
'Bru-seq': 'OBI:0002113',
'BruChase-seq': 'OBI:0002114',
'genetic modification followed by DNase-seq': 'NTR:0004774',
- 'CRISPRi followed by RNA-seq': 'NTR:0004619'
+ 'CRISPRi followed by RNA-seq': 'NTR:0004... | 0 |
diff --git a/src/components/dashboard/__tests__/__snapshots__/Claim.js.snap b/src/components/dashboard/__tests__/__snapshots__/Claim.js.snap @@ -560,7 +560,7 @@ exports[`Claim matches snapshot 1`] = `
}
}
>
- --
+ 0
</span>
<span
@@ -599,7 +599,7 @@ exports[`Claim matches snapshot 1`] = `
}
}
>
- --
+ 0
</span>
<span
c... | 0 |
diff --git a/packages/frontend/src/components/wallet/Wallet.js b/packages/frontend/src/components/wallet/Wallet.js @@ -7,8 +7,8 @@ import { CREATE_IMPLICIT_ACCOUNT,CREATE_USN_CONTRACT } from '../../../../../feat
import getCurrentLanguage from '../../hooks/getCurrentLanguage';
import { useSplitFungibleTokens } from '../... | 7 |
diff --git a/package.json b/package.json {
"name": "durable",
- "version": "2.0.15",
+ "version": "2.0.16",
"description": "A lightweight rules engine for real-time, consistent and scalable coordination of events.",
"keywords": [
"business rules",
],
"dependencies": {
"bindings": "^1.5.0",
- "escodegen": "^1.11.1",
+ "... | 3 |
diff --git a/.travis.yml b/.travis.yml @@ -9,6 +9,7 @@ services: mongodb
# required for node v4 native module compilation
# https://docs.travis-ci.com/user/languages/javascript-with-nodejs#Node.js-v4-(or-io.js-v3)-compiler-requirements
env:
+ global:
- CXX=g++-4.8
- WHYD_GENUINE_SIGNUP_SECRET="whatever"
- WHYD_SESSION_... | 12 |
diff --git a/articles/cross-origin-authentication/index.md b/articles/cross-origin-authentication/index.md @@ -5,9 +5,13 @@ description: An explanation of cross-origin authentication in Auth0 and its comp
---
# Cross-Origin Authentication
-For most situations, Auth0 recommends that authentication transactions be handle... | 3 |
diff --git a/token-metadata/0x0E7f79E89BA8C4a13431129fB2db0d4f444B5B9A/metadata.json b/token-metadata/0x0E7f79E89BA8C4a13431129fB2db0d4f444B5B9A/metadata.json "symbol": "XANK",
"address": "0x0E7f79E89BA8C4a13431129fB2db0d4f444B5B9A",
"decimals": 16,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/generators/entity-server/templates/src/test/java/package/web/rest/EntityResourceIT.java.ejs b/generators/entity-server/templates/src/test/java/package/web/rest/EntityResourceIT.java.ejs @@ -1141,8 +1141,8 @@ _%>
}
<%_ if (databaseType === 'sql') { _%>
- @Test
- @Transactional
+ @Test<% if (databaseType ===... | 2 |
diff --git a/src/comments/CommentFormEmbedded.js b/src/comments/CommentFormEmbedded.js @@ -9,6 +9,7 @@ import classNames from 'classnames';
import Textarea from 'react-textarea-autosize';
import Icon from '../widgets/Icon';
import * as commentActions from './commentsActions';
+import Loading from '../widgets/Loading';
... | 7 |
diff --git a/addon/components/basic-dropdown/content.js b/addon/components/basic-dropdown/content.js @@ -9,7 +9,7 @@ import fallbackIfUndefined from '../../utils/computed-fallback-if-undefined';
import { getScrollParent } from '../../utils/calculate-position';
function closestContent(el) {
- while (el && !el.classList.... | 1 |
diff --git a/js/webcomponents/bisweb_filedialog.js b/js/webcomponents/bisweb_filedialog.js @@ -27,12 +27,7 @@ class FileDialogElement {
</div>
</div>
<div class='row justify-content-start content-box'>
- <div class='col-sm-3'>
- <ul class='nav nav-pills nav-stacked'>
- <li class='active'><a href='#'>A file</a></li>
- <... | 5 |
diff --git a/lib/v2/ielts/index.js b/lib/v2/ielts/index.js @@ -15,20 +15,20 @@ module.exports = async (ctx) => {
await page.goto(targetUrl, {
waitUntil: 'networkidle0',
});
- const html = await page.evaluate(() => document.body.innerHTML);
- browser.close();
-
- const $ = cheerio.load(html);
- const list = $('#newsList... | 13 |
diff --git a/react/src/base/inputs/Date.stories.js b/react/src/base/inputs/Date.stories.js @@ -3,7 +3,8 @@ import SprkTextInput from './SprkTextInput/SprkTextInput';
import SprkInput from './SprkInput/SprkInput';
import SprkLabel from './SprkLabel/SprkLabel';
import SprkInputContainer from './SprkInputContainer/SprkInp... | 3 |
diff --git a/stories/header.stories.js b/stories/header.stories.js @@ -28,39 +28,27 @@ import Header from '../assets/js/components/Header';
import DateRangeSelector from '../assets/js/components/DateRangeSelector';
import { createTestRegistry, provideSiteInfo, provideUserAuthentication, WithTestRegistry } from '../test... | 2 |
diff --git a/app/shared/components/Wallet/Panel/Form/Stake.js b/app/shared/components/Wallet/Panel/Form/Stake.js @@ -13,16 +13,7 @@ import GlobalFormFieldAccount from '../../../Global/Form/Field/Account';
import GlobalFormFieldToken from '../../../Global/Form/Field/Token';
import EOSAccount from '../../../../utils/EOS/... | 11 |
diff --git a/package.json b/package.json "devDependencies": {
"@oclif/dev-cli": "^1.13.31",
"eslint": "^4",
- "eslint-config-oclif": "^1",
- "napa": "^3.0.0"
+ "eslint-config-oclif": "^1"
},
"engines": {
"node": ">=8.0.0"
},
"repository": "netlify/cli",
"scripts": {
- "install": "napa netlify/open-api",
- "sdk": "swagg... | 2 |
diff --git a/packages/openneuro-app/src/scripts/refactor_2021/dataset/files/viewers/file-viewer-json.jsx b/packages/openneuro-app/src/scripts/refactor_2021/dataset/files/viewers/file-viewer-json.jsx @@ -2,6 +2,18 @@ import React from 'react'
import PropTypes from 'prop-types'
import styled from '@emotion/styled'
+const... | 7 |
diff --git a/client/src/components/layouts/LayoutLine/cardFrame.js b/client/src/components/layouts/LayoutLine/cardFrame.js @@ -38,9 +38,15 @@ function calculatePath(
class CardFrame extends Component {
state = {};
render() {
- let { simulator, station, children, cardName, viewscreen } = this.props;
+ let {
+ simulator,... | 1 |
diff --git a/src/VR.js b/src/VR.js @@ -469,7 +469,7 @@ class FakeVRDisplay extends VRDisplay {
},
}],
_pose: null, // defer
- getDevicePose() {
+ getViewerPose() {
return this._pose;
},
getInputPose(inputSource, coordinateSystem) {
| 10 |
diff --git a/assets/js/modules/analytics/components/common/TrackingExclusionSwitches.js b/assets/js/modules/analytics/components/common/TrackingExclusionSwitches.js @@ -111,10 +111,6 @@ export default function TrackingExclusionSwitches() {
{ __( 'Exclude Analytics', 'google-site-kit' ) }
</h4>
- <fieldset className="go... | 2 |
diff --git a/src/memcached_permissions.erl b/src/memcached_permissions.erl @@ -40,8 +40,8 @@ bucket_permissions_to_check(Bucket) ->
{{[{bucket, Bucket}, stats], read}, 'SimpleStats'},
{{[{bucket, Bucket}, data, dcp], read}, 'DcpConsumer'},
{{[{bucket, Bucket}, data, dcp], write}, 'DcpProducer'},
- {{[{bucket, Bucket}, ... | 14 |
diff --git a/token-metadata/0xA9d2927d3a04309E008B6af6E2e282AE2952e7fD/metadata.json b/token-metadata/0xA9d2927d3a04309E008B6af6E2e282AE2952e7fD/metadata.json "symbol": "ZIP",
"address": "0xA9d2927d3a04309E008B6af6E2e282AE2952e7fD",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/app/scripts/HorizontalMultivecTrack.js b/app/scripts/HorizontalMultivecTrack.js @@ -151,8 +151,6 @@ export default class HorizontalMultivecTrack extends HeatmapTiledPixiTrack {
// the position of the tile containing the query position
const tilePos = this._xScale.invert(trackX) / tileWidth;
- console.log('... | 2 |
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/modules/RCTMGLOfflineModule.java b/android/rctmgl/src/main/java/com/mapbox/rctmgl/modules/RCTMGLOfflineModule.java @@ -150,7 +150,6 @@ public class RCTMGLOfflineModule extends ReactContextBaseJavaModule {
map.putInt("completedTileSize", (int)status.getComplete... | 2 |
diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/editor.js b/packages/node_modules/@node-red/editor-client/src/js/ui/editor.js @@ -409,6 +409,8 @@ RED.editor = (function() {
var changed = false;
if (!node.credentials) {
node.credentials = {_:{}};
+ } else if (!node.credentials._) {
+ node.credential... | 9 |
diff --git a/js/web-server.js b/js/web-server.js @@ -1062,6 +1062,9 @@ function addStatic(dir, pre) {
// either add module assets to path or require(init.js)
function loadModule(dir) {
+ if (dir.indexOf('node_modules') >= 0) {
+ return;
+ }
if (lastmod(dir + "/.ignore")) {
return;
}
| 11 |
diff --git a/token-metadata/0x56CdBbeec9828962cECB3f1b69517d430295D952/metadata.json b/token-metadata/0x56CdBbeec9828962cECB3f1b69517d430295D952/metadata.json "symbol": "DDTG",
"address": "0x56CdBbeec9828962cECB3f1b69517d430295D952",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/src/components/Hoverable/index.js b/src/components/Hoverable/index.js @@ -3,7 +3,8 @@ import {propTypes, defaultProps} from './HoverablePropTypes';
/**
* It is necessary to create a Hoverable component instead of relying solely on Pressable support for hover state,
- * because nesting Pressables causes iss... | 7 |
diff --git a/token-metadata/0x0E29e5AbbB5FD88e28b2d355774e73BD47dE3bcd/metadata.json b/token-metadata/0x0E29e5AbbB5FD88e28b2d355774e73BD47dE3bcd/metadata.json "symbol": "HAKKA",
"address": "0x0E29e5AbbB5FD88e28b2d355774e73BD47dE3bcd",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED... | 3 |
diff --git a/src/js/components/SafeImg.tsx b/src/js/components/SafeImg.tsx @@ -4,7 +4,7 @@ type Props = {
width?: number;
};
-const safeOrigins = ['data:image', 'https://imgur.com', 'https://i.imgur.com'];
+const safeOrigins = ['data:image', 'https://imgur.com/', 'https://i.imgur.com/', 'https://nostr.build/'];
const i... | 11 |
diff --git a/custom-domains/set-up-cloudfront.md b/custom-domains/set-up-cloudfront.md +---
+toc: true
+name: Configure AWS CloudFront for Use as Reverse Proxy
+description: How to set up AWS CloudFront for use as the custom domain proxy for Auth0
+---
+# Configure AWS CloudFront for Use as Reverse Proxy
+In this artic... | 0 |
diff --git a/docs/embarkjs-storage.rst b/docs/embarkjs-storage.rst @@ -13,13 +13,25 @@ The current available storage is IPFS. it can be initialized as
.. code:: javascript
- EmbarkJS.Storage.saveText("hello world").then(function(hash) {});
+ EmbarkJS.Storage.saveText("hello world")
+ .then(function(hash) {})
+ .catch(f... | 3 |
diff --git a/lib/gateway/Shard.js b/lib/gateway/Shard.js @@ -1492,6 +1492,8 @@ class Shard extends EventEmitter {
this._zlib = Zlib.createUnzip({
flush: Z_SYNC_FLUSH,
chunkSize: 128 * 1024
+ }).on("error", (err) => {
+ this.emit("error", err);
});
this._zlibChunks = [];
this._zlibIncomingChunks = [];
| 9 |
diff --git a/src/components/dashboard/FaceRecognition/ZoomCapture.js b/src/components/dashboard/FaceRecognition/ZoomCapture.js @@ -26,7 +26,7 @@ type ZoomCaptureProps = DashboardProps & {
class ZoomCapture extends React.Component<ZoomCaptureProps> {
videoTrack: MediaStreamTrack
- onCameraLoad = async (track: MediaStrea... | 0 |
diff --git a/.travis.yml b/.travis.yml @@ -4,8 +4,8 @@ node_js:
cache:
directories:
- - $TRAVIS_BUILD_DIR/demo/node_modules
- - $TRAVIS_BUILD_DIR/demo/functions/node_modules
+ - demo/template/node_modules
+ - demo/template/functions/node_modules
before_install:
- mkdir -p demo/
| 3 |
diff --git a/src/MagicMenu.jsx b/src/MagicMenu.jsx @@ -37,6 +37,9 @@ const makeAi = prompt => {
const {choices} = j;
const {text} = choices[0];
fullS += text;
+ if (!fullS) {
+ fullS = '// nope';
+ }
result.dispatchEvent(new MessageEvent('update', {
data: fullS,
}));
| 0 |
diff --git a/.github/workflows/crowdin.yml b/.github/workflows/crowdin.yml @@ -41,7 +41,7 @@ jobs:
download:
name: Download
if: "github.event_name == 'workflow_dispatch' && github.event.inputs.operation == 'download'"
- runs-on: ubuntu-latests
+ runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v1
with:
| 0 |
diff --git a/test/nodes/core/network/21-mqtt_spec.js b/test/nodes/core/network/21-mqtt_spec.js -/**
- * Copyright JS Foundation and other contributors, mqtt://js.foundation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * Yo... | 2 |
diff --git a/userscript.user.js b/userscript.user.js @@ -15974,6 +15974,7 @@ var $$IMU_EXPORT$$;
//"User-Agent": "Instagram 10.26.0 Android (23/6.0.1; 640dpi; 1440x2560; samsung; SM-G930F; herolte; samsungexynos8890; en_US)",
// thanks to ambler on discord for reporting, earlier UAs don't receive stories anymore
"User-... | 7 |
diff --git a/spec/requests/carto/api/maps_controller_spec.rb b/spec/requests/carto/api/maps_controller_spec.rb @@ -86,7 +86,7 @@ describe Carto::Api::MapsController do
end
def create_update_map_url(user, map_id)
- api_v1_maps_update_url(user_domain: user.username, api_key: user.api_key, id: map_id)
+ map_url(user_domai... | 4 |
diff --git a/devsiteHelper.py b/devsiteHelper.py @@ -190,7 +190,11 @@ def expandBook(book, lang='en'):
results = results + expandBook(items, lang)
else:
newItems = yaml.load(tocFileContents)
+ if 'toc' in newItems:
results = results + expandBook(newItems['toc'], lang)
+ else:
+ logging.error('Unable to get \'toc\' elem... | 1 |
diff --git a/lib/Compilation.js b/lib/Compilation.js @@ -550,8 +550,6 @@ class Compilation extends Tapable {
const shouldRecord = self.applyPluginsBailResult("should-record") !== false;
- self.sortItemsBeforeIds();
-
self.applyPlugins2("revive-modules", self.modules, self.records);
self.applyPlugins1("optimize-module-o... | 2 |
diff --git a/src/components/Learn-Components/Pagination/index.js b/src/components/Learn-Components/Pagination/index.js @@ -51,7 +51,13 @@ const Pagination = ({ TOCData, chapterData, location, showQuizModal }) => {
</div>
</PaginationWrapper>
) : null
-
+ // : (
+ // <QuizWrapper onClick={showQuizModal}>
+ // <Button se... | 1 |
diff --git a/docs/data_preparation.rst b/docs/data_preparation.rst @@ -650,7 +650,6 @@ This can be aggregated to multivec format:
--row-infos-filename row_infos.txt \
--num-rows 7 \
--format states
- --row_infos-filename rows_info.txt
A rows_info.txt file is required in the parameter ``--row-infos-filename`` for this t... | 2 |
diff --git a/src/pipeline/index.js b/src/pipeline/index.js @@ -35,7 +35,7 @@ const build = (opts, paths, inputConfig) => {
};
output.html = getHTML(
paths,
- output.ast,
+ ast,
output.components,
output.data,
fs.readFileSync(paths.HTML_TEMPLATE_FILE, 'utf8')
| 4 |
diff --git a/reports.py b/reports.py @@ -103,12 +103,22 @@ def get_dates():
def get_latest_date(metric_id):
global report_dates
global latest_metric_dates
+ global MAX_REPORT_STALENESS
+ global last_report_update
+
# Check the cache before hitting GCS.
latest_date = latest_metric_dates.get(metric_id)
+ if latest_date:
... | 11 |
diff --git a/modules/controller/rpc-controller.js b/modules/controller/rpc-controller.js @@ -129,7 +129,7 @@ class RpcController {
this.networkService.handleMessage('/search', (result) => this.queryService.handleSearch(result), {
async: true,
- timeout: 5e3,
+ timeout: 60e3,
});
this.networkService.handleMessage('/sear... | 3 |
diff --git a/framer/SVGPath.coffee b/framer/SVGPath.coffee @@ -26,6 +26,14 @@ class exports.SVGPath extends Layer
get: ->
@_element.outerHTML or ""
+ @define "width",
+ get: ->
+ @_width
+
+ @define "height",
+ get: ->
+ @_height
+
# Disabled properties
@undefine ["label", "blending", "image"]
@undefine ["blur", "brigh... | 12 |
diff --git a/test/Terminal/Terminal.test.js b/test/Terminal/Terminal.test.js @@ -46,6 +46,40 @@ const executeCommandOk = sinon.spy((params) => {
switch (params.command) {
case 'I':
return Promise.resolve(['IGNORED']);
+ case 'TE':
+ return Promise.resolve([
+ 'TKT: 064 9902 789263 NAME: CHERTOUSOV/DMYTROMR ',
+ ' ',
+ ... | 0 |
diff --git a/src/components/dashboard/FaceVerification/sdk/FaceTecSDK.web.js b/src/components/dashboard/FaceVerification/sdk/FaceTecSDK.web.js @@ -30,6 +30,8 @@ export const FaceTecSDK = new class {
// customize UI
sdk.setCustomization(UICustomization)
+ sdk.setLowLightCustomization(UICustomization)
+ sdk.setDynamicDim... | 0 |
diff --git a/webaverse.js b/webaverse.js @@ -649,7 +649,53 @@ function weightedRandom(weights) {
return -1;
}
-const voiceFiles = ``.split('\n');
+const voiceFiles = `\
+B6_somnium_65_01 - Part_1.wav
+B6_somnium_66_01 - Part_1.wav
+D5-begin20_10_09_03 - Part_1.wav
+D5-begin20_10_09_03 - Part_2.wav
+D5-begin20_10_09_09 ... | 0 |
diff --git a/packages/vue/src/components/atoms/SfLink/SfLink.stories.js b/packages/vue/src/components/atoms/SfLink/SfLink.stories.js @@ -25,7 +25,7 @@ export default {
docs: {
description: {
component:
- "The link component with route and nuxt options and slot to pass content.",
+ "Creates a NuxtLink, a native (a href)... | 7 |
diff --git a/threeD-components/Inventory.js b/threeD-components/Inventory.js @@ -37,6 +37,8 @@ const InventoryDetails = props => {
<div class=id>${selectedHash}</div>
<div class=id>${selectedFileName}</div>
<a class=button id=inventory-spawn name=${selectedId}>Spawn</a>
+ <a class=button id=inventory-wear name=${select... | 0 |
diff --git a/bot.js b/bot.js @@ -362,6 +362,12 @@ function dourl_inner(big, url, post) {
.replace(/\*/g, "\\*")
.replace(/]/g, "\\]") + "](" + newdata.url.replace(/[)]/g, "\\)") + ")\n\n";
+ if (orig_domain === "pbs.twimg.com" &&
+ newdata.url.indexOf("?name=orig") >= 0 &&
+ newdata.width < 4096 && newdata.height < 409... | 14 |
diff --git a/generators/client/templates/react/src/main/webapp/app/modules/home/home.tsx.ejs b/generators/client/templates/react/src/main/webapp/app/modules/home/home.tsx.ejs @@ -25,18 +25,13 @@ import { connect } from 'react-redux';
import { Row, Col, Alert } from 'reactstrap';
import { IRootState } from 'app/shared/r... | 2 |
diff --git a/examples/sass-and-ts/README.md b/examples/sass-and-ts/README.md 
-Note: run `npm install` in this folder to symlink the `cypress-react-unit-test` dependency.
+## Usage
+1. Make sure the root project has been built .
+
+```bash
+# in the root of the project
+npm install
+npm run... | 3 |
diff --git a/src/components/accounts/ledger/SignInLedger.js b/src/components/accounts/ledger/SignInLedger.js @@ -16,6 +16,16 @@ export function SignInLedger(props) {
const savingAccounts = account.actionsPending.includes('SAVE_AND_SELECT_LEDGER_ACCOUNTS')
const signingIn = gettingAccounts || addingAccounts || savingAcc... | 6 |
diff --git a/src/sdk/p2p/peerconnection-channel.js b/src/sdk/p2p/peerconnection-channel.js @@ -562,7 +562,7 @@ class P2PPeerConnectionChannel extends EventDispatcher {
};
_onDataChannelClose(event) {
- Logger.debug('Data Channel for ' + peerId + ' is closed.');
+ Logger.debug('Data Channel is closed.');
};
_createPeerC... | 1 |
diff --git a/tools/update_from_po.js b/tools/update_from_po.js @@ -37,7 +37,7 @@ var parse = function(lines) {
for (var i = 0; i < lines.length; i++) {
var line = lines[i];
- var match = line.match(/^#\s+(.*)$/);
+ var match = line.match(/^#\.?\s+(.*)$/);
if (match) {
var comment = match[1];
if (current_comment) {
@@ -... | 14 |
diff --git a/token-metadata/0x41e5560054824eA6B0732E656E3Ad64E20e94E45/metadata.json b/token-metadata/0x41e5560054824eA6B0732E656E3Ad64E20e94E45/metadata.json "symbol": "CVC",
"address": "0x41e5560054824eA6B0732E656E3Ad64E20e94E45",
"decimals": 8,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
}... | 3 |
diff --git a/edit.js b/edit.js @@ -1312,9 +1312,20 @@ const [
const points = w.alloc(Float32Array, pointsData.length);
points.set(pointsData);
+ const zData = Float32Array.from([
+ 0, 30, 10, 0,
+ -10, -30, -20, -10,
+ 0,
+ ]);
+ for (let i = 0; i < zData.length; i++) {
+ zData[i] /= 30;
+ }
+ const zs = w.alloc(Float3... | 0 |
diff --git a/modules/xerte/parent_templates/Nottingham/models_html5/mediaLesson.html b/modules/xerte/parent_templates/Nottingham/models_html5/mediaLesson.html // set end point to end of media if still undefined
for (var j=0; j<data.length; j++) {
if (data[j].end == undefined && data[j].type != "synchEmpty" && data[j].t... | 12 |
diff --git a/app/graphql/types/sample_uploader_type.rb b/app/graphql/types/sample_uploader_type.rb module Types
class SampleUploaderType < Types::BaseObject
field :id, Int, null: false
- field :name, String, null: false
+ field :name, String, null: true
end
end
| 12 |
diff --git a/articles/custom-domains/index.md b/articles/custom-domains/index.md @@ -156,18 +156,6 @@ Please remember that it can take up to 48 hours for the DNS to be propagated.
Cloudflare has a service called CNAME Flattening. During the verification process, turn off the CNAME flattening process until the domain ve... | 2 |
diff --git a/src/controllers/invites.ts b/src/controllers/invites.ts @@ -4,6 +4,7 @@ import * as jsonUtils from '../utils/json'
import { finishInviteInHub, createInviteInHub, payInviteInvoice } from '../hub'
// import * as proxy from '../utils/proxy'
import { failure } from '../utils/res'
+import { sphinxLogger } from ... | 3 |
diff --git a/src/module/config.js b/src/module/config.js @@ -398,8 +398,16 @@ SFRPG.weaponPropertiesTooltips = {
"echo": "SFRPG.WeaponPropertiesEchoTooltip",
"entangle": "SFRPG.WeaponPropertiesEntangleTooltip",
"explode": "SFRPG.WeaponPropertiesExplodeTooltip",
- "extinguish": "SFRPG.WeaponPropertiesExtinguishTooltip"
... | 0 |
diff --git a/unlock-protocol-com/src/config/paywallConfig.ts b/unlock-protocol-com/src/config/paywallConfig.ts @@ -2,20 +2,14 @@ export const paywallConfig = {
network: 1,
pessimistic: true,
locks: {
- '0xB0114bbDCe17e0AF91b2Be32916a1e236cf6034F': {
- name: 'Unlock Community',
- network: 1,
- },
- '0xac1fceC2e4064CCd83... | 14 |
diff --git a/package.json b/package.json "lint": "eslint src test",
"test": "npm run lint && npm run test-src && npm run test-counter && npm run test-shop && npm run test-async",
"test-src": "cross-env BABEL_ENV=cjs babel-node test/index.js | tap-spec",
- "check": "npm run lint && npm run test",
"check:bundlesize": "cr... | 2 |
diff --git a/generators/generator-base.js b/generators/generator-base.js @@ -25,7 +25,6 @@ const shelljs = require('shelljs');
const semver = require('semver');
const exec = require('child_process').exec;
const os = require('os');
-const pluralize = require('pluralize');
const normalize = require('normalize-path');
con... | 2 |
diff --git a/src/components/auth/AuthTorus.js b/src/components/auth/AuthTorus.js @@ -217,7 +217,7 @@ const AuthTorus = ({ screenProps, navigation, styles, store }) => {
fontSize={14}
color="primary"
>
- Create self custody wallet
+ Agree & Continue with self custody wallet
</Section.Text>
</TouchableOpacity>
</Section.... | 0 |
diff --git a/packages/bitcore-wallet-client/src/lib/api.ts b/packages/bitcore-wallet-client/src/lib/api.ts @@ -1732,7 +1732,7 @@ export class API extends EventEmitter {
.then(paypro => {
if (paypro) {
var t_unsigned = Utils.buildTx(txp);
- var t = _.clone(t_unsigned);
+ var t = _.cloneDeep(t_unsigned);
this._applyAllSi... | 12 |
diff --git a/src/pages/signin/PasswordForm.js b/src/pages/signin/PasswordForm.js @@ -129,11 +129,20 @@ class PasswordForm extends React.Component {
return;
}
- if (this.props.account.requiresTwoFactorAuth && !this.state.twoFactorAuthCode.trim()) {
+ if (this.props.account.requiresTwoFactorAuth) {
+ const twoFactorCode ... | 4 |
diff --git a/magda-web-client/src/Components/RequestDataset/RequestFormTemplate.js b/magda-web-client/src/Components/RequestDataset/RequestFormTemplate.js @@ -84,7 +84,7 @@ export default class RequestFormTemplate extends React.Component {
*/
handleInputChange = event => {
const inputId = event.target.id;
- const input... | 11 |
diff --git a/token-metadata/0x47632dA9227E322EDa59F9e7691eAcC6430Ac87C/metadata.json b/token-metadata/0x47632dA9227E322EDa59F9e7691eAcC6430Ac87C/metadata.json "symbol": "YFIB",
"address": "0x47632dA9227E322EDa59F9e7691eAcC6430Ac87C",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/test/image/strict-d3.js b/test/image/strict-d3.js @@ -46,12 +46,18 @@ selProto.style = function() {
return originalSelStyle.apply(sel, arguments);
};
-function checkAttrVal(sel, key) {
+function checkAttrVal(sel, key, val) {
// setting the transform attribute on a <clipPath> does not
// work in Chrome, IE ... | 0 |
diff --git a/token-metadata/0x23B608675a2B2fB1890d3ABBd85c5775c51691d5/metadata.json b/token-metadata/0x23B608675a2B2fB1890d3ABBd85c5775c51691d5/metadata.json "symbol": "SOCKS",
"address": "0x23B608675a2B2fB1890d3ABBd85c5775c51691d5",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED... | 3 |
diff --git a/src/utilities/text.less b/src/utilities/text.less &text-dark-soft { .text-dark-soft; }
&text-dark-softer { .text-dark-softer; }
&text-dark-softest { .text-dark-softest; }
- &text-brand { .text-brand; }
- &text-danger { .text-danger; }
&leading-none { .leading-none; }
&leading-tight { .leading-tight; }
&lea... | 2 |
diff --git a/lib/rules_core/smartquotes.js b/lib/rules_core/smartquotes.js @@ -114,8 +114,14 @@ function process_inlines(tokens, state) {
}
if (canOpen && canClose) {
- // treat this as the middle of the word
- canOpen = false;
+ // Replace quotes in the middle of punctuation sequence, but not
+ // in the middle of the... | 11 |
diff --git a/src/og/control/DebugInfo.js b/src/og/control/DebugInfo.js @@ -111,6 +111,10 @@ class DebugInfo extends Control {
label: "_renderCompleted / renderCompletedActivated",
frame: () => `${p._renderCompleted} / ${p._renderCompletedActivated}`
},
+ {
+ label: "_terrainCompleted / terrainCompletedActivated",
+ fra... | 0 |
diff --git a/src/components/nodes/poolLane/poolLane.vue b/src/components/nodes/poolLane/poolLane.vue @@ -89,11 +89,11 @@ export default {
* If this was the 2nd last lane, remove all lanes and revert the pool back to normal. */
const poolComponent = this.node.pool.component;
- const sortedLanes = poolComponent.sortedLan... | 1 |
diff --git a/src/sections/target/Safety/SafetyTable.js b/src/sections/target/Safety/SafetyTable.js @@ -28,13 +28,6 @@ const useStyles = makeStyles(theme => ({
},
}));
-const refMap = {
- Toxcast:
- 'https://www.epa.gov/chemical-research/exploring-toxcast-data-downloadable-data',
- HeCaToS: 'https://cordis.europa.eu/pro... | 9 |
diff --git a/package.json b/package.json },
"license": "MIT",
"dependencies": {
- "minecraft-data": "^2.45.0",
+ "minecraft-data": "^2.46.0",
"minecraft-protocol": "^1.8.1",
"mojangson": "^0.2.1",
"prismarine-biome": "^1.0.1",
| 3 |
diff --git a/app/components/DepositWithdraw/citadel/CitadelGatewayDepositRequest.jsx b/app/components/DepositWithdraw/citadel/CitadelGatewayDepositRequest.jsx @@ -4,7 +4,6 @@ import {ChainStore} from "bitsharesjs/es";
import ChainTypes from "components/Utility/ChainTypes";
import BindToChainState from "components/Utili... | 14 |
diff --git a/packages/app/src/components/PageEditor/CodeMirrorEditor.jsx b/packages/app/src/components/PageEditor/CodeMirrorEditor.jsx @@ -882,7 +882,7 @@ export default class CodeMirrorEditor extends AbstractEditor {
render() {
const mode = this.state.isGfmMode ? 'gfm-growi' : undefined;
- const lint = this.props?.isT... | 13 |
diff --git a/src/util/pluginUtils.js b/src/util/pluginUtils.js @@ -82,7 +82,9 @@ export function transformAllSelectors(transformSelector, { wrap, withRule } = {}
if (wrap) {
let wrapper = wrap()
- wrapper.append(container.nodes)
+ let nodes = container.nodes
+ container.removeAll()
+ wrapper.append(nodes)
container.app... | 1 |
diff --git a/test/jasmine/tests/gl_plot_interact_test.js b/test/jasmine/tests/gl_plot_interact_test.js @@ -488,7 +488,109 @@ describe('Test gl plot interactions', function() {
expect(buttonHover.isActive()).toBe(true);
});
+ it('button resetCameraDefault3d should reset camera to default', function(done) {
+ var buttonD... | 0 |
diff --git a/tests/phpunit/integration/Modules/Analytics/SettingsTest.php b/tests/phpunit/integration/Modules/Analytics/SettingsTest.php @@ -214,8 +214,7 @@ class SettingsTest extends SettingsTestCase {
'report',
array(
'metrics' => array(
- // Metrics are expected to be objects (json_decode).
- (object) array(
+ array... | 2 |
diff --git a/package.json b/package.json "dependencies": {
"can-use-dom": "^0.1.0",
"classnames": "^2.2.5",
- "create-react-class": "^15.5.2",
"enquire.js": "^2.1.6",
"json2mq": "^0.2.0",
"resize-observer-polyfill": "^1.5.0"
| 2 |
diff --git a/packages/styled/src/index.tsx b/packages/styled/src/index.tsx @@ -30,7 +30,7 @@ export type PolymorphicComponent<P, D extends React.ElementType = "div"> = (<
E extends React.ElementType = D
>(
props: PolymorphicComponentProps<E, P>
-) => JSX.Element) & {
+) => JSX.Element | null) & {
propTypes?: React.Weak... | 11 |
diff --git a/src/mixins/crownConfig.js b/src/mixins/crownConfig.js @@ -303,7 +303,7 @@ export default {
* This will ensure this.shape is defined. */
this.configureCrown();
this.configurePoolLane();
- $(document).ready(() => $('[data-toggle="tooltip"]').tooltip());
+ $('[data-toggle="tooltip"]').tooltip();
if (!this.pla... | 2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.