code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/app/models/carto/visualization.rb b/app/models/carto/visualization.rb @@ -102,8 +102,6 @@ class Carto::Visualization < ActiveRecord::Base
after_save :propagate_attribution_change
after_save :propagate_privacy_and_name_to, if: :table
- before_destroy :backup_visualization
-
after_commit :perform_invalidatio... | 2 |
diff --git a/PostBanDeletedPosts.user.js b/PostBanDeletedPosts.user.js // @description When user posts on SO Meta regarding a post ban, fetch and display deleted posts (must be mod) and provide easy way to copy the results into a comment
// @homepage https://github.com/samliew/SO-mod-userscripts
// @author @samliew
-//... | 2 |
diff --git a/js/core/bis_bidsutils.js b/js/core/bis_bidsutils.js @@ -228,7 +228,7 @@ let dicom2BIDS = async function (opts) {
}
}
- dicomobj.job.push({
+ dicomobj.files.push({
name: name,
filename: fname.substr(outputdirectory.length + 1, fname.length),
tag: tagname,
@@ -293,7 +293,6 @@ let dicom2BIDS = async function ... | 1 |
diff --git a/README.md b/README.md - [Props](#props)
- [Columns](#columns)
- [Column Header Groups](#column-header-groups)
-- [Custom Cell and Header Rendering](#custom-cell-and-header-rendering)
+- [Custom Cell and Header and Footer Rendering](#custom-cell-header-and-footer-rendering)
- [Styles](#styles)
- [Custom Pro... | 1 |
diff --git a/src/core-layers/path-layer/path-layer-vertex-64.glsl.js b/src/core-layers/path-layer/path-layer-vertex-64.glsl.js @@ -50,6 +50,7 @@ varying float vPathPosition;
varying float vPathLength;
const float EPSILON = 0.001;
+const float PIXEL_EPSILON = 0.1;
float flipIfTrue(bool flag) {
return -(float(flag) * 2. ... | 3 |
diff --git a/src/sdk/base/stream.js b/src/sdk/base/stream.js * @function close
* @desc This function closes the stream.
<br><b>Remarks:</b><br>
- If the stream has audio and/or video, it also stops capturing camera/microphone. Once a LocalStream is closed, it is no longer usable. This function does not unpublish certai... | 1 |
diff --git a/example/src/components/CustomIcon.js b/example/src/components/CustomIcon.js @@ -34,10 +34,13 @@ class CustomIcon extends React.Component {
}
async onPress(e) {
+ let feature = MapboxGL.geoUtils.makeFeature(e.geometry);
+ feature.id = '' + Date.now();
+
this.setState({
featureCollection: MapboxGL.geoUtils.a... | 3 |
diff --git a/src/views/communitySettings/index.js b/src/views/communitySettings/index.js @@ -47,7 +47,11 @@ class CommunitySettings extends React.Component<Props> {
const communitySlug = community && community.slug;
if (community && community.id) {
- if (!community.communityPermissions.isOwner) {
+ const canViewCommuni... | 11 |
diff --git a/src/webgl.js b/src/webgl.js +import { isPowerOf2 } from './math_utils.js'
+
class gltfWebGl
{
constructor()
@@ -80,7 +82,6 @@ class gltfWebGl
}
let generateMips = true;
- let rectangleImage = false;
for (const src of images)
{
@@ -102,14 +103,13 @@ class gltfWebGl
WebGl.context.texImage2D(image.type, image... | 14 |
diff --git a/packages/cli/src/models/files/ZosNetworkFile.js b/packages/cli/src/models/files/ZosNetworkFile.js @@ -232,13 +232,29 @@ export default class ZosNetworkFile {
this.data.proxies[fullname].push(info)
}
- updateProxy({ package: proxyPackage, contract: proxyContract, address: proxyAddress }, fn) {
- const fulln... | 0 |
diff --git a/src/components/ProductGridHero/ProductGridHero.js b/src/components/ProductGridHero/ProductGridHero.js @@ -2,13 +2,11 @@ import React, { Component } from "react";
import PropTypes from "prop-types";
import { withStyles } from "@material-ui/core/styles";
import Grid from "@material-ui/core/Grid";
-import Img... | 14 |
diff --git a/templates/examples/extensions/js_lambda_hooks/KendraFallback/KendraFallback.js b/templates/examples/extensions/js_lambda_hooks/KendraFallback/KendraFallback.js @@ -134,7 +134,7 @@ async function routeKendraRequest(event, context) {
var j;
for (j=0; j<len; j++) {
elem = element.AdditionalAttributes[0].Value... | 3 |
diff --git a/src/govuk/components/components.template.test.js b/src/govuk/components/components.template.test.js @@ -52,7 +52,7 @@ describe('Components', () => {
// Allow for multiple buttons in the same form to have the same name
// (as in the cookie banner examples)
- 'form-dup-name': 'off',
+ 'form-dup-name': ['erro... | 11 |
diff --git a/token-metadata/0x1dFEc1Cf1336c572c2D2E34fe8F6Aa2F409C8251/metadata.json b/token-metadata/0x1dFEc1Cf1336c572c2D2E34fe8F6Aa2F409C8251/metadata.json "symbol": "MTBK",
"address": "0x1dFEc1Cf1336c572c2D2E34fe8F6Aa2F409C8251",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/packages/app/test/integration/models/v5.page.test.js b/packages/app/test/integration/models/v5.page.test.js @@ -429,7 +429,8 @@ describe('Page', () => {
const page = await Page.findOne({ path: '/mup16_top/mup9_pub/mup10_pub/mup11_awl', grant: Page.GRANT_RESTRICTED });
const page1 = await Page.findOne({ pat... | 14 |
diff --git a/CodingChallenges/CC_112_3D_Rendering/CC_112_3D_Rendering.pde b/CodingChallenges/CC_112_3D_Rendering/CC_112_3D_Rendering.pde @@ -41,13 +41,13 @@ void draw() {
float[][] rotationX = {
{ 1, 0, 0},
{ 0, cos(angle), -sin(angle)},
- { 0, sin(angle), cos(angle), 0}
+ { 0, sin(angle), cos(angle)}
};
float[][] rota... | 1 |
diff --git a/runtime.js b/runtime.js @@ -97,11 +97,8 @@ const _dotifyUrl = u => /^(?:[a-z]+:|\.)/.test(u) ? u : ('./' + u);
const componentHandlers = {
'swing': {
- load(o, component, rigAux) {
+ trigger(o, component, rigAux) {
physicsManager.startSwing();
- return () => {
- physicsManager.stopSwing();
- };
},
},
'wear... | 0 |
diff --git a/Sources/Rendering/OpenGL/VolumeMapper/index.js b/Sources/Rendering/OpenGL/VolumeMapper/index.js @@ -232,21 +232,14 @@ function vtkOpenGLVolumeMapper(publicAPI, model) {
).result;
const averageIPScalarRange = model.renderable.getAverageIPScalarRange();
- let min;
- let max;
+ let min = averageIPScalarRange[... | 4 |
diff --git a/edit.js b/edit.js @@ -2911,6 +2911,7 @@ const MeshDrawer = (() => {
canvas.height = checkerboardCanvas.height;
const ctx = canvas.getContext('2d');
ctx.drawImage(checkerboardCanvas, 0, 0);
+ canvas.ctx = ctx;
return canvas;
};
@@ -3085,6 +3086,7 @@ const MeshDrawer = (() => {
this.numPositions = 0;
this.th... | 0 |
diff --git a/src/sass/views/amountNew.scss b/src/sass/views/amountNew.scss .primary-amount {
color: #333;
- font-family: 'ProximaNova-Semibold';
+ font-weight: bold;
input, .unit, .primary-amount-display {
font-size: 1.8em;
.button-primary {
background-color: $v-primary-color;
border-radius: 0;
- font-family: 'ProximaN... | 1 |
diff --git a/src/angular/projects/spark-core-angular/package.json b/src/angular/projects/spark-core-angular/package.json "@angular/platform-browser": "^6.1.4",
"@angular/platform-browser-dynamic": "^6.1.4",
"@angular/router": "^6.1.4",
- "@sparkdesignsystem/spark-core": "2.0.0",
+ "@sparkdesignsystem/spark-core": "2.0.... | 3 |
diff --git a/Source/Core/BoxOutlineGeometry.js b/Source/Core/BoxOutlineGeometry.js define([
'./BoundingSphere',
'./Cartesian3',
+ './Check',
'./ComponentDatatype',
'./defaultValue',
'./defined',
- './DeveloperError',
'./Geometry',
'./GeometryAttribute',
'./GeometryAttributes',
@@ -13,10 +13,10 @@ define([
], function(
... | 14 |
diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml @@ -37,7 +37,7 @@ jobs:
echo "APPCENTER_NAME=GoodDollar/GoodDollar-Android-development" >> $GITHUB_ENV
echo "APPCENTER_TOKEN=${{ secrets.APPCENTER_ANDROID_DEV }}" >> $GITHUB_ENV
echo "APPCENTER_CODEPUSH_TOKEN=${{ secrets.APPCENTER_CODEPUSH_DEV }... | 0 |
diff --git a/src/services/application.js b/src/services/application.js @@ -525,11 +525,12 @@ export async function giveupShare(
body = {
team_name,
share_id
- }
+ },
+ handleError
) {
return request(
`${apiconfig.baseUrl}/console/teams/${body.team_name}/share/${body.share_id}/giveup`,
- { method: 'delete' }
+ { method:... | 1 |
diff --git a/src/server/views/widget/page_alerts.html b/src/server/views/widget/page_alerts.html {% endif %}
{% if req.query.unlinked %}
+ <div class="alert alert-info py-3 px-4">
<strong>{{ t('Unlinked') }}: </strong> {{ t('page_page.notice.unlinked') }}
</div>
{% endif %}
| 14 |
diff --git a/packages/app/src/components/Admin/Common/AdminNavigation.jsx b/packages/app/src/components/Admin/Common/AdminNavigation.jsx @@ -2,6 +2,7 @@ import React from 'react';
import { pathUtils } from '@growi/core';
import { useTranslation } from 'next-i18next';
+import Link from 'next/link';
import PropTypes from... | 4 |
diff --git a/lib/node_modules/@stdlib/_tools/eslint/rules/jsdoc-leading-description-sentence/lib/main.js b/lib/node_modules/@stdlib/_tools/eslint/rules/jsdoc-leading-description-sentence/lib/main.js // MODULES //
-var doctrine = require( 'doctrine' );
+var parseJSDoc = require( 'doctrine' ).parse;
var isCapitalized = r... | 10 |
diff --git a/utilities/auth-helper.js b/utilities/auth-helper.js @@ -15,8 +15,8 @@ module.exports = {
//NOTE: As of v0.29.0 routeOptions.scope is replaced with routeOptions.routeScope and
//routeOptions.scope.scope is replaced with routeOptions.routeScope.rootScope
- let routeScope = model.routeOptions.routeScope || mo... | 1 |
diff --git a/components/base-adresse-nationale/postal-codes.js b/components/base-adresse-nationale/postal-codes.js @@ -7,7 +7,7 @@ function PostalCodes({codes}) {
<div>{codes[0]}</div>
) : (
<div className='dropdown'>
- <div className='dropdown-action'>Codes</div>
+ <div className='dropdown-action'>{codes.length} codes... | 0 |
diff --git a/components/hero.js b/components/hero.js import React from 'react'
import Link from 'next/link'
import PropTypes from 'prop-types'
+import {Download, Edit3, Database, Map} from 'react-feather'
-import {Download, Edit3, Database} from 'react-feather'
import theme from '@/styles/theme'
+
import ToolsIcon from... | 0 |
diff --git a/metaverse_modules/barrier/index.js b/metaverse_modules/barrier/index.js @@ -112,21 +112,30 @@ export default () => {
let children = [];
const physicsIds = [];
const _render = () => {
- const bounds = app.getComponent('bounds');
+ const bounds = app.getComponent('bounds') ?? [[0, 0, 0], [4, 4, 4]];
const [m... | 0 |
diff --git a/web/dualviewer.html b/web/dualviewer.html bis-viewerapplicationid="#viewer_application">
</bisweb-filetreepanel>
- <bisweb-dicomimportelement
- id="dicom_import"
- bis-viewerid="#viewer"
- bis-layoutwidgetid="#viewer_layout"
- bis-filetreepanelid="#bis_filetreepanel">
- </bisweb-dicomimportelement>
-
<bisw... | 2 |
diff --git a/js/preload/readerDetector.js b/js/preload/readerDetector.js /* detects if a page is readerable, and tells the main process if it is */
function pageIsReaderable () {
+ if (document.querySelector('meta[property="og:type"][content="article"]')) {
+ return true
+ }
+
var paragraphMap = new Map()
var paragraph... | 7 |
diff --git a/packages/openneuro-app/src/scripts/refactor_2021/dataset/files/viewers/file-viewer-text.jsx b/packages/openneuro-app/src/scripts/refactor_2021/dataset/files/viewers/file-viewer-text.jsx import React from 'react'
import PropTypes from 'prop-types'
+import styled from '@emotion/styled'
+
+const Pre = styled.... | 7 |
diff --git a/src/components/index.js b/src/components/index.js @@ -6,3 +6,4 @@ export {default as FormGrid} from './FormGrid';
export {default as Grid} from './Grid';
export {default as ReactComponent} from './ReactComponent';
export {default as SubmissionGrid} from './SubmissionGrid';
+export {default as Pagination} f... | 0 |
diff --git a/azure-pipelines.yml b/azure-pipelines.yml @@ -14,7 +14,7 @@ jobs:
- template: eslint.yml@apt
-- template: node-matrix-test.yml@apt
+- template: node-test.yml@apt
parameters:
after:
- script: yarn coverage
@@ -24,4 +24,5 @@ jobs:
COVERALLS_REPO_TOKEN: $(COVERALLS_REPO_TOKEN)
GIT_BRANCH: $(Build.SourceBranch... | 10 |
diff --git a/frontend/static/javascript/app/survey-builder/controllers/survey-builder-controller.js b/frontend/static/javascript/app/survey-builder/controllers/survey-builder-controller.js /**
* Returns an object with the correct fields for sending to the backend from data in vm.currentQuestionFields
*/
- return _.pick... | 9 |
diff --git a/lib/jekyll-admin/path_helper.rb b/lib/jekyll-admin/path_helper.rb @@ -56,7 +56,7 @@ module JekyllAdmin
sanitized_path(
case namespace
when "collections"
- File.join(collection.relative_directory, params["splat"].first)
+ File.join(collection.directory, params["splat"].first)
when "data"
File.join(DataFile.... | 11 |
diff --git a/components/system/CodeBlock.js b/components/system/CodeBlock.js @@ -9,14 +9,14 @@ import { css } from "@emotion/react";
const customTheme = {
plain: {
- backgroundColor: "#2a2734",
+ backgroundColor: "#1f212a",
color: "#6f7278",
},
styles: [
{
types: ["comment", "prolog", "doctype", "cdata"],
style: {
- co... | 3 |
diff --git a/src/pages/Trading/Trading.js b/src/pages/Trading/Trading.js @@ -35,10 +35,18 @@ export default class Trading extends React.PureComponent {
target: '.icon-notifications',
content: 'Here you can find all your notifications.',
},
+ {
+ target: '.hfui-orderformmenu__wrapper',
+ content: 'Here you can find all ... | 3 |
diff --git a/README.md b/README.md <p align="center">
<a href=https://github.com/1Computer1/discord-akairo>
- <img src=https://u.nya.is/fweoqf.png/>
+ <img src="https://a.safe.moe/PwUgW.png"/>
</a>
</p>
<p align="center">
<a href=https://www.npmjs.com/package/discord-akairo>
- <img src=https://img.shields.io/npm/v/disc... | 1 |
diff --git a/test/conference.jenkinsfile b/test/conference.jenkinsfile void setBuildStatus(String message, String state) {
step([
$class: "GitHubCommitStatusSetter",
- reposSource: [$class: "ManuallyEnteredRepositorySource", url: "https://github.com/open-media-streamer/oms-client-javascript"],
+ reposSource: [$class: "... | 14 |
diff --git a/bin/exception.js b/bin/exception.js @@ -45,10 +45,6 @@ EnforcerException.prototype.at = function (key) {
return at[key];
};
-EnforcerException.prototype.clearCache = function () {
- return this;
-};
-
EnforcerException.prototype[inspect] = function () {
if (this.hasException) {
return '[ EnforcerException:... | 2 |
diff --git a/src/rich_text_editor/index.js b/src/rich_text_editor/index.js const classes = {
actionbar: `${pfx}actionbar`,
button: `${pfx}action`,
- active: `${pfx}active`,
- inactive: `${pfx}inactive`,
- disabled: `${pfx}disabled`
+ active: `${pfx}active`
};
const rte = new RichTextEditor({
el,
* }
* }
* })
- * // An ... | 13 |
diff --git a/src/plots/polar/layout_defaults.js b/src/plots/polar/layout_defaults.js @@ -203,6 +203,7 @@ function handleAxisTypeDefaults(axIn, axOut, coerce, subplotData, dataAttr, opti
if(trace && trace[dataAttr]) {
axOut.type = autoType(trace[dataAttr], 'gregorian', {
+ noMultiCategory: true,
autotypenumbers: autotyp... | 0 |
diff --git a/src/lib/API/api.js b/src/lib/API/api.js // @flow
import axios from 'axios'
-import type { Axios, AxiosPromise } from 'axios'
+import type { Axios, AxiosPromise, $AxiosXHR } from 'axios'
import Config from '../../config/config'
import { AsyncStorage } from 'react-native'
import logger from '../logger/pino-l... | 0 |
diff --git a/src/group.js b/src/group.js @@ -172,6 +172,12 @@ var _ = Mavo.Group = class Group extends Mavo.Node {
.reverse()[0];
}
+ if (!property) {
+ // No appropriate property found, use this.property
+ property = this.property;
+ var noWriteableProperty = true;
+ }
+
data = {[property]: data};
this.data = Mavo.sub... | 1 |
diff --git a/core/extension/openseadragon-overlays-manage.js b/core/extension/openseadragon-overlays-manage.js for(let j = 0;j < layer.data.length;j++){
const path = layer.data[j].geometry.path;
const style = layer.data[j].properties.style;
- if(path.contains(img_point.x,img_point.y)){
+ if(layer.hoverable&&path.contai... | 1 |
diff --git a/scss/variables.scss b/scss/variables.scss @@ -46,7 +46,7 @@ $route-item-triangle-height:50px;
$balanced: #07a289;
$energized: #ffe76e;
$assertive: #ff6c6a;
-$royal: #4b3863; /* #4b3863 */ /* #009639 */
+$royal: #4b3863;
$dark: #444;
$positive: $royal; /* override default buttons for dialog boxes */
| 13 |
diff --git a/src/js/admin.js b/src/js/admin.js @@ -1739,12 +1739,12 @@ $(document).ready(function () {
var tabsInfo = {
'tab-intro': {order: 1, icon: 'apps'},
- 'tab-adapters': {order: 5, icon: 'store', host: true},
- 'tab-instances': {order: 10, icon: 'subtitles', host: true},
- 'tab-objects': {order: 15, icon: 'view_... | 14 |
diff --git a/diorama.js b/diorama.js @@ -10,6 +10,7 @@ import {planeGeometry} from './background-fx/common.js';
import {OutlineBgFxMesh} from './background-fx/OutlineBgFx.js';
import {NoiseBgFxMesh} from './background-fx/NoiseBgFx.js';
import {PoisonBgFxMesh} from './background-fx/PoisonBgFx.js';
+import {SmokeBgFxMesh... | 0 |
diff --git a/src/components/toastNotification/view/toastNotificaitonView.js b/src/components/toastNotification/view/toastNotificaitonView.js import React, { Component } from 'react';
import { TouchableOpacity, Text } from 'react-native';
-import Animated, { Easing } from 'react-native-reanimated';
+import * as Animatab... | 14 |
diff --git a/metaverse_modules/barrier/index.js b/metaverse_modules/barrier/index.js @@ -441,7 +441,7 @@ export default () => {
fragColor = vec4(vec3(c), b);
if (darkening <= 0.0) {
- fragColor.a *= 0.5;
+ fragColor.a *= 0.2;
}
fragColor.a *= dimming;
| 0 |
diff --git a/app/services/carto/visualizations_export_persistence_service.rb b/app/services/carto/visualizations_export_persistence_service.rb @@ -66,7 +66,6 @@ module Carto
unless visualization.save
raise "Errors saving imported visualization: #{visualization.errors.full_messages}"
end
- visualization.reload
# Save pe... | 2 |
diff --git a/.github/actions/reopenIssueWithComment/reopenIssueWithComment.js b/.github/actions/reopenIssueWithComment/reopenIssueWithComment.js @@ -6,26 +6,30 @@ const octokit = github.getOctokit(core.getInput('GITHUB_TOKEN', {required: true}
const issueNumber = core.getInput('ISSUE_NUMBER', {required: true});
functio... | 7 |
diff --git a/packages/@uppy/xhr-upload/src/index.js b/packages/@uppy/xhr-upload/src/index.js @@ -337,11 +337,15 @@ module.exports = class XHRUpload extends Plugin {
xhr.responseType = opts.responseType
}
- Object.keys(opts.headers).forEach((header) => {
- xhr.setRequestHeader(header, opts.headers[header])
- })
-
const ... | 12 |
diff --git a/public/javascripts/SVLabel/src/SVLabel/onboarding/Onboarding.js b/public/javascripts/SVLabel/src/SVLabel/onboarding/Onboarding.js @@ -161,18 +161,18 @@ function Onboarding (svl, actionStack, audioEffect, compass, form, handAnimation
}
return this;
}
+
function drawBlinkingArrow(x1, y1, x2, y2, parameters) ... | 7 |
diff --git a/src/lib/duration/iso-string.js b/src/lib/duration/iso-string.js @@ -49,9 +49,9 @@ export function toISOString() {
}
var totalSign = total < 0 ? '-' : '';
- var ymSign = sign(this._months) != sign(total) ? '-' : '';
- var daysSign = sign(this._days) != sign(total) ? '-' : '';
- var hmsSign = sign(this._mill... | 4 |
diff --git a/core/utils/useragent.js b/core/utils/useragent.js @@ -93,9 +93,11 @@ Blockly.utils.userAgent.MOBILE;
!Blockly.utils.userAgent.EDGE;
// Platforms. Logic from:
- // https://github.com/google/closure-library/blob/master/closure/goog/labs/useragent/platform.js
+ // https://github.com/google/closure-library/blo... | 3 |
diff --git a/scripts/expo/commands/publishCodeReview.js b/scripts/expo/commands/publishCodeReview.js @@ -30,6 +30,7 @@ async function commentOnGitHub(buildName, githubPullRequestId) {
Please test these changes in [Expo](https://docs.expo.io/versions/latest/introduction/installation.html#mobile-client-expo-for-ios-and-a... | 0 |
diff --git a/Source/Scene/ModelExperimental/CustomShaderStage.js b/Source/Scene/ModelExperimental/CustomShaderStage.js @@ -475,6 +475,7 @@ function generateShaderLines(customShader, primitive) {
if (vertexLinesEnabled || shouldComputePositionWC) {
vertexLines.push(CustomShaderStageVS);
+ vertexLinesEnabled = true;
}
if... | 1 |
diff --git a/assets/js/modules/adsense/dashboard/adsense-module-status.js b/assets/js/modules/adsense/dashboard/adsense-module-status.js @@ -54,8 +54,7 @@ class AdSenseModuleStatus extends Component {
}
async componentDidMount() {
- let existingTag = await getExistingTag( 'adsense' );
- existingTag = existingTag.length... | 2 |
diff --git a/PostHeadersQuestionToc.user.js b/PostHeadersQuestionToc.user.js // @description Sticky post headers while you view each post (helps for long posts). Question ToC of Answers in sidebar.
// @homepage https://github.com/samliew/SO-mod-userscripts
// @author @samliew
-// @version 2.1
+// @version 2.2
//
// @in... | 2 |
diff --git a/config/sidebar.yml b/config/sidebar.yml @@ -623,7 +623,7 @@ libraries:
- title: "Migration Guide"
url: "/libraries/lock/v11/migration-guide"
- - title: "lock-passwordless Migration Guide"
+ - title: "Passwordless Migration"
url: "/libraries/lock/v10/lock-passwordless-migration-guide"
- title: "Internationa... | 10 |
diff --git a/src/components/ReactComponent.jsx b/src/components/ReactComponent.jsx @@ -58,6 +58,10 @@ export default class ReactComponent extends Field {
if (this.refs[`react-${this.id}`]) {
this.reactInstance = this.attachReact(this.refs[`react-${this.id}`]);
+ if (this.shouldSetValue) {
+ this.setValue(this.dataForSe... | 0 |
diff --git a/README.md b/README.md @@ -51,11 +51,10 @@ You can find the current noblox.js wiki with all API documentation [here](https:
## Making use of new login workaround
### Initial setup
-1. Remove any usages of `.login`.
+1. Remove any usages of the `login` method.
2. Run `cookieLogin` when your app starts. You o... | 7 |
diff --git a/experimental/adaptive-dialog/docs/language-generation.md b/experimental/adaptive-dialog/docs/language-generation.md @@ -4,18 +4,22 @@ Adaptive dialogs natively support and work with the new Language Generation syst
See [here][1] to learn more about Language Generation preview.
-Once you have authored your ... | 3 |
diff --git a/accessibility-checker-extension/src/ts/usingAC/UsingACApp.tsx b/accessibility-checker-extension/src/ts/usingAC/UsingACApp.tsx @@ -576,7 +576,7 @@ class UsingACApp extends React.Component<{}, UsingACAppState> {
<li>
<p style={{ marginTop: "0rem" }}>
Open and highlight all issues in the element's
- child, if... | 3 |
diff --git a/app.js b/app.js @@ -208,9 +208,9 @@ export default class App extends EventTarget {
return false;
}
}
- toggleMic() {
+ /* toggleMic() {
return world.toggleMic();
- }
+ } */
async enterXr() {
function onSessionStarted(session) {
function onSessionEnded(e) {
| 2 |
diff --git a/ably.d.ts b/ably.d.ts @@ -234,7 +234,10 @@ declare namespace Types {
**/
authCallback?: (
data: TokenParams,
- callback: (error: ErrorInfo | string, tokenRequestOrDetails: TokenDetails | TokenRequest | string) => void
+ callback: (
+ error: ErrorInfo | string | null,
+ tokenRequestOrDetails: TokenDetails |... | 11 |
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS # These owners will be the default owners for everything in
# the repo. Unless a later match takes precedence, these will be requested for
# review when someone opens a pull request.
-* @Superalgos/core-devs
+* @Superalgos/foundations-project
# Project Teams
/Project... | 14 |
diff --git a/server/game/cards/08-MotC/PoliticalSanctions.js b/server/game/cards/08-MotC/PoliticalSanctions.js @@ -12,7 +12,7 @@ class PoliticalSanctions extends DrawCard {
let diff = this.game.currentConflict.attackerSkill - this.game.currentConflict.defenderSkill;
return context.game.isDuringConflict('political') &&
... | 1 |
diff --git a/server/classes/headstart/persistence/ViperUpdater.php b/server/classes/headstart/persistence/ViperUpdater.php @@ -38,58 +38,6 @@ class ViperUpdater extends SQLitePersistence {
return $result;
}
- public function getUpdateMapsByID($vis_changed, $object_ids) {
- # currently defunct, only works with JSON1 ext... | 2 |
diff --git a/src/js/operations/Base64.js b/src/js/operations/Base64.js @@ -103,7 +103,7 @@ var Base64 = {
enc3 = (chr2 >> 1) & 31;
enc4 = ((chr2 & 1) << 4) | (chr3 >> 4);
enc5 = ((chr3 & 15) << 1) | (chr4 >> 7);
- enc6 = (chr4 >> 2) & 63;
+ enc6 = (chr4 >> 2) & 31;
enc7 = ((chr4 & 3) << 3) | (chr5 >> 5);
enc8 = chr5 & ... | 1 |
diff --git a/runtime.js b/runtime.js @@ -550,6 +550,12 @@ const _loadScript = async (file, {files = null, parentUrl = null, instanceId = n
return import(u)
.then(() => {
startMonetization(instanceId, monetizationPointer, ownerAddress);
+
+ const e = new MessageEvent('activate');
+ e.waitUntil = p => {
+ console.log('wa... | 0 |
diff --git a/tools/make/lib/ls/pkgs/addons.mk b/tools/make/lib/ls/pkgs/addons.mk LIST_PACKAGE_ADDONS ?= $(TOOLS_PKGS_DIR)/pkgs/addons/bin/cli
# Define the command flags:
-LIST_PACKAGE_ADDONS_FLAGS ?=
+LIST_PACKAGE_ADDONS_FLAGS ?= --ignore=**/_tools/scaffold/**
# TARGETS #
| 8 |
diff --git a/packages/react-jsx-highcharts/src/components/BaseChart/BaseChart.js b/packages/react-jsx-highcharts/src/components/BaseChart/BaseChart.js @@ -85,7 +85,7 @@ class BaseChart extends Component {
render () {
return (
<div
- className="chart"
+ className={`chart ${this.props.className}`}
ref={(node) => { this.d... | 11 |
diff --git a/src/ui.bar.js b/src/ui.bar.js @@ -74,6 +74,10 @@ var _ = Mavo.UI.Bar = $.Class({
for (var events in o.events) {
$.events(this[id], events, o.events[events].bind(this.mavo));
}
+ }
+
+ for (let id in _.controls) {
+ let o = _.controls[id];
if (o.action) {
$.delegate(this.mavo.element, "click", ".mv-" + id, ... | 11 |
diff --git a/services/importer/lib/importer/downloader.rb b/services/importer/lib/importer/downloader.rb @@ -124,7 +124,7 @@ module CartoDB
end
def run(available_quota_in_bytes = nil)
- if valid_url?
+ if @parsed_url =~ URL_RE
if available_quota_in_bytes
raise_if_over_storage_quota(requested_quota: content_length_from_... | 2 |
diff --git a/lib/determine-basal/determine-basal.js b/lib/determine-basal/determine-basal.js @@ -508,18 +508,15 @@ var determine_basal = function determine_basal(glucose_status, currenttemp, iob_
minPredBG = round(minIOBPredBG);
var fractionCarbsLeft = meal_data.mealCOB/meal_data.carbs;
- // if we have COB and UAM is e... | 11 |
diff --git a/articles/users/search/v3/index.md b/articles/users/search/v3/index.md @@ -180,6 +180,6 @@ Phrase contains a word | `name:"richard"`, `name:richard` | `name:*richard*`
## Next Steps
::: next-steps
-* [User Search Query Syntax](/users/search/v3/query-syntax)
-* [User Search Best Practices](/users/search/v3/b... | 14 |
diff --git a/src/global_logic.js b/src/global_logic.js @@ -493,7 +493,12 @@ module.exports.calcBasedOneSummon = function (summonind, prof, buff, totals) {
totalDA += totals[key]["DABuff"];
totalDA += totalSummon["da"];
totalDA += 0.01 * (armDAupNormal + armDAupMagna + exNite + armDAupBaha + armDAupCosmos + armDAupOther... | 1 |
diff --git a/app/core/src/navigation/index.js b/app/core/src/navigation/index.js import * as React from 'react';
import { withMappedNavigationAndConfigProps as withMappedProps } from 'react-navigation-props-mapper';
-import { StackNavigator } from '@kiwicom/mobile-navigation';
+import {
+ StackNavigator,
+ StackNavigat... | 0 |
diff --git a/src/components/Chip/readme.md b/src/components/Chip/readme.md @@ -63,7 +63,6 @@ import styled from 'styled-components';
const AvatarStyles = {
width: '30px',
height: '30px',
- marginTop: '-2px',
};
const ChipContainer = {
@@ -83,7 +82,6 @@ const Icon = styled.span.attrs(props => {
`
color: ${props.brand.ma... | 1 |
diff --git a/stories/modules-tagmanager-setup.stories.js b/stories/modules-tagmanager-setup.stories.js */
import { storiesOf } from '@storybook/react';
-/**
- * WordPress dependencies
- */
-import { removeAllFilters, addFilter } from '@wordpress/hooks';
-
/**
* Internal dependencies
*/
| 2 |
diff --git a/bin/oref0-pump-loop.sh b/bin/oref0-pump-loop.sh @@ -324,7 +324,7 @@ function mmtune {
echo -n "Listening for 30s silence before mmtuning: "
for i in $(seq 1 800); do
echo -n .
- mmeowlink-any-pump-comms.py --port $port --wait-for 30 2>/dev/null | egrep -v subg | egrep No \
+ any_pump_comms 30 2>/dev/null |... | 4 |
diff --git a/lib/shared/addon/components/cluster-driver/driver-rke/template.hbs b/lib/shared/addon/components/cluster-driver/driver-rke/template.hbs </h2>
</div>
<div class="right-buttons">
- {{#if (or (not applyClusterTemplate) (and (eq step 1) (not applyClusterTemplate)))}}
+ {{#if (or (and isEdit (not applyClusterTe... | 2 |
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml @@ -20,12 +20,12 @@ jobs:
steps:
- name: Setup Environment
run: |
- mkdir ~/.ssh
- chmod 700 ~/.ssh
- echo -e "Host *\n\tStrictHostKeyChecking no\n" > ~/.ssh/config
- echo -e "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDBkHMoNRRkHYNE7EnQLdFxMgVcqGgNPYDhr... | 4 |
diff --git a/workflow/templatetags/group_tag.py b/workflow/templatetags/group_tag.py @@ -18,11 +18,11 @@ def has_group(user, group_name):
@register.filter(name='has_org_access')
-def has_org_access(activity_user, group):
+def has_access(activity_user, group):
user_org_access = ActivityUserOrganizationGroup.objects.filt... | 1 |
diff --git a/config.xml b/config.xml <preference name="Orientation" value="landscape" />
- <preference name="windows-target-version" value="10.0" />
-
<content src="index.html" />
<plugin name="cordova-plugin-whitelist" version="1" />
<access origin="*" />
<allow-navigation href="*" />
<preference name="android-minSdkV... | 12 |
diff --git a/public/javascripts/SVLabel/src/SVLabel/navigation/Compass.js b/public/javascripts/SVLabel/src/SVLabel/navigation/Compass.js @@ -224,7 +224,7 @@ function Compass (svl, mapService, taskContainer, uiCompass) {
}
function setLabelBeforeJumpMessage () {
- var message = "<div style='width: 20%'>You have reached ... | 3 |
diff --git a/userscript.user.js b/userscript.user.js @@ -42231,10 +42231,15 @@ var $$IMU_EXPORT$$;
var obj_url = obj[i].url;
var orig_url = null;
+ obj.splice(i, 1);
+ images.splice(i, 1);
+ i--;
+
for (var j = 0; j < tried_urls.length; j++) {
if (tried_urls[j][2] === obj_url) {
var orig_url = tried_urls[j][3].url;
var... | 7 |
diff --git a/generators/client/templates/angular/src/main/webapp/app/core/auth/account.service.ts.ejs b/generators/client/templates/angular/src/main/webapp/app/core/auth/account.service.ts.ejs @@ -22,8 +22,8 @@ import { JhiLanguageService } from 'ng-jhipster';
import { SessionStorageService } from 'ngx-webstorage';
<%_... | 1 |
diff --git a/token-metadata/0x30f271C9E86D2B7d00a6376Cd96A1cFBD5F0b9b3/metadata.json b/token-metadata/0x30f271C9E86D2B7d00a6376Cd96A1cFBD5F0b9b3/metadata.json "symbol": "DEC",
"address": "0x30f271C9E86D2B7d00a6376Cd96A1cFBD5F0b9b3",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/world.js b/world.js @@ -37,8 +37,6 @@ setInterval(() => {
Object.keys(pendingAnalyticsData).map(item => {
fetch(item, { method: 'POST', body: JSON.stringify(pendingAnalyticsData[item]) }).then(res => {
return res.json();
- }).then(data => {
- console.log(data);
}).catch(err => {
console.error(err);
});
| 2 |
diff --git a/src/server/routes/apiv3/slack-bot.js b/src/server/routes/apiv3/slack-bot.js @@ -3,16 +3,16 @@ const { EventEmitter } = require('events');
const { createServer } = require('http');
const express = require('express');
-const { App, ExpressReceiver } = require('@slack/bolt');
+const { App } = require('@slack/... | 4 |
diff --git a/package.json b/package.json "releaseNotes": "npx auto-changelog --stdout --commit-limit false -u --template ./changelog.hbs",
"____comment": "\"assets\": [\"dist/logagent-*\"]"
},
- "scripts": {
- "beforeStage": "npx auto-changelog -p",
- "changelog": "npx auto-changelog --stdout --commit-limit false --unr... | 14 |
diff --git a/docs/source/_layouts/documentation.blade.php b/docs/source/_layouts/documentation.blade.php <p class="mb-4 text-slate-light uppercase tracking-wide font-bold text-xs">Examples</p>
<ul>
<li class="mb-3"><a href="{{ $page->baseUrl }}/docs/examples/buttons" class="{{ $page->active('/docs/examples/buttons') ? ... | 1 |
diff --git a/runtime.js b/runtime.js @@ -1000,6 +1000,27 @@ const _loadImg = async (file, {files = null, contentId = null, instanceId = null
const mesh = new THREE.Mesh(geometry, material);
mesh.frustumCulled = false;
mesh.contentId = contentId;
+ let physicsIds = [];
+ let staticPhysicsIds = [];
+ mesh.run = async () ... | 0 |
diff --git a/appjs/logicjavascript.js b/appjs/logicjavascript.js @@ -3163,144 +3163,49 @@ function roundoff(input, output) {
// a floating number
el.innerHTML = "Input number: " + val + "<br>";
el.innerHTML +=
- "Place of round off: " + placeofroundoff + "<br>" + spaces;
-
+ "Place of round off:&n... | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.