code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/src/components/stepThree/index.js b/src/components/stepThree/index.js @@ -278,7 +278,7 @@ export class stepThree extends React.Component {
mutators={{ ...arrayMutators }}
initialValues={{
walletAddress: tierStore.tiers[0].walletAddress,
- minCap: '',
+ minCap: 0,
gasPrice: gasPriceStore.gasPricesInGwei[0],... | 12 |
diff --git a/token-metadata/0x960b236A07cf122663c4303350609A66A7B288C0/metadata.json b/token-metadata/0x960b236A07cf122663c4303350609A66A7B288C0/metadata.json "symbol": "ANT",
"address": "0x960b236A07cf122663c4303350609A66A7B288C0",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/token-metadata/0xC9634DA9B1EEfd1CB3d88b598A91Ec69E5afe4E4/metadata.json b/token-metadata/0xC9634DA9B1EEfd1CB3d88b598A91Ec69E5afe4E4/metadata.json "symbol": "MUM",
"address": "0xC9634DA9B1EEfd1CB3d88b598A91Ec69E5afe4E4",
"decimals": 0,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
}... | 3 |
diff --git a/assets/js/googlesitekit/datastore/user/authentication.js b/assets/js/googlesitekit/datastore/user/authentication.js @@ -76,7 +76,7 @@ export const actions = {
/**
* Stores connection info received from the REST API.
*
- * @since 1.5.0
+ * @since n.e.x.t
* @private
* @param {Object} authentication Authentic... | 2 |
diff --git a/packages/bitcore-node/src/models/walletAddress.ts b/packages/bitcore-node/src/models/walletAddress.ts @@ -101,12 +101,16 @@ export class WalletAddressModel extends BaseModel<IWalletAddress> {
})
),
{ ordered: false };
- this.push(addressBatch);
- callback();
+
} catch (err) {
- callback(err);
+ // Ignore d... | 9 |
diff --git a/packages/growi-commons/.devcontainer/devcontainer.json b/packages/growi-commons/.devcontainer/devcontainer.json // https://github.com/microsoft/vscode-dev-containers/tree/v0.117.1/containers/javascript-node-12-mongo
// If you want to run as a non-root user in the container, see .devcontainer/docker-compose... | 10 |
diff --git a/articles/api-auth/passwordless.md b/articles/api-auth/passwordless.md @@ -4,6 +4,8 @@ title: Passwordless authentication (OIDC-conformant)
# OIDC-conformant Passwordless Authentication
+<%= include('./tutorials/adoption/_about.md') %>
+
Auth0 currently does not support an [OIDC-conformant](/api-auth/tutori... | 0 |
diff --git a/config/environments/development.js.example b/config/environments/development.js.example @@ -118,7 +118,7 @@ var config = {
user: "publicuser",
password: "public",
host: '127.0.0.1',
- port: 6432
+ port: 5432
}
,mapnik_version: undefined
,mapnik_tile_format: 'png8:m=h'
| 4 |
diff --git a/Source/Core/OrientedBoundingBox.js b/Source/Core/OrientedBoundingBox.js @@ -392,7 +392,7 @@ import Rectangle from './Rectangle.js';
// This results in a better fit than the obb approach for smaller rectangles, which orients with the rectangle's center normal.
var planeOrigin = Cartesian3.fromRadians(center... | 7 |
diff --git a/packages/cx/src/widgets/form/Slider.js b/packages/cx/src/widgets/form/Slider.js @@ -313,7 +313,7 @@ class SliderComponent extends VDOM.Component {
let { data, widget } = instance;
if ((widget.showFrom && widget.showTo) || !data.wheel) return;
- e.preventDefault();
+ // e.preventDefault(); <- wheel is a pas... | 2 |
diff --git a/src/pages/RequestCallPage.js b/src/pages/RequestCallPage.js @@ -95,11 +95,11 @@ const defaultProps = {
class RequestCallPage extends Component {
constructor(props) {
super(props);
- const {fName, lName} = this.getFirstAndLastName(props.myPersonalDetails);
+ const {firstName, lastName} = this.getFirstAndLas... | 9 |
diff --git a/js/jsgif/GIFEncoder.js b/js/jsgif/GIFEncoder.js var len/*int*/ = pixels.length;
var nPix/*int*/ = len / 3;
indexedPixels = [];
+ var initColorTab = new Set();
+ var k = 0;
+ for (var j = 0; j < nPix; j++) {
+ initColorTab.add(((pixels[k++] & 0xff) << 16) + ((pixels[k++] & 0xff) << 8) + (pixels[k++] & 0xff)... | 7 |
diff --git a/character-controller.js b/character-controller.js @@ -558,6 +558,7 @@ class InterpolatedPlayer extends Player {
crouch: new BinaryInterpolant(() => this.hasAction('crouch'), avatarInterpolationTimeDelay, avatarInterpolationNumFrames),
activate: new BinaryInterpolant(() => this.hasAction('activate'), avatar... | 0 |
diff --git a/src/renderer/selfkey-id/main/components/selfkey-id-overview.jsx b/src/renderer/selfkey-id/main/components/selfkey-id-overview.jsx @@ -70,6 +70,9 @@ const styles = theme => ({
'& .file-icon': {
marginRight: '15px'
}
+ },
+ button: {
+ marginBottom: '16px'
}
});
@@ -476,6 +479,7 @@ class SelfkeyIdOverviewCom... | 1 |
diff --git a/assets/js/modules/analytics/datastore/profiles.test.js b/assets/js/modules/analytics/datastore/profiles.test.js @@ -24,7 +24,6 @@ import { STORE_NAME } from './constants';
import {
createTestRegistry,
muteFetch,
- subscribeUntil,
unsubscribeFromAll,
untilResolved,
} from 'tests/js/utils';
@@ -63,7 +62,7 @@... | 2 |
diff --git a/native/chat/compose-thread.react.js b/native/chat/compose-thread.react.js @@ -66,6 +66,7 @@ import { iosKeyboardHeight } from '../dimensions';
const tagInputProps = {
placeholder: "username",
autoFocus: true,
+ returnKeyType: "go",
};
const segmentedPrivacyOptions = ['Public', 'Secret'];
@@ -241,6 +242,10 ... | 9 |
diff --git a/packages/app/src/server/service/config-loader.ts b/packages/app/src/server/service/config-loader.ts @@ -392,7 +392,6 @@ const ENV_VAR_NAME_TO_CONFIG_INFO = {
default: null,
},
OIDC_TIMEOUT_MULTIPLIER: {
-<<<<<<< HEAD
ns: 'crowi',
key: 'security:passport-oidc:TimeoutMultiplier',
type: ValueType.NUMBER,
@@ -... | 13 |
diff --git a/src/pages/signin/PasswordForm.js b/src/pages/signin/PasswordForm.js @@ -47,7 +47,7 @@ class PasswordForm extends React.Component {
constructor(props) {
super(props);
this.validateAndSubmitForm = this.validateAndSubmitForm.bind(this);
- this.reset = this.reset.bind(this);
+ this.resetPassword = this.resetPa... | 7 |
diff --git a/README.md b/README.md # Contribute
-[](http://waffle.io/wfcd/genesis)
[](https://crowdin.com/project/genesis-discord)
[', () => {
const cwd = process.cwd();
process.chdir(tmpDirPath);
return expect(getServerlessConfigFile()).to.be.fulfilled
+ .then(result => result)
.catch((ex) => {
pr... | 1 |
diff --git a/scenes/treehouse.scn b/scenes/treehouse.scn 1
],
"start_url": "https://webaverse.github.io/machine-gun/"
+ },
+ {
+ "position": [
+ -6,
+ 0,
+ 25
+ ],
+ "quaternion": [
+ 0,
+ 0.702,
+ 0,
+ 0.712
+ ],
+ "scale": [
+ 1,
+ 1,
+ 1
+ ],
+ "start_url": "https://webaverse.github.io/dummy/"
}
]
}
| 0 |
diff --git a/server/migrations/20170410074258-initial-data.js b/server/migrations/20170410074258-initial-data.js @@ -12,6 +12,8 @@ exports.up = function(r, conn) {
r.tableCreate('directMessageThreads').run(conn),
r.tableCreate('users').run(conn),
r.tableCreate('notifications').run(conn),
+ r.tableCreate('subscriptions'... | 12 |
diff --git a/README.md b/README.md @@ -109,21 +109,24 @@ const state = {
### Actions
-The way to change the state is via actions. An action is a unary function (accepts a single argument) expecting a payload. The payload can be anything you want to pass into the action.
+The only way to change the state is via actions.... | 7 |
diff --git a/packages/rekit-core/core/app.js b/packages/rekit-core/core/app.js @@ -9,7 +9,11 @@ const plugin = require('./plugin');
function getProjectData() {
const plugins = plugin.getPlugins('app.getProjectData');
- if (plugins.length) return _.last(plugins).app.getProjectData();
+ if (plugins.length) {
+ const prjD... | 11 |
diff --git a/guide/preparations/README.md b/guide/preparations/README.md @@ -67,4 +67,4 @@ And that's it! With all the necessities installed, you're almost ready to start
## Installing a linter
-While you are coding, you may find that you run into numerous syntax errors, or just code in an inconsistent style. It's high... | 1 |
diff --git a/lib/config/plan-tester/src/test/usage-test.js b/lib/config/plan-tester/src/test/usage-test.js @@ -16,6 +16,13 @@ const uris = memoize(() =>
})
);
+const colorize = (obj) => util.inspect(obj, {
+ colors: true,
+ compact: true,
+ depth: null,
+ breakLength: process.stdout.columns
+});
+
describe('usage tests... | 7 |
diff --git a/.circleci/config.yml b/.circleci/config.yml @@ -70,18 +70,18 @@ workflows:
jobs:
- build:
filters:
- tags:
- only: /.*/
+ branches:
+ only: master
- test:
requires:
- build
filters:
- tags:
- only: /.*/
+ branches:
+ only: master
- deploy:
requires:
- build
- test
filters:
- tags:
- only: /.*/
\ No newline... | 8 |
diff --git a/content/guides/references/advanced-installation.md b/content/guides/references/advanced-installation.md @@ -5,13 +5,13 @@ title: Advanced Installation
## Environment variables
| Name | Description |
-| -------------------------------- | ----------------------------------------------------------------------... | 7 |
diff --git a/vis/js/list.js b/vis/js/list.js @@ -268,11 +268,20 @@ list.fit_list_height = function() {
let title_height = $("#subdiscipline_title").outerHeight(true);
let title_image_height = $("#title_image").outerHeight(true) || 0;
+ // the real height after the react elements are rendered
+ let showHideBtnHeight = 3... | 1 |
diff --git a/src/components/Match/AbilityBuildTable.jsx b/src/components/Match/AbilityBuildTable.jsx @@ -26,7 +26,7 @@ const standardizeLevel = (skilledAt, obj) => {
const convertArrayToKeys = (obj, fieldName = '') => ({
...obj,
- ...obj[fieldName].reduce(
+ ...(obj[fieldName] || []).reduce(
(acc, cur, index) => ({
...... | 9 |
diff --git a/packages/manager/apps/telecom/src/components/sidebar/sidebar.config.js b/packages/manager/apps/telecom/src/components/sidebar/sidebar.config.js @@ -250,6 +250,8 @@ angular
'telecom_sidebar_actions_menu_internet_otb',
),
href: URLS.overTheBox.FR,
+ target: '_blank',
+ extrnal: true,
},
]
: []),
| 1 |
diff --git a/mobile/src/screens/partnerWelcome.js b/mobile/src/screens/partnerWelcome.js @@ -6,6 +6,7 @@ import { fbt } from 'fbt-runtime'
import { connect } from 'react-redux'
import SafeAreaView from 'react-native-safe-area-view'
import { SvgUri } from 'react-native-svg'
+import get from 'lodash.get'
import OriginBut... | 5 |
diff --git a/.github/workflows/release-publish.yml b/.github/workflows/release-publish.yml @@ -9,6 +9,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
+ - uses: fregante/setup-git-token@v1
+ with:
+ token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Node.js
uses: actions/setup-node@v1
| 6 |
diff --git a/src/lime/graphics/ImageBuffer.hx b/src/lime/graphics/ImageBuffer.hx @@ -65,7 +65,7 @@ class ImageBuffer
public var src(get, set):Dynamic;
/**
- The stride, or number of data values per row in the image data
+ The stride, or number of data values (in bytes) per row in the image data
**/
public var stride(ge... | 7 |
diff --git a/generators/server/templates/_build.gradle b/generators/server/templates/_build.gradle @@ -433,20 +433,6 @@ if (project.hasProperty('nodeInstall')) {
npmVersion = '4.1.2'
download = true
}
-
- // Workaround for https://github.com/srs/gradle-node-plugin/issues/134
- task installLocalNpm {
- def npmVersion = ... | 2 |
diff --git a/website/src/_posts/2019-04-liftoff-07.md b/website/src/_posts/2019-04-liftoff-07.md @@ -7,7 +7,7 @@ series: 30 Days to Liftoff
seriesSuffix: 'of 30'
---
-Welcome to Day 7 of our ongoing thirty-day blog post challenge toward the **Uppy 1.0 release on April 25!**. With the weekend behind us and all batteries... | 1 |
diff --git a/js/background.js b/js/background.js @@ -215,6 +215,7 @@ chrome.webRequest.onBeforeRequest.addListener(
if(!tabs[e.tabId]){
tabs[e.tabId] = {'trackers': {}, "total": 0, 'url': e.url, "dispTotal": 0}
+ updateBadge(e.tabId, tabs[e.tabId].dispTotal);
}
if(!settings.getSetting('extensionIsEnabled')){
@@ -274,6 ... | 3 |
diff --git a/src/components/OfflineWithFeedback.js b/src/components/OfflineWithFeedback.js @@ -28,6 +28,12 @@ const propTypes = {
// eslint-disable-next-line react/forbid-prop-types
errors: PropTypes.object,
+ /** Predetermine whether there are errors, so that we don't have to pass all the errors if we aren't rendering... | 11 |
diff --git a/api/models/channelSettings.js b/api/models/channelSettings.js @@ -110,7 +110,7 @@ export const resetChannelJoinToken = (id: string) => {
type UpdateInput = {
channelId: string,
- slackChannelId: ?string,
+ slackChannelId: string,
eventType: 'THREAD_CREATED',
};
export const updateChannelSlackBotConnection ... | 12 |
diff --git a/src/components/AuthCompany/index.js b/src/components/AuthCompany/index.js @@ -384,8 +384,7 @@ export default class Index extends PureComponent {
style={{ marginBottom: '16px' }}
/>
<iframe
- // src={`${marketUrl}/certification/login`}
- src={`http://0.0.0.0:8090/certification/login?enterprise_alias=${enter... | 1 |
diff --git a/public/index_greenlight.html b/public/index_greenlight.html if (j && j.success && j.response && j.response.peered==false) {
peer.style.display = 'block'
peer.disabled = false
- }
// PEERED BUT NOT ACTIVE
- if (j && j.success && j.response && j.response.peered && j.response.active==false && confirmations < ... | 8 |
diff --git a/public/index.html b/public/index.html const urlBarHeight = 256;
const urlBarWorldWidth = 3;
const urlBarWorldHeight = urlBarWorldWidth * urlBarHeight / urlBarWidth;
- const urlBarMesh = (() => {
+ const menuMesh = (() => {
const object = new THREE.Object3D();
- const planeMesh = (() => {
+ const urlMesh = ... | 10 |
diff --git a/assets/js/components/user-input/UserInputQuestionnaire.js b/assets/js/components/user-input/UserInputQuestionnaire.js @@ -249,7 +249,6 @@ export default function UserInputQuestionnaire() {
) }
next={ nextCallback }
nextLabel={ nextLabel }
- back={ backCallback }
error={ error }
>
<UserInputSelectOptions
| 2 |
diff --git a/articles/rules/current/redirect.md b/articles/rules/current/redirect.md @@ -111,6 +111,7 @@ function(user, context, callback) {
context.redirect = {
url: "https://example.com/change-pw?token=" + token
};
+ return callback(null, user, context);
}
} else {
// User has been redirected to /continue?token=..., ... | 0 |
diff --git a/semantics-3.0/Semantics.hs b/semantics-3.0/Semantics.hs @@ -258,14 +258,14 @@ data ReduceWarning = ReduceNoWarning
deriving (Eq,Ord,Show)
-data ReduceResult = Reduced ReduceWarning ReduceEffect State Contract
+data ReduceStepResult = Reduced ReduceWarning ReduceEffect State Contract
| NotReduced
| Ambiguou... | 10 |
diff --git a/core/lib/actions/Message.js b/core/lib/actions/Message.js @@ -63,6 +63,12 @@ export class Message extends Action {
willApply () {
if (typeof this.message !== 'undefined') {
+ // Check if the old format is being use and translate it to the new one
+ if (this.message.Title && this.message.Subtitle && this.me... | 5 |
diff --git a/edit.js b/edit.js @@ -185,25 +185,6 @@ for (const handMesh of handMeshes) {
scene.add(handMesh);
} */
-/* const tetrehedronGeometry = (() => {
- const geometry = new THREE.TetrahedronBufferGeometry(0.2, 0);
- const barycentrics = new Float32Array(geometry.attributes.position.array.length);
- let barycentri... | 2 |
diff --git a/extensions/projection/json-schema/schema.json b/extensions/projection/json-schema/schema.json "null"
]
},
- "proj:proj4":{
- "title":"Coordinate Reference System in PROJ4 format",
- "type":[
- "string",
- "null"
- ]
- },
"proj:wkt2":{
"title":"Coordinate Reference System in WKT2 format",
"type":[
| 2 |
diff --git a/package.json b/package.json "lodash": "^4.17.11",
"loglevel": "^1.6.1",
"loglevel-message-prefix": "^3.0.0",
- "mgrs": "^1.0.0",
"moment": "^2.22.2",
"moment-timezone": "^0.5.23",
"ngeohash": "^0.6.0",
| 2 |
diff --git a/snomed-interaction-components/js/snomed-interaction-components-2.1.js b/snomed-interaction-components/js/snomed-interaction-components-2.1.js @@ -9416,8 +9416,7 @@ function conceptDetails(divElement, conceptId, options) {
$("#" + panel.divElement.id + "-configButton").removeAttr("disabled");
panel.setupOpt... | 9 |
diff --git a/physx.js b/physx.js @@ -919,6 +919,25 @@ const physxWorker = (() => {
w.removeGeometryPhysics = (physics, id) => {
moduleInstance._removeGeometryPhysics(physics, id);
};
+ w.addCapsuleGeometryPhysics = (physics, position, quaternion, radius, halfHeight, id, ccdEnabled) => {
+ const allocator = new Allocato... | 0 |
diff --git a/server/src/typeDefs/targeting.js b/server/src/typeDefs/targeting.js @@ -111,9 +111,9 @@ const schema = gql`
}
`;
-function getClassValue({ systemId, class: className, key }) {
+function getClassValue({ systemId, class: classId, key }) {
const system = App.systems.find(s => s.id === systemId);
- const targe... | 1 |
diff --git a/deployment/build-s3-dist.sh b/deployment/build-s3-dist.sh @@ -94,9 +94,9 @@ echo "[Init] Copying templates to global-s3-assets/"
echo "------------------------------------------------------------------------------"
# Copying main templates to global assets directory
-cp build/templates/public.json $templat... | 3 |
diff --git a/app/assets/stylesheets/deep-insights/themes/scss/map/_embed.scss b/app/assets/stylesheets/deep-insights/themes/scss/map/_embed.scss @@ -115,20 +115,20 @@ $cEmbedTabs-Shadow: rgba(0, 0, 0, 0.24);
.CDB-Embed-legends {
.CDB-Legends-canvas {
display: block !important;
- border-radius: 0;
position: relative;
to... | 2 |
diff --git a/modules/experimental-layers/src/path-outline-layer/path-outline-layer.js b/modules/experimental-layers/src/path-outline-layer/path-outline-layer.js @@ -33,7 +33,7 @@ const FS_CODE = `\
`;
const defaultProps = {
- getZLevel: object => object.zLevel | 0
+ getZLevel: {type: 'accessor', value: 0}
};
export def... | 0 |
diff --git a/config/environments/config.js b/config/environments/config.js @@ -253,7 +253,7 @@ var config = {
// - running an standalone server without any dependency on external services
inlineExecution: false,
// where the SQL API is running, it will use a custom Host header to specify the username.
- endpoint: 'http... | 14 |
diff --git a/physics-manager.js b/physics-manager.js @@ -82,6 +82,10 @@ const setSitState = newSitState => {
};
physicsManager.setSitState = setSitState;
+const sitTarget = new THREE.Object3D();
+const getSitTarget = () => sitTarget;
+physicsManager.getSitTarget = getSitTarget;
+
const physicsObjects = {};
const physic... | 0 |
diff --git a/site/ssl.md b/site/ssl.md @@ -262,9 +262,12 @@ ssl_options.cacertfile = /path/to/ca_certificate.pem
ssl_options.certfile = /path/to/server_certificate.pem
ssl_options.keyfile = /path/to/server_key.pem
ssl_options.verify = verify_peer
-ssl_options.fail_if_no_peer_cert = false
+ssl_options.fail_if_no_peer_ce... | 4 |
diff --git a/src/client/js/components/PageComment/Comment.jsx b/src/client/js/components/PageComment/Comment.jsx @@ -287,6 +287,7 @@ Comment.propTypes = {
comment: PropTypes.object.isRequired,
growiRenderer: PropTypes.object.isRequired,
+ editBtnClicked: PropTypes.func.isRequired,
deleteBtnClicked: PropTypes.func.isReq... | 12 |
diff --git a/token-metadata/0xD6a55C63865AffD67E2FB9f284F87b7a9E5FF3bD/metadata.json b/token-metadata/0xD6a55C63865AffD67E2FB9f284F87b7a9E5FF3bD/metadata.json "symbol": "ESH",
"address": "0xD6a55C63865AffD67E2FB9f284F87b7a9E5FF3bD",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/source/background/library/archives.js b/source/background/library/archives.js @@ -383,41 +383,10 @@ export async function saveSource(sourceID) {
if (!source) {
throw new Error(`Unable to save source: No unlocked source found for ID: ${sourceID}`);
}
- // await vaultManager.interruptAutoUpdate(async () => {... | 4 |
diff --git a/webui/src/Page/Survey.elm b/webui/src/Page/Survey.elm @@ -833,7 +833,7 @@ viewLikertSurveyTitle survey =
Zipper.current survey.questions
questionNumber =
- currentQuestion.id
+ toString currentQuestion.orderNumber
totalQuestions =
List.length (Zipper.toList survey.questions)
@@ -843,7 +843,7 @@ viewLikertS... | 1 |
diff --git a/game.js b/game.js @@ -67,18 +67,27 @@ const _getGrabbedObject = i => {
return result;
};
-const _unwearAppIfHasSitComponent = (player) => {
+const _isActionableOnSittableApp = (player, actionType) => {
+ let isActionable = true;
+
const wearActions = player.getActionsByType('wear');
for (const wearAction o... | 0 |
diff --git a/css/tarteaucitron.css b/css/tarteaucitron.css @@ -754,6 +754,9 @@ div.amazon_product {
.tarteaucitronLine .tarteaucitronAllow, .tarteaucitronLine .tarteaucitronDeny {
opacity: 0.4;
}
+#tarteaucitronServices_mandatory button.tarteaucitronAllow {
+ opacity: 1;
+}
div#tarteaucitronInfo {
display: block!import... | 12 |
diff --git a/token-metadata/0x78a685E0762096ed0F98107212e98F8C35A9D1D8/metadata.json b/token-metadata/0x78a685E0762096ed0F98107212e98F8C35A9D1D8/metadata.json "symbol": "DAP",
"address": "0x78a685E0762096ed0F98107212e98F8C35A9D1D8",
"decimals": 10,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/app/builtin-pages/views/workspaces.js b/app/builtin-pages/views/workspaces.js @@ -59,6 +59,13 @@ async function loadCurrentWorkspace () {
} else {
workspaceInfo = null
}
+
+ // set the current diff node to the first revision
+ if (workspaceInfo && workspaceInfo.revisions.length) {
+ const firstRev = worksp... | 12 |
diff --git a/components/tabs/panel.jsx b/components/tabs/panel.jsx @@ -53,10 +53,11 @@ Panel.propTypes = {
* This object is merged with the default props object on every render.
* * `withErrorIcon`: This text is for the error icon that will be placed next to the `<Tab />` title
*/
+ /* deepscan-disable REACT_USELESS_PR... | 8 |
diff --git a/src/renderer/map/MapCanvasRenderer.js b/src/renderer/map/MapCanvasRenderer.js @@ -649,22 +649,24 @@ class MapCanvasRenderer extends MapRenderer {
if (map.getPitch() <= map.options['maxVisualPitch'] || !map.options['fog']) {
return;
}
- const ctx = this.context;
- const r = Browser.retina ? 2 : 1;
- const c... | 3 |
diff --git a/src/angular/projects/spark-core-angular/src/lib/components/sprk-footer/sprk-footer.component.spec.ts b/src/angular/projects/spark-core-angular/src/lib/components/sprk-footer/sprk-footer.component.spec.ts @@ -12,32 +12,6 @@ describe('SparkFooterComponent', () => {
let component: SparkFooterComponent;
let fi... | 3 |
diff --git a/src/DevChatter.Bot.Web/wwwroot/js/wasteful-game/wasteful.js b/src/DevChatter.Bot.Web/wwwroot/js/wasteful-game/wasteful.js @@ -14,8 +14,8 @@ const hangryRed = '#ff0000';
export class Wasteful {
/**
- * @param {HTMLCanvasElement} canvas
- * @param {object} hub
+ * @param {HTMLCanvasElement} canvas canvas to ... | 1 |
diff --git a/resources/views/laravel-tags/v2/advanced-usage/using-your-own-tag-model.md b/resources/views/laravel-tags/v2/advanced-usage/using-your-own-tag-model.md @@ -19,6 +19,8 @@ class YourModel extends Model
Then you need to override the `tags()` method from the same trait to tell Laravel that it still needs to lo... | 4 |
diff --git a/articles/support/matrix.md b/articles/support/matrix.md @@ -14,7 +14,7 @@ Auth0 provides support in alignment with the [Terms of Service](https://auth0.co
Official support provided by Auth0 is limited to the languages, platforms, versions, and technologies specifically listed as such on this page. Anything... | 0 |
diff --git a/docs/creating-a-plugin.md b/docs/creating-a-plugin.md @@ -198,11 +198,13 @@ This works inside `async` event handlers as well.
## Publishing a plugin
-The [`name` property in `package.json`](https://docs.npmjs.com/files/package.json#name) should start with
-`netlify-plugin-` (such as `netlify-plugin-example... | 7 |
diff --git a/test/TemplateRenderNunjucksTest.js b/test/TemplateRenderNunjucksTest.js @@ -545,6 +545,40 @@ test("Nunjucks Async Paired Shortcode", async (t) => {
);
});
+test("Nunjucks Nested Async Paired Shortcode", async (t) => {
+ t.plan(3);
+
+ let tr = getNewTemplateRender("njk", "./test/stubs/");
+ tr.engine.addPa... | 0 |
diff --git a/packages/create-snowpack-app/templates/app-template-11ty/.eleventy.js b/packages/create-snowpack-app/templates/app-template-11ty/.eleventy.js module.exports = function (eleventyConfig) {
eleventyConfig.setTemplateFormats([
// Templates:
- "html",
- "njk",
- "md",
+ 'html',
+ 'njk',
+ 'md',
// Static Assets... | 0 |
diff --git a/css/bookmarkManager.css b/css/bookmarkManager.css #searchbar .tag.suggested {
background: transparent;
border-style: dotted;
- border-color: rgba(0, 0, 0, 0.1);
+ border-color: rgba(0, 0, 0, 0.125);
}
.dark-theme #searchbar .tag.suggested {
- border-color: rgba(255, 255, 255, 0.225);
+ border-color: rgba(2... | 7 |
diff --git a/docs/MIGRATION_GUIDE_0.14.md b/docs/MIGRATION_GUIDE_0.14.md @@ -261,7 +261,49 @@ module.exports = {
});
```
+## 6. Use the new built-in logger instead of custom logger.
+The whole logging function has been rewritten in this version. It means, it has a lot of new features, but the configuration of loggers h... | 3 |
diff --git a/js/gateio.js b/js/gateio.js @@ -171,7 +171,6 @@ module.exports = class gateio extends ccxt.gateio {
}
async authenticate () {
- this.checkRequiredCredentials ();
const url = this.urls['api']['ws'];
const requestId = this.milliseconds ();
const signature = this.hmac (requestId.toString (), this.secret, 'sha... | 5 |
diff --git a/src/internal/input.js b/src/internal/input.js @@ -169,7 +169,7 @@ export function read(input) {
return rewriteInput(source, inputDir);
}
-export function readChildren(input) {
+export function readPaths(input) {
const children = [];
if (input !== "-") {
| 10 |
diff --git a/docs/layers/scatterplot-layer.md b/docs/layers/scatterplot-layer.md @@ -161,7 +161,7 @@ The rgba color of each object, in `r, g, b, [a]`. Each component is in the 0-255
* Default: `1`
-The width of the outline of the object in pixels.
+The width of the outline of each object, in meters.
* If a number is pr... | 3 |
diff --git a/errors.yaml b/errors.yaml @@ -39,7 +39,7 @@ errors:
- code: not_found
description: "The requested resources could not be found."
- code: payload_too_large
- description: "The payload sent to the server was too large. Check out this [guide](https://docs.meilisearch.com/guides/advanced_guides/configuration.h... | 1 |
diff --git a/weapons-manager.js b/weapons-manager.js @@ -1888,6 +1888,10 @@ const itemSpecs = [
"name": "camera",
"start_url": "https://avaer.github.io/camera/index.js"
},
+ {
+ "name": "cityscape",
+ "start_url": "https://raw.githubusercontent.com/metavly/cityscape/master/manifest.json"
+ },
];
const itemsEl = documen... | 0 |
diff --git a/app/helpers/samples_helper.rb b/app/helpers/samples_helper.rb @@ -37,7 +37,7 @@ module SamplesHelper
attributes = %w[sample_name uploader upload_date overall_job_status runtime_seconds
total_reads nonhost_reads nonhost_reads_percent total_ercc_reads subsampled_fraction
quality_control compression_ratio rea... | 10 |
diff --git a/circle.yml b/circle.yml @@ -5,13 +5,10 @@ machine:
node:
version:
7.5.0
- environment:
- COVERALLS_REPO_TOKEN: cptV1A70KJcrp2KvsAKcct7kHytmE7uq9
- COVERALLS_PARALLEL: true
notify:
webhooks:
- - url: https://coveralls.io/webhook?repo_token=cptV1A70KJcrp2KvsAKcct7kHytmE7uq9
+ - url: https://coveralls.io/webh... | 4 |
diff --git a/src/components/TableFilter.js b/src/components/TableFilter.js @@ -247,7 +247,7 @@ class TableFilter extends React.Component {
<MenuItem value={filterValue} key={filterIndex + 1}>
<Checkbox
checked={filterList[index].indexOf(filterValue) >= 0 ? true : false}
- value={filterValue !== null ? filterValue.toStr... | 9 |
diff --git a/activity/urls.py b/activity/urls.py @@ -93,11 +93,11 @@ urlpatterns = [ # rest framework
# enable the admin:
path('admin/doc/', include('django.contrib.admindocs.urls')),
path('admin/', admin.site.urls),
- path('<selected_countries>/',
+ path('<slug:selected_countries>/',
views.index, name='index'),
# inde... | 0 |
diff --git a/client/components/settings/peopleBody.js b/client/components/settings/peopleBody.js @@ -567,9 +567,9 @@ Template.newUserPopup.events({
const isAdmin = templateInstance.find('.js-profile-isadmin').value.trim();
const isActive = templateInstance.find('.js-profile-isactive').value.trim();
const email = templa... | 1 |
diff --git a/src/js/controllers/correspondentDevice.js b/src/js/controllers/correspondentDevice.js @@ -1886,7 +1886,7 @@ angular.module('copayApp.controllers').controller('correspondentDeviceController
replace: true,
link: function (scope, ele, attrs) {
scope.$watch(attrs.dynamic, function(html) {
- ele.html(html.repla... | 9 |
diff --git a/assets/js/components/surveys/SurveyQuestionSingleSelectChoice.js b/assets/js/components/surveys/SurveyQuestionSingleSelectChoice.js @@ -54,7 +54,7 @@ const SurveyQuestionSingleSelectChoice = ( {
<Input
onChange={ ( event ) =>
setWriteIn(
- event.target.value?.slice(
+ event.target.value.slice(
0,
MAXIMUM_C... | 2 |
diff --git a/components/Questionnaire/RangeQuestion.js b/components/Questionnaire/RangeQuestion.js @@ -148,8 +148,11 @@ class RangeQuestion extends Component {
return (
<div {...styles.sliderWrapper}>
- { value === null && // catch clicks on slider thumb to set default value
- <div {...styles.mouseCatcher} onClick={() ... | 12 |
diff --git a/src/plugins/clear_button/plugin.scss b/src/plugins/clear_button/plugin.scss &.form-select .clear-button,
&.single .clear-button{
+
+ @if variable-exists(select-padding-dropdown-item-x) {
+ right: $select-padding-dropdown-item-x;
+ }
+ @else{
right: calc(#{$select-padding-x} - #{$select-padding-item-x} + 2r... | 4 |
diff --git a/articles/logs/index.md b/articles/logs/index.md @@ -70,7 +70,7 @@ If you would like to store log data longer than the time period offered by your
You can use the Management API v2 to retrieve your logs using the [/api/v2/logs](/api/v2#!/Logs/get_logs) endpoint, which suports two types of consumption: [by c... | 1 |
diff --git a/articles/libraries/_includes/_embedded_sso.md b/articles/libraries/_includes/_embedded_sso.md ### SSO with embedded authentication
-Embedded login scenarios are not able to reliably provide SSO, because of a variety of factors (such as types of clients, differing browsers, differing domains, and others). F... | 3 |
diff --git a/tests/test_Court.py b/tests/test_Court.py @@ -445,7 +445,6 @@ class TestCourt(unittest.TestCase):
self.havvenCheckFeePeriodRollover(DUMMY)
fast_forward(fee_period + 1)
self.havvenCheckFeePeriodRollover(DUMMY)
- self.havvenAdjustFeeEntitlement(voter, voter, self.havvenBalance(voter))
# Begin a confiscation ... | 2 |
diff --git a/tests/service/data-util.service.spec.ts b/tests/service/data-util.service.spec.ts @@ -20,8 +20,6 @@ import { TestBed, inject } from '@angular/core/testing';
import { JhiDataUtils } from '../../src/service/data-util.service';
-describe('Data Utils service test', () => {
-
describe('Data Utils Service Test',... | 2 |
diff --git a/package.json b/package.json "main": "index.js",
"private": true,
"scripts": {
- "build": "npm run remove-dist && npm run build:production && npm run build:static",
+ "build": "npm run build:production && npm run build:static",
"build:production": "webpack -p --mode=production",
"build:test": "webpack -p --... | 2 |
diff --git a/sources/us/fl/polk.json b/sources/us/fl/polk.json "protocol": "ESRI",
"conform": {
"format": "geojson",
- "number": "HouseNumber",
+ "number": "Add_Number",
"unit": "Unit",
- "street": "PrimaryName",
- "city": "T_MailingCityNm",
- "postcode": "Zip"
+ "street": [
+ "St_Name",
+ "St_PosTyp",
+ "St_PosDir"
+ ... | 4 |
diff --git a/workshops/Connect/README.md b/workshops/Connect/README.md @@ -19,7 +19,7 @@ Choose **Connect** from the **Tools** menu. It will walk you through:
- Creating an Amazon Connect instance
- Downloading and importing a contact flow
-- Importing a corresponding sample question and answer bank.
+- Importing a cor... | 2 |
diff --git a/src/builders/query/launch-query.js b/src/builders/query/launch-query.js @@ -100,7 +100,15 @@ module.exports = q => {
query['rocket.fairings.reused'] = (q.fairings_reuse === 'true');
}
if (q.capsule_reuse) {
- query['reuse.capsule'] = (q.capsule_reuse === 'true');
+ query['rocket.second_stage.payloads.reuse... | 3 |
diff --git a/react-ui/components/PageRouter.js b/react-ui/components/PageRouter.js @@ -15,7 +15,7 @@ export const PageRouter = () => {
return html`
<${React.Fragment}>
<${NavBar} />
- <${Router} basepath='${window.locationSubdirectory}/' >
+ <${Router} >
<${MyProfile} path="${window.locationSubdirectory}/"/>
<${MyProfi... | 2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.