code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/lib/applydamage.js b/lib/applydamage.js @@ -174,13 +174,13 @@ export default class ApplyDamageDialog extends Application {
if (!publicly) {
if (this.doofus.hasPlayerOwner) {
- messageData.whisper = [{ alias: this.doofus.data.name, _id: this.doofus._id }]
+ let users = this.doofus.getUsers(CONST.ENTITY_PERM... | 1 |
diff --git a/workflow/forms.py b/workflow/forms.py @@ -21,7 +21,7 @@ from .models import (
ActivityUser, Contact, Sector, Country, ProfileType,
)
from indicators.models import (
- CollectedData, Indicator, PeriodicTarget, Level,
+ CollectedData, Indicator, PeriodicTarget,
)
from crispy_forms.layout import LayoutObject,... | 3 |
diff --git a/test/jasmine/tests/cartesian_interact_test.js b/test/jasmine/tests/cartesian_interact_test.js @@ -2422,6 +2422,12 @@ describe('Cartesian plots with css transforms', function() {
}
};
+ var bbox = {
+ one: { x0: 20, x1: 180, y0: 273.33, y1: 273.33 },
+ two: { x0: 220, x1: 380, y0: 146.67, y1: 146.67 },
+ th... | 0 |
diff --git a/app/controllers/api/account.php b/app/controllers/api/account.php @@ -993,15 +993,9 @@ App::get('/v1/account/sessions/:sessionId')
? Auth::sessionVerify($user->getAttribute('sessions'), Auth::$secret)
: $sessionId;
- $session = $projectDB->getCollectionFirst([ // Get user by sessionId
- 'limit' => 1,
- 'fi... | 14 |
diff --git a/src/mixins/crownConfig.js b/src/mixins/crownConfig.js @@ -78,7 +78,7 @@ export default {
},
removeShape() {
this.graph.getConnectedLinks(this.shape).forEach(shape => this.$emit('remove-node', shape.component.node));
- this.shape.getEmbeddedCells().forEach(cell => {
+ this.shape.getEmbeddedCells({deep: true... | 2 |
diff --git a/core/algorithm-operator/lib/templates/algorithm-builder.js b/core/algorithm-operator/lib/templates/algorithm-builder.js @@ -55,6 +55,14 @@ const jobTemplate = {
}
}
},
+ {
+ name: 'NAMESPACE',
+ valueFrom: {
+ fieldRef: {
+ fieldPath: 'metadata.namespace'
+ }
+ }
+ },
{
name: 'CLUSTER_NAME',
valueFrom: {
| 0 |
diff --git a/bin/build.js b/bin/build.js @@ -43,20 +43,19 @@ function create(temp,name,output){
.tap(env=>{
if(!env["QNA-DEV-BUCKET"]){
console.log("Launch dev/bucket to have scratch space for large template")
- }
- })
- .tap(env=>
- s3.putObject({
+ }else{
+ return s3.putObject({
Bucket:env["QNA-DEV-BUCKET"],
Key:"scr... | 1 |
diff --git a/token-metadata/0x446C9033E7516D820cc9a2ce2d0B7328b579406F/metadata.json b/token-metadata/0x446C9033E7516D820cc9a2ce2d0B7328b579406F/metadata.json "symbol": "SOLVE",
"address": "0x446C9033E7516D820cc9a2ce2d0B7328b579406F",
"decimals": 8,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/bin/resources/app/themes/dark/dark.css b/bin/resources/app/themes/dark/dark.css background: #222222;
color: #D0D0D0;
}
-.treeview .header:hover, .treeview .header:hover > span,
-.treeview .item:hover, .treeview .item:hover > span {
+.treeview .header:not(:active):hover, .treeview .header:not(:active):hover... | 1 |
diff --git a/src/plots/cartesian/axes.js b/src/plots/cartesian/axes.js @@ -2597,10 +2597,10 @@ axes.drawLabels = function(gd, ax, opts) {
var seq = [allLabelsReady];
- // N.B. during auto-margin redraw, if the axis fixed its label overlaps
+ // N.B. during auto-margin redraws, if the axis fixed its label overlaps
// by... | 0 |
diff --git a/bin/local-env/includes.sh b/bin/local-env/includes.sh @@ -6,6 +6,8 @@ DOCKER_COMPOSE_FILE_OPTIONS="-f $(dirname "$0")/docker-compose.yml"
CLI='cli'
CONTAINER='wordpress'
SITE_TITLE='Google Site Kit Dev'
+# Set the name of the Docker Compose project.
+export COMPOSE_PROJECT_NAME='googlesitekit-e2e'
##
# Ask... | 12 |
diff --git a/src/components/Modeler.vue b/src/components/Modeler.vue @@ -646,8 +646,8 @@ export default {
this.paper.setDimensions(clientWidth, clientHeight);
},
isPointOverPaper(mouseX, mouseY) {
- const { x, y, width, height } = this.$refs['paper-container'].getBoundingClientRect();
- const rect = new joint.g.rect(x,... | 14 |
diff --git a/README.md b/README.md @@ -72,4 +72,5 @@ For starter apps and templates, see [create-snowpack-app](./create-snowpack-app)
- [snowpack-plugin-stylus](https://github.com/fansenze/snowpack-plugin-stylus) Use the [Stylus](https://github.com/stylus/stylus) compiler to build `.styl` files from source.
- [snowpack... | 0 |
diff --git a/website/themes/uppy/layout/index.ejs b/website/themes/uppy/layout/index.ejs <p><%- config.description %></p>
</div>
<div class="IndexAbout-item">
- <img class="IndexAbout-icon" src="/images/transloadit-logo.png">
+ <a href="https://transloadit.com"><img class="IndexAbout-icon" src="/images/transloadit-logo... | 0 |
diff --git a/test/jasmine/tests/polar_test.js b/test/jasmine/tests/polar_test.js @@ -1138,6 +1138,8 @@ describe('Test polar *gridshape linear* interactions', function() {
});
it('should rotate all non-symmetrical layers on angular drag', function(done) {
+ var evtCnt = 0;
+ var evtData = {};
var dragCoverNode;
var p1;
... | 0 |
diff --git a/lib/components/user/user-account-screen.js b/lib/components/user/user-account-screen.js @@ -30,7 +30,7 @@ function getStateForNewUser (auth0User) {
email: auth0User.email,
hasConsentedToTerms: false, // User must agree to terms.
isEmailVerified: auth0User.email_verified,
- notificationChannels: ['email'],
... | 13 |
diff --git a/Makefile b/Makefile @@ -168,7 +168,8 @@ R_FILENAME_EXT ?= R
SHELL_FILENAME_EXT ?= sh
SVG_FILENAME_EXT ?= svg
TEXT_FILENAME_EXT ?= txt
-WEBASSEMBLY_FILENAME_EXT ?= wasm
+WASM_FILENAME_EXT ?= wasm
+WAT_FILENAME_EXT ?= wat
YAML_FILENAME_EXT ?= yml
# Define Node paths:
| 10 |
diff --git a/shared/testing/setup-test-framework.js b/shared/testing/setup-test-framework.js const mockDb = require('./db');
// Wait for 15s before timing out, this is useful for e2e tests which have a tendency to time out
-jest.setTimeout(15000);
+jest.setTimeout(30000);
// Mock the database
jest.mock('iris/models/db'... | 12 |
diff --git a/src/main/java/org/cboard/dataprovider/aggregator/jvm/JvmAggregator.java b/src/main/java/org/cboard/dataprovider/aggregator/jvm/JvmAggregator.java @@ -124,39 +124,6 @@ public class JvmAggregator extends InnerAggregator {
return new AggregateResult(dimensionList, result);
}
- public AggregateResult queryAggD... | 3 |
diff --git a/src/backend.github.js b/src/backend.github.js @@ -332,7 +332,7 @@ var _ = Mavo.Backend.register($.Class({
// raw API call, stop parsing and just return
return {};
}
- else if (/github.com$/.test(url.host) && path[0] == "blob") {
+ else if (path[0] == "blob") {
path.shift();
ret.branch = path.shift();
}
| 11 |
diff --git a/src/js/components/Grid/__tests__/Grid-test.js b/src/js/components/Grid/__tests__/Grid-test.js @@ -234,7 +234,7 @@ describe('Grid', () => {
expect(tree).toMatchSnapshot();
});
- test.only('border', () => {
+ test('border', () => {
const component = renderer.create(
<Grommet>
<Grid border="all" />
| 1 |
diff --git a/src/encoded/static/components/award.js b/src/encoded/static/components/award.js @@ -641,7 +641,6 @@ const ExperimentDate = (props) => {
const { experiments } = props;
let dateArray;
let accumulator = 0;
- let standardDate;
// 'no-const-assign': 0;
// const experimentsConfig = searchData.experiments;
@@ -65... | 1 |
diff --git a/packages/vulcan-forms/lib/components/FormWrapper.jsx b/packages/vulcan-forms/lib/components/FormWrapper.jsx @@ -51,6 +51,8 @@ import {
import withCollectionProps from './withCollectionProps';
import { callbackProps } from './propTypes';
+const intlSuffix = '_intl';
+
class FormWrapper extends PureComponent... | 9 |
diff --git a/articles/integrations/aws/tokens.md b/articles/integrations/aws/tokens.md @@ -185,14 +185,12 @@ Here is an example of client-side code used to obtain the token:
var options = {
id_token: LOGGED_IN_USER_ID_TOKEN,
- api: 'aws',
- role: AWS_ROLE_ARN,
- principal: AWS_SAML_PROVIDER_ARN
+ api: 'aws'
};
auth0.ge... | 2 |
diff --git a/src/libs/ReportUtils.js b/src/libs/ReportUtils.js @@ -415,6 +415,9 @@ function formatReportLastMessageText(lastMessageText) {
function getDefaultAvatar(login = '') {
// There are 24 possible default avatars, so we choose which one this user has based
// on a simple hash of their login
+ if (login === CONST... | 12 |
diff --git a/src/server/node_services/nodes_monitor.js b/src/server/node_services/nodes_monitor.js @@ -2761,7 +2761,6 @@ class NodesMonitor extends EventEmitter {
used_other: 0,
};
const data_activities = {};
- let data_activity_host_count = 0;
_.each(list, item => {
count += 1;
by_mode[item.mode] = (by_mode[item.mode]... | 2 |
diff --git a/core/background/services/lastfm.js b/core/background/services/lastfm.js @@ -308,7 +308,13 @@ define([
var thumbUrl = song.getTrackArt();
if (thumbUrl === null) {
- thumbUrl = $doc.find('album > image[size="medium"]').text();
+ let imageSizes = ['extralarge', 'large', 'medium'];
+ for (let imageSize of imag... | 7 |
diff --git a/.github/workflows/ci-app.yml b/.github/workflows/ci-app.yml @@ -98,7 +98,7 @@ jobs:
- name: yarn test
working-directory: ./packages/app
run: |
- yarn test --selectProjects unit server
+ yarn test
env:
MONGO_URI: mongodb://localhost:${{ job.services.mongodb.ports['27017'] }}/growi_test
@@ -141,7 +141,7 @@ j... | 7 |
diff --git a/source/Renderer/shaders/material_info.glsl b/source/Renderer/shaders/material_info.glsl @@ -204,7 +204,7 @@ MaterialInfo getMetallicRoughnessInfo(MaterialInfo info)
#endif
// Achromatic f0 based on IOR.
- info.c_diff = mix(info.baseColor.rgb * (vec3(1.0) - info.f0), vec3(0), info.metallic);
+ info.c_diff =... | 1 |
diff --git a/constants.js b/constants.js @@ -41,5 +41,6 @@ export const landHost = `https://${chainName}sidechain-land.webaverse.com`;
export const aiHost = `https://ai.webaverse.com`;
export const web3MainnetSidechainEndpoint = 'https://mainnetsidechain.exokit.org';
export const web3TestnetSidechainEndpoint = 'https:/... | 4 |
diff --git a/src/traces/isosurface/attributes.js b/src/traces/isosurface/attributes.js @@ -97,7 +97,7 @@ module.exports = extendFlat({
editType: 'calc',
description: [
'Sets the 4th dimension of the vertices. It should be',
- 'one dimensional array containing n=width*height*depth numbers.'
+ 'one dimensional array cont... | 2 |
diff --git a/helpers/Grocycode.php b/helpers/Grocycode.php @@ -77,7 +77,7 @@ class Grocycode
$gc = new self($code);
return true;
}
- catch (Exception $e)
+ catch (\Exception $e)
{
return false;
}
@@ -110,7 +110,7 @@ class Grocycode
*/
private function setFromCode($code)
{
- $parts = array_reverse(explode(':', $barcode)... | 1 |
diff --git a/src/encoded/static/components/search.js b/src/encoded/static/components/search.js @@ -721,8 +721,9 @@ class Facet extends React.Component {
// Set initial React commponent state.
this.state = {
- filteredTerms: null,
initialState: true,
+ unsanitizedSearchTerm: '',
+ searchTerm: '',
};
// Bind `this` to no... | 3 |
diff --git a/token-metadata/0x048Fe49BE32adfC9ED68C37D32B5ec9Df17b3603/metadata.json b/token-metadata/0x048Fe49BE32adfC9ED68C37D32B5ec9Df17b3603/metadata.json "symbol": "SKM",
"address": "0x048Fe49BE32adfC9ED68C37D32B5ec9Df17b3603",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/articles/tokens/id-token.md b/articles/tokens/id-token.md @@ -64,7 +64,9 @@ If you are using [OAuth 2.0 API Authorization](/api-auth/tutorials/configuring-t
## Lifetime
-The `id_token` is valid for 10 hours (36000 seconds) by default. The value can be changed in the [Dashboard > Clients > Settings](${manag... | 0 |
diff --git a/src/stores/tokensStore.js b/src/stores/tokensStore.js @@ -38,14 +38,17 @@ class TokensStore {
// Now we fetch the tokens from the localStorage
const tokens = store.get(this.lsKey);
+
if (!tokens) {
// If there's nothing in the localStorage, we add be default only
// Ethereum. We consider Ethereum as a toke... | 1 |
diff --git a/generators/entity/index.js b/generators/entity/index.js @@ -648,7 +648,9 @@ module.exports = class extends BaseGenerator {
if (relationship.relationshipType === 'many-to-one') {
if (otherEntityData && otherEntityData.relationships) {
otherEntityData.relationships.forEach((otherRelationship) => {
- if (othe... | 1 |
diff --git a/test/codegen/newman/fixtures/formdataFileCollection.json b/test/codegen/newman/fixtures/formdataFileCollection.json "key": "single file",
"value": "",
"type": "file",
- "src": "/home/wolf/development/codegen_new/redsmoke/postman-code-generators/dummyFile1.txt"
+ "src": "<file path>"
},
{
"key": "multiple f... | 13 |
diff --git a/assets/js/modules/analytics-4/components/dashboard/ActivationBanner/SetupBanner.js b/assets/js/modules/analytics-4/components/dashboard/ActivationBanner/SetupBanner.js @@ -43,11 +43,15 @@ import {
MODULES_ANALYTICS,
} from '../../../../analytics/datastore/constants';
import { CORE_USER } from '../../../../... | 12 |
diff --git a/README.md b/README.md @@ -67,21 +67,21 @@ Note:
```html
<!-- Angular -->
- <script src="node_modules/angular-patternfly/node_modules/angular/angular.min.js"></script>
+ <script src="node_modules/angular/angular.min.js"></script>
<!-- Angular-Bootstrap -->
- <script src="node_modules/angular-patternfly/node... | 3 |
diff --git a/src/selectors/events.js b/src/selectors/events.js @@ -38,6 +38,7 @@ const groupByStartTime = (events: Event[]): EventDays => {
const getEventsState = (state: State) => state.events;
+// Type hack to force array filter to one type https://github.com/facebook/flow/issues/1915
export const selectEvents = (sta... | 0 |
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md <!--
Please consider the following before submitting a pull request:
-Guidelines for contributing: https://github.com/chartjs/Chart.js/blob/master/docs/docs/developers/contributing.md
+Guidelines for contributing: https://github.com/chartj... | 1 |
diff --git a/src/data/formatters.js b/src/data/formatters.js @@ -13,7 +13,7 @@ export const formatDateRange = (dateRange: DateRange) =>
].join(" - ")
: formatDate(dateRange.startDate, "D MMM");
-export const formatTime = value => formatDate(value, "HH:mm");
+export const formatTime = (value: string) => formatDate(value... | 0 |
diff --git a/token-metadata/0x6F02055E3541DD74A1aBD8692116c22fFAFaDc5D/metadata.json b/token-metadata/0x6F02055E3541DD74A1aBD8692116c22fFAFaDc5D/metadata.json "symbol": "TMT",
"address": "0x6F02055E3541DD74A1aBD8692116c22fFAFaDc5D",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/src/traces/isosurface/convert.js b/src/traces/isosurface/convert.js @@ -313,90 +313,6 @@ function generateIsosurfaceMesh(data) {
}
- function tryCreateTri_OLD(a, b, c, isCore, debug) {
-
- var xyzv = getXYZV([a, b, c]);
-
- var ok = [
- inRange(xyzv[0][3]),
- inRange(xyzv[1][3]),
- inRange(xyzv[2][3])
- ];... | 2 |
diff --git a/src/core/operations/HTTP.js b/src/core/operations/HTTP.js @@ -146,6 +146,7 @@ const HTTP = {
return e.toString() +
"\n\nThis error could be caused by one of the following:\n" +
" - An invalid URL\n" +
+ " - Making a request to an insecure resource (HTTP) from a secure source (HTTPS)\n" +
" - Making a cross... | 0 |
diff --git a/src/encoded/schemas/samtools_flagstats_quality_metric.json b/src/encoded/schemas/samtools_flagstats_quality_metric.json "description": "flagstats: mapped - percent"
},
"mapped_qc_failed": {
- "title": "% reads mapped failing QC",
+ "title": "# reads mapped failing QC",
"type": "number",
"description": "fla... | 1 |
diff --git a/docs/app/components/layout/main/modules/examples/input_example_1.txt b/docs/app/components/layout/main/modules/examples/input_example_1.txt class InputTest extends React.Component {
- state = { name: '', phone: '', multiline: '', email: '', hint: '', label: '' };
+ state = { name: '', phone: '', multiline:... | 9 |
diff --git a/source/views/controls/AbstractControlView.js b/source/views/controls/AbstractControlView.js @@ -38,12 +38,12 @@ const AbstractControlView = Class({
/**
Property: O.AbstractControlView#tabIndex
- Type: Number|undefined
- Default: undefined
+ Type: Number
+ Default: 0
If set, this will become the tab index f... | 12 |
diff --git a/src/framework/components/camera/component.js b/src/framework/components/camera/component.js @@ -365,8 +365,10 @@ class CameraComponent extends Component {
/**
* Convert a point from 2D screen space to 3D world space.
*
- * @param {number} screenx - X coordinate on PlayCanvas' canvas element.
- * @param {nu... | 7 |
diff --git a/contracts/modules/Wallet/VestingEscrowWallet.sol b/contracts/modules/Wallet/VestingEscrowWallet.sol @@ -383,7 +383,7 @@ contract VestingEscrowWallet is IWallet {
* @notice Returns beneficiary's schedule
* @param _beneficiary beneficiary's address
* @param _templateName name of the template
- * @return bene... | 3 |
diff --git a/Makefile b/Makefile @@ -44,12 +44,12 @@ index.html: docs/index.md docs/head.html docs/tail.html
> $@
docclean:
- rm -f index.html test.html
+ rm -f index.html docs/test.html
test-docs: docs/head.html docs/tail.html
make test REPORTER=doc \
| cat docs/head.html - docs/tail.html \
- > test.html
+ > docs/test... | 2 |
diff --git a/userscript.user.js b/userscript.user.js @@ -14255,6 +14255,8 @@ var $$IMU_EXPORT$$;
domain === "cdn-contents-web.weverse.io" ||
// https://cdn.hashnode.com/res/hashnode/image/upload/v1597244649420/jX9JzFN5o.png?w=1600&h=840&fit=crop&crop=entropy&auto=format&q=60
domain === "cdn.hashnode.com" ||
+ // https:... | 7 |
diff --git a/tests/end2end/helpers/E2EApp.js b/tests/end2end/helpers/E2EApp.js @@ -39,6 +39,24 @@ export class E2EApp {
this.loginUserWithCredentials(username, password, autoLogout, '#tab_ldap');
}
+ static loginFailed() {
+ const standardLoginErrorAlertExists = browser.isExisting('.at-error.alert.alert-danger'),
+ gen... | 7 |
diff --git a/src/platform/web/sw.js b/src/platform/web/sw.js @@ -75,12 +75,8 @@ self.addEventListener('fetch', (event) => {
This has to do with xhr not being supported in service workers.
*/
if (event.request.method === "GET") {
- if (event.request.url.includes("config.json")) {
- event.respondWith(handleConfigRequest(... | 5 |
diff --git a/package.json b/package.json "deepmerge": "^2.0.1",
"devtron": "^1.4.0",
"electron": "^2.0.2",
- "electron-builder": "20.15.1",
- "electron-builder-squirrel-windows": "20.15.0",
+ "electron-builder": "20.10.0",
+ "electron-builder-squirrel-windows": "20.11.0",
"flow-bin": "^0.73.0",
"json-file-plus": "^3.3.... | 13 |
diff --git a/docs/advanced.rst b/docs/advanced.rst @@ -47,8 +47,18 @@ A datatable (``trade_data.csv``) could look like this:
3 Trade EURUSD test_account 12345678 EURUSD 100000 BUY
= ============ ============= ======== ====== ====== =========
-To use it, you run your flow with ``tagui my_flow.tag trade_data.csv``. TagUI... | 7 |
diff --git a/CHANGELOG.md b/CHANGELOG.md All notable changes to this project are documented in this file.
-## Head
+## 13.3.3
- Fixed: autofix will respect scoped disable comments by turning off autofix for the scoped rules for the entire source; this is a continuation of the workaround added in `13.2.0` ([#4705](https... | 6 |
diff --git a/www/tablet/js/widget_swiper.js b/www/tablet/js/widget_swiper.js @@ -72,6 +72,7 @@ var Modul_swiper = function () {
prevButton: elemPrev,
autoHeight: true,
observer: true,
+ observeParents: true,
moveStartThreshold: 70,
autoplay: elem.data('autoplay'),
autoplayDisableOnInteraction: false,
| 7 |
diff --git a/magda-web-client/src/Components/Dataset/Add/DatasetAddCommon.ts b/magda-web-client/src/Components/Dataset/Add/DatasetAddCommon.ts @@ -571,10 +571,10 @@ export function createBlankState(user?: User): State {
_createdDate: new Date(),
_lastModifiedDate: new Date(),
ckanPublish: {
- status: "retain",
+ status... | 12 |
diff --git a/AjaxControlToolkit/AjaxFileUpload/AjaxFileUploadHelper.cs b/AjaxControlToolkit/AjaxFileUpload/AjaxFileUploadHelper.cs @@ -53,7 +53,7 @@ namespace AjaxControlToolkit {
var request = context.Request;
var fileId = request.QueryString["fileId"];
var fileName = request.QueryString["fileName"];
- var extension =... | 3 |
diff --git a/offscreen-engine.js b/offscreen-engine.js @@ -16,13 +16,10 @@ class OffscreenEngine {
this.iframe = iframe;
this.port = null;
- this.running = false;
- this.queue = [];
-
this.loadPromise = (async () => {
- const contentWindow = await new Promise((resolve, reject) => {
+ await new Promise((resolve, reject)... | 2 |
diff --git a/packages/openneuro-server/handlers/sitemap.js b/packages/openneuro-server/handlers/sitemap.js @@ -33,7 +33,9 @@ export const sitemapDynamicUrls = () =>
url: {
$concat: ['/datasets/', '$id', '/versions/', '$snapshots.tag'],
},
- lastmodISO: '$snapshots.created',
+ lastmodISO: {
+ $dateToString: { date: '$sn... | 1 |
diff --git a/app/src/renderer/components/PageCandidates.vue b/app/src/renderer/components/PageCandidates.vue <template lang="pug">
.page.page-candidates
page-header
- div(slot="title") Candidates #[span(v-if='isDelegator') ({{candidatesNum }} Selected)]
+ div(slot="title") Candidates #[span(v-if='isSignedIn') ({{candid... | 11 |
diff --git a/activities/Planets.activity/js/activity.js b/activities/Planets.activity/js/activity.js @@ -557,7 +557,6 @@ define(["sugar-web/activity/activity", "sugar-web/env", "sugar-web/datastore", "
var planetDiv = document.createElement("div");
planetDiv.id = "div-" + name;
planetDiv.className = "planet-div";
- // ... | 11 |
diff --git a/src/components/Map.jsx b/src/components/Map.jsx @@ -22,7 +22,7 @@ function Map() {
alt = {`Map of ${maps[currentMap].displayText}`}
className = "map-image"
title = {`Map of ${maps[currentMap].displayText}`}
- src = {`${maps[currentMap].image}`}
+ src = {`${process.env.PUBLIC_URL}${maps[currentMap].image}`}... | 4 |
diff --git a/assets/js/components/adminbar/AdminBarApp.js b/assets/js/components/adminbar/AdminBarApp.js @@ -29,7 +29,7 @@ import AdminBarUniqueVisitors from './AdminBarUniqueVisitors';
import AdminBarSessions from './AdminBarSessions';
import AdminBarImpressions from './AdminBarImpressions';
import AdminBarClicks from... | 10 |
diff --git a/tests/test_Havven.py b/tests/test_Havven.py @@ -680,6 +680,19 @@ class TestHavven(unittest.TestCase):
# This should fail because the approver has no tokens.
self.assertReverts(self.transferFrom, spender, no_tokens, receiver, value)
+ def test_double_collect(self):
+ alice = fresh_account()
+ self.h_withdra... | 5 |
diff --git a/lib/node_modules/@stdlib/_tools/lint/file-license-header/lib/headers.js b/lib/node_modules/@stdlib/_tools/lint/file-license-header/lib/headers.js @@ -110,8 +110,8 @@ function headers() {
h = replace( h, '\\{\\{YEAR\\}\\}', '[0-9]{1,4}' ); // 0-9999
h = replace( h, '\\{\\{COPYRIGHT_OWNER\\}\\}', '.+' );
- /... | 12 |
diff --git a/token-metadata/0x328C4c80BC7aCa0834Db37e6600A6c49E12Da4DE/metadata.json b/token-metadata/0x328C4c80BC7aCa0834Db37e6600A6c49E12Da4DE/metadata.json "symbol": "ASNX",
"address": "0x328C4c80BC7aCa0834Db37e6600A6c49E12Da4DE",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/src/expressions/sqlRefExpression.ts b/src/expressions/sqlRefExpression.ts @@ -56,11 +56,12 @@ export class SqlRefExpression extends Expression {
public toJS(): ExpressionJS {
const js = super.toJS();
js.sql = this.sql;
+ js.type = this.type;
return js;
}
public toString(): string {
- return `s$\{${this.sql... | 3 |
diff --git a/factory-ai-vision/EdgeSolution/modules/WebModule/ui/src/components/LiveViewContainer/LiveViewScene.tsx b/factory-ai-vision/EdgeSolution/modules/WebModule/ui/src/components/LiveViewContainer/LiveViewScene.tsx @@ -163,7 +163,7 @@ const AOILayer: React.FC<AOILayerProps> = ({
key={e.id}
id={e.id}
polygon={e.ve... | 12 |
diff --git a/src/structs/ClientManager.js b/src/structs/ClientManager.js @@ -151,9 +151,9 @@ class ClientManager extends EventEmitter {
await initialize.populateKeyValues()
const schedules = await initialize.populateSchedules(this.customSchedules)
this.scheduleManager.addSchedules(schedules)
- this.shardingManager.spaw... | 9 |
diff --git a/tests/phpunit/integration/PluginTest.php b/tests/phpunit/integration/PluginTest.php @@ -54,8 +54,6 @@ class PluginTest extends TestCase {
$plugin->register();
- $this->assertInstanceOf( Feature_Flags::class, Feature_Flags::get_instance() );
-
$this->assertActionRendersGeneratorTag( 'wp_head' );
$this->asse... | 2 |
diff --git a/userscript.user.js b/userscript.user.js @@ -48793,7 +48793,51 @@ var $$IMU_EXPORT$$;
return decodeURIComponent(newsrc);
}
- if (domain_nowww === "instagram.com" && /^[a-z]+:\/\/[^/]+\/+(?:[^/]+\/+)?p\/+/.test(src) && options.do_request && options.cb) {
+ if (domain_nowww === "instagram.com") {
+ newsrc = w... | 7 |
diff --git a/examples/sessions/igvSession.xml b/examples/sessions/igvSession.xml path="/Users/jrobinso/Dropbox/projects/igv.js/examples/sessions/igvSession.xml" version="8">
<Resources>
<Resource name="GM12878 H3K4me3 ChipSeq Signal"
- path="http://hgdownload.cse.ucsc.edu/goldenPath/hg19/encodeDCC/wgEncodeBroadHistone/... | 1 |
diff --git a/renderer/components/Sidebar.js b/renderer/components/Sidebar.js @@ -49,7 +49,7 @@ const NavItem = ({href, icon, label, currentUrl}) => {
const isActive = currentUrl.pathname === href
return (
<StyledNavItem isActive={isActive}>
- <Link href={href} prefetch>
+ <Link href={href}>
<Flex alignItems='center'>
<... | 2 |
diff --git a/_data/sites/ecsspert.json b/_data/sites/ecsspert.json {
- "url": "https://www.ecsspert.com/",
- "name": "CSS3 Logos",
- "description": "Famous Logos Designed Entirely in CSS3. Other CSS Experiments comming soon.",
+ "url": "https://ecsspert.com/",
+ "name": "The CSS3 Logos Project",
+ "description": "Famou... | 3 |
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml @@ -65,7 +65,7 @@ jobs:
push: ${{ startsWith(github.ref, 'refs/tags/v') }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
- platforms: linux/amd64,linux/arm64,linux/riscv64,linux/mips64,linux/s390x,linux/ppc64le,linux/... | 14 |
diff --git a/src/components/sidemenu/SideMenuPanel.js b/src/components/sidemenu/SideMenuPanel.js // @flow
import React from 'react'
-import { ScrollView, StyleSheet, TouchableOpacity } from 'react-native'
+import { ScrollView, StyleSheet, TouchableOpacity } from 'react-native-web'
import { Icon, normalize } from 'react... | 0 |
diff --git a/plugins/resources/app/services/service_layer/resources_service.rb b/plugins/resources/app/services/service_layer/resources_service.rb @@ -9,7 +9,7 @@ module ServiceLayer
def elektron_resources
@elektron_resources ||= elektron.service(
- 'resources', path_prefix: '/v1'
+ 'resources', path_prefix: '/v1', int... | 4 |
diff --git a/components/Discussion/enhancers.js b/components/Discussion/enhancers.js @@ -63,63 +63,26 @@ export const withMe = graphql(meQuery)
// The prop is called 'discussionDisplayAuthor'.
export const withDiscussionDisplayAuthor = graphql(gql`
query discussionDisplayAuthor($discussionId: ID!) {
- me {
- id
- name
... | 4 |
diff --git a/test/functional_test.js b/test/functional_test.js @@ -58,10 +58,17 @@ function assertHeaders(uri, header, value) {
assert.ok(Object.prototype.hasOwnProperty.call(responses[uri].headers, header),
`Expects "${header}" in: ${Object.keys(responses[uri].headers).join(', ')}`);
+ // Ignore case in checking equal... | 8 |
diff --git a/config/webpack.config.js b/config/webpack.config.js @@ -12,7 +12,7 @@ var config = {
'project-slideshow': './project_slideshow/webpack-entry',
'taxa-show': './taxa/show/webpack-entry',
'taxa-photos': './taxa/photos/webpack-entry',
- 'observations-show': './observations/show/webpack-entry'
+ 'observations-s... | 1 |
diff --git a/assets/sass/components/settings/_googlesitekit-settings-module.scss b/assets/sass/components/settings/_googlesitekit-settings-module.scss align-items: center;
display: flex;
margin: 0;
- min-width: 315px;
width: min-content;
- @media (min-width: $bp-tablet) {
+ @media (min-width: $bp-wpAdminBarTablet) {
mi... | 2 |
diff --git a/ui/src/utils/date.js b/ui/src/utils/date.js @@ -89,10 +89,10 @@ function getRegexData (mask, locale) {
map.S = index
return '(\\d{1})'
case 'SS':
- map.S = index // bumping to S
+ map.SS = index
return '(\\d{2})'
case 'SSS':
- map.S = index // bumping to S
+ map.SSS = index
return '(\\d{3})'
case 'A':
map.... | 1 |
diff --git a/js/unix_formatting.js b/js/unix_formatting.js var position = new_position;
var result;
input = input.replace(/\r\n\x1b\[1A/g, '');
+ input = input.replace(/\x1b\[([0-9]+)C/g, function(_, num) {
+ return new Array(+num + 1).join(' ');
+ });
var splitted = input.split(/(\x1B\[[0-9;]*[A-Za-z])/g);
if (splitte... | 9 |
diff --git a/packages/app/src/components/Admin/ExportArchiveData/SelectCollectionsModal.jsx b/packages/app/src/components/Admin/ExportArchiveData/SelectCollectionsModal.jsx import React from 'react';
import PropTypes from 'prop-types';
-import { withTranslation } from 'react-i18next';
+import { useTranslation } from 'r... | 14 |
diff --git a/edit.js b/edit.js @@ -2492,7 +2492,6 @@ const _makeChunkMesh = async (seedString, parcelSize, subparcelSize) => {
await subparcel.load;
if (!live) return;
- const slab = mesh.getSlab(ax, ay, az);
const spec = await geometryWorker.requestMarchingCubes(
seedNum,
meshId,
@@ -2505,6 +2504,7 @@ const _makeChunk... | 0 |
diff --git a/lib/hooks/views/res.view.js b/lib/hooks/views/res.view.js @@ -109,9 +109,15 @@ module.exports = function _addResViewMethod(req, res, next) {
if (_.isObject(arguments[0])) {
locals = arguments[0];
}
-
+ // If the second argument is a function, treat it like the callback.
if (_.isFunction(arguments[1])) {
op... | 12 |
diff --git a/src/components/molecules/ImageDownload/index.js b/src/components/molecules/ImageDownload/index.js -import { Flex, Icon, Text, Link } from 'components/atoms'
+import { Flex, Icon, Text, Link, Image } from 'components/atoms'
import PropTypes from 'prop-types'
import React from 'react'
import styles from './s... | 14 |
diff --git a/lib/assets/core/javascripts/cartodb3/editor.js b/lib/assets/core/javascripts/cartodb3/editor.js @@ -288,6 +288,7 @@ var mapCreation = function () {
cartodb_logo: false,
renderMenu: false,
show_empty_infowindow_fields: true,
+ showLimitErrors: true,
state: stateJSON,
interactiveFeatures: true,
layerSelector... | 6 |
diff --git a/scenes/street.scn b/scenes/street.scn "position": [-2, 1, 2],
"quaternion": [0, 0.7071067811865475, 0, 0.7071067811865476],
"start_url": "https://webaverse.github.io/helm/"
- },
- {
- "position": [
- -95,
- 0,
- 55
- ],
- "start_url": "../metaverse_modules/spawner/",
- "components": [
- {
- "key": "spawnUr... | 2 |
diff --git a/package.json b/package.json "js-test-cloud": "npm-run-all --parallel --race http-server saucelabs-test",
"coveralls": "shx cat js/coverage/lcov.info | coveralls",
"js-vendor": "shx mkdir -p dist/js/vendor && shx cp node_modules/swiper/dist/js/swiper.min.js dist/js/vendor/ && shx cp node_modules/swiper/dist... | 12 |
diff --git a/articles/policies/penetration-testing.md b/articles/policies/penetration-testing.md @@ -35,7 +35,7 @@ Auth0 requires that:
* The test be restricted to only your tenant
* You disclose any suspected findings to the Auth0 Security team for explanation/discussion
-* You understand that your tenant will be move... | 3 |
diff --git a/accessibility-checker-engine/help/HAAC_BackgroundImg_HasTextOrTitle.mdx b/accessibility-checker-engine/help/HAAC_BackgroundImg_HasTextOrTitle.mdx @@ -32,7 +32,7 @@ Background images that convey meaning must have a text alternative that describe
* Do not use background images to convey information;
* OR, if... | 2 |
diff --git a/src/renderer/component/video/index.js b/src/renderer/component/video/index.js @@ -44,7 +44,8 @@ const perform = dispatch => ({
changeVolume: volume => dispatch(doChangeVolume(volume)),
doPlay: () => dispatch(doPlay()),
doPause: () => dispatch(doPause()),
- savePosition: (id, position) => dispatch(savePosit... | 10 |
diff --git a/packages/insomnia-app/app/ui/containers/app.js b/packages/insomnia-app/app/ui/containers/app.js @@ -91,10 +91,9 @@ class App extends PureComponent {
vcs: null,
forceRefreshCounter: 0,
forceRefreshHeaderCounter: 0,
+ isMigratingChildren: false,
};
- this._isMigratingChildren = false;
-
this._getRenderContex... | 1 |
diff --git a/lib/monitoring/addon/components/enable-monitoring/component.js b/lib/monitoring/addon/components/enable-monitoring/component.js @@ -57,7 +57,7 @@ export default Component.extend(ReservationCheck, CatalogUpgrade, {
nodeExporterLimitsMemory: '200',
operatorLimitsMemory: '500',
requestsMemory: '750',
- limits... | 3 |
diff --git a/functions/payments.js b/functions/payments.js const functions = require('firebase-functions'),
admin = require('firebase-admin');
-const stripe = require('stripe')(functions.config().stripe.test_token),
+const stripe = require('stripe')(functions.config().stripe.token),
currency = functions.config().stripe... | 12 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.