code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/test/player_integration.js b/test/player_integration.js @@ -166,8 +166,13 @@ describe('Player', function() {
describe('plays', function() {
it('while external text tracks', function(done) {
player.load('test:sintel_no_text_compiled').then(function() {
- player.addTextTrack('/base/test/test/assets/text-clip... | 1 |
diff --git a/source/light/contracts/Light.sol b/source/light/contracts/Light.sol @@ -68,7 +68,7 @@ contract Light is ILight, Ownable {
uint256 public signerFee;
uint256 public conditionalSignerFee;
// size of fixed array that holds max returning error messages
- uint256 internal constant MAX_ERROR_COUNT = 8;
+ uint256 ... | 2 |
diff --git a/edit.js b/edit.js @@ -633,6 +633,25 @@ document.getElementById('export-scene-button').addEventListener('click', async e
});
downloadFile(b, 'scene.wbn');
});
+const _makeLoadMesh = (() => {
+ const geometry = new THREE.RingBufferGeometry(0.08, 0.1, 6, 0, 0, Math.PI*2*0.9);
+ const material = new THREE.Mesh... | 0 |
diff --git a/doc/developer-center/auth-api/guides/03-types-of-API-Keys.md b/doc/developer-center/auth-api/guides/03-types-of-API-Keys.md @@ -17,8 +17,9 @@ For example one API key can provide access to:
- the SQL API
- the World_Population dataset with select permission
- the Liked_Cities dataset with select/insert perm... | 3 |
diff --git a/src/utils/class.js b/src/utils/class.js @@ -7,6 +7,7 @@ class SwiperClass {
// Events
self.eventsListeners = {};
+ self.allEventsListeners = [];
if (self.params && self.params.on) {
Object.keys(self.params.on).forEach((eventName) => {
@@ -26,6 +27,26 @@ class SwiperClass {
return self;
}
+ onEvent(handler,... | 0 |
diff --git a/scripts/helpers/injectDependencies.js b/scripts/helpers/injectDependencies.js @@ -5,7 +5,8 @@ const docHead = document.querySelector('head');
const injectScript = Array
.from(document.querySelectorAll('script'))
- .find(domEl => domEl.getAttribute('src').endsWith('injectDependencies.js'));
+ .find(domEl =>... | 7 |
diff --git a/doc/DEVELOPMENT_NOTES.md b/doc/DEVELOPMENT_NOTES.md @@ -26,6 +26,7 @@ v4l2-ctl --list-devices
## Stuff to do with releasing a new version
+- Make sure that config.json has the TO_REPLACE_VIDEO_INPUT, TO_REPLACE_VIDEO_INPUT values
- Set correct version in package.json
- Set correct VERSION in /docker/run-je... | 1 |
diff --git a/.circleci/config.yml b/.circleci/config.yml @@ -52,6 +52,8 @@ jobs:
- run:
name: Creator Dashboard stories
command: scripts/storybook.sh unlock-app "$CIRCLE_BRANCH"
+ environment:
+ CHROMATIC_APP_CODE: swpc6wf70qp
smart-contracts-tests:
machine: true
| 12 |
diff --git a/packages/diffhtml-components/lib/render-component.js b/packages/diffhtml-components/lib/render-component.js @@ -23,8 +23,8 @@ const { createTree } = diff;
* @returns {VTree | null}
*/
export default function renderComponent(vTree, transaction) {
- const RawComponent = vTree.rawNodeName;
const props = vTree... | 4 |
diff --git a/token-metadata/0xdA6cb58A0D0C01610a29c5A65c303e13e885887C/metadata.json b/token-metadata/0xdA6cb58A0D0C01610a29c5A65c303e13e885887C/metadata.json "symbol": "CV",
"address": "0xdA6cb58A0D0C01610a29c5A65c303e13e885887C",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
}... | 3 |
diff --git a/fixtures/browser/karma.sauce.conf.js b/fixtures/browser/karma.sauce.conf.js @@ -30,13 +30,14 @@ const customLaunchers = {
browserName: 'chrome',
browserVersion: 'latest',
platform: 'macOS 12'
- },
- slFirefox: {
- base: 'SauceLabs',
- browserName: 'firefox',
- platform: "Windows 11",
- browserVersion: 'lat... | 8 |
diff --git a/lib/modules/transactionTracker/index.js b/lib/modules/transactionTracker/index.js @@ -4,6 +4,7 @@ class TransactionTracker {
this.events = embark.events;
this.transactions = {};
this.embark = embark;
+ this.startTimestamp = Date.now() / 1000;
embark.events.on("block:pending:transaction", this.onPendingTran... | 2 |
diff --git a/app.json b/app.json {
- "name": "SpaceX-API",
+ "name": "SpaceX-API-Review",
"scripts": {
},
"env": {
"formation": {
},
"addons": [
- "graphenedb",
- "jawsdb",
- "jawsdb-maria",
- "heroku-redis"
],
"buildpacks": [
{
| 3 |
diff --git a/Source/Scene/ScreenSpaceCameraController.js b/Source/Scene/ScreenSpaceCameraController.js @@ -1820,14 +1820,35 @@ define([
var endPos = look3DEndPos;
endPos.x = movement.endPosition.x;
endPos.y = 0.0;
- var start = camera.getPickRay(startPos, look3DStartRay).direction;
- var end = camera.getPickRay(endPos,... | 1 |
diff --git a/lib/process-manager.js b/lib/process-manager.js @@ -58,8 +58,8 @@ ProcessManager.prototype.getChild = function(moduleName) {
ProcessManager.prototype.removeChild = function(moduleName) {
var self = this;
_.each(this.children, function(child, index) {
- if (child.moduleName === moduleName) {
- delete self.c... | 8 |
diff --git a/core/src/navigation/LeftNav.html b/core/src/navigation/LeftNav.html 0 2px 8px 0 var(--fd-color-neutral-2)
);
border: 1px solid var(--fd-color-neutral-3);
- background: white;
opacity: 0;
animation-name: flyoutAnimation;
animation-duration: 0.3s;
animation-fill-mode: forwards;
+ .lui-flyout-sublist__title {... | 14 |
diff --git a/shared/middlewares/security.js b/shared/middlewares/security.js @@ -78,7 +78,7 @@ function securityMiddleware(
// Defines the origins from which images can be loaded.
// @note: Leave open to all images, too much image coming from different servers.
- imgSrc: ['https:', 'http:'],
+ imgSrc: ['https:', 'http:... | 11 |
diff --git a/docs/.eleventy.js b/docs/.eleventy.js @@ -77,8 +77,9 @@ module.exports = function (eleventyConfig) {
// }
// });
+
eleventyConfig.on('beforeWatch', () => {
- child_process.execSync('cat docs/* > index.md').toString('UTF-8')
+ child_process.execSync('cat docs/* > index.md', { encoding: 'utf8'} )
});
elevent... | 4 |
diff --git a/src/pages/tag.js b/src/pages/tag.js @@ -33,25 +33,18 @@ export default class TagShop extends Component {
return (
<Helmet>
<title>{pageTitle}</title>
- <meta name="description" content={shop.description} />
+ <meta name="description" content={shop && shop.description} />
</Helmet>
);
}
render() {
- const {... | 2 |
diff --git a/src/components/selections/select.js b/src/components/selections/select.js @@ -377,6 +377,8 @@ function prepSelect(evt, startX, startY, dragOptions, mode) {
throttle.done(throttleID).then(function() {
throttle.clear(throttleID);
+ // Only points selected by the new selection are presented in eventData here
... | 0 |
diff --git a/mesh-lodder.js b/mesh-lodder.js @@ -5,6 +5,7 @@ import {alea} from './procgen/procgen.js';
// import {getRenderer} from './renderer.js';
import {mod, modUv, getNextPhysicsId} from './util.js';
import physicsManager from './physics-manager.js';
+import * as BufferGeometryUtils from 'three/examples/jsm/utils... | 0 |
diff --git a/modules/@apostrophecms/page-type/index.js b/modules/@apostrophecms/page-type/index.js @@ -392,6 +392,9 @@ module.exports = {
},
extendMethods(self) {
return {
+ enableAction() {
+ self.action = self.apos.modules['@apostrophecms/page'].action;
+ },
copyForPublication(_super, req, from, to) {
_super(req, fro... | 12 |
diff --git a/codegens/java-okhttp/lib/parseRequest.js b/codegens/java-okhttp/lib/parseRequest.js @@ -85,8 +85,11 @@ function parseBody (requestBody, indentString, trimFields) {
variables: graphqlVariables
}), trimFields)}");\n`;
case 'formdata':
- return 'RequestBody body = new MultipartBody.Builder().setType(Multipart... | 9 |
diff --git a/src/lib/client.js b/src/lib/client.js @@ -72,7 +72,7 @@ StreamClient.prototype = {
this.appId = appId;
this.options = options;
this.version = this.options.version || 'v1.0';
- this.fayeUrl = this.options.fayeUrl || 'https://faye.getstream.io/faye';
+ this.fayeUrl = this.options.fayeUrl || 'https://faye-us-... | 4 |
diff --git a/src/content/developers/docs/evm/index.md b/src/content/developers/docs/evm/index.md @@ -60,7 +60,7 @@ Over Ethereum's 5 year history, the EVM has undergone several revisions, and the
All [Ethereum clients](/developers/docs/nodes-and-clients/#clients) include an EVM implementation. Additionally there are mu... | 14 |
diff --git a/assets/js/googlesitekit/data/create-fetch-store.js b/assets/js/googlesitekit/data/create-fetch-store.js @@ -26,6 +26,14 @@ import invariant from 'invariant';
*/
import { stringifyObject } from '../../util';
+const defaultReducerCallback = ( state ) => {
+ return { ...state };
+};
+
+const defaultArgsToPara... | 7 |
diff --git a/README.md b/README.md Check the stack and try it online [https://ng-fullstack.surge.sh](https://ng-fullstack.surge.sh).
-
-### Dependencies
-
-You'll need the latest version of `Node.js` and `npm`. You'll also need `yo` installed globally.
-
### Getting Started
If you already have Node/Go setup, all you ha... | 2 |
diff --git a/src/pages/settings/Profile/LoginField.js b/src/pages/settings/Profile/LoginField.js @@ -41,6 +41,7 @@ class LoginField extends Component {
};
this.timeout = null;
this.onResendClicked = this.onResendClicked.bind(this);
+ this.getTitle = this.getTitle.bind(this);
}
/**
@@ -63,6 +64,17 @@ class LoginField ex... | 7 |
diff --git a/src/components/CheckoutButtons/CheckoutButtons.js b/src/components/CheckoutButtons/CheckoutButtons.js @@ -9,10 +9,6 @@ export default class CheckoutButtons extends Component {
* Set to `true` to prevent the button from calling `onClick` when clicked
*/
isDisabled: PropTypes.bool,
- /**
- * On click functio... | 2 |
diff --git a/package.json b/package.json {
"name": "grid-apps",
- "version": "2.4.4.D",
+ "version": "2.4.4D",
"description": "grid.space 3d slice & modeling tools",
"author": "Stewart Allen <sa@grid.space>",
"license": "MIT",
"earcut": "^2.2.2",
"express-useragent": "^1.0.13",
"level": "^6.0.1",
- "leveldown": "^5.5.1... | 3 |
diff --git a/core/task-executor/lib/helpers/kubernetes.js b/core/task-executor/lib/helpers/kubernetes.js @@ -34,7 +34,7 @@ class KubernetesApi {
return res;
}
catch (error) {
- log.error(`unable to create job ${spec.metadata.name}. error: ${error.message}`, { component }, error);
+ log.throttle.error(`unable to create ... | 0 |
diff --git a/lib/plugins/crux/pug/index.pug b/lib/plugins/crux/pug/index.pug @@ -43,6 +43,8 @@ if experiences
if (crux[experience][formFactor] && crux[experience][formFactor].data)
a(id=experience + '-' + formFactor)
h3 Form Factor #{formFactor}
+ - const collectionPeriod = crux[experience][formFactor].data.record.coll... | 4 |
diff --git a/src/inner-slider.js b/src/inner-slider.js @@ -368,7 +368,9 @@ export class InnerSlider extends React.Component {
window.ontouchmove = null
}
swipeStart = (e) => {
+ if (this.props.verticalSwiping) {
this.disableBodyScroll()
+ }
let state = swipeStart(e, this.props.swipe, this.props.draggable)
state !== '' ... | 1 |
diff --git a/test/index.js b/test/index.js @@ -58,7 +58,8 @@ async function createPostGISRaster ({ name = TEST_DB } = {}) {
const { stdout } = await exec(getPostGISVersionCmd, {
env: Object.assign({ PGUSER }, process.env)
});
- const postgisVersion = stdout.trim();
+
+ const { version: postgisVersion } = semver.coerce(... | 11 |
diff --git a/tools/make/lib/addons/Makefile b/tools/make/lib/addons/Makefile @@ -10,6 +10,15 @@ NODE_GYP ?= $(BIN_DIR)/node-gyp
# Define command-line options when invoking node-gyp.
NODE_GYP_FLAGS ?=
+NODE_GYP_FLAGS += -Dfortran_compiler=$(FC)
+
+ifneq (, $(BLAS))
+ NODE_GYP_FLAGS += -Dblas=$(BLAS)
+ifneq (, $(BLAS_DIR... | 12 |
diff --git a/assets/js/modules/analytics/components/dashboard/DashboardOverallPageMetricsWidget.js b/assets/js/modules/analytics/components/dashboard/DashboardOverallPageMetricsWidget.js @@ -196,7 +196,7 @@ function calculateOverallPageMetricsData( report ) {
const lastMonth = totals[ 0 ]?.values || [];
const previousM... | 2 |
diff --git a/shared/js/ui/templates/site.es6.js b/shared/js/ui/templates/site.es6.js @@ -2,6 +2,7 @@ const bel = require('bel')
const toggleButton = require('./shared/toggle-button.es6.js')
const ratingHero = require('./shared/rating-hero.es6.js')
const trackerNetworksIcon = require('./shared/tracker-network-icon.es6.j... | 4 |
diff --git a/packages/volto-slate/src/editor/config.jsx b/packages/volto-slate/src/editor/config.jsx @@ -337,4 +337,4 @@ export const runtimeDecorators = [highlightSelection]; // , highlightByType
export const allowedHeadlineElements = ['em', 'i'];
// Scroll into view when typing
-export const scrollIntoView = false;
+... | 12 |
diff --git a/test/tests-collection.js b/test/tests-collection.js @@ -622,6 +622,10 @@ asyncTest("Promise chain from within each() operation", 2, function () {
});
promisedTest("Issue 1381: Collection.filter().primaryKeys() on virtual index", async () => {
+ if (!supports("compound")) {
+ ok(true, "Skipping this test as... | 8 |
diff --git a/src/model/immutable/DraftBlockRenderConfig.js b/src/model/immutable/DraftBlockRenderConfig.js 'use strict';
-const React = require('React');
+import type React from 'React';
export type DraftBlockRenderConfig = {
element: string,
wrapper?: React.Node,
aliasedElements?: Array<string>,
- ...
};
| 7 |
diff --git a/assets/js/components/setup/CompatibilityChecks/index.test.js b/assets/js/components/setup/CompatibilityChecks/index.test.js @@ -96,9 +96,6 @@ describe( 'CompatibilityChecks', () => {
// Expect neither error nor incomplete text to be displayed.
expect( container ).toHaveTextContent( 'Your site may not be re... | 2 |
diff --git a/factory-ai-vision/EdgeSolution/modules/WebModule/ui/src/components/LabelingPage/Scene.tsx b/factory-ai-vision/EdgeSolution/modules/WebModule/ui/src/components/LabelingPage/Scene.tsx import React, { FC, useState, useEffect, useCallback, useRef, Dispatch, useMemo } from 'react';
-import { Text, Button, Close... | 7 |
diff --git a/docs/src/components/page-parts/umd/UmdTags.vue b/docs/src/components/page-parts/umd/UmdTags.vue @@ -128,7 +128,7 @@ export default {
<body>
<!-- example of injection point where you write your app template -->
- <div id="q-app></div>
+ <div id="q-app"></div>
<!-- Add the following at the end of your body t... | 1 |
diff --git a/cypress/integration/modal_routes_spec.js b/cypress/integration/modal_routes_spec.js @@ -9,7 +9,7 @@ const communityBeforeUrlIsValid = () =>
const channelBeforeUrlIsValid = () =>
cy.url().should('eq', 'http://localhost:3000/spectrum/general?tab=posts');
-describe('thread modal route', () => {
+describe.skip... | 8 |
diff --git a/svc/web.js b/svc/web.js @@ -58,8 +58,11 @@ app.use('/apps', (req, res) => {
});
// Proxy to serve team logos over https
app.use('/ugc', (req, res) => {
- res.set('Content-Type', 'image/png');
- request(`http://cloud-3.steamusercontent.com/${req.originalUrl}`).pipe(res);
+ request(`http://cloud-3.steamuserc... | 12 |
diff --git a/.travis.yml b/.travis.yml @@ -38,12 +38,12 @@ branches:
# Before install, failures in this section will result in build status 'errored'
before_install:
- |
- if [[ "$JS" == "1" ]] || [[ "$E2E" == "1" ]] || [[ "$SNIFF" == "1" ]]; then
+ if [[ "$JS" == "1" ]] || [[ "$E2E" == "1" ]]; then
nvm install
npm ci
... | 2 |
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.reportName ?? '',
+ searchText: report.participants.... | 11 |
diff --git a/src/components/Story/StoryLoading.less b/src/components/Story/StoryLoading.less .StoryLoading {
position: relative;
- border-radius: 4px;
background-color: @white;
color: #353535;
- border: solid 1px #e9e7e7;
+ border-top: solid 1px #e9e7e7;
+ border-bottom: solid 1px #e9e7e7;
margin-bottom: 12px;
+ @media... | 1 |
diff --git a/bin/near-cli.js b/bin/near-cli.js @@ -34,7 +34,7 @@ const deleteAccount = {
desc: 'delete an account and transfer funds to beneficiary account.',
builder: (yargs) => yargs
.option('accountId', {
- desc: 'Account to view',
+ desc: 'Account to delete',
type: 'string',
required: true
})
| 1 |
diff --git a/src/pages/using-spark/components/input.mdx b/src/pages/using-spark/components/input.mdx @@ -117,7 +117,7 @@ used for stand-alone question flows.
- A list of two to six options, each with a concise label, all the same size.
<ComponentPreview
- componentName="input-huge-checkbox--default-story"
+ componentNa... | 3 |
diff --git a/articles/sso/oidc/single-page-apps-sso.md b/articles/sso/oidc/single-page-apps-sso.md @@ -82,6 +82,29 @@ For requests received with the parameter `prompt=none`, Auth0 redirects to the `
Regardless of which outcome occurs, the sample app's [`postMessage` function](https://developer.mozilla.org/en-US/docs/We... | 0 |
diff --git a/src/lib/contract/method.js b/src/lib/contract/method.js @@ -101,6 +101,11 @@ export default class Method {
if (!this.contract.deployed)
return callback('Calling smart contracts requires you to load the contract first');
+ const {stateMutability} = this.abi;
+
+ if (!['pure', 'view'].includes(stateMutabilit... | 13 |
diff --git a/generators/generator-constants.js b/generators/generator-constants.js @@ -60,7 +60,7 @@ const DOCKER_MONGODB = 'mongo:4.2.7';
const DOCKER_COUCHBASE = 'couchbase:6.5.1';
const DOCKER_CASSANDRA = 'cassandra:3.11.5'; // issues upgrading to 3.11.6
const DOCKER_MSSQL = 'mcr.microsoft.com/mssql/server:2017-late... | 3 |
diff --git a/pages/search.js b/pages/search.js @@ -19,6 +19,7 @@ import Layout from '../components/Layout'
import ResultsList from '../components/search/results-list'
import FilterSidebar from '../components/search/filter-sidebar'
import { Loader } from '../components/search/loader'
+import OONI404 from '../static/imag... | 7 |
diff --git a/Source/DataSources/KmlDataSource.js b/Source/DataSources/KmlDataSource.js @@ -3521,7 +3521,7 @@ function load(dataSource, entityCollection, data, options) {
* KML support in Cesium is incomplete, but a large amount of the standard,
* as well as Google's <code>gx</code> extension namespace, is supported. Se... | 1 |
diff --git a/spec/helpers/carto_db_spec.rb b/spec/helpers/carto_db_spec.rb @@ -28,24 +28,27 @@ describe 'CartoDB' do
describe 'extract_subdomain' do
it 'extracts subdomain without subdomainless_urls' do
- CartoDB::Cartodb.stubs(:config).returns({ subdomainless_urls: false })
+ CartoDB::Cartodb.stubs(:config).returns(su... | 1 |
diff --git a/packages/slackbot-proxy/src/controllers/slack.ts b/packages/slackbot-proxy/src/controllers/slack.ts @@ -79,23 +79,19 @@ export class SlackCtrl {
@Post('/commands')
@UseBefore(AuthorizeCommandMiddleware)
- async handleCommand(@Req() req: AuthedReq, @Res() res: Res): Promise<void|string> {
+ async handleComm... | 9 |
diff --git a/app/src/renderer/components/govern/ChartVotes.vue b/app/src/renderer/components/govern/ChartVotes.vue .kv.no: .container
.key No
.value {{ votes.no }}
- .chart-label(v-else :class="chartLabelClass") {{ chartLabel }}
+ .chart-legend(v-else :class="chartLabelClass")
+ .kv.abstain {{ votes.abstain }}
+ .kv.ye... | 3 |
diff --git a/src/core/createConfig.js b/src/core/createConfig.js @@ -13,7 +13,7 @@ governing permissions and limitations under the License.
import { assign, getNestedObject, setNestedObject } from "../utils";
const CONFIG_DOC_URI =
- "https://launch.gitbook.io/adobe-experience-platform-web-sdk/get-started/getting-start... | 3 |
diff --git a/js/webcomponents/bisweb_filetreepanel.js b/js/webcomponents/bisweb_filetreepanel.js @@ -547,11 +547,31 @@ class FileTreePanel extends HTMLElement {
let handleRightClick = (data) => {
+ let tree = this.fileTree.jstree(true);
+ let existingTreeSettings = tree.settings.contextmenu.items;
+ let enabledButtons ... | 10 |
diff --git a/elements/WrappedStandardElement.js b/elements/WrappedStandardElement.js @@ -294,6 +294,22 @@ class WrappedStandardElement extends ElementBase {
Object.defineProperty(Wrapped.prototype, name, delegate);
});
+ // Special case for IE 11, which mysteriously doesn't expose `disabled` as a
+ // property on HTMLB... | 1 |
diff --git a/core/pipeline-driver/lib/tasks/task-runner.js b/core/pipeline-driver/lib/tasks/task-runner.js @@ -13,7 +13,6 @@ const log = require('@hkube/logger').GetLogFromContainer();
const components = require('common/consts/componentNames');
const { metricsNames } = require('../consts/metricsNames');
const metrics =... | 0 |
diff --git a/lib/util.js b/lib/util.js @@ -41,22 +41,46 @@ util.retry = async (fn, thisArg, args = [], maxRetries = 5, returnValMatch = nul
}
util.channelMentionToId = (mention) => {
- if(!/^<#\d+>$/.test(mention) && !/^\d+$/.test(mention))
+ if (/^<#\d+>$/.test(mention)) {
+ return mention.replace('<@!','').replace('>... | 7 |
diff --git a/token-metadata/0x821144518dfE9e7b44fCF4d0824e15e8390d4637/metadata.json b/token-metadata/0x821144518dfE9e7b44fCF4d0824e15e8390d4637/metadata.json "symbol": "ATIS",
"address": "0x821144518dfE9e7b44fCF4d0824e15e8390d4637",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/src/index.js b/src/index.js @@ -730,7 +730,7 @@ class Offline {
response.statusCode = statusCode;
if (contentHandling === 'CONVERT_TO_BINARY') {
response.encoding = 'binary';
- response.source = new Buffer(result, 'base64');
+ response.source = Buffer.from(result, 'base64');
response.variety = 'buffer';
}
... | 14 |
diff --git a/src/components/ReportActionItem/IOUAction.js b/src/components/ReportActionItem/IOUAction.js @@ -65,7 +65,7 @@ const IOUAction = (props) => {
const shouldShowIOUPreview = (
props.isMostRecentIOUReportAction && Boolean(props.action.originalMessage.IOUReportID)
- ) || props.action.originalMessage.type === 'pa... | 4 |
diff --git a/src/components/lazy/lazy.js b/src/components/lazy/lazy.js @@ -27,6 +27,7 @@ const Lazy = {
const src = $imageEl.attr('data-src');
const srcset = $imageEl.attr('data-srcset');
const sizes = $imageEl.attr('data-sizes');
+ const picture = $($imageEl[0]).parent();
swiper.loadImage($imageEl[0], (src || backgrou... | 0 |
diff --git a/src/cachers/redis.js b/src/cachers/redis.js @@ -12,6 +12,8 @@ const BaseCacher = require("./base");
const { METRIC } = require("../metrics");
const { BrokerOptionsError } = require("../errors");
+let Redis, Redlock;
+
/**
* Cacher factory for Redis
*
@@ -46,7 +48,6 @@ class RedisCacher extends BaseCacher {... | 7 |
diff --git a/articles/integrations/aws-api-gateway-2/part-3.md b/articles/integrations/aws-api-gateway-2/part-3.md @@ -5,53 +5,3 @@ description: How to set your API methods to use your custom authorizer
# AWS Part 3: Secure the API Using Custom Authorizers
In [part 1](/integrations/aws-api-gateway-2/part-1), you config... | 2 |
diff --git a/.github/workflows/contributor_spec.yaml b/.github/workflows/contributor_spec.yaml @@ -20,7 +20,3 @@ jobs:
key: ${{ runner.os }}-${{ hashFiles('**/package.lock.json') }}
- run: npm i
- run: NEW_USER=$(git show main:contributors.json | jq -r --argjson new "$(cat contributors.json)" '. | keys - ($new | keys) ... | 2 |
diff --git a/src/components/Match/matchColumns.jsx b/src/components/Match/matchColumns.jsx @@ -1056,10 +1056,13 @@ export default (strings) => {
if (field) {
return <TargetsBreakdown field={field} />;
}
+ if (row.damage_inflictor) {
// backwards compatibility 2018-03-17
return Object.keys(row.damage_inflictor)
.sort((a... | 1 |
diff --git a/generators/server/templates/src/main/java/package/domain/AbstractAuditingEntity.java.ejs b/generators/server/templates/src/main/java/package/domain/AbstractAuditingEntity.java.ejs @@ -22,9 +22,6 @@ package <%=packageName%>.domain;
import com.couchbase.client.java.repository.annotation.Field;
<%_ } _%>
impo... | 2 |
diff --git a/tools/make/lib/benchmark/fortran.mk b/tools/make/lib/benchmark/fortran.mk @@ -12,6 +12,7 @@ benchmark-fortran:
cd `dirname $$file` && \
$(MAKE) clean && \
$(MAKE) && \
+ FORTRAN_COMPILER="$(FC)" \
$(MAKE) run || exit 1; \
done
@@ -29,6 +30,7 @@ benchmark-fortran-files:
cd `dirname $$file` && \
$(MAKE) clea... | 12 |
diff --git a/world.js b/world.js @@ -32,11 +32,26 @@ const localMatrix = new THREE.Matrix4();
const localMatrix2 = new THREE.Matrix4();
const localRaycaster = new THREE.Raycaster();
+let pendingAnalyticsData = {};
+setInterval(() => {
+ Object.keys(pendingAnalyticsData).map(item => {
+ fetch(item, { method: 'POST', bod... | 0 |
diff --git a/packages/fether-react/src/Send/Sent/Sent.js b/packages/fether-react/src/Send/Sent/Sent.js // SPDX-License-Identifier: BSD-3-Clause
import React, { Component } from 'react';
-import { chainName$ } from '@parity/light.js';
+import { chainName$, withoutLoading } from '@parity/light.js';
import { inject, obser... | 1 |
diff --git a/docs/stateDiagram.md b/docs/stateDiagram.md @@ -30,7 +30,7 @@ In state diagrams systems are described in terms of its states and how the syste
## States
-A state can be declares in multiple ways. The simplest way is to define a state id as a description.
+A state can be declared in multiple ways. The simpl... | 1 |
diff --git a/src/api.js b/src/api.js @@ -116,17 +116,27 @@ class DockAPI {
}
/**
- * Helper function to sign and send an extrinsic with the default account
+ * Signs an extrinsic with either the set account or a custom sign method (see constructor)
* @param {object} extrinsic - Extrinsic to send
* @return {Promise}
*/
... | 10 |
diff --git a/resources/js/backButton.js b/resources/js/backButton.js @@ -3,25 +3,13 @@ try {
if (!document.querySelector('#backButton')) {
const backButtonStyle = `background-color: rgb(0 0 0 / 0%); width: 9px; margin: -43px 8px 8px 228px; -webkit-app-region: no-drag;`;
- document.getElementById('green').insertAdjacent... | 5 |
diff --git a/assets/js/modules/analytics/common/property-select.js b/assets/js/modules/analytics/common/property-select.js @@ -31,9 +31,15 @@ import { isValidAccountID } from '../util';
export const PROPERTY_CREATE = 'property_create';
export default function PropertySelect( { useSelect, useDispatch } ) {
- const accou... | 12 |
diff --git a/src/encoded/visualization.py b/src/encoded/visualization.py @@ -2180,6 +2180,10 @@ def vis_format_external_url(browser, hub_url, assembly, position=None):
if ensembl_host is not None:
external_url = 'http://' + ensembl_host + '/Trackhub?url='
external_url += hub_url + ';species=' + mapped_assembly.get('spe... | 0 |
diff --git a/src/index.ts b/src/index.ts @@ -64,8 +64,10 @@ export async function cli(args: string[]) {
process.exit(1);
}
+ const cmd = cliFlags['_'][2];
+
// Set this early - before config loading - so that plugins see it.
- if (cliFlags['_'][2] === 'build') {
+ if (cmd === 'build') {
process.env.NODE_ENV = process.e... | 14 |
diff --git a/src/apps.json b/src/apps.json 11
],
"html": [
- "<link rel=[\"']stylesheet[\"'] [^>]+wp-(?:content|includes)",
+ "<link rel=[\"']stylesheet[\"'] [^>]+/wp-(?:content|includes)/",
"<div[^>]*class=[\"']amp-wp-",
"<link[^>]+s\\d+\\.wp\\.com"
],
"wp_username": ""
},
"meta": {
- "generator": "WordPress( [\\d.]+)... | 7 |
diff --git a/content/questions/console-log-fetch/index.md b/content/questions/console-log-fetch/index.md @@ -18,4 +18,4 @@ console.log(fetch);
<!-- explanation -->
-What happens when you `console.log(fetch)` really depends on your current environment. If you `console.log` it in a [browser version](https://developer.moz... | 0 |
diff --git a/packages/cx/src/widgets/grid/TreeNode.js b/packages/cx/src/widgets/grid/TreeNode.js @@ -66,7 +66,7 @@ export class TreeNode extends Container {
<div
className={CSS.element(baseClass, 'handle')}
onClick={e => this.toggle(e, instance)}
- onMouseDown={!this.hideIcon && stopPropagation}
+ onMouseDown={!this.hi... | 1 |
diff --git a/edit.js b/edit.js @@ -2297,6 +2297,7 @@ function animate(timestamp, frame) {
pxMesh.position.copy(applyPosition)
.add(localVector2.set(0, 0.1, 0).applyQuaternion(currentChunkMesh.getWorldQuaternion(localQuaternion2).inverse()));
pxMesh.velocity = new THREE.Vector3((-1+Math.random()*2)*0.5, Math.random()*3,... | 0 |
diff --git a/README.md b/README.md @@ -80,4 +80,4 @@ Azure Search | Two sample bots that help the user navigate large amounts of cont
[Deploy Node/SimilarProducts]: https://azuredeploy.net?repository=https://github.com/microsoft/BotBuilder-Samples/tree/master/Node/intelligence-SimilarProducts
[Deploy CSharp/AppInsights... | 2 |
diff --git a/source/shaders/ibl_filtering.frag b/source/shaders/ibl_filtering.frag @@ -179,11 +179,7 @@ float D_Charlie(float sheenRoughness, float NdotH)
return (2.0 + invR) * pow(sin2h, invR * 0.5) / (2.0 * MATH_PI);
}
-// GGX microfacet distribution
-// https://www.cs.cornell.edu/~srm/publications/EGSR07-btdf.html
-... | 4 |
diff --git a/readme.md b/readme.md @@ -37,6 +37,7 @@ Contributions in all forms (code, bug reports, community engagenment, cash money
```
git clone git@github.com:GridSpace/grid-apps.git
+cd grid-apps
npm i
npm install -g @gridspace/app-server
gs-app-server --debug
| 7 |
diff --git a/packages/platform/src/server/index.js b/packages/platform/src/server/index.js -const extendRequire = require('isomorphic-loader/lib/extend-require');
+// const extendRequire = require('isomorphic-loader/lib/extend-require');
// const settings = require('../../tools/app-settings.js');
require('css-modules-r... | 2 |
diff --git a/tools/gcs-upload/index.ts b/tools/gcs-upload/index.ts @@ -4,13 +4,20 @@ import fs from 'fs-extra';
import { fileURLToPath } from 'url';
const filename = fileURLToPath(import.meta.url);
+const log = (message: string) => {
+ // eslint-disable-next-line no-console
+ console.log(`[gcs-upload tool]: ${message}`... | 0 |
diff --git a/.travis.yml b/.travis.yml @@ -23,39 +23,39 @@ addons:
matrix:
include:
- - node_js: "6"
+ - node_js: "8"
env: >
DO_TEST=TRUE
DO_LINT=TRUE
DO_NPM_DEPLOY=TRUE
DO_TRANSIFEX_DEPLOY=TRUE
# Test the examples in white space mode on the pull requests
- - node_js: "6"
+ - node_js: "8"
env: >
DEVELOPMENT=TRUE
DO_EXA... | 4 |
diff --git a/docs/_reference/auth.md b/docs/_reference/auth.md @@ -222,7 +222,7 @@ methods:
```javascript
function* SignUpSaga(email, password) {
try {
- const data = yield call(rsf.auth.signUpWithEmailAndPassword, email, password);
+ const user = yield call(rsf.auth.signUpWithEmailAndPassword, email, password);
yield ... | 10 |
diff --git a/token-metadata/0x78B7FADA55A64dD895D8c8c35779DD8b67fA8a05/metadata.json b/token-metadata/0x78B7FADA55A64dD895D8c8c35779DD8b67fA8a05/metadata.json "symbol": "ATL",
"address": "0x78B7FADA55A64dD895D8c8c35779DD8b67fA8a05",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/src/style_manager/model/Sector.js b/src/style_manager/model/Sector.js @@ -20,7 +20,7 @@ export default class Sector extends Model {
open: true,
buildProps: '',
extendBuilded: 1,
- properties: []
+ properties: [],
};
}
@@ -89,17 +89,32 @@ export default class Sector extends Model {
/**
* Get sector properti... | 7 |
diff --git a/src/data/__test-data.js b/src/data/__test-data.js @@ -4,7 +4,8 @@ import { gen, sampleOne as sample } from "@rgbboy/testcheck";
import type { ValueGenerator } from "@rgbboy/testcheck";
import { DateTime } from "luxon";
import { FORMAT_CONTENTFUL_ISO } from "../lib/date";
-import type { Event } from "./even... | 0 |
diff --git a/docs/README.md b/docs/README.md The Open API Enforcer is a library that makes it easy to work with the Open API Specification (OAS), offering these features:
- [Validate](#enforcer) your OAS documents.
-- [Serialize](./components/schema.md#schemaprototypeserialize), [deserialize](./components/schema.md#sch... | 3 |
diff --git a/test/functional/bodies/auth.json b/test/functional/bodies/auth.json "version": 2
},
"tacacs": {
- "accoutning": "send-to-first-server",
+ "accounting": "send-to-first-server",
"authentication": "use-first-server",
"debug": false,
"encryption": true,
| 1 |
diff --git a/native/ios/Comm.xcodeproj/project.pbxproj b/native/ios/Comm.xcodeproj/project.pbxproj inputPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Comm/Pods-Comm-frameworks.sh",
"${PODS_ROOT}/hermes-engine/destroot/Library/Frameworks/iphoneos/hermes.framework",
- "${PODS_XCFRAMEWORKS_BUILD_DIR}/OpenSSL/OpenSSL.f... | 3 |
diff --git a/templates/master/index.js b/templates/master/index.js @@ -137,7 +137,7 @@ module.exports={
},
"Encryption":{
"Type":"String",
- "Description":"Defines whether resources (S3 and ElasticSearch) are encrypted at rest. Selecting encrypted configuration will provision c5.large.elasticsearch instances - see http... | 3 |
diff --git a/docs/api/SubmissionError.md b/docs/api/SubmissionError.md A throwable error that is used to return submit validation errors from `onSubmit`. The purpose
being to distinguish promise rejection because of validation errors from promise rejection because
-of AJAX I/O problems or other server errors.
+of AJAX ... | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.