code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/source/core/Date.js b/source/core/Date.js @@ -76,7 +76,7 @@ Object.assign( Date, {
});
const pad = function ( num, nopad, character ) {
- return ( nopad || num > 9 ) ? num : ( character || '0' ) + num;
+ return ( nopad || num > 9 ? '' : ( character || '0' ) ) + num;
};
const aDay = 86400000; // millisecond... | 0 |
diff --git a/app/src/components/MeetingViews/Filmstrip.js b/app/src/components/MeetingViews/Filmstrip.js @@ -123,6 +123,9 @@ class Filmstrip extends React.PureComponent
const root = this.rootContainer.current;
+ if (!root)
+ return;
+
const availableWidth = root.clientWidth;
// Grid is:
// 4/5 speaker
| 1 |
diff --git a/core/rendered_type_expr.js b/core/rendered_type_expr.js @@ -186,33 +186,6 @@ Blockly.RenderedTypeExpr.shape['typeVar'] = {
}
};
-/**
- * @static
- * @return {Blockly.RenderedTypeExpr}
- */
-Blockly.RenderedTypeExpr.generateTypeVar = function() {
- var name = Blockly.TypeExpr.generateTypeVarName_();
- retur... | 2 |
diff --git a/_data/conferences.yml b/_data/conferences.yml year: 2022
id: sigir22
link: https://sigir.org/sigir2022/
- deadline: '2022-01-31 23:59:00'
+ deadline: '2022-01-28 23:59:00'
timezone: UTC-12
date: July 11-15, 2022
place: Madrid, Spain
- abstract_deadline: '2022-01-24 23:59:00'
- note: '<b>NOTE</b>: Mandatory... | 3 |
diff --git a/assets/js/components/surveys/SurveyQuestionSingleSelectChoice.js b/assets/js/components/surveys/SurveyQuestionSingleSelectChoice.js @@ -50,7 +50,7 @@ const SurveyQuestionSingleSelectChoice = ( {
return (
<div className="googlesitekit-single-select__choice">
<Radio
- id={ text }
+ id={ text.replace( / /g, '... | 14 |
diff --git a/semantics.json b/semantics.json "type": "video",
"label": "Video files",
"importance": "high",
- "description": "Select the video files you wish to use in your interactive video. To ensure maximum support in browsers at least add a version of the video in webm and mp4 formats."
+ "description": "Select the... | 0 |
diff --git a/edit.js b/edit.js @@ -750,6 +750,9 @@ shieldSlider.addEventListener('change', async e => {
}
}
});
+const scaleSlider = document.getElementById('scale-slider');
+scaleSlider.addEventListener('change', async e => {
+});
document.getElementById('toggle-stage-button').addEventListener('click', e => {
floorMes... | 0 |
diff --git a/package.json b/package.json {
"name": "spearmint",
- "version": "0.5.0",
+ "version": "0.6.0",
"description": "An open-source developer tool that simplifies testing and hopes to help increase awareness about web accessibility.",
"author": "spearmintjs",
"build": {
| 3 |
diff --git a/examples/react-native-expo/App.js b/examples/react-native-expo/App.js @@ -3,7 +3,7 @@ import React from 'react'
import {
Text,
View,
- Button,
+ AsyncStorage,
// TouchableOpacity,
TouchableHighlight
// Image,
@@ -13,6 +13,34 @@ import Uppy from '@uppy/core'
import Tus from '@uppy/tus'
import UppyFilePicker... | 0 |
diff --git a/css/base.css b/css/base.css padding: 0;
box-sizing: border-box;
font-size: 16px;
- font-family: '.SFNSText-Regular', 'Helvetica Neue', 'Arial', sans-serif;
+ font-family: '.SFNSText-Regular', 'BlinkMacSystemFont', 'Helvetica Neue', 'Segoe UI', 'Arial', sans-serif;
}
[hidden] {
display: none !important;
| 7 |
diff --git a/articles/libraries/lock/v9/customization.md b/articles/libraries/lock/v9/customization.md @@ -3,9 +3,10 @@ section: libraries
description: How to configure user options with Lock V9
---
+# Lock: User configurable options
+
<%= include('../_includes/_lock-version-9') %>
-## Lock: User configurable options
T... | 0 |
diff --git a/next.config.js b/next.config.js @@ -35,4 +35,9 @@ module.exports = {
FB_AUTH_PROVIDER_X509_CERT_URL: process.env.FB_AUTH_PROVIDER_X509_CERT_URL,
FB_CLIENT_X509_CERT_URL: process.env.FB_CLIENT_X509_CERT_URL,
},
+ eslint: {
+ // Warning: Dangerously allow production builds to successfully complete even if
+ ... | 8 |
diff --git a/App.js b/App.js @@ -35,6 +35,13 @@ import store, { observeStore } from "./src/redux/store"
const Routes = require('./src/page')
const AppUser = require('./src/AppUser')
+import { YellowBox } from 'react-native';
+
+YellowBox.ignoreWarnings([
+ 'Warning: isMounted(...) is deprecated in plain JavaScript Reac... | 8 |
diff --git a/runtime.js b/runtime.js @@ -913,8 +913,13 @@ const _loadScript = async (file, {files = null, parentUrl = null, contentId = nu
console.log('hit', mesh);
};
+ const jitterObject = new THREE.Object3D();
+ mesh.add(jitterObject);
+ const appObject = new THREE.Object3D()
+ jitterObject.add(appObject);
+
const a... | 0 |
diff --git a/src/govuk/components/accordion/accordion.yaml b/src/govuk/components/accordion/accordion.yaml @@ -22,11 +22,11 @@ params:
params:
- name: heading.text
type: string
- required: false
+ required: true
description: The title of each section. If `heading.html` is supplied, this is ignored. This is used both as... | 12 |
diff --git a/token-metadata/0xB3e2Cb7CccfE139f8FF84013823Bf22dA6B6390A/metadata.json b/token-metadata/0xB3e2Cb7CccfE139f8FF84013823Bf22dA6B6390A/metadata.json "symbol": "ICNQ",
"address": "0xB3e2Cb7CccfE139f8FF84013823Bf22dA6B6390A",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/accessibility-checker-engine/src/v4/rules/aria_semantics.ts b/accessibility-checker-engine/src/v4/rules/aria_semantics.ts @@ -140,7 +140,7 @@ export let aria_attribute_allowed: Rule = {
"level": eRulePolicy.VIOLATION,
"toolkitLevel": eToolkitLevel.LEVEL_ONE
}],
- act: "5c01ea",
+ act: ["5c01ea", { "46ca7f"... | 3 |
diff --git a/module/actor/actor.js b/module/actor/actor.js @@ -107,6 +107,7 @@ export class GurpsActor extends Actor {
// Oh how I wish we had a typesafe model!
// I hate treating everything as "maybe its a number, maybe its a string...?!"
let sizemod = this.getGurpsActorData().traits.sizemod.toString()
+ if (sizemod.m... | 1 |
diff --git a/src/helpers/analytics/raven.js b/src/helpers/analytics/raven.js // @flow
import Raven from 'raven-js';
-if (process.env.NODE_ENV === 'production' && process.env.SENTRY_DSN_CLIENT) {
+if (
+ process.env.NODE_ENV === 'production' &&
+ process.env.SENTRY_DSN_CLIENT &&
+ process.env.SENTRY_DSN_CLIENT !== 'unde... | 9 |
diff --git a/packages/@uppy/core/src/index.js b/packages/@uppy/core/src/index.js @@ -953,6 +953,14 @@ class Uppy {
this.cancelAll()
}
+ logout () {
+ this.iteratePlugins(plugin => {
+ if (plugin.provider && plugin.provider.logout) {
+ plugin.provider.logout()
+ }
+ })
+ }
+
_calculateProgress (file, data) {
if (!this.g... | 0 |
diff --git a/README.md b/README.md @@ -97,9 +97,9 @@ For customer support, you can also [contact](https://mymonero.com/support) us di
# Contributing & Testing
-## Setting up Your Repository
+## Getting the Source Code
-### General
+### Download & Install
1. Clone or otherwise download this repository. Then, in your ter... | 1 |
diff --git a/CommentFlagsHelper.user.js b/CommentFlagsHelper.user.js // @description Always expand comments (with deleted) and highlight expanded flagged comments, Highlight common chatty and rude keywords
// @homepage https://github.com/samliew/SO-mod-userscripts
// @author @samliew
-// @version 4.4.1
+// @version 4.4... | 2 |
diff --git a/Source/Core/loadKTX.js b/Source/Core/loadKTX.js /*global define*/
define([
+ './Check',
'../ThirdParty/when',
'./CompressedTextureBuffer',
'./defined',
- './DeveloperError',
'./loadArrayBuffer',
'./PixelFormat',
'./RuntimeError'
], function(
+ Check,
when,
CompressedTextureBuffer,
defined,
- DeveloperError... | 3 |
diff --git a/cloud-config/run-scripts/app-final.sh b/cloud-config/run-scripts/app-final.sh @@ -28,15 +28,3 @@ sudo echo "127.0.0.0 $PUBLIC_DNS_NAME" | sudo tee --append /etc/hosts
sudo mv /etc/mailname /etc/mailname.OLD
sudo echo "$PUBLIC_DNS_NAME" | sudo tee --append /etc/mailname
sudo service postfix restart
-
-# Add... | 2 |
diff --git a/lib/assets/core/javascripts/cartodb3/components/img-loader-view.js b/lib/assets/core/javascripts/cartodb3/components/img-loader-view.js var $ = require('jquery');
var CoreView = require('backbone/core-view');
var utils = require('../helpers/utils');
+var _ = require('underscore');
var IMAGE_FILE_ATTRS = {
... | 12 |
diff --git a/test/unit/environment.test.js b/test/unit/environment.test.js @@ -13,15 +13,13 @@ require('tap').mochaGlobals()
// environment when testing.
delete process.env.NODE_ENV
-const a = require('async')
const path = require('path')
-const fs = require('fs')
+const fs = require('fs/promises')
const spawn = requir... | 14 |
diff --git a/token-metadata/0x46761eE2f1EcEc5B6E82fa8FeE60e388EcE0890d/metadata.json b/token-metadata/0x46761eE2f1EcEc5B6E82fa8FeE60e388EcE0890d/metadata.json "symbol": "EFS",
"address": "0x46761eE2f1EcEc5B6E82fa8FeE60e388EcE0890d",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/src/components/service-mesh-patterns-Table/table.style.js b/src/components/service-mesh-patterns-Table/table.style.js @@ -5,6 +5,7 @@ export const TableWrapper = styled.div`
table{
border-collapse:collapse;
box-shadow:0px 2px 16px rgba(0,0,0,0.2);
+ width: 75vw;
td{
padding:0.5rem;
| 1 |
diff --git a/tools/pre-swap-checker/contracts/PreSwapChecker.sol b/tools/pre-swap-checker/contracts/PreSwapChecker.sol @@ -23,7 +23,6 @@ contract PreSwapChecker {
bytes4 constant internal ERC721_INTERFACE_ID = 0x80ac58cd;
bytes4 constant internal ERC20_INTERFACE_ID = 0x36372b07;
- bytes4 constant internal CK_INTERFACE_... | 2 |
diff --git a/assets/images/workspace-default-avatar.svg b/assets/images/workspace-default-avatar.svg -<svg viewBox="0 0 81 80" xmlns="http://www.w3.org/2000/svg"><rect x=".5" width="80" height="80" rx="40"/><path d="M51.125 24.25h-20.25c-.675 0-1.125.45-1.125 1.125v31.5c0 .675.45 1.125 1.125 1.125h7.2v-7.875c0-.675.45-... | 13 |
diff --git a/web3swift/KeystoreManager/Classes/EthereumKeystoreV3.swift b/web3swift/KeystoreManager/Classes/EthereumKeystoreV3.swift @@ -65,19 +65,19 @@ public class EthereumKeystoreV3: AbstractKeystore {
}
}
- public init? (password: String = "BANKEXFOUNDATION") throws {
+ public init? (password: String = "BANKEXFOUND... | 11 |
diff --git a/static/intro-to-storybook/netlify-settings.png b/static/intro-to-storybook/netlify-settings.png Binary files a/static/intro-to-storybook/netlify-settings.png and b/static/intro-to-storybook/netlify-settings.png differ
| 3 |
diff --git a/src/web/App.mjs b/src/web/App.mjs @@ -89,7 +89,7 @@ class App {
document.body.classList.remove("loaded");
// Bake initial input
- this.getAllInput();
+ this.manager.input.bakeAll();
}.bind(this), 1000);
// Clear the loading message interval
@@ -182,12 +182,6 @@ class App {
this.manager.worker.silentBake(re... | 2 |
diff --git a/lib/global-admin/addon/components/account-group-row/template.hbs b/lib/global-admin/addon/components/account-group-row/template.hbs <td data-title="{{dt.name}}" class="pr-15">
- <a href="{{href-to "global-admin.security.accounts.detail" model.id}}">
<IdentityBlock
@principalId={{ model.id }}
@wide={{ false... | 2 |
diff --git a/src/plugins/meteor/assets/meteor-deploy-check.sh b/src/plugins/meteor/assets/meteor-deploy-check.sh @@ -61,11 +61,11 @@ while [[ true ]]; do
fi
if [[ -z $CONTAINER_IP ]]; then
- echo "Container has no IP Address, likely from it restarting."
+ echo "Container has no IP Address, likely from the app crashing.... | 7 |
diff --git a/src/web/App.mjs b/src/web/App.mjs @@ -157,6 +157,8 @@ class App {
action: "autobake",
data: this.manager.input.getActiveTab()
});
+
+ this.manager.controls.toggleBakeButtonFunction(false, true);
} else {
this.manager.controls.showStaleIndicator();
}
| 12 |
diff --git a/src/input/input.js b/src/input/input.js @@ -72,7 +72,7 @@ export function handlePaste(e, cm) {
let pasted = e.clipboardData && e.clipboardData.getData("Text")
if (pasted) {
e.preventDefault()
- if (!cm.isReadOnly() && !cm.options.disableInput)
+ if (!cm.isReadOnly() && !cm.options.disableInput && cm.hasFoc... | 1 |
diff --git a/src/utils/misc/getRandomId.js b/src/utils/misc/getRandomId.js const crypto = require('crypto-extra')
+const ALPHABET = '0123456789abcdefghijklmnopqrstuvwxyz'
+
function getRandomId(length) {
- const alphabet = '0123456789abcdefghijklmnopqrstuvwxyz'
- return crypto.randomString(length, alphabet)
+ return cr... | 5 |
diff --git a/src/pages/settings/Security/CloseAccountPage.js b/src/pages/settings/Security/CloseAccountPage.js @@ -43,6 +43,7 @@ class CloseAccountPage extends Component {
CloseAccount.clearError();
this.state = {
isConfirmModalVisible: false,
+ confirmModalPrompt: '',
};
}
@@ -52,10 +53,12 @@ class CloseAccountPage ex... | 12 |
diff --git a/js/bootstrap-select.js b/js/bootstrap-select.js }
}
- this.$element.find('option').each(function (index) {
+ var $selectOptions = this.$element.find('option');
+
+ $selectOptions.each(function (index) {
var $this = $(this);
liIndex++;
$parent = $this.parent(),
isOptgroup = $parent[0].tagName === 'OPTGROUP'... | 7 |
diff --git a/src/components/tooltip/README.md b/src/components/tooltip/README.md @@ -458,7 +458,7 @@ To close a **specific tooltip**, pass the trigger element's `id`, or the `id` of
was provided via the `id` prop), as the argument:
```js
-this.$root.$emit('bv::show::tooltip', 'my-trigger-button-id')
+this.$root.$emit('... | 3 |
diff --git a/package.json b/package.json }
},
"lint-staged": {
- "!(dist|-viewer/public)/**/*.ts": "tslint"
+ "!(dist|-viewer/public)/**/*.ts, !train_model/*": "tslint"
},
"dependencies": {
"@google-cloud/vision": "1.11.0",
| 8 |
diff --git a/content/billing/billing.md b/content/billing/billing.md @@ -34,3 +34,11 @@ To change the card used for payments, click **Edit** in the credit card section
### Disabling billing
To disable billing, click **Disable billing** in the Billing details section. On disabling billing, you will be immediately charge... | 3 |
diff --git a/src/Input/Input.spec.js b/src/Input/Input.spec.js @@ -55,6 +55,15 @@ describe('<Input />', () => {
});
});
+ it('should call focus function on input property when focus is invoked', () => {
+ const wrapper = shallow(<Input />);
+ const instance = wrapper.instance();
+ instance.input = spy();
+ instance.inp... | 0 |
diff --git a/avatars/avatars.js b/avatars/avatars.js @@ -1520,6 +1520,16 @@ class Avatar {
return -1;
}
};
+ const _getMorphTargetInfluenceIndexForRegex = (morphTargetDictionary, regex) => {
+ let index = 0;
+ for (const k in morphTargetDictionary) {
+ if (regex.test(k)) {
+ return index;
+ }
+ index++;
+ }
+ return -1... | 0 |
diff --git a/assets/js/modules/analytics-4/datastore/accounts.test.js b/assets/js/modules/analytics-4/datastore/accounts.test.js @@ -55,27 +55,27 @@ describe( 'modules/analytics-4 accounts', () => {
status: 200,
} );
- const initialProperties = registry.select( STORE_NAME ).getAccountSummaries();
- expect( initialPrope... | 10 |
diff --git a/packages/bitcore-node/test/util/verify.ts b/packages/bitcore-node/test/util/verify.ts @@ -9,6 +9,7 @@ import { WalletAddressModel } from '../../src/models/walletAddress';
import { Storage } from '../../src/services/storage';
import config from '../../src/config';
import logger from '../../src/logger';
+imp... | 1 |
diff --git a/plugins/resource_management/app/views/resource_management/application/_data_age.html.haml b/plugins/resource_management/app/views/resource_management/application/_data_age.html.haml -# render the data age only if there is data
-if @view_services
.col-md-10.col-md-offset-2.small.text-muted
- Usage data last... | 8 |
diff --git a/index.css b/index.css @@ -961,15 +961,17 @@ header.builtin.import .wallet.import, header.builtin.locked .wallet.locked, head
height: 300px;
overflow: hidden;
}
-.tokens > .token:hover .actions {
+.tokens > .token:hover .actions,
+.tokens > .token:hover .label
+{
transform: none;
opacity: 1;
}
-.tokens > .t... | 0 |
diff --git a/embark-ui/src/components/DataWrapper.js b/embark-ui/src/components/DataWrapper.js @@ -9,14 +9,14 @@ const DataWrapper = ({error, loading, shouldRender, render, ...rest}) => {
return <Error error={error} />;
}
- if (loading) {
- return <Loading />;
- }
-
if (shouldRender) {
return render(rest);
}
+ if (load... | 7 |
diff --git a/magda-web-client/src/config.js b/magda-web-client/src/config.js @@ -40,7 +40,8 @@ const baseExternalUrl =
? window.location.protocol + "//" + window.location.host + "/"
: baseUrl;
-const fetchOptions = window.magda_server_config
+const fetchOptions =
+ `${window.location.protocol}//${window.location.host}/... | 12 |
diff --git a/scripts/release/daemon-mcu.sh b/scripts/release/daemon-mcu.sh @@ -78,6 +78,9 @@ mkdir -p "$LogDir"
stdout=${LogDir}/${command}.stdout
pid=${LogDir}/${command}.pid
+CommandDir=${command//-/_}
+StartCmd=""
+
# Set default scheduling priority
if [ "$OWT_NICENESS" = "" ]; then
export OWT_NICENESS=0
@@ -95,6 +9... | 11 |
diff --git a/uri.js b/uri.js @@ -17,7 +17,7 @@ function parseUri(uri, callbacks){
// pairing / start a chat
// var arrPairingMatches = value.match(/^([\w\/+]{44})@([\w.:\/-]+)(?:#|%23)([\w\/+]+)$/);
- var arrPairingMatches = value.replace('%23', '#').match(/^([\w\/+]{44})@([\w.:\/-]+)#([\w\/+-]+)$/);
+ var arrPairingMa... | 11 |
diff --git a/app/views/carto/oauth_provider/_scopes.html.erb b/app/views/carto/oauth_provider/_scopes.html.erb -<% my_test_scopes_by_category = [
- {
- description: "Personal user data",
- scopes: [
- {name: "Username", new: true},
- {name: "Email addreses", new: true},
- {name: "Organization name", new: true}
- ]
- },... | 2 |
diff --git a/package.json b/package.json "start-server": "cross-env concurrently --kill-others \"npm run start-api-server\" \"npm run start-ds-bitfinex\"",
"start-api-server": "cross-env ALGO_LOG=true ALGO_LOG_DIR=logs node scripts/start-api-server.js",
"start-ds-bitfinex": "cross-env node scripts/start-ds-bitfinex.js"... | 3 |
diff --git a/apps/widbaroalarm/widget.js b/apps/widbaroalarm/widget.js @@ -30,13 +30,13 @@ const interval = setting("interval");
let history3 =
storage.readJSON(LOG_FILE, true) || []; // history of recent 3 hours
-function showAlarm(body, key) {
+function showAlarm(body, key, type) {
if (body == undefined)
return;
stop... | 7 |
diff --git a/src/components/profile/ProfileDataTable.js b/src/components/profile/ProfileDataTable.js @@ -55,9 +55,6 @@ const ProfileDataTable = ({ profile, onChange, errors: errorsProp, editable, the
/>
</Section.Row>
</Section.Row>
- <Section.Row>
- {errors.mobile ? <Section.Text style={styles.phoneError}>{errors.mobi... | 2 |
diff --git a/hooks/src/index.js b/hooks/src/index.js @@ -84,47 +84,47 @@ const createHook = (create, shouldRun) => (...args) => {
return (hook._value = hook._run(...args));
};
-export const useState = createHook((hook, inst, initialValue) => {
+export const useState = createHook((hook, component, initialValue) => {
con... | 10 |
diff --git a/app/models/carto/user_db_service.rb b/app/models/carto/user_db_service.rb @@ -13,10 +13,6 @@ module Carto
@user = user
end
- def rebuild_quota_trigger
- # TODO: Implement/clone from Sequel model
- end
-
def build_search_path(user_schema = nil, quote_user_schema = true)
user_schema ||= @user.database_schema... | 2 |
diff --git a/includes/Modules/Analytics_4.php b/includes/Modules/Analytics_4.php @@ -534,8 +534,6 @@ final class Analytics_4 extends Module
return array_map( array( self::class, 'filter_webdatastream_with_ids' ), $webdatastreams );
case 'GET:webdatastreams-batch':
return self::parse_webdatastreams_batch( $response );
-... | 2 |
diff --git a/public/app/js/cbus-sync.js b/public/app/js/cbus-sync.js @@ -168,50 +168,6 @@ cbus.sync = {};
}, (err, res, body) => {
if (err || statusCodeNotOK(res.statusCode)) {
cbus.sync.auth.retry(cbus.sync.subscriptions.pull, arguments);
- } else {
- body = JSON.parse(body);
- let delta = {
- add: body.add,
- remove:... | 14 |
diff --git a/resource/js/util/markdown-it/toc-and-anchor.js b/resource/js/util/markdown-it/toc-and-anchor.js @@ -9,6 +9,7 @@ export default class TocAndAnchorConfigurer {
configure(md) {
md.use(require('markdown-it-toc-and-anchor-with-slugid').default, {
+ tocLastLevel: 3,
anchorLinkBefore: false,
anchorLinkSymbol: '',... | 12 |
diff --git a/packages/create-snowpack-app/templates/app-template-react/src/index.jsx b/packages/create-snowpack-app/templates/app-template-react/src/index.jsx import React from "react";
import ReactDOM from "react-dom";
-import App from "./App.js";
+import App from "./App";
import "./index.css";
ReactDOM.render(
| 2 |
diff --git a/app/shared/components/Tools/Ping.js b/app/shared/components/Tools/Ping.js import React, { Component } from 'react';
import debounceRender from 'react-debounce-render';
import { translate } from 'react-i18next';
-import { defer, find, isEmpty, map, orderBy, remove, sum } from 'lodash';
+import { defer, filt... | 11 |
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md @@ -9,6 +9,7 @@ Are you ready to contribute to JHipster? We'd love to have you on board, and we
- [Generator development setup](#setup)
- [Coding Rules](#rules)
- [Git Commit Guidelines](#commit)
+ - [Financial Contributions](#financial-contributions)
## <a name="question"... | 3 |
diff --git a/src/iframeResizer.js b/src/iframeResizer.js }
function sendPageInfoToIframe(iframe,iframeId) {
- function debouncedTrigger() {
trigger(
'Send Page Info',
'pageInfo:' + getPageInfo(),
);
}
- debouce(debouncedTrigger,32);
- }
-
function startPageInfoMonitor() {
function setListener(type,func) {
}
}
+ functio... | 5 |
diff --git a/engine/components/physics/crash/CrashComponent.js b/engine/components/physics/crash/CrashComponent.js @@ -41,24 +41,29 @@ var PhysicsComponent = IgeEventingClass.extend({
var type = body.fixtures[0].shape.type;
// console.log(body.fixtures[0].shape.type);
// console.log(entity, body);
-
+ var crashBody;
va... | 13 |
diff --git a/phpcs.xml b/phpcs.xml <!-- Check for cross-version support for PHP 5.6 and higher. -->
<config name="testVersion" value="5.6-"/>
+ <config name="minimum_supported_wp_version" value="4.7"/>
<rule ref="PHPCompatibility" />
</ruleset>
| 12 |
diff --git a/nin/dasBoot/PathController.js b/nin/dasBoot/PathController.js @@ -116,6 +116,9 @@ PathController.prototype.get3Dpoint = function(frame) {
var current = this.getCurrentPath(frame);
var duration = current.endFrame - current.startFrame;
var t = (frame - current.startFrame) / duration;
+ if (t < 0) {
+ t = 0;
... | 11 |
diff --git a/src/server/routes/apiv3/bookmarks.js b/src/server/routes/apiv3/bookmarks.js @@ -4,6 +4,7 @@ const logger = loggerFactory('growi:routes:apiv3:bookmarks'); // eslint-disable-
const express = require('express');
const { body, query, param } = require('express-validator');
+const { serializeUserSecurely } = re... | 14 |
diff --git a/types/inferschematype.d.ts b/types/inferschematype.d.ts -import { Schema, InferSchemaType, SchemaType, SchemaTypeOptions, TypeKeyBaseType, Types, NumberSchemaDefinition, StringSchemaDefinition, BooleanSchemaDefinition, DateSchemaDefinition } from 'mongoose';
+import {
+ Schema,
+ InferSchemaType,
+ SchemaT... | 1 |
diff --git a/character-controller.js b/character-controller.js @@ -236,6 +236,11 @@ class StatePlayer extends PlayerBase {
if (!cancelFn.isLive()) return;
this.avatar = nextAvatar;
+ this.dispatchEvent({
+ type: 'avatarchange',
+ app,
+ });
+
const avatarHeight = this.avatar.height;
const heightFactor = 1.6;
const cont... | 0 |
diff --git a/src/components/Card/ShareOptions.js b/src/components/Card/ShareOptions.js // @flow
import React from "react"
+import { useLocation } from "react-router";
+
import URLs from "common/urls";
+import { getParams, getParamValueFor } from "common/utils";
+
+
+const ShareOptions = ({ subject, label }) => {
+ cons... | 7 |
diff --git a/src/article/models/modelConstants.js b/src/article/models/modelConstants.js // annotations that are simple annotations
-export const RICH_TEXT_ANNOS = ['bold', 'italic', 'small-caps', 'superscript', 'subscript']
+export const RICH_TEXT_ANNOS = ['bold', 'italic', 'superscript', 'subscript']
-export const EX... | 5 |
diff --git a/assets/src/edit-story/components/library/panes/media/common/paginatedMediaGallery.js b/assets/src/edit-story/components/library/panes/media/common/paginatedMediaGallery.js @@ -45,6 +45,7 @@ import {
MediaGalleryMessage,
} from '../common/styles';
import { ReactComponent as UnsplashLogoFull } from '../../..... | 4 |
diff --git a/packages/cli/src/utils/runWithTruffle.js b/packages/cli/src/utils/runWithTruffle.js @@ -14,7 +14,9 @@ export default async function runWithTruffle(script, options) {
config.network = network
Contracts.setSyncTimeout((_.isNil(timeout) ? DEFAULT_TIMEOUT : timeout) * 1000)
if (options.compile) await Truffle.c... | 0 |
diff --git a/embark-ui/src/components/Blocks.js b/embark-ui/src/components/Blocks.js @@ -17,7 +17,7 @@ const Blocks = ({blocks, showLoadMore, loadMore}) => (
{blocks.map(block => (
<div className="explorer-row" key={block.number}>
<CardTitleIdenticon id={block.hash}>Block
- <Link className="align-top" to={`/embar... | 2 |
diff --git a/app/templates/_package.json b/app/templates/_package.json "require-dir": "^1.0.0",
<% if (client === "ng1") { %>
"angular-mocks": "^1.6.10",
+ "gulp-angular-embed-templates": "^2.3.0",
+ "gulp-nginclude": "^0.4.8",
<% } %>
"gulp-babel": "^7.0.1",
"gulp-concat": "^2.4.3",
"gulp-typescript": "~4.0.2",
"gulp-... | 5 |
diff --git a/test/RewardsIntegrationTests.js b/test/RewardsIntegrationTests.js @@ -357,15 +357,45 @@ contract('Rewards Integration Tests', async accounts => {
await synthetix.mint({ from: owner });
// Only Account 1 claims rewards
- // await logFeesByPeriod(account1);
const rewardsAmount = third(periodOneMintableSupply... | 3 |
diff --git a/Readme.md b/Readme.md @@ -46,14 +46,3 @@ Before doing this be sure you ran the script to build gooni:
```
GOONI_DIR=/path/to/gooni ./scripts/build-binaries.sh
```
-
-### Troubleshooting
-
-You may encounter (particularly in the results page) errors related to the
-`sqlite3` module not being found. If that ... | 2 |
diff --git a/test/Integration/http2-test.js b/test/Integration/http2-test.js @@ -3,7 +3,7 @@ const Lab = require('@hapi/lab');
const Helper = require('../helper.js');
const Validate = require('../../lib/validate.js');
const Http2 = require('http2');
-const Fs = require('fs/promises');
+const Fs = require('fs').promises... | 1 |
diff --git a/src/Model/helpers.js b/src/Model/helpers.js @@ -27,13 +27,14 @@ export async function fetchChildren(model: Model): Promise<Model[]> {
const childrenKeys = Object.keys(associations).filter(key => associations[key].type === 'has_many')
const promises = childrenKeys.map(async key => {
- let children = await m... | 7 |
diff --git a/automod/triggers.go b/automod/triggers.go @@ -668,7 +668,7 @@ func (s *SlowmodeTrigger) Description() string {
return "Triggers when a user has x attachments within y seconds in a single channel"
}
if s.Links {
- return "Triggers when a channel has x links within y seconds"
+ return "Triggers when a user h... | 1 |
diff --git a/articles/api/authentication/_userinfo.md b/articles/api/authentication/_userinfo.md @@ -91,18 +91,14 @@ This endpoint will work only if `openid` was granted as a scope for the `access_
### Remarks
- The sample auth0.js script uses the library version 8. If you are using auth0.js version 7, please see this ... | 0 |
diff --git a/examples/loadtest/client.js b/examples/loadtest/client.js @@ -19,14 +19,12 @@ let broker = new ServiceBroker({
console.log("Client started. nodeID:", broker.nodeID, " PID:", process.pid);
function work() {
- const p = Promise.all(times(100, () => {
let payload = { a: random(0, 100), b: random(0, 100) };
- ... | 3 |
diff --git a/src/libs/actions/User.js b/src/libs/actions/User.js @@ -267,7 +267,8 @@ function triggerNotifications(onyxUpdates) {
const reportAction = _.chain(update.value)
.values()
.compact()
- .first()
+ .sort((actionA, actionB) => moment(actionA).unix() - moment(actionB).unix())
+ .last() // We want to notify for t... | 4 |
diff --git a/src/og/control/Sun.js b/src/og/control/Sun.js @@ -10,7 +10,6 @@ import { LightSource } from "../light/LightSource.js";
import { Quat } from "../math/Quat.js";
import { Vec3 } from "../math/Vec3.js";
-const ACTIVATION_HEIGHT = 12079000.0;
/**
* Real Sun geocentric position control that place the Sun on the ... | 11 |
diff --git a/src/background/app.js b/src/background/app.js @@ -186,10 +186,13 @@ const commands = {
});
},
SetClipboard: setClipboard,
- TabOpen(data) {
+ TabOpen(data, src) {
+ const srcTab = src.tab || {};
return browser.tabs.create({
url: data.url,
active: data.active,
+ windowId: srcTab.windowId,
+ index: srcTab.in... | 1 |
diff --git a/test/jasmine/tests/heatmap_test.js b/test/jasmine/tests/heatmap_test.js @@ -589,4 +589,38 @@ describe('heatmap hover', function() {
});
});
+ describe('for xyz-column traces', function() {
+
+ beforeAll(function(done) {
+ gd = createGraphDiv();
+
+ Plotly.plot(gd, [{
+ type: 'heatmap',
+ x: [1, 2, 3],
+ y:... | 0 |
diff --git a/generators/client/templates/react/src/main/webapp/app/modules/administration/user-management/user-management.tsx.ejs b/generators/client/templates/react/src/main/webapp/app/modules/administration/user-management/user-management.tsx.ejs @@ -132,11 +132,11 @@ export class UserManagement extends React.Compone... | 2 |
diff --git a/contribs/gmf/src/datasource/ExternalDataSourcesManager.js b/contribs/gmf/src/datasource/ExternalDataSourcesManager.js @@ -322,6 +322,8 @@ const exports = class {
const id = exports.getId(layer);
const service = capabilities['Service'];
+ url = url !== undefined ? url : service['OnlineResource'];
+
let data... | 4 |
diff --git a/src/js/wallet/card.deposit.controller.js b/src/js/wallet/card.deposit.controller.js max: Number(response.max)
};
}).catch(function (response) {
- notificationService.error(response.message);
+ remotePartyErrorHandler('get limits', response);
});
updateReceiveAmount();
}
+ function remotePartyErrorHandler(o... | 7 |
diff --git a/src/core/operations/DNSOverHTTPS.mjs b/src/core/operations/DNSOverHTTPS.mjs @@ -51,11 +51,27 @@ class DNSOverHTTPS extends Operation {
value: [
"A",
"AAAA",
- "TXT",
- "MX",
+ "ANAME",
+ "CERT",
+ "CNAME",
"DNSKEY",
+ "HTTPS",
+ "IPSECKEY",
+ "LOC",
+ "MX",
"NS",
- "PTR"
+ "OPENPGPKEY",
+ "PTR",
+ "RRSIG",... | 0 |
diff --git a/webpack.config.js b/webpack.config.js @@ -187,30 +187,6 @@ module.exports = ( env, argv ) => {
extractComments: false,
} ),
],
- splitChunks: {
- cacheGroups: {
- default: false,
- vendors: false,
-
- // vendor chunk
- vendor: {
- name: 'vendor',
- chunks: 'all',
- test: /node_modules/,
- priority: 20,
- }... | 2 |
diff --git a/www/views/advancedSettings.html b/www/views/advancedSettings.html <span class="toggle-label" translate>Play Sounds</span>
</ion-toggle>
<div class="comment" translate>
- If enabled, sounds will be played whenever you send, recieve, change representative, or unlock your wallet.
+ If enabled, sounds will be ... | 1 |
diff --git a/modules/xerte/parent_templates/Nottingham/models_html5/QRcode.html b/modules/xerte/parent_templates/Nottingham/models_html5/QRcode.html this.init = function() {
// Load in the required scripts before we can begin
// Uses new loadjs
- loadjs([x_templateLocation + 'common_html5/js/qrcode/qrcode.min.js'], {
+... | 1 |
diff --git a/src/sockets/sockets.ts b/src/sockets/sockets.ts @@ -2817,7 +2817,7 @@ function joinGame(roomId) {
// if the room has not started yet, throw them into the room
// console.log("Game status is: " + rooms[roomId].getStatus());
- if (rooms[roomId].getStatus() === 'Waiting') {
+ if (rooms[roomId].getStatus() ===... | 1 |
diff --git a/pages/docs/reference/java-interop.md b/pages/docs/reference/java-interop.md @@ -161,12 +161,12 @@ Some non-primitive built-in classes are also mapped:
Java's boxed primitive types are mapped to nullable Kotlin types:
| **Java type** | **Kotlin type** |
-|---------------------|------------------|
+|--------... | 14 |
diff --git a/app/assets/src/components/views/nextclade/NextcladeModal.jsx b/app/assets/src/components/views/nextclade/NextcladeModal.jsx @@ -115,30 +115,14 @@ export default class NextcladeModal extends React.Component {
};
handleFileUpload = async file => {
- const fileContents = await this.readUploadedFile(file);
+ /... | 14 |
diff --git a/src/components/SearchFilter.js b/src/components/SearchFilter.js import React, { Component } from 'react';
import { connect } from 'react-redux';
-import { mapValues, xor } from 'lodash';
+import { mapValues, size, xor } from 'lodash';
import { endpoint } from '../api';
import filters from '../filters';
@@ ... | 12 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.