code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/config/Doxyfile b/config/Doxyfile @@ -1049,7 +1049,7 @@ GENERATE_HTML = YES
# The default directory is: html.
# This tag requires that the tag GENERATE_HTML is set to YES.
-HTML_OUTPUT = html
+HTML_OUTPUT =
# The HTML_FILE_EXTENSION tag can be used to specify the file extension for each
# generated HTML pa... | 2 |
diff --git a/.eslintrc b/.eslintrc "promise/always-return": 2,
"promise/catch-or-return": 2,
"promise/no-native": 0,
+ "jsx-a11y/label-has-for": [ 2, {
+ "components": [ "Label" ],
+ "required": {
+ "every": [ "nesting", "id" ]
+ },
+ "allowChildren": true
+ }],
+ "react/no-did-mount-set-state": "off",
"react/jsx-no-bi... | 11 |
diff --git a/src/lib/modules/blockchain_connector/provider.js b/src/lib/modules/blockchain_connector/provider.js @@ -44,7 +44,13 @@ class Provider {
// Moreover, Parity reject origins that are not urls so if you try to connect with Origin: "embark" it gives the following error:
// << Blocked connection to WebSockets se... | 1 |
diff --git a/src/components/general/settings/TabAi.jsx b/src/components/general/settings/TabAi.jsx @@ -10,8 +10,9 @@ import styles from './settings.module.css';
//
+const ApiTypes = [ 'NONE', 'AI21', 'GOOSEAI', 'OPENAI' ];
const DefaultSettings = {
- apiType: 'AI21',
+ apiType: ApiTypes[0],
apiKey: '',
};
const authent... | 0 |
diff --git a/.circleci/config.yml b/.circleci/config.yml @@ -72,12 +72,6 @@ jobs:
- run:
name: Clone test containers
command: git clone --depth 1 https://github.com/StackStorm/st2-docker ~/st2-docker
- - run:
- name: Update env variables for test containers
- command: |
- make -C ~/st2-docker env
- echo -e "ST2_USER=${... | 2 |
diff --git a/js/data/countries.js b/js/data/countries.js @@ -416,6 +416,12 @@ const countries = [
currency: 'EUR',
number: '978',
},
+ {
+ name: 'Eswatini',
+ dataName: 'ESWATINI',
+ currency: 'SZL',
+ number: '748',
+ },
{
name: 'Ethiopia',
dataName: 'ETHIOPIA',
@@ -1268,12 +1274,6 @@ const countries = [
currency: 'NO... | 10 |
diff --git a/src/sdk/conference/channel.js b/src/sdk/conference/channel.js @@ -96,6 +96,15 @@ export class ConferencePeerConnectionChannel extends EventDispatcher {
offerToReceiveAudio: false,
offerToReceiveVideo: false
};
+ if (typeof this._pc.addTransceiver === 'function') {
+ // |direction| seems not working on Safa... | 12 |
diff --git a/ethereum.js b/ethereum.js @@ -237,6 +237,40 @@ const discordOauthUrl = `https://discord.com/api/oauth2/authorize?client_id=6841
]);
console.log('ALL OK');
};
+ const checkMainFtApproved = async amt => {
+ const receipt0 = await contracts.main.FT.methods.allowance(address, FTProxyAddress).call();
+
+ if (re... | 0 |
diff --git a/assets/js/components/ReportError.js b/assets/js/components/ReportError.js * External dependencies
*/
import PropTypes from 'prop-types';
-import uniqueBy from 'lodash/uniqBy';
+import uniqWith from 'lodash/uniqWith';
/**
* WordPress dependencies
@@ -51,24 +51,7 @@ export default function ReportError( { mod... | 4 |
diff --git a/index.js b/index.js @@ -103,9 +103,10 @@ nativeBindings.nativeGl.onconstruct = (gl, canvas) => {
}
})();
if (windowSpec) {
- const [windowHandle, sharedFramebuffer, sharedColorTexture, sharedDepthStencilTexture, sharedMsFramebuffer, sharedMsColorTexture, sharedMsDepthStencilTexture] = windowSpec;
+ const [... | 12 |
diff --git a/data.js b/data.js // As per the README, the source should be a link to your unminified, raw, source. It can
// also be just the raw JS if it's small enough, an array of source files or a ZIP file.
// See examples below.
-module.exports = [{
+module.exports = [
+ {
+ name: "Wirup",
+ github: "razaibi/Wirup"... | 0 |
diff --git a/.eslintrc.js b/.eslintrc.js @@ -68,11 +68,6 @@ module.exports = {
{
files: 'src/functions-templates/**/*.js',
rules: {
- 'node/no-unsupported-features/es-syntax': 0,
- 'node/no-unsupported-features/es-builtins': 0,
- 'node/no-unsupported-features/node-builtins': 0,
- 'node/no-missing-require': 0,
- 'node/s... | 2 |
diff --git a/src/index.js b/src/index.js @@ -31,6 +31,7 @@ app.use(async (ctx, next) => {
});
// Log all requests
+/* istanbul ignore if */
if (process.env.LOG_REQUESTS) {
const logger = require('koa-pino-logger');
app.use(logger());
@@ -126,6 +127,7 @@ export const apolloServer = new ApolloServer({
? []
: [
{
+ /* ist... | 8 |
diff --git a/common/components/constants/LinkConstants.js b/common/components/constants/LinkConstants.js @@ -11,55 +11,55 @@ export type LinkSourceDisplayConfig = {|
+sourceTypeDisplayName: string,
+iconClass: string,
|};
-
+const httpWwwPrefix = '^http:s?\/\/w*\.?';
export const LinkDisplayConfigurationByUrl: $ReadOnl... | 7 |
diff --git a/admin-base/ui.apps/src/main/js/stateActions/addComponentToPath.js b/admin-base/ui.apps/src/main/js/stateActions/addComponentToPath.js @@ -88,6 +88,9 @@ export default function(me, target) {
// target path does not exist yet
me.getApi().insertNodeAt(target.pagePath+target.path, target.component, target.drop... | 9 |
diff --git a/README.md b/README.md @@ -11,7 +11,7 @@ accurately mirror your API. Requests can also store sample responses when saved
like name and description too so that all the information that a developer needs to use your API is available easily.
To know more about Postman Collections, visit the
-[collection docume... | 1 |
diff --git a/.travis.yml b/.travis.yml @@ -15,5 +15,8 @@ matrix:
include:
- env: RUN_TESTS=./test/bin/ci-travis-all.sh
- env: RUN_TESTS=./test/bin/ci-travis-short.sh
+before_script:
+ - export DISPLAY=:99.0
+ - sh -e /etc/init.d/xvfb start
script:
- $RUN_TESTS
| 12 |
diff --git a/lib/commands/set-default-argv.js b/lib/commands/set-default-argv.js @@ -128,7 +128,7 @@ module.exports = function(internals, isModule) {
internals.argv = deepExtend(internals.argv.argv, rc('db-migrate', {}));
internals.argv.rcconfig = internals.argv.config;
- internals.argv.config = _config;
+ internals.ar... | 11 |
diff --git a/generators/server/templates/src/test/java/package/web/rest/AccountResourceIT.java.ejs b/generators/server/templates/src/test/java/package/web/rest/AccountResourceIT.java.ejs @@ -512,7 +512,7 @@ public class AccountResourceIT <% if (databaseType === 'cassandra') { %>extends
@Transactional<% } %>
public void... | 1 |
diff --git a/src/plots/gl3d/scene.js b/src/plots/gl3d/scene.js @@ -355,8 +355,7 @@ function Scene(options, fullLayout) {
initializeGLPlot(this, camera, this.pixelRatio);
- // enable mouse listener which was disabled at camera init
- this.camera.mouseListener.enabled = true;
+ this.enableGLCameraMouseListener();
}
var p... | 0 |
diff --git a/src/mode/cam/client.js b/src/mode/cam/client.js });
camStock = new THREE.Mesh(geo, mat);
camStock.renderOrder = 2;
- SPACE.platform.add(camStock);
+ SPACE.world.add(camStock);
}
stock = settings.stock = {
x: csx,
camStock.position.z = csz / 2;
delta = csz - topZ;
} else if (camStock) {
- SPACE.platform.rem... | 3 |
diff --git a/packages/app/src/server/routes/apiv3/forgot-password.js b/packages/app/src/server/routes/apiv3/forgot-password.js @@ -34,7 +34,7 @@ module.exports = (crowi) => {
windowMs: 15 * 60 * 1000, // 15 minutes
max: 5, // limit each IP to 5 requests per windowMs
message:
- 'Too many requests sent from this IP, plea... | 7 |
diff --git a/packages/component-library/src/CivicStoryCard/CivicStoryFooter.js b/packages/component-library/src/CivicStoryCard/CivicStoryFooter.js @@ -50,16 +50,26 @@ export default class StoryFooter extends Component {
this.setState({ copied: true });
}
+ routeOrUndefined = () => {
+ const { slug } = this.props;
+ ret... | 3 |
diff --git a/public/javascripts/SVLabel/src/SVLabel/onboarding/Onboarding.js b/public/javascripts/SVLabel/src/SVLabel/onboarding/Onboarding.js @@ -617,7 +617,9 @@ function Onboarding(svl, actionStack, audioEffect, compass, form, handAnimation,
// Step 1: Show message to delete
var message = {
"message": 'Oops! Your lab... | 3 |
diff --git a/lib/assets/core/javascripts/cartodb3/components/form-components/editors/fill/input-color/assets-picker/upload-assets-tab.js b/lib/assets/core/javascripts/cartodb3/components/form-components/editors/fill/input-color/assets-picker/upload-assets-tab.js @@ -31,7 +31,7 @@ module.exports = CoreView.extend({
uplo... | 2 |
diff --git a/token-metadata/0x476c5E26a75bd202a9683ffD34359C0CC15be0fF/metadata.json b/token-metadata/0x476c5E26a75bd202a9683ffD34359C0CC15be0fF/metadata.json "symbol": "SRM",
"address": "0x476c5E26a75bd202a9683ffD34359C0CC15be0fF",
"decimals": 6,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
}... | 3 |
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml @@ -18,8 +18,8 @@ variables:
DO_LICENSING: 'false'
DO_PROVISIONING: 'false'
TEST_HARNESS_FILE: ${CI_PROJECT_DIR}/harness_facts_flat_${BIGIP_VERSION}.json
- BIGIP_VERSION: '14.1.0.6'
- BIGIP_BUILD: '0.0.9'
+ BIGIP_VERSION: ${DEFAULT_BIGIP_VERSION}
+ BIGIP_BUILD: ${DEFAULT_BIG... | 12 |
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md @@ -111,6 +111,8 @@ Items have a source field, and this source field should be filled in. There is a
| Alien Archive 4 | AA4 pg. x | AA4 pg. 123 |
| Adventure path books | AP #x pg. y | AP #3 pg. 58 |
| Starfinder Society | SFS #x-y pg. z | SFS #1-2 pg. 23 |
+| Starfinder ... | 3 |
diff --git a/packages/app/src/server/models/page.ts b/packages/app/src/server/models/page.ts @@ -349,14 +349,14 @@ export class PageQueryBuilder {
}
// add viewer condition to PageQueryBuilder instance
- async addViewerCondition(user, userGroups = null): Promise<PageQueryBuilder> {
+ async addViewerCondition(user, user... | 12 |
diff --git a/test/jasmine/tests/axes_test.js b/test/jasmine/tests/axes_test.js @@ -1449,6 +1449,38 @@ describe('Test axes', function() {
expect(ax._min).toEqual([{val: 0, pad: 0}]);
expect(ax._max).toEqual([{val: 6, pad: 15}]);
});
+
+ it('should return early if no data is given', function() {
+ ax = getDefaultAx();
+
... | 0 |
diff --git a/package.json b/package.json "bcrypt": "^5.0.0",
"blurhash": "^1.1.3",
"body-parser": "^1.19.0",
- "busboy": "^0.3.1",
"compression": "^1.7.4",
"cors": "^2.8.5",
"dotenv": "^8.2.0",
"moment": "^2.27.0",
"morgan": "^1.10.0",
"next": "^10.0.1",
- "p-queue": "^6.6.1",
"pg": "^8.3.3",
"prismjs": "^1.20.0",
"rea... | 2 |
diff --git a/test/jasmine/tests/splom_test.js b/test/jasmine/tests/splom_test.js @@ -1684,7 +1684,7 @@ describe('Test splom select:', function() {
.then(done, done.fail);
});
- it('@noCI @gl should redraw splom traces before scattergl trace (if any)', function(done) {
+ it('@gl should redraw splom traces before scatter... | 2 |
diff --git a/js/kiri-print.js b/js/kiri-print.js @@ -254,7 +254,7 @@ var gs_kiri_print = exports;
switch (mode) {
case 'CAM':
case 'FDM':
- scope.renderMoves(true, 0xdddddd);
+ scope.renderMoves(true, 0x888888);
break;
case 'LASER':
scope.renderMoves(false, 0x0088aa);
| 13 |
diff --git a/react/src/components/dropdown/SprkDropdown.js b/react/src/components/dropdown/SprkDropdown.js @@ -236,7 +236,7 @@ SprkDropdown.propTypes = {
/**
* Expects a space separated string
* of classes to be added to the
- * component.
+ * SprkDropdown component.
*/
additionalClasses: PropTypes.string,
/**
@@ -248,... | 7 |
diff --git a/assets/js/components/notifications/ThankWithGoogleSupporterWallNotification.js b/assets/js/components/notifications/ThankWithGoogleSupporterWallNotification.js * limitations under the License.
*/
-/**
- * External dependencies
- */
-import { useMount } from 'react-use';
-
/**
* WordPress dependencies
*/
im... | 4 |
diff --git a/src/js/easymde.js b/src/js/easymde.js @@ -2312,10 +2312,6 @@ EasyMDE.prototype.createSideBySide = function () {
preview = document.createElement('div');
preview.className = 'editor-preview-side';
- if (this.options.maxHeight !== false) {
- this.setPreviewMaxHeight();
- }
-
if (this.options.previewClass) {
... | 12 |
diff --git a/avatars/avatars.js b/avatars/avatars.js @@ -283,7 +283,7 @@ const loadPromise = (async () => {
].map(name => animations.find(a => a.name === name));
_normalizeAnimationDurations(crouchingBackwardAnimations, crouchingBackwardAnimations[0], 0.5);
animations.forEach(animation => {
- animation.direction = (() ... | 2 |
diff --git a/android/build.gradle b/android/build.gradle @@ -52,9 +52,6 @@ allprojects {
maven {
url "https://www.jitpack.io"
}
- maven {
- url ("https://dl.bintray.com/rudderstack/rudderstack")
- }
maven {
url "$rootDir/../node_modules/detox/Detox-android"
}
| 1 |
diff --git a/package.json b/package.json "babel-core": "6.13.2",
"babel-eslint": "6.1.2",
"babel-plugin-add-module-exports": "0.2.1",
- "babel-plugin-es6-promise": "1.0.0",
+ "babel-plugin-es6-promise": "1.1.1",
"babel-plugin-transform-object-assign": "6.8.0",
"babel-plugin-transform-proto-to-assign": "6.9.0",
"babel-p... | 3 |
diff --git a/src/content/energy-consumption/index.md b/src/content/energy-consumption/index.md @@ -6,7 +6,7 @@ lang: en
# Ethereum energy consumption {#introduction}
-Ethereum is a green blockchain. It uses a [proof-of-stake](/developers/docs/consensus-mechanisms/pos) consensus mechanism that can be run on low-powered ... | 14 |
diff --git a/guide/preparations/README.md b/guide/preparations/README.md @@ -14,10 +14,10 @@ If you're developing on macOS, you have a few options. You can go to [the Node.j
### Installing on Linux
-If you're developing on Linux, you may consult [this page](https://nodejs.org/en/download/package-manager/) to determine ... | 1 |
diff --git a/src/modules/ui/directives/transactionInfo/types/burn/burn-info.html b/src/modules/ui/directives/transactionInfo/types/burn/burn-info.html <div class="txinfo__value">{{::$ctrl.toRemainOnBalance.toTokens()}}</div>
</div>
<div class="txinfo__row" ng-if="$ctrl.isConfirm">
- <div class="txinfo__key" w-i18n="tra... | 13 |
diff --git a/src/components/dashboard/SendLinkSummary.js b/src/components/dashboard/SendLinkSummary.js @@ -119,10 +119,9 @@ const SendLinkSummary = ({ screenProps, styles }: AmountProps) => {
}
}, [setLoading, address, amount, reason, showDialog, showErrorDialog])
- const sendViaLink = useCallback(async () => {
+ const... | 9 |
diff --git a/src/lib/util.js b/src/lib/util.js @@ -1781,7 +1781,7 @@ const util = {
for (let i = 0, len = styleArr.length, s; i < len; i++) {
s = styleArr[i].trim();
if (!s) continue;
- if (/^(min-|max-)?width\s*:/.test(s)) {
+ if (/^(min-|max-)?width\s*:/.test(s) || /^(z-index|position)\s*:/.test(s)) {
top += s + ';';... | 3 |
diff --git a/loader.js b/loader.js @@ -5,6 +5,8 @@ var compiler = require('./lib/compiler');
var csscompiler = require('./lib/compiler/css');
var helpers = require('./lib/compiler/helpers');
var path = require('path');
+var fs = require('fs');
+var loaderPath = fs.realpathSync(__filename); // path.join(path.dirname(fs.... | 4 |
diff --git a/src/components/navigation/MobileContainer.js b/src/components/navigation/MobileContainer.js @@ -171,8 +171,9 @@ class MobileContainer extends Component {
menuOpen,
toggleMenu,
showNavLinks,
- flowLimitation
- } = this.props;
+ flowLimitation,
+ refreshBalance
+ } = this.props
return (
<Container className=... | 9 |
diff --git a/public/javascripts/SVLabel/src/SVLabel/onboarding/OnboardingStates.js b/public/javascripts/SVLabel/src/SVLabel/onboarding/OnboardingStates.js @@ -32,7 +32,7 @@ function OnboardingStates (compass, mapService, statusModel, tracker) {
statusModel.setProgressBar(completedRate);
tracker.push('Onboarding_Transit... | 3 |
diff --git a/packages/fether-react/src/Tokens/Tokens.js b/packages/fether-react/src/Tokens/Tokens.js @@ -17,6 +17,10 @@ import TokensList from './TokensList';
defaultAccount: defaultAccount$
})
class Tokens extends PureComponent {
+ handleGoToSettings = () => {
+ this.props.history.push('/settings');
+ };
+
render () {... | 14 |
diff --git a/local_modules/SendFundsTab/Views/SendFundsView_Base.web.js b/local_modules/SendFundsTab/Views/SendFundsView_Base.web.js @@ -265,12 +265,6 @@ class SendFundsView extends View
const div = pkg.containerLayer
div.style.paddingTop = "2px"
const labelLayer = pkg.labelLayer
- {
- const tooltipText = `Ring size va... | 2 |
diff --git a/source/swap/test/Swap-unit.js b/source/swap/test/Swap-unit.js @@ -144,12 +144,12 @@ contract('Swap Unit Tests', async accounts => {
.transferTokens(EMPTY_ADDRESS, EMPTY_ADDRESS, 0, 0, EMPTY_ADDRESS)
.encodeABI()
- const registry_getTransferHandler = transferHandlerRegistryTemplate.contract.methods
- .getTr... | 2 |
diff --git a/android/src/main/java/com/RNFetchBlob/Response/RNFetchBlobFileResp.java b/android/src/main/java/com/RNFetchBlob/Response/RNFetchBlobFileResp.java @@ -81,7 +81,6 @@ public class RNFetchBlobFileResp extends ResponseBody {
byte[] bytes = new byte[(int) byteCount];
long read = originalBody.byteStream().read(by... | 2 |
diff --git a/packages/idyll-document/src/index.js b/packages/idyll-document/src/index.js @@ -209,6 +209,8 @@ class IdyllDocument extends React.PureComponent {
const wrapTargets = findWrapTargets(schema, this.state);
+ let refCounter = 0;
+
const transformedSchema = mapTree(
schema,
node => {
@@ -216,7 +218,7 @@ class I... | 4 |
diff --git a/site/rabbit.ent b/site/rabbit.ent @@ -15,7 +15,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
-<!ENTITY version-java-client "5.7.1">
+<!ENTITY version-java-client "5.7.2">
<... | 12 |
diff --git a/src/CharacterHups.module.css b/src/CharacterHups.module.css z-index: 1;
}
.character-hups > .character-hup {
-
+ transition: transform 3s cubic-bezier(0, 1, 0, 1);
+}
+.character-hups > .character-hup:not(.open) {
+ transform: translateX(-100%);
+ /* transition: transform 1s ease-out; */
+}
+.character-hup... | 0 |
diff --git a/src/pages/AddBankAccountPage.js b/src/pages/AddBankAccountPage.js @@ -3,7 +3,6 @@ import React from 'react';
import {
ActivityIndicator,
View,
- Button,
Text,
TextInput,
} from 'react-native';
@@ -26,6 +25,7 @@ import styles from '../styles/styles';
import canFocusInputOnScreenFocus from '../libs/canFocusI... | 4 |
diff --git a/client/src/containers/FlightDirector/Triggers/components/actions/index.js b/client/src/containers/FlightDirector/Triggers/components/actions/index.js @@ -3,5 +3,5 @@ export { default as playSound } from "./playSound";
export { default as breakSystem } from "./breakSystem";
export { default as fixSystem } f... | 1 |
diff --git a/articles/connections/enterprise/azure-active-directory/v2/index.md b/articles/connections/enterprise/azure-active-directory/v2/index.md @@ -23,12 +23,23 @@ There are different scenarios in which you might want to integrate with Microsof
* You want to let users coming from other companies' Azure ADs into yo... | 0 |
diff --git a/webaverse.js b/webaverse.js @@ -348,10 +348,12 @@ export default class Webaverse extends EventTarget {
}
window.addEventListener('keydown', e => {
- if (e.which === 80) { // P
+ if (e.which === 219) { // [
const localPlayer = metaversefileApi.useLocalPlayer();
if (localPlayer.avatar) {
const audioUrl = '/s... | 0 |
diff --git a/docker-compose.yml b/docker-compose.yml @@ -26,6 +26,7 @@ services:
command: yarn start
volumes:
- webpack_cache:/webpack-cache
+ - ./packages/openneuro-app/src:/srv/packages/openneuro-app/src
ports:
- '8145:8145'
@@ -36,7 +37,7 @@ services:
working_dir: /srv/packages/openneuro-server
command: node src/ind... | 12 |
diff --git a/src/patterns/components/awards/primary.hbs b/src/patterns/components/awards/primary.hbs @@ -28,13 +28,14 @@ hasAngularCodeInfo: true
<div class="sprk-o-Stack__item" data-sprk-toggle="container">
<a class="sprk-b-TypeBodyThree sprk-b-Link sprk-b-Link--standalone" data-sprk-toggle="trigger" href="#">
- <svg ... | 3 |
diff --git a/addon/server.js b/addon/server.js @@ -149,7 +149,7 @@ export default class Server {
'You cannot modify Mirage\'s environment once the server is created');
this.environment = config.environment || 'development';
- this.options = config;
+ this._options = config;
this.timing = this.timing || config.timing ||... | 10 |
diff --git a/packages/@uppy/screen-capture/types/index.d.ts b/packages/@uppy/screen-capture/types/index.d.ts -import type { PluginOptions, UIPlugin } from '@uppy/core'
+import type { PluginOptions, UIPlugin, PluginTarget } from '@uppy/core'
// https://developer.mozilla.org/en-US/docs/Web/API/MediaTrackConstraints#Prope... | 0 |
diff --git a/articles/support/matrix.md b/articles/support/matrix.md @@ -257,6 +257,25 @@ Auth0 support is limited to the most recent version of the OS listed (unless oth
</tbody>
</table>
+ ### Auth0 Analytics
+
+ <table class="table">
+ <thead>
+ <tr>
+ <th width="25%">Library</th>
+ <th width="55%">Version</th>
+ <t... | 0 |
diff --git a/packages/node_modules/@node-red/editor-client/src/js/nodes.js b/packages/node_modules/@node-red/editor-client/src/js/nodes.js @@ -1109,7 +1109,7 @@ RED.nodes = (function() {
defaults: {},
label: "unknown: "+n.type,
labelStyle: "red-ui-flow-node-label-italic",
- outputs: n.outputs||n.wires.length,
+ outputs... | 9 |
diff --git a/edit.js b/edit.js @@ -1160,14 +1160,22 @@ window.addEventListener('dragend', e => {
document.getElementById('inventory-drop-zone').addEventListener('drop', async e => {
e.preventDefault();
- if (e.dataTransfer.items.length > 0) {
- const [item] = e.dataTransfer.items;
+ const jsonItem = Array.from(e.dataTr... | 0 |
diff --git a/tests/phpunit/integration/Core/Authentication/AuthenticationTest.php b/tests/phpunit/integration/Core/Authentication/AuthenticationTest.php @@ -919,11 +919,6 @@ class AuthenticationTest extends TestCase {
$this->assertFalse( apply_filters( 'googlesitekit_is_feature_enabled', false, 'test.featureOne' ) );
$... | 2 |
diff --git a/OurUmbraco.Site/Views/Partials/Community/Home.cshtml b/OurUmbraco.Site/Views/Partials/Community/Home.cshtml @@ -150,15 +150,15 @@ else
<p>
<small class="github-repo-list">
Contributions to default branches for
- <a href="https://github.com/umbraco/Umbraco-CMS" target="_blank rel="noreferrer noopener" title... | 3 |
diff --git a/src/components/StoryCard/StoryCard.test.js b/src/components/StoryCard/StoryCard.test.js @@ -19,7 +19,6 @@ describe('StoryCard', () => {
expect(h2.text()).to.contain(title);
expect(h2.props().className).to.contain('Title');
- expect(h2.props().className).to.contain('FilsonSoft');
});
it('should include a St... | 3 |
diff --git a/src/utils/rpkiUtils.js b/src/utils/rpkiUtils.js @@ -15,7 +15,7 @@ export default class RpkiUtils {
const defaultMarkDataAsStaleAfterMinutes = 60;
- const providers = ["ntt", "ripe", "cloudflare", "rpkiclient", "external", "api"]; // First provider is the default one
+ const providers = ["rpkiclient", "ntt"... | 12 |
diff --git a/stories/utils/generate-widget-stories.js b/stories/utils/generate-widget-stories.js @@ -142,8 +142,10 @@ export function generateReportBasedWidgetStories( {
data: {},
};
if ( Array.isArray( options ) ) {
- dispatch( datastore ).receiveError( error, 'getReport', [ options[ 0 ] ] );
- dispatch( datastore ).f... | 7 |
diff --git a/scripts/build-js.js b/scripts/build-js.js @@ -31,6 +31,7 @@ function es(cb) {
moduleName: 'Swiper',
useStrict: true,
sourceMap: false,
+ banner,
})
.on('error', (err) => {
if (cb) cb();
@@ -60,6 +61,7 @@ function umd(cb) {
moduleName: 'Swiper',
useStrict: true,
sourceMap: env === 'development',
+ banner,
}... | 1 |
diff --git a/data.js b/data.js @@ -260,6 +260,16 @@ module.exports = [{
url: "http://AtSpy.github.io",
source: "https://raw.githubusercontent.com/AtSpy/AtSpy/master/dist/atspy.js"
},
+ {
+ name: "Canary",
+ github: "Mapita/Canary",
+ tags: ["javascript", "test", "tests", "testing", "unit test", "unit tests", "unit test... | 0 |
diff --git a/generators/server/templates/src/main/java/package/config/_LoggingConfiguration.java b/generators/server/templates/src/main/java/package/config/_LoggingConfiguration.java @@ -95,7 +95,6 @@ public class LoggingConfiguration {
// Set the Logstash appender config from JHipster properties
logstashAppender.addDe... | 2 |
diff --git a/detox/src/ios/expectTwo.js b/detox/src/ios/expectTwo.js @@ -209,12 +209,12 @@ class InternalElement extends Element {
}
class By {
- id(byId) {
- return new Matcher().id(byId);
+ id(id) {
+ return new Matcher().id(id);
}
- type(byType) {
- return new Matcher().type(byType);
+ type(type) {
+ return new Matc... | 10 |
diff --git a/plugins-bitcoincom/cordova-plugin-qrreader/readme.md b/plugins-bitcoincom/cordova-plugin-qrreader/readme.md @@ -21,3 +21,6 @@ Contents presented here for your convenience:
compile 'com.google.android.gms:play-services-vision:11.8.0'
}
+
+ 6. `npm run start:android` Scanning should work now.
+
| 3 |
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb </div>
<% end %>
+ <% if !current_user.has_feature_flag?('new-dashboard-feature') %>
<%= render 'admin/shared/trial_notification' %>
+ <% end %>
<% else %>
<%= render 'admin/shared/vis_header' %>
<% end %>
| 2 |
diff --git a/public/app/js/cbus-audio.js b/public/app/js/cbus-audio.js @@ -2,11 +2,12 @@ cbus.audio = {
DEFAULT_JUMP_AMOUNT_BACKWARD: -10,
DEFAULT_JUMP_AMOUNT_FORWARD: 30,
- PLAYBACK_RATE_MIN = 0.5,
+ PLAYBACK_RATE_MIN: 0.5,
PLAYBACK_RATE_MAX: 4,
element: null,
videoCanvasAnimationFrameID: null,
+ state: {},
tryRestore... | 1 |
diff --git a/aleph/logic/bulk/query.py b/aleph/logic/bulk/query.py @@ -178,7 +178,7 @@ class CSVQuery(Query):
if res.encoding is None:
res.encoding = 'utf-8'
- for row in DictReader(res.iter_lines(decode_unicode=True)):
+ for row in DictReader(res.iter_lines()):
yield row
def check_filters(self, data):
| 9 |
diff --git a/packages/app/src/components/Admin/ImportData/ImportDataPageContents.jsx b/packages/app/src/components/Admin/ImportData/ImportDataPageContents.jsx -import React, { Fragment } from 'react';
-import { withTranslation } from 'react-i18next';
+import React from 'react';
+
import PropTypes from 'prop-types';
+im... | 14 |
diff --git a/addon/-private/system/store.js b/addon/-private/system/store.js @@ -213,7 +213,7 @@ Store = Service.extend({
this._identityMap = new IdentityMap();
this._pendingSave = [];
this._instanceCache = new ContainerInstanceCache(getOwner(this), this);
- this._modelClassCache = new EmptyObject();
+ this._modelFacto... | 7 |
diff --git a/parsers/israel.py b/parsers/israel.py @@ -38,6 +38,6 @@ def parse():
for row in rdr:
date_str = datetime.strptime(row[0], r"%d/%m/%Y").strftime(r"%Y-%m-%d")
num_cases = to_int(row[1])
- il_data["Israel"].append([date_str, num_cases, None, None, None, None, None])
+ il_data["Israel"].append([date_str, num_c... | 1 |
diff --git a/react/src/components/dividers/SprkDivider.js b/react/src/components/dividers/SprkDivider.js @@ -16,11 +16,11 @@ SprkDivider.defaultProps = {
SprkDivider.propTypes = {
/**
- * The type of element that will be rendered.
+ * Determines if link renders as a `<span>` or `<hr>`.
*/
element: PropTypes.oneOf(['spa... | 7 |
diff --git a/generators/entity/templates/client/angularjs/src/main/webapp/app/entities/_entity-management.controller.js b/generators/entity/templates/client/angularjs/src/main/webapp/app/entities/_entity-management.controller.js .module('<%=angularAppName%>')
.controller('<%= entityAngularJSName %>Controller', <%= enti... | 2 |
diff --git a/contribs/gmf/src/controllers/AbstractAPIController.js b/contribs/gmf/src/controllers/AbstractAPIController.js @@ -81,13 +81,23 @@ export class AbstractAPIController extends AbstractAppController {
})
});
map.addInteraction(new olInteractionDragPan({
- condition: noModifierKeys
+ condition: dragPanCondition... | 11 |
diff --git a/README.md b/README.md @@ -23,3 +23,10 @@ http://localhost:8090/test.webm
Surpress CORS error of Chrome
`$ open -a Google\ Chrome --args --disable-web-security --user-data-dir`
+
+Command line tool:
+
+```
+cd darknet-CLI
+$ node darknet-video --mode video --in ./data/videos/video1.MP4 --out ./detections/
+... | 3 |
diff --git a/userscript.user.js b/userscript.user.js @@ -11744,9 +11744,8 @@ var $$IMU_EXPORT$$;
while ((currentel = currentel.parentElement)) {
var id = currentel.getAttribute("id");
- if (!id)
- continue;
+ if (id) {
var match = id.match(/^photoset_([0-9]+)$/);
if (match) {
return match[1];
@@ -11757,6 +11756,15 @@ v... | 7 |
diff --git a/css/style.css b/css/style.css @@ -318,7 +318,8 @@ h1, h2, h3, h4, h5, h6 {
margin-bottom: auto;
color: var(--apppimage);
box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
- background-color: #26282b;
+ /* because of this it is of black color now it will inherit the body color... | 1 |
diff --git a/userscript.user.js b/userscript.user.js @@ -92617,8 +92617,10 @@ var $$IMU_EXPORT$$;
}
});
- var options_el = document.getElementById("options");
- options_el.textContent = "";
+ var options_el_real = document.getElementById("options");
+ options_el_real.textContent = "";
+
+ var options_el = document.crea... | 4 |
diff --git a/Source/Scene/ModelExperimental/ModelAlphaOptions.js b/Source/Scene/ModelExperimental/ModelAlphaOptions.js -import AlphaMode from "../AlphaMode.js";
-
/**
* Options for configuring the {@link AlphaPipelineStage}
*
@@ -22,7 +20,7 @@ export default function ModelAlphaOptions() {
* @type {AlphaMode}
* @private... | 12 |
diff --git a/services/datasources/spec/unit/twitter_spec.rb b/services/datasources/spec/unit/twitter_spec.rb @@ -141,7 +141,7 @@ describe Search::Twitter do
}.to raise_error ParameterError
- current_time = Time.now
+ current_time = Time.now.utc
output = twitter_datasource.send :build_date_from_fields, {
dates: {
toDate... | 12 |
diff --git a/packages/insomnia-app/app/ui/components/codemirror/code-editor.js b/packages/insomnia-app/app/ui/components/codemirror/code-editor.js @@ -298,14 +298,12 @@ class CodeEditor extends React.Component {
this.codeMirror.setCursor({ line: -1, ch: -1 });
- if (!this.codeMirror.getOption('indentWithTabs')) {
this.... | 2 |
diff --git a/src/components/Link.tsx b/src/components/Link.tsx @@ -9,6 +9,7 @@ import { BsQuestionSquareFill } from "react-icons/bs"
import { Lang } from "../utils/languages"
import { trackCustomEvent, EventOptions } from "../utils/matomo"
+import { Direction } from "../types"
const HASH_PATTERN = /^#.*/
@@ -22,11 +23,... | 13 |
diff --git a/src/resources/frames.json b/src/resources/frames.json "shield": "100/300",
"armor": "125",
"power": "150/225",
- "speed": "115",
- "polarities": ["2x <:madurai:319586146499690496>"],
+ "speed": "1.15",
+ "polarities": ["<:madurai:319586146499690496>", "<:madurai:319586146499690496>"],
"aura": "<:vazarin:31... | 3 |
diff --git a/Awesome-Design-Plugins.md b/Awesome-Design-Plugins.md @@ -205,13 +205,13 @@ If you found some great design tool or plugin, just send a Pull Request with res
</article>
-<div class="hidden-in-page">
+<!-- <div class="hidden-in-page">
<p align="center">
<a href="http://bit.ly/2ZwUoEq">
<img src="https://gith... | 2 |
diff --git a/packages/rekit-core/core/vio.js b/packages/rekit-core/core/vio.js @@ -69,6 +69,7 @@ function getContent(filePath) {
}
function getAst(filePath) {
+ if (_.startsWith(utils.getRelativePath(filePath), 'src/libs/')) return null; // ignore libs folder to parse
if (!asts[filePath]) {
const code = getLines(filePa... | 8 |
diff --git a/.travis.yml b/.travis.yml @@ -25,9 +25,9 @@ addons:
before_script:
# install NATS server
- - wget https://github.com/nats-io/gnatsd/releases/download/v1.3.0/gnatsd-v1.3.0-linux-amd64.zip -qO gnatsd.zip
- - unzip gnatsd.zip
- - ./gnatsd-v1.3.0-linux-amd64/gnatsd &
+ - wget https://github.com/nats-io/nats-se... | 3 |
diff --git a/server/src/bootstrap/client-server.js b/server/src/bootstrap/client-server.js @@ -16,9 +16,9 @@ export default function(port = 3000) {
server.get("*", function(request, response) {
response.sendFile(`${assetPath}/index.html`, function(err) {
if (err) {
- console.log("THIS IS AN ERROR!");
- console.log(err)... | 2 |
diff --git a/packages/node_modules/@node-red/nodes/core/logic/10-switch.html b/packages/node_modules/@node-red/nodes/core/logic/10-switch.html var numValueField = null;
var expValueField = null;
var btwnAndLabel = null;
+ var btwnValueField = null;
var btwnValue2Field = null;
var typeValueField = null;
var caseSensitiv... | 1 |
diff --git a/character-controller.js b/character-controller.js @@ -1278,7 +1278,6 @@ class RemotePlayer extends InterpolatedPlayer {
}
let lastTimestamp = performance.now();
- let lastPosition = new THREE.Vector3();
const observePlayerFn = (e) => {
if(e.changes.keys.has('avatar')) {
@@ -1319,16 +1318,15 @@ class Remote... | 1 |
diff --git a/guides/NPM_PACKAGE.md b/guides/NPM_PACKAGE.md @@ -41,12 +41,12 @@ v13.x
```sh
# locales
$ ls -A1 node_modules/node-i18n/content/v10.x
-af-ZA
ar-SA
bg-BG
-ca-ES
cs-CZ
da-DK
+de-DE
+el-GR
...
```
@@ -70,10 +70,10 @@ const { allPages, getPages, locales, supportedVersions } = require('node-i18n')
An array of p... | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.