code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/metaversefile-api.js b/metaversefile-api.js @@ -8,6 +8,7 @@ import physicsManager from './physics-manager.js';
import {rigManager} from './rig.js';
import * as ui from './vr-ui.js';
import {ShadertoyLoader} from './shadertoy.js';
+import {GIFLoader} from './GIFLoader.js';
const localVector2D = new THREE.Ve... | 4 |
diff --git a/Source/ui/UI.js b/Source/ui/UI.js import { isNativeObject } from '../dom/utils'
function getPluginAlertIcon() {
- if (__command.pluginBundle() && __command.pluginBundle().icon()) {
+ if (__command.pluginBundle() && __command.pluginBundle().alertIcon()) {
return __command.pluginBundle().alertIcon()
}
return... | 1 |
diff --git a/src/reducers/status/index.js b/src/reducers/status/index.js @@ -7,6 +7,8 @@ import {
setMainLoader
} from '../../actions/status'
+import { selectAccount } from '../../actions/account'
+
const initialState = {
mainLoader: false,
actionStatus: {},
@@ -99,7 +101,10 @@ const clearReducer = handleActions({
}
: ... | 9 |
diff --git a/public/app/js/cbus-data.js b/public/app/js/cbus-data.js @@ -124,16 +124,10 @@ cbus.data.updateMedias = function() {
};
cbus.data.getEpisodeElem = function(options) {
- if (options.id || (typeof options.index !== "undefined" && options.index !== null)) {
- var elem = null;
-
if (options.id) {
- elem = docum... | 7 |
diff --git a/policykit/scripts/starterkits.py b/policykit/scripts/starterkits.py @@ -514,7 +514,7 @@ democracy_policy2_slack = GenericPolicy.objects.create(
import math
voter_users = users.filter(groups__name__in=['Democracy: Voter'])
-yes_votes = action.proposal.get_yes_votes(users=voter_users, value=True)
+yes_votes ... | 3 |
diff --git a/articles/api/authentication/_login.md b/articles/api/authentication/_login.md @@ -170,11 +170,6 @@ Given the social provider's `access_token` and the `connection`, this endpoint w
- The `email` scope value requests access to the `email` and `email_verified` Claims.
-### Error Codes
-
-For the complete erro... | 2 |
diff --git a/src/index.js b/src/index.js @@ -611,7 +611,7 @@ class Offline {
handler = functionHelper.createHandler(funOptions, this.options);
}
catch (err) {
- return this._reply500(response, `Error while loading ${funName}`, err, requestId);
+ return this._reply500(response, `Error while loading ${funName}`, err);
}
... | 2 |
diff --git a/deepfence_ui/app/scripts/helpers/auth-helper.js b/deepfence_ui/app/scripts/helpers/auth-helper.js @@ -84,7 +84,7 @@ async function refreshAuthTokenIfRequired() {
export function getUserRole() {
if (localStorage.getItem('authToken')) {
const jwt = decodeJwtToken(localStorage.getItem('authToken'));
- return ... | 13 |
diff --git a/src/components/CheckMarkCard/CheckMarkCard.jsx b/src/components/CheckMarkCard/CheckMarkCard.jsx @@ -195,7 +195,13 @@ CheckMarkCard.propTypes = {
inputRef: PropTypes.func,
/** Whether the card should be focused */
isFocused: PropTypes.bool,
- /** Give the card special status styles, it also disables the inp... | 7 |
diff --git a/src/plot_api/plot_api.js b/src/plot_api/plot_api.js @@ -3749,6 +3749,7 @@ function makePlotFramework(gd) {
.classed('main-svg', true);
fullLayout._modebardiv = fullLayout._paperdiv.append('div');
+ delete fullLayout._modeBar;
fullLayout._hoverpaper = fullLayout._paperdiv.append('svg')
.classed('main-svg', ... | 1 |
diff --git a/.storybook/storybook-data.js b/.storybook/storybook-data.js @@ -209,19 +209,6 @@ module.exports = [
},
},
},
- {
- id: 'adsense-module--adsense-outro',
- kind: 'AdSense Module',
- name: 'AdSense Outro',
- story: 'AdSense Outro',
- parameters: {
- fileName: './stories/module-adsense.stories.js',
- options: ... | 2 |
diff --git a/versions/3.0.md b/versions/3.0.md @@ -1276,7 +1276,7 @@ Field Name | Type | Description
<a name="mediaTypeSchema"></a>schema | [Schema Object](#schemaObject) \| [Reference Object](#referenceObject) | The schema defining the type used for the request body.
<a name="mediaTypeExample"></a>example | Any | Exam... | 13 |
diff --git a/magda-storage-api/src/createApiRouter.ts b/magda-storage-api/src/createApiRouter.ts @@ -202,13 +202,13 @@ export default function createApiRouter(options: ApiRouterOptions) {
// We could just return true here, but we'll give ourself a bit of extra cover by
// asserting that the id is correct
return record.... | 10 |
diff --git a/assets/js/components/ModulesList.js b/assets/js/components/ModulesList.js @@ -85,9 +85,6 @@ function ModulesList( { moduleSlugs } ) {
// Filter out internal modules and remove modules with dependencies.
const modules = Object.values( moduleObjects ).filter( ( module ) => ! module.internal && 0 === module.d... | 2 |
diff --git a/embed.html b/embed.html <!-- build:css css/embed.style.min.css -->
<link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.css">
<link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap-theme.css">
+<link rel="stylesheet" href="node_modules/select2/dist/css/select2.css">
<link ... | 11 |
diff --git a/src/mavo.js b/src/mavo.js @@ -201,7 +201,6 @@ let _ = self.Mavo = $.Class(class Mavo {
}
});
-
if (this.primaryBackend) {
// Fetch existing data
this.permissions.can("read", () => this.load());
@@ -433,7 +432,9 @@ let _ = self.Mavo = $.Class(class Mavo {
}
if (!backend) {
- backend = _.Functions.url(`${thi... | 11 |
diff --git a/angular/projects/spark-angular/package.json b/angular/projects/spark-angular/package.json },
"schematics": "./schematics/collection.json",
"peerDependencies": {
- "@angular/animations": ">=7.0.0 < 9.2.0",
- "@angular/common": ">=7.0.0 < 9.2.0",
- "@angular/compiler": ">=7.0.0 < 9.2.0",
- "@angular/compiler... | 3 |
diff --git a/content/blog/building-the-open-source-community-we-want/index.md b/content/blog/building-the-open-source-community-we-want/index.md @@ -3,7 +3,9 @@ slug: 'building-the-open-source-community-we-want'
title: 'Building The Open Source Community We Want'
date: '2019-10-08'
author: 'Kent C. Dodds'
-description:... | 7 |
diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml @@ -71,7 +71,7 @@ jobs:
echo "SECRET_NAME=DEV_ENV" >> $GITHUB_ENV
echo "APPCENTER_NAME=GoodDollar/GoodDollar-Android-development" >> $GITHUB_ENV
echo "$GITHUB_HEAD_REF $GITHUB_REF ${{ env.BRANCH }} ${{ env.SECRET_NAME }} ${{ env.APPCENTER_NAME }... | 0 |
diff --git a/src/components/ImageBackground.js b/src/components/ImageBackground.js @@ -23,13 +23,13 @@ export class ImageBackground extends Component<Props, State> {
this.state = { imageSize: null };
}
- onLayout({
+ onLayout = ({
nativeEvent: {
layout: { width, height }
}
- }) {
+ }) => {
this.setState({ imageSize: { ... | 2 |
diff --git a/src/providers/hive/dhive.js b/src/providers/hive/dhive.js @@ -710,7 +710,7 @@ const _vote = (currentAccount, pin, author, permlink, weight) => {
return new Promise((resolve, reject) => {
client.broadcast
- .vote(args, privateKey)
+ .sendOperations(args, privateKey)
.then((result) => {
Alert.alert('dhive tr... | 14 |
diff --git a/scss/typography/_small.scss b/scss/typography/_small.scss @@ -13,5 +13,5 @@ $siimple-small-text-size: 12px;
.siimple-small {
//font-family: $siimple-default-text-font;
font-size: $siimple-small-text-size;
- color: $siimple-navy-4;
+ color: $siimple-navy-light;
}
| 1 |
diff --git a/src/Navigation.js b/src/Navigation.js @@ -197,14 +197,6 @@ const ParadeTabNav = createMaterialTopTabNavigator(
},
upperCaseLabel: false,
getTabTestID: getTabTestId
- },
- navigationOptions: {
- header: (
- <Header
- title={text.paradeInformationScreen.headerTitle}
- testID="page-heading-parade"
- />
- )
}
... | 2 |
diff --git a/app/components/billing/BillingUpgrade.js b/app/components/billing/BillingUpgrade.js @@ -124,6 +124,8 @@ class BillingUpgrade extends React.Component {
}
renderSummary() {
+ let interval = this.state.summary.interval === "monthly" ? "per month" : "per year";
+
return (
<div className="border border-gray rou... | 4 |
diff --git a/assets/js/components/ViewOnlyMenu/Description.js b/assets/js/components/ViewOnlyMenu/Description.js @@ -49,10 +49,6 @@ export default function Description() {
select( CORE_SITE ).getProxySetupURL()
);
- const isConnected = useSelect( ( select ) =>
- select( CORE_SITE ).isConnected()
- );
-
const { navigate... | 2 |
diff --git a/src/scripts/interactive-video.js b/src/scripts/interactive-video.js @@ -591,7 +591,11 @@ InteractiveVideo.prototype.setCaptionTracks = function (tracks) {
// Insert popup and button
self.controls.$captionsButton = $(self.captionsTrackSelector.control);
self.popupMenuButtons.push(self.controls.$captionsButt... | 0 |
diff --git a/lib/cartodb/models/aggregation/aggregation-query.js b/lib/cartodb/models/aggregation/aggregation-query.js @@ -50,6 +50,7 @@ const SUPPORTED_AGGREGATE_FUNCTIONS = {
};
const aggregateColumns = ctx => {
+ // TODO: always add count
let columns = ctx.columns || {};
if (Object.keys(columns).length === 0) {
// d... | 1 |
diff --git a/accessibility-checker-engine/help-v4/en-US/aria_descendant_valid.html b/accessibility-checker-engine/help-v4/en-US/aria_descendant_valid.html ### Why is this important?
-This rule helps ensures that assistive technologies can gather the correct information about all the user interface components.
-When cer... | 3 |
diff --git a/checkfiles/checkfiles.py b/checkfiles/checkfiles.py @@ -766,7 +766,8 @@ def check_file(config, session, url, job):
'set -o pipefail; gunzip --stdout {} | grep -c \'^#\''.format(local_path),
shell=True, executable='/bin/bash', stderr=subprocess.STDOUT)
except subprocess.CalledProcessError as e:
- if e.retur... | 1 |
diff --git a/views/channel.handlebars b/views/channel.handlebars <p>Below are all the free claims in this channel.</p>
{{#each channelContents}}
<div class="all-claims-item">
- {{#ifConditional this.fileType '===' 'video/mp4'}}
+ {{#ifConditional this.contentType '===' 'video/mp4'}}
<video class="all-claims-img" autopl... | 1 |
diff --git a/package.json b/package.json "@pixiv/three-vrm": "./packages/three-vrm",
"@react-three/fiber": "^7.0.6",
"@shaderfrog/glsl-parser": "^0.1.20",
- "borc": "^3.0.0",
"classnames": "^2.3.1",
"dids": "^2.4.0",
"encoding-japanese": "^1.0.30",
| 2 |
diff --git a/CHANGELOG.md b/CHANGELOG.md All notable changes to this project are documented in this file.
-## Head
+## 13.13.0
- Added: `no-invalid-position-at-import-rule` rule ([#5202](https://github.com/stylelint/stylelint/pull/5202)).
- Added: `no-irregular-whitespace` rule ([#5209](https://github.com/stylelint/sty... | 6 |
diff --git a/CHANGELOG.md b/CHANGELOG.md @@ -10,6 +10,27 @@ 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.52.2] -- 2020-02-03
+
+## Fixed
+- Handle 'missing' matching axes [#4529]
+- Fix hover for `mesh3d`, `isosurface` and `volume`
+ when... | 3 |
diff --git a/modules/xmpp/ChatRoom.js b/modules/xmpp/ChatRoom.js @@ -309,7 +309,7 @@ export default class ChatRoom extends Listenable {
// The name of the action is a little bit confusing but it seems this is the preferred name by the consumers
// of the analytics events.
- Statistics.sendAnalytics(createConferenceEven... | 1 |
diff --git a/rig.js b/rig.js @@ -127,6 +127,30 @@ class RigManager {
this.localRig.textMesh.sync();
}
+ setLocalAvatarImage(avatarImage) {
+ const geometry = new THREE.CircleBufferGeometry(0.1, 32);
+ const img = new Image();
+ img.src = avatarImage;
+ img.crossOrigin = 'Anonymous';
+ img.onload = () => {
+ texture.nee... | 0 |
diff --git a/tests/test_datalad.py b/tests/test_datalad.py @@ -19,7 +19,7 @@ def test_delete_dataset(annex_path, new_dataset):
assert not os.path.exists(new_dataset.path)
-def test_commit_file(annex_path, new_dataset):
+def test_commit_file(celery_app, annex_path, new_dataset):
ds_id = os.path.basename(new_dataset.path... | 11 |
diff --git a/package.json b/package.json "sw-precache-webpack-plugin": "0.11.3",
"sweetalert2": "^7.0.9",
"url-loader": "0.5.9",
- "web3": "file:submodules/oracles-web3-1.0/packages/web3",
"webpack": "^2.6.1",
"webpack-dev-server": "2.5.0",
"webpack-manifest-plugin": "1.1.0",
| 2 |
diff --git a/frontend/lost/src/components/SIA/SIA.js b/frontend/lost/src/components/SIA/SIA.js @@ -54,7 +54,7 @@ class SIA extends Component {
right: 5
},
notification: undefined,
- filteredData: undefined,
+ // filteredData: undefined,
currentRotation: 0
}
this.siteHistory = createHashHistory()
@@ -150,13 +150,13 @@ c... | 12 |
diff --git a/src/screens/EventDetailsScreen/EventContact.js b/src/screens/EventDetailsScreen/EventContact.js // @flow
import React from "react";
-import { Image, StyleSheet } from "react-native";
+import { Image } from "react-native";
import { email as sendEmail, phonecall } from "react-native-communications";
import L... | 2 |
diff --git a/src/components/upvote/container/upvoteContainer.js b/src/components/upvote/container/upvoteContainer.js @@ -47,18 +47,16 @@ const UpvoteContainer = (props) => {
_calculateVoteStatus();
}, [activeVotes]);
- useEffect(() => {
- if (localVoteMap) {
- _handleLocalVote();
- }
- }, []);
-
const _calculateVoteSta... | 9 |
diff --git a/src/content/en/updates/2017/10/chrome-63-deprecations.md b/src/content/en/updates/2017/10/chrome-63-deprecations.md @@ -20,13 +20,7 @@ Chrome 63, which is in beta as of October 26. Visit the
for more deprecations and removals from this and previous versions of Chrome.
This list is subject to change at any ... | 1 |
diff --git a/source/views/panels/PopOverView.js b/source/views/panels/PopOverView.js @@ -100,10 +100,12 @@ const PopOverView = Class({
break;
}
+ // 0% rather than 0 for IE11 compatibility due to Bug #4
+ // in https://github.com/philipwalton/flexbugs
switch ( alignEdge ) {
case 'top':
aFlex = '0 1 ' + ( posTop + offse... | 0 |
diff --git a/apps/qrcode/custom.html b/apps/qrcode/custom.html var hex_only = /^[0-9a-f]+$/i;
var output = "";
for (var i=0; i<string.length; i++) {
- if($.inArray(string[i], to_escape) != -1) {
+ if(string[i].includes(to_escape)) {
output += '\\'+string[i];
}
else {
| 14 |
diff --git a/lib/withInNativeApp.js b/lib/withInNativeApp.js @@ -96,10 +96,12 @@ export const postMessage = !inNativeAppBrowser
typeof msg === 'string' ? msg : JSON.stringify(msg),
'*'
)
- : msg =>
+ : window.ReactNativeWebView
+ ? msg =>
window.ReactNativeWebView.postMessage(
typeof msg === 'string' ? msg : JSON.strin... | 9 |
diff --git a/magda-web-client/src/Components/Common/DataPreviewMap.tsx b/magda-web-client/src/Components/Common/DataPreviewMap.tsx @@ -22,6 +22,8 @@ import isStorageApiUrl from "helpers/isStorageApiUrl";
import { useAsync } from "react-async-hook";
import fetch from "isomorphic-fetch";
import xml2json from "../../helpe... | 14 |
diff --git a/.circleci/config.yml b/.circleci/config.yml @@ -7,13 +7,14 @@ orbs:
datadog: airswap/datadog@volatile
references:
+ working_directory: &working_directory
+ working_directory: ~/repo
+
container_config: &container_config
docker:
- image: circleci/node:10
working_directory: *working_directory
- working_direc... | 9 |
diff --git a/app.js b/app.js @@ -13,7 +13,7 @@ import * as universe from './universe.js';
import * as blockchain from './blockchain.js';
// import minimap from './minimap.js';
import cameraManager from './camera-manager.js';
-import controlsManager from './controls-manager.js';
+// import controlsManager from './contro... | 2 |
diff --git a/server/interpreter/scope.go b/server/interpreter/scope.go @@ -41,8 +41,9 @@ type scope struct {
}
// newScope is a factory for scope objects. The parent param is a
-// pointer to the parent (enclosing scope); it is nil if the scope
-// being created is the global scope.
+// pointer to the parent (enclosing... | 7 |
diff --git a/.travis.yml b/.travis.yml @@ -50,7 +50,7 @@ before_install:
- export PATH=$HOME/.yarn/bin:$PATH
install:
- - yarn install --no-lockfile --non-interactive
+ - yarn install --no-lockfile --non-interactive --ignore-engines
script:
- node_modules/.bin/ember try:one $EMBER_TRY_SCENARIO
| 8 |
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml @@ -2,6 +2,7 @@ variables:
CI: "true"
DOCKER_DRIVER: overlay2
SBT_OPTS: "-Dsbt.ivy.home=$CI_PROJECT_DIR/sbt-cache/ivy"
+ INT_TEST_CACHE_KEY: "intTestD"
stages:
- builders
@@ -78,7 +79,7 @@ buildtest:intTestA:
- pip3 install docker-compose
- docker-compose --version
cache:
- ... | 4 |
diff --git a/source/views/collections/ToolbarView.js b/source/views/collections/ToolbarView.js import { Class } from '../../core/Core';
import '../../foundation/ComputedProps'; // For Function#property
import '../../foundation/ObservableProps'; // For Function#observes
-import RunLoop from '../../foundation/RunLoop';
i... | 7 |
diff --git a/story.js b/story.js +/*
+this file contains the story beat triggers (battles, victory, game over, etc.)
+*/
+
import * as THREE from 'three';
-// import {Pass} from 'three/examples/jsm/postprocessing/Pass.js';
-// import {ShaderPass} from 'three/examples/jsm/postprocessing/ShaderPass.js';
-// import {Unrea... | 0 |
diff --git a/packages/civic-sandbox/src/components/Packages/index.js b/packages/civic-sandbox/src/components/Packages/index.js @@ -112,14 +112,9 @@ export class Packages extends React.Component {
<a onClick={this.closeMap}>< Back to Packages</a>
</p>
<SandboxComponent />
- {selectedFoundationDatum && <div
- style={{... | 11 |
diff --git a/src/components/Composer/index.js b/src/components/Composer/index.js @@ -265,7 +265,9 @@ class Composer extends React.Component {
return;
}
- const plainText = event.clipboardData.getData('text/plain');
+ // The regex replace is there because when doing a "paste without formatting", there are extra line bre... | 14 |
diff --git a/assets/src/dashboard/app/views/myStories/index.js b/assets/src/dashboard/app/views/myStories/index.js @@ -72,7 +72,7 @@ const PlayArrowIcon = styled(PlayArrowSvg).attrs({ width: 11, height: 14 })`
function MyStories() {
const [status, setStatus] = useState(STORY_STATUSES[0].value);
const [typeaheadValue, s... | 12 |
diff --git a/package.json b/package.json "react-native-web": "^0.11.4",
"react-native-web-lottie": "^1.2.0",
"react-native-web-webview": "^0.2.8",
- "react-native-zoom": "GoodDollar/ReactNativeZoom#master",
"react-phone-number-input": "^2.3.18",
"react-qr-reader": "^2.2.1",
"recaptcha-v3-react": "^3.0.3",
| 2 |
diff --git a/src/components/postDropdown/container/postDropdownContainer.tsx b/src/components/postDropdown/container/postDropdownContainer.tsx @@ -2,7 +2,6 @@ import React, { PureComponent, Fragment } from 'react';
import { connect } from 'react-redux';
import { withNavigation } from 'react-navigation';
import { Share ... | 14 |
diff --git a/angular/projects/spark-angular/src/lib/components/sprk-modal/sprk-modal.component.ts b/angular/projects/spark-angular/src/lib/components/sprk-modal/sprk-modal.component.ts @@ -125,12 +125,10 @@ export class SprkModalComponent {
@Input()
cancelAnalyticsString: string;
/**
- * The value supplied will be assi... | 3 |
diff --git a/docs/elements/tag.html b/docs/elements/tag.html @@ -34,7 +34,7 @@ prev: "elements-spinner"
You can add the <code class="siimple-code">siimple-tag--rounded</code> modifier to a tag to make it rounded.
</div>
<div class="sd-snippet-demo" align="center">
- <span class="siimple-tag siimple-tag--rounded">Rounde... | 1 |
diff --git a/src/commands/unlink.js b/src/commands/unlink.js @@ -21,7 +21,7 @@ class UnlinkCommand extends Command {
this.site.delete('siteId')
this.log(
- `Unlinked ${path.relative(path.join(process.cwd(), '..'), this.site.path)} from ${site ? site.name : siteId}`
+ `Unlinked ${this.site.path} from ${site ? site.name ... | 3 |
diff --git a/package.json b/package.json "d3-interpolate": "1.1.2",
"jquery": "2.1.4",
"moment": "^2.18.1",
- "moment-timezone": "^0.5.13",
"node-polyglot": "^2.2.2",
"perfect-scrollbar": "git://github.com/CartoDB/perfect-scrollbar.git#master",
"postcss": "5.0.19",
| 2 |
diff --git a/src/resources/views/list.blade.php b/src/resources/views/list.blade.php data-orderable="{{ var_export($column['orderable'], true) }}"
data-priority="{{ $column['priority'] }}"
data-visible-in-modal="{{ (isset($column['visibleInModal']) && $column['visibleInModal'] == false) ? 'false' : 'true' }}"
+ data-vi... | 10 |
diff --git a/assets/js/components/help/HelpMenu.js b/assets/js/components/help/HelpMenu.js @@ -79,7 +79,7 @@ export default function HelpMenu( { children } ) {
aria-expanded={ menuOpen }
aria-label={ __( 'Help', 'google-site-kit' ) }
aria-haspopup="menu"
- className="googlesitekit-header__dropdown googlesitekit-border-... | 2 |
diff --git a/src/traces/scatter3d/attributes.js b/src/traces/scatter3d/attributes.js @@ -161,6 +161,8 @@ var attrs = module.exports = overrideAll({
family: extendFlat({}, scatterAttrs.textfont.family, {arrayOk: false})
},
+ opacity: baseAttrs.opacity,
+
hoverinfo: extendFlat({}, baseAttrs.hoverinfo)
}, 'calc', 'nested'... | 1 |
diff --git a/src/inertia.js b/src/inertia.js @@ -2,25 +2,28 @@ import axios from 'axios'
import nprogress from 'nprogress'
export default {
- setPage: null,
+ resolveComponent: null,
+ updatePage: null,
version: null,
+ visitId: null,
cancelToken: null,
progressBar: null,
modal: null,
- init(page, setPage) {
- this.ver... | 7 |
diff --git a/pages/feuilleton.js b/pages/feuilleton.js @@ -11,7 +11,7 @@ import withMembership, {
UnauthorizedPage
} from '../components/Auth/withMembership'
-import { Interaction, A, Loader } from '@project-r/styleguide'
+import { Interaction, A, Loader, RawHtml } from '@project-r/styleguide'
import { PUBLIC_BASE_URL,... | 7 |
diff --git a/backend/utils/primeIpfs.js b/backend/utils/primeIpfs.js @@ -32,7 +32,11 @@ async function prime(urlPrefix, dir) {
const files = filesWithPath.map((f) => f.split('public/')[1])
for (const file of files) {
const url = `${urlPrefix}/${file}`
- limiter.schedule((url) => download(url), url)
+ limiter
+ .schedul... | 9 |
diff --git a/OmniDB/OmniDB/settings.py b/OmniDB/OmniDB/settings.py @@ -195,4 +195,4 @@ SSL_KEY = ""
CH_CMDS_PER_PAGE = 20
PWD_TIMEOUT_TOTAL = 1800
PWD_TIMEOUT_REFRESH = 300
-DESKTOP_MODE = True
+DESKTOP_MODE = False
| 12 |
diff --git a/src/libs/Navigation/Navigation.js b/src/libs/Navigation/Navigation.js import React from 'react';
import {StackActions, DrawerActions} from '@react-navigation/native';
import {getIsDrawerOpenFromState} from '@react-navigation/drawer';
+import {setModalVisibility} from '../actions/Modal'
import linkTo from '... | 12 |
diff --git a/package.json b/package.json },
"dependencies": {
"@projectstorm/react-diagrams": "^5.3.2",
- "@ufx-ui/bfx-containers": "0.8.2",
- "@ufx-ui/core": "0.8.2",
+ "@ufx-ui/bfx-containers": "0.8.3",
+ "@ufx-ui/core": "0.8.3",
"axios": "^0.21.1",
"bfx-api-node-models": "^1.2.4",
"bfx-api-node-util": "^1.0.8",
| 3 |
diff --git a/bin/definition-validators/open-api.js b/bin/definition-validators/open-api.js **/
'use strict';
const OpenAPIEnforcer = require('../enforcers/open-api');
+const PathsEnforcer = require('../enforcers/paths');
module.exports = OpenAPIObject;
@@ -129,6 +130,7 @@ function OpenAPIObject({ major }) {
additionalP... | 12 |
diff --git a/src/components/common/view/AddWebApp.web.js b/src/components/common/view/AddWebApp.web.js import React, { useEffect, useState } from 'react'
import { AsyncStorage, Image, View } from 'react-native'
+import { isMobileSafari } from 'mobile-device-detect'
import SimpleStore from '../../../lib/undux/SimpleStor... | 0 |
diff --git a/sparkx/src/main/scala/edp/wormhole/sparkx/hdfslog/HdfsMainProcess.scala b/sparkx/src/main/scala/edp/wormhole/sparkx/hdfslog/HdfsMainProcess.scala @@ -256,6 +256,12 @@ object HdfsMainProcess extends EdpLogging {
logError("kafka consumer error,"+e.getMessage, e)
if(e.getMessage.contains("Failed to construct ... | 0 |
diff --git a/packages/stockflux-launcher/public/childWindow.css b/packages/stockflux-launcher/public/childWindow.css @@ -18,8 +18,9 @@ div.scrollWrapperY > p {
margin: 0;
}
-div#root > .spinner {
- margin-top: 170px;
+.spinner {
+ position: relative;
+ top:calc(50vh - var(--search-input-height))
}
.card {
| 3 |
diff --git a/assets/js/hooks/useChecks.js b/assets/js/hooks/useChecks.js */
import { useEffect, useState } from '@wordpress/element';
-/**
- * Internal dependencies
- */
-import Data from 'googlesitekit-data';
-import { STORE_NAME as CORE_SITE } from '../googlesitekit/datastore/site/constants';
-const { useSelect } = D... | 2 |
diff --git a/src/lib/undux/utils/feed.js b/src/lib/undux/utils/feed.js // @flow
import type { Store } from 'undux'
-
+import throttle from 'lodash/throttle'
import userStorage from '../../gundb/UserStorage'
import pino from '../../logger/pino-logger'
const logger = pino.child({ from: 'feeds' })
export const PAGE_SIZE =... | 0 |
diff --git a/articles/quickstart/backend/python/01-authorization.md b/articles/quickstart/backend/python/01-authorization.md @@ -48,6 +48,7 @@ from jose import jwt
auth0_domain = '${account.namespace}'
api_audience = YOUR_API_AUDIENCE
+algorithms = ["RS256"]
app = Flask(__name__)
@@ -110,7 +111,7 @@ def requires_auth(f... | 2 |
diff --git a/packages/build/src/log/main.js b/packages/build/src/log/main.js @@ -121,7 +121,7 @@ const logInstallFunctionDependencies = function() {
const logDeprecatedFunctionsInstall = function(functionsSrc) {
logErrorSubHeader('Missing plugin')
logMessage(
- THEME.errorLine(`Please use the plugin "@netlify/plugin-fu... | 4 |
diff --git a/aleph/archive/s3.py b/aleph/archive/s3.py @@ -59,6 +59,8 @@ class S3Archive(Archive): # pragma: no cover
cors.put(CORSConfiguration=config)
def _locate_key(self, content_hash):
+ if content_hash is None:
+ return
prefix = self._get_prefix(content_hash)
if prefix is None:
return
@@ -93,6 +95,9 @@ class S3Ar... | 9 |
diff --git a/2-js-basics/1-data-types/translations/assignment.id.md b/2-js-basics/1-data-types/translations/assignment.id.md -# Data Types Practice
+# Praktek Tipe Data
-## Instructions
+## Instruksi
-Imagine you are building a shopping cart. Write some documentation on the data types that you would need to complete yo... | 3 |
diff --git a/create-snowpack-app/cli/README.md b/create-snowpack-app/cli/README.md @@ -40,4 +40,5 @@ npx create-snowpack-app new-dir --template @snowpack/app-template-NAME [--use-ya
- [snowpack-cycle](https://github.com/rajasegar/snowpack-cycle) (A pre-configured Snowpack app template for [Cycle.js](https://cycle.js.or... | 0 |
diff --git a/src/libs/actions/Report.js b/src/libs/actions/Report.js @@ -228,7 +228,7 @@ function fetchIOUReport(iouReportID, chatReportID) {
}
const iouReportData = response.reports[iouReportID];
if (!iouReportData) {
- console.error(`No iouReportData found for reportID ${iouReportID}`);
+ console.error(`No iouReportD... | 14 |
diff --git a/token-metadata/0xbC396689893D065F41bc2C6EcbeE5e0085233447/metadata.json b/token-metadata/0xbC396689893D065F41bc2C6EcbeE5e0085233447/metadata.json "symbol": "PERP",
"address": "0xbC396689893D065F41bc2C6EcbeE5e0085233447",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/src/index.js b/src/index.js @@ -58,6 +58,8 @@ module.exports = (() => {
if (plugin) {
plugin(editor, config.pluginsOpts[pluginId] || {});
+ } else if (typeof pluginId === 'function') {
+ pluginId(editor, config.pluginsOpts[pluginId] || {});
} else {
console.warn(`Plugin ${pluginId} not found`);
}
| 11 |
diff --git a/src/app/api/api.gcode.js b/src/app/api/api.gcode.js @@ -87,22 +87,11 @@ export const download = (req, res) => {
}
const { sender } = controller;
- const filename = (function(req) {
- const headers = req.headers || {};
- const ua = headers['user-agent'] || '';
- const isIE = (function(ua) {
- return (/MSIE ... | 1 |
diff --git a/src/main/mesh.js b/src/main/mesh.js @@ -11,7 +11,6 @@ function init() {
let stores = data.open('mesh', { stores:[ "admin", "cache", "space" ] }).init(),
moto = self.moto,
api = mesh.api,
- sky = false,
dark = false,
ortho = false,
zoomrev = true,
@@ -31,7 +30,7 @@ function init() {
// setup default workspa... | 2 |
diff --git a/includes/Core/Assets/Assets.php b/includes/Core/Assets/Assets.php @@ -465,7 +465,7 @@ final class Assets {
'name' => $current_user->display_name,
'picture' => get_avatar_url( $current_user->user_email ),
),
- 'AMPenabled' => function_exists( 'is_amp_endpoint' ),
+ 'AMPenabled' => (bool) $this->context->get... | 3 |
diff --git a/src/comments/CommentFormEmbedded.js b/src/comments/CommentFormEmbedded.js @@ -4,10 +4,10 @@ import { connect } from 'react-redux';
import { withRouter } from 'react-router';
import { FormattedMessage } from 'react-intl';
import { isSmall } from 'react-responsive-utils';
+import _ from 'lodash';
import clas... | 9 |
diff --git a/src/auth/RequireLogin.js b/src/auth/RequireLogin.js @@ -9,7 +9,7 @@ import Error404 from '../statics/Error404';
auth: state.auth,
})
)
-export default class UserProfile extends React.Component {
+export default class RequiredLogin extends React.Component {
constructor(props) {
super(props);
}
| 1 |
diff --git a/src/components/TableBody.js b/src/components/TableBody.js @@ -283,7 +283,7 @@ class TableBody extends React.Component {
colIndex={0}
rowIndex={0}>
<Typography variant="body1" className={classes.emptyTitle}>
- <strong>{options.textLabels.body.noMatch}</strong>
+ {options.textLabels.body.noMatch}
</Typograph... | 2 |
diff --git a/converters/toZigbee.js b/converters/toZigbee.js @@ -307,6 +307,7 @@ const converters = {
convertSet: async (entity, key, value, meta) => {
const onOff = key.endsWith('_onoff');
const command = onOff ? 'stepWithOnOff' : 'step';
+ value = Number(value);
const mode = value > 0 ? 0 : 1;
const transition = getT... | 11 |
diff --git a/best-practices.md b/best-practices.md * [Field and ID formatting](#field-and-id-formatting)
* [Field selection and Metadata Linking](#field-selection-and-metadata-linking)
* [Datetime selection](#datetime-selection)
-* [Null Geometries](#null-geometries)
+* [Unlocated Items](#unlocated-items)
* [Representi... | 3 |
diff --git a/package.json b/package.json "request": "^2.85.0",
"serve-static": "^1.11.1",
"shelljs": "^0.5.0",
- "solc": "0.4.17",
+ "solc": "0.4.23",
"style-loader": "^0.19.0",
"tar": "^3.1.5",
"toposort": "^1.0.0",
| 3 |
diff --git a/closure/goog/singleton/singleton.js b/closure/goog/singleton/singleton.js @@ -49,9 +49,8 @@ exports.getInstance = (ctor) => {
!Object.isSealed(ctor),
'Cannot use getInstance() with a sealed constructor.');
const ctorWithInstance = /** @type {!Singleton} */ (ctor);
- if (ctorWithInstance.instance_ &&
- ctor... | 7 |
diff --git a/src/main/controllers/rpc-handler.js b/src/main/controllers/rpc-handler.js @@ -91,13 +91,15 @@ module.exports = function(app, store) {
})
.then(resp => {
let privateKey = keythereum.recover(args.password, keystoreObject);
- app.win.webContents.send(RPC_METHOD, actionId, actionName, null, {
+ const newWallet... | 1 |
diff --git a/sections/basics/extending-styles.js b/sections/basics/extending-styles.js @@ -46,7 +46,7 @@ const ExtendingStyles = () => md`
> You should only use \`Comp.extend\` if you know that \`Comp\` is a styled component.
> If you're importing from another file or a third party library, prefer to use
> \`styled(Com... | 1 |
diff --git a/lime/app/Preloader.hx b/lime/app/Preloader.hx @@ -3,8 +3,11 @@ package lime.app;
import haxe.io.Bytes;
import haxe.io.Path;
+import haxe.macro.Compiler;
+import haxe.Timer;
import lime.app.Event;
import lime.media.AudioBuffer;
+import lime.system.System;
import lime.utils.AssetLibrary;
import lime.utils.As... | 7 |
diff --git a/src/value.mjs b/src/value.mjs @@ -75,10 +75,6 @@ export function Value(value) {
return value ? trueValue : falseValue;
}
- if (typeof value === 'symbol') {
- return new SymbolValue(value);
- }
-
if (typeof value === 'function') {
return new BuiltinFunctionValue(value);
}
| 2 |
diff --git a/accessibility-checker-extension/src/ts/devtools/Header.tsx b/accessibility-checker-extension/src/ts/devtools/Header.tsx @@ -95,15 +95,15 @@ export default class Header extends React.Component<IHeaderProps, IHeaderState>
<div className="bx--row summary">
<div className="bx--col-sm-1">
- <img src={Violation1... | 2 |
diff --git a/lod.js b/lod.js @@ -5,6 +5,8 @@ const localVector = new THREE.Vector3();
const localVector2 = new THREE.Vector3();
const localVector3 = new THREE.Vector3();
+const onesLodsArray = new Array(8).fill(1);
+
/*
note: the nunber of lods at each level can be computed with this function:
@@ -77,6 +79,59 @@ export... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.