code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/resources/lyrics/musixmatch.html b/resources/lyrics/musixmatch.html var id = jsonResponse["message"]["body"]["macro_calls"]["matcher.track.get"]["message"]["body"]["track"]["track_id"];
try{
lrcfile = jsonResponse["message"]["body"]["macro_calls"]["track.subtitles.get"]["message"]["body"]["subtitle_list"][... | 7 |
diff --git a/package.json b/package.json {
"name": "prettier-atom",
"main": "./dist/main.js",
- "version": "0.56.4",
+ "version": "0.56.5",
"description": "Atom plugin for formatting JavaScript using prettier with (optional) prettier-eslint integration",
"keywords": [
"atom",
| 6 |
diff --git a/tests/phpunit/integration/Core/User_Input/User_InputTest.php b/tests/phpunit/integration/Core/User_Input/User_InputTest.php @@ -39,46 +39,6 @@ class User_InputTest extends TestCase {
*/
private $user_id;
- /**
- * Settings with empty default values.
- *
- * @var array|ArrayAccess
- */
- private static $emp... | 7 |
diff --git a/src/_layouts/default.html b/src/_layouts/default.html <!-- JQuery & Semantic UI -->
<script src="https://code.jquery.com/jquery-2.2.2.min.js" integrity="sha256-36cp2Co+/62rEAAYHLmRCPIych47CvdM+uTBJwSzWjI=" crossorigin="anonymous"></script>
<script src="{{ "/assets/semantic/dist/semantic.min.js" | prepend: ... | 2 |
diff --git a/core/util/runChromy.js b/core/util/runChromy.js @@ -147,7 +147,7 @@ function processScenarioView (scenario, variantOrScenarioLabelSafe, scenarioLabe
const engineScriptsPath = config.env.engine_scripts || config.env.casper_scripts || config.env.engine_scripts_default;
const isReference = config.isReference;... | 3 |
diff --git a/controllers/user.js b/controllers/user.js @@ -299,6 +299,9 @@ exports.getVerifyEmailToken = (req, res, next) => {
req.flash('error', { msg: 'There was an error when updating your profile. Please try again later.' });
return res.redirect('/account');
});
+ } else {
+ req.flash('errors', { msg: 'The verifica... | 9 |
diff --git a/src/gltf/accessor.js b/src/gltf/accessor.js @@ -39,12 +39,15 @@ class gltfAccessor extends GltfObject
const componentSize = this.getComponentSize(this.componentType);
let componentCount = this.getComponentCount(this.type);
+ let arrayLength = 0;
if(bufferView.byteStride !== 0)
{
- componentCount = bufferVi... | 4 |
diff --git a/admin-base/ui.apps/src/main/content/jcr_root/apps/admin/components/workspace/template.vue b/admin-base/ui.apps/src/main/content/jcr_root/apps/admin/components/workspace/template.vue <template>
- <div class="peregrine-workspace">
-
-
+ <div :class="`peregrine-workspace ${state.rightPanelVisible ? 'right-pan... | 11 |
diff --git a/src/widgets/CalendarWidget.js b/src/widgets/CalendarWidget.js @@ -80,7 +80,7 @@ export default class CalendarWidget extends InputWidget {
return false;
}
- attach(input, callbacks) {
+ attach(input) {
const superAttach = super.attach(input);
if (input && !input.getAttribute('placeholder')) {
input.setAttri... | 14 |
diff --git a/assets/js/modules/analytics/datastore/profiles.test.js b/assets/js/modules/analytics/datastore/profiles.test.js @@ -193,6 +193,7 @@ describe( 'modules/analytics profiles', () => {
} );
it( 'does not make a network request if profiles for this account + property are already present', async () => {
+ registr... | 12 |
diff --git a/src/technologies.json b/src/technologies.json "BookingKitApp": ""
},
"saas": true,
- "pricing": ["low", "mid", "recurring"],
+ "pricing": ["low", "recurring"],
"website": "https://bookingkit.net/"
},
"Booksy": {
"icon": "Rezdy.svg",
"scripts": "rezdy\\.\\w+/pluginJs",
"saas": true,
- "pricing": ["low", "mi... | 1 |
diff --git a/PostHeadersQuestionToc.user.js b/PostHeadersQuestionToc.user.js @@ -655,6 +655,13 @@ a.js-named-anchor {
color: inherit !important;
}
+/* Keep bottom margin for headings (broken by wrapping them inside an <a> element). */
+.s-prose a.js-named-anchor > h1,
+.s-prose a.js-named-anchor > h2,
+.s-prose a.js-na... | 1 |
diff --git a/src/structs/ScheduleRun.js b/src/structs/ScheduleRun.js @@ -402,10 +402,10 @@ class ScheduleRun extends EventEmitter {
const processing = []
const parallelBatches = config.advanced.parallelBatches
const spawn = batches.length <= parallelBatches ? batches.length : parallelBatches
- this.indices = this.batch... | 10 |
diff --git a/contracts/FeePool.sol b/contracts/FeePool.sol @@ -753,21 +753,21 @@ contract FeePool is Proxyable, SelfDestructible, LimitedSetup {
view
returns (bool)
{
- // Penalty is calculated from ratio % above the target ratio (issuanceRatio).
- // 0 < 10%: 0% reduction in fees
- // 10% > above: 100% reduction in fe... | 3 |
diff --git a/src/components/core/breakpoints/setBreakpoint.js b/src/components/core/breakpoints/setBreakpoint.js @@ -28,5 +28,6 @@ export default function () {
swiper.updateSlides();
swiper.slideTo(oldIndex + loopedSlides, 0, false);
}
+ swiper.emit('breakpoint', breakPointsParams);
}
}
| 0 |
diff --git a/src/components/general/map-gen/MapGen.jsx b/src/components/general/map-gen/MapGen.jsx import * as THREE from 'three';
import React, { useState, useEffect, useRef } from 'react';
import classnames from 'classnames';
+import metaversefile from 'metaversefile';
+const {useLocalPlayer} = metaversefile;
// impo... | 0 |
diff --git a/structs/ArticleMessage.js b/structs/ArticleMessage.js @@ -94,8 +94,8 @@ class ArticleMessage {
// Send the message, and repeat attempt if failed
const medium = this.webhook ? this.webhook : this.channel
try {
- if (!this.isTestMessage) return await medium.send(textContent, options)
- else {
+ await medium.... | 1 |
diff --git a/tools/pre-swap-checker/contracts/PreSwapChecker.sol b/tools/pre-swap-checker/contracts/PreSwapChecker.sol @@ -21,6 +21,7 @@ contract PreSwapChecker {
bytes constant internal DOM_NAME = "SWAP";
bytes constant internal DOM_VERSION = "2";
+ bytes4 constant internal ERC1155_INTERFACE_ID = ;
bytes4 constant int... | 12 |
diff --git a/README.md b/README.md |-|-|-|
|[](https://dev.azure.com/caolanmcmahon/async/_build/latest?definitionId=1&branchName=master) | [ {
+ if (Util.isArtistTrackEmpty({ artist, track })) {
({ artist, track } = this.splitArtistTrack(title));
}
+ if (Util.isArtistTrackEmpty({ art... | 7 |
diff --git a/docs/GettingStarted.md b/docs/GettingStarted.md @@ -70,7 +70,7 @@ To make your form component communicate with the store, we need to wrap it with
import React from 'react'
import { Field, reduxForm } from 'redux-form'
-const ContactForm = props => {
+let ContactForm = props => {
const { handleSubmit } = pr... | 14 |
diff --git a/config/redirects.js b/config/redirects.js @@ -322,6 +322,14 @@ module.exports = [
from: '/aol-clientid',
to: '/connections/social/aol'
},
+ {
+ from: '/connections/enterprise/azure-active-directory',
+ to: '/connections/enterprise/azure-active-directory/v2'
+ },
+ {
+ from: '/connections/enterprise/azure-a... | 0 |
diff --git a/Source/DataSources/GpxDataSource.js b/Source/DataSources/GpxDataSource.js @@ -787,7 +787,7 @@ define([
};
return person;
} else {
- return null;
+ return undefined;
}
}
/**
@@ -801,7 +801,7 @@ define([
var domain = queryStringValue(emailNode, 'domain', namespaces.gpx);
return id + '@' + domain;
} else {
- ... | 7 |
diff --git a/instancing.js b/instancing.js @@ -148,6 +148,7 @@ export class GeometryAllocator {
constructor(attributeSpecs, {
bufferSize,
boundingType = null,
+ occlusionCulling = false
}) {
{
this.geometry = new THREE.BufferGeometry();
@@ -179,16 +180,20 @@ export class GeometryAllocator {
this.appMatrix = new THREE.M... | 0 |
diff --git a/capture/engine_scripts/puppet/ignoreCSP.js b/capture/engine_scripts/puppet/ignoreCSP.js /**
* IGNORE CSP HEADERS
- * Pass in a request. If it matches scenario.url then fetch the request manually and return it without the CSP headers (if any).
+ * Listen to all requests.
+ * If a request matches scenario.ur... | 3 |
diff --git a/website/src/_data/authors.yml b/website/src/_data/authors.yml @@ -58,5 +58,3 @@ andrew:
name: 'Andrew Kachnic'
id: 'andrew'
tagline: 'Developer'
-
-
| 0 |
diff --git a/src/components/FilterHeader.js b/src/components/FilterHeader.js import React from "react";
-import { View, StyleSheet, StatusBar } from "react-native";
+import { Dimensions, View, StyleSheet, StatusBar } from "react-native";
import SafeAreaView from "react-native-safe-area-view";
import Text from "./Text";... | 0 |
diff --git a/OurUmbraco.Site/Views/Partials/Home/GitHubContributors.cshtml b/OurUmbraco.Site/Views/Partials/Home/GitHubContributors.cshtml <a href="@author.HtmlUrl" class="contributor" target="_blank" title="@author.Login">
<div class="avatar">
<img alt="@author.Login" src="@author.AvatarUrl&s=112" />
- <span class="co... | 3 |
diff --git a/README.md b/README.md @@ -299,6 +299,7 @@ TestCafe developers and community members made these plugins:
* [Slack](https://github.com/Shafied/testcafe-reporter-slack) (by [@Shafied](https://github.com/Shafied))
* [NUnit](https://github.com/AndreyBelym/testcafe-reporter-nunit) (by [@AndreyBelym](https://gith... | 0 |
diff --git a/core/jazz_ui/src/app/primary-components/tabs/tabs.component.ts b/core/jazz_ui/src/app/primary-components/tabs/tabs.component.ts @@ -21,8 +21,8 @@ export class TabsComponent implements OnInit {
@Output() onSelected:EventEmitter<boolean> = new EventEmitter<boolean>();
@Input() beforeEnv: boolean = true;
disa... | 13 |
diff --git a/articles/libraries/lock/v10/index.md b/articles/libraries/lock/v10/index.md @@ -69,16 +69,6 @@ var lock = new Auth0Lock(
'${account.clientId}',
'${account.namespace}'
);
-
-// Initializing Auth0LockPasswordless
-var passwordlessOptions = {
- oidcConformant: true
-};
-var lockPasswordless = new Auth0LockPas... | 3 |
diff --git a/.github/workflows/deployBlocker.yml b/.github/workflows/deployBlocker.yml @@ -21,7 +21,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.OS_BOTIFY_TOKEN }}
NEW_DEPLOY_BLOCKERS: ${{ github.event.issue.html_url }}
- - name: Update StagingDeployCash with issue
+ - name: Update StagingDeployCash with pull request
uses: Exp... | 10 |
diff --git a/token-metadata/0xB64ef51C888972c908CFacf59B47C1AfBC0Ab8aC/metadata.json b/token-metadata/0xB64ef51C888972c908CFacf59B47C1AfBC0Ab8aC/metadata.json "symbol": "STORJ",
"address": "0xB64ef51C888972c908CFacf59B47C1AfBC0Ab8aC",
"decimals": 8,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md @@ -212,7 +212,7 @@ The contents of the repository are structured as follows:
/examples/py # ...
/exchanges.cfg # custom bundle config for including only the exchanges you need
/package.json # npm package file, also used in setup.py for version single-sourcing
-/run-tests.... | 1 |
diff --git a/app/views/admin/index.scala.html b/app/views/admin/index.scala.html <td align="left"><div id = "surface-problem-slider" style="margin-top:3px"></div></td>
<td align="center"><span id="surface-problem-severity-label">All</span></td>
</tr>
+ <tr>
+ <td id="map-legend-other"></td>
+ <td>Other</td>
+ <td><inpu... | 5 |
diff --git a/src/pages/workspace/withFullPolicy.js b/src/pages/workspace/withFullPolicy.js @@ -9,6 +9,7 @@ import CONST from '../../CONST';
import getComponentDisplayName from '../../libs/getComponentDisplayName';
import * as Policy from '../../libs/actions/Policy';
import ONYXKEYS from '../../ONYXKEYS';
+import policy... | 4 |
diff --git a/DeletedUsersHelper.user.js b/DeletedUsersHelper.user.js // @description Additional capability and improvements to display/handle deleted users
// @homepage https://github.com/samliew/SO-mod-userscripts
// @author @samliew
-// @version 1.9
+// @version 1.9.1
//
// @include https://*stackoverflow.com/*
// @i... | 8 |
diff --git a/packages/bitcore-node/src/models/coin.ts b/packages/bitcore-node/src/models/coin.ts @@ -100,14 +100,17 @@ class CoinModel extends BaseModel<ICoin> {
async getBalanceAtTime(params: { query: any; time: string; chain: string; network: string }) {
let { query, time, chain, network } = params;
- const block = a... | 14 |
diff --git a/src/components/core/core-class.js b/src/components/core/core-class.js import $ from '../../utils/dom';
import Utils from '../../utils/utils';
+import Support from '../../utils/support';
+
import SwiperClass from '../../utils/class';
import defaults from './defaults';
@@ -9,7 +11,9 @@ import * as translate ... | 0 |
diff --git a/resources/provision/apigateway/inputmapping_formencoded.vtl b/resources/provision/apigateway/inputmapping_formencoded.vtl #set($countEquals = $kvPair.length() - $kvPair.replace("=", "").length())
#if ($countEquals == 1)
#set($kvTokenised = $kvPair.split("="))
- #if ($kvTokenised[0].length() > 0)
+ #if($kvT... | 9 |
diff --git a/world.js b/world.js @@ -11,7 +11,7 @@ import {pointers} from './web-monetization.js';
import {appManager, scene, scene3} from './app-object.js';
import {
storageHost,
- worldsHost,
+ // worldsHost,
tokensHost,
} from './constants.js';
import {makePromise, getRandomString} from './util.js';
| 2 |
diff --git a/packages/gatsby/lib/utils/babel-config.js b/packages/gatsby/lib/utils/babel-config.js @@ -21,6 +21,10 @@ import apiRunnerNode from "./api-runner-node"
*
*/
function resolvePlugin(pluginName, directory, type) {
+ // When a plugin is specified with options in babelrc, the pluginName contains
+ // the array w... | 11 |
diff --git a/src/utils.js b/src/utils.js @@ -115,7 +115,12 @@ export function decodeQueryString(queryString) {
if (indexOfEquals >= 0) {
const name = pair.substring(0, indexOfEquals);
const value = pair.substring(indexOfEquals + 1);
+ try {
queryData[decodeURIComponent(name)] = decodeURIComponent(value);
+ } catch (err... | 9 |
diff --git a/client/app/dbaas/logs/detail/roles/edit-permissions/edit-permissions.controller.js b/client/app/dbaas/logs/detail/roles/edit-permissions/edit-permissions.controller.js @@ -38,7 +38,7 @@ class LogsRolesPermissionsCtrl {
this.allAliases = this.ControllerHelper.request.getArrayLoader({
loaderFunction: () => t... | 9 |
diff --git a/src/migration/network-private-key-migration.js b/src/migration/network-private-key-migration.js import { join } from 'path';
+import appRootPath from 'app-root-path';
import { mkdir, writeFile } from 'fs/promises';
import BaseMigration from './base-migration.js';
import { LIBP2P_KEY_DIRECTORY, LIBP2P_KEY_F... | 3 |
diff --git a/assets/filters/mode7.js b/assets/filters/mode7.js @@ -2,13 +2,13 @@ Phaser.Filter.Mode7 = function (game) {
Phaser.Filter.call(this, game);
this.uniforms.angle = {type: "1f", value: 0};
- this.uniforms.sin1 = {type: "1f", value: 0};
+ this.uniforms.sin1 = {type: "1f", value: 1};
this.uniforms.sin2 = {type:... | 12 |
diff --git a/README.md b/README.md @@ -146,13 +146,52 @@ By default you can send your requests to `http://localhost:3000/`. Please note t
- [websocket](#websocket) (API Gateway WebSocket)
### http (API Gateway)
-- https://serverless.com/framework/docs/providers/aws/events/apigateway/
+docs: https://serverless.com/frame... | 0 |
diff --git a/articles/extensions/user-import-export.md b/articles/extensions/user-import-export.md @@ -7,6 +7,10 @@ description: The User Import / Export is an extension that allows you to import
The __User Import / Export__ is an extension that allows you to import / export users from or to any database you have confi... | 0 |
diff --git a/token-metadata/0x15D4c048F83bd7e37d49eA4C83a07267Ec4203dA/metadata.json b/token-metadata/0x15D4c048F83bd7e37d49eA4C83a07267Ec4203dA/metadata.json "symbol": "GALA",
"address": "0x15D4c048F83bd7e37d49eA4C83a07267Ec4203dA",
"decimals": 8,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/test/acceptance/acceptance_tests.js b/test/acceptance/acceptance_tests.js @@ -30,6 +30,8 @@ function getActualValue(matcher, replace) {
return matcher.slice(1).join('').trim();
}
+ return '';
+
}
function shouldRunAcceptanceTests(source) {
@@ -73,7 +75,7 @@ fs.readFile(filename, (err, data) => {
const expe... | 9 |
diff --git a/packages/component-library/src/Scatterplot/Scatterplot.test.js b/packages/component-library/src/Scatterplot/Scatterplot.test.js @@ -18,8 +18,8 @@ const customData = [
{ x: 500, y: 5 },
];
-const simpleDataDomain = { x: [0, 400], y: [0, 4] };
-const customDataDomain = { x: [0, 500], y: [0, 5] };
+const simp... | 3 |
diff --git a/src/encoded/search.py b/src/encoded/search.py @@ -1070,6 +1070,11 @@ def news(context, request):
principals,
doc_types)
+ # Add fixed 'news=true' and 'status=released' to query string.
+ query_filters = query['filter']['and']['filters']
+ query_filters.append(build_terms_filter('news', ['true']))
+ query_f... | 0 |
diff --git a/Gruntfile.js b/Gruntfile.js @@ -17,7 +17,7 @@ module.exports = function(grunt) {
const extensionSources = [
'connectors/**', 'core/**', 'dialogs/**',
'icons/**', 'options/**', 'popups/**', 'vendor/**',
- 'manifest.json', 'README.md', 'LICENSE.txt', '*.png',
+ 'manifest.json', 'README.md', 'LICENSE.txt',
//... | 5 |
diff --git a/src/commands/test.js b/src/commands/test.js @@ -187,7 +187,7 @@ async function runDocker(datasource, opts) {
} catch (error) {
print.info('A problem occurred while reading matchstick.yaml. Please attend to the errors below:')
print.error(error.message)
- return
+ process.exit(1)
}
}
@@ -252,17 +252,26 @@ a... | 9 |
diff --git a/devices/xiaomi.js b/devices/xiaomi.js @@ -50,7 +50,7 @@ const fzLocal = {
Object.entries(msg.data).forEach(([key, value]) => {
switch (parseInt(key)) {
case 0x0271:
- result['state'] = {1: 'ON', 0: 'OFF'}[value];
+ result['system_mode'] = {1: 'heat', 0: 'off'}[value];
break;
case 0x0272:
result['preset'] =... | 14 |
diff --git a/lib/actions/introspection.js b/lib/actions/introspection.js @@ -120,6 +120,7 @@ module.exports = function introspectionAction(provider) {
case 'RefreshToken':
ctx.body.token_type = 'refresh_token';
break;
+ /* istanbul ignore next */
default:
return;
}
| 8 |
diff --git a/package.json b/package.json "name": "find-and-replace",
"main": "./lib/find",
"description": "Find and replace within buffers and across the project.",
- "version": "0.215.3",
+ "version": "0.215.4",
"license": "MIT",
"activationCommands": {
"atom-workspace": [
| 6 |
diff --git a/test/jasmine/tests/select_test.js b/test/jasmine/tests/select_test.js @@ -569,11 +569,8 @@ describe('@flaky Test select box and lasso in general:', function() {
dragmode: 'select'
})
.then(function() {
-
// expect(gd.fullLayout.selectdirection).toBe('any');
-
resetEvents(gd);
-
drag(selectPath);
selectedPr... | 0 |
diff --git a/deepfence_ui/README.md b/deepfence_ui/README.md -# Scope UI
+# ThreatMapper UI
## Getting Started (using local node)
-- You need at least Node.js 6.9.0 and a running `weavescope` container
+- You need at least Node.js 14.0.0
- Get Yarn: `npm install -g yarn`
- Setup: `yarn install`
- Develop: `BACKEND_HOST... | 3 |
diff --git a/src/containers/blocks.jsx b/src/containers/blocks.jsx @@ -76,14 +76,11 @@ class Blocks extends React.Component {
if (prevProps.toolboxXML !== this.props.toolboxXML) {
const selectedCategoryName = this.workspace.toolbox_.getSelectedItem().name_;
this.workspace.updateToolbox(this.props.toolboxXML);
- // Bloc... | 4 |
diff --git a/articles/connections/social/oauth2.md b/articles/connections/social/oauth2.md @@ -135,6 +135,28 @@ https://${account.namespace}/authorize
&state=OPAQUE_VALUE
```
+## Pass Extra Headers
+
+In some instances you will need to pass extra headers to the Authorization endpoint of an OAuth 2.0 provider. To config... | 0 |
diff --git a/npc-manager.js b/npc-manager.js @@ -2,11 +2,12 @@ import * as THREE from 'three';
import Avatar from './avatars/avatars.js';
import physicsManager from './physics-manager.js';
import {LocalPlayer} from './character-controller.js';
-import {getLocalPlayer} from './players.js';
+import {getLocalPlayer, remot... | 0 |
diff --git a/src/DevChatter.Bot.Web/wwwroot/js/wasteful-game/wasteful.js b/src/DevChatter.Bot.Web/wwwroot/js/wasteful-game/wasteful.js @@ -205,6 +205,9 @@ export class Wasteful {
case 65: // a
this.movePlayer('left');
break;
+ case 90: // z
+ this._level.next();
+ break;
case 82: // r
const timestamp = new Date().getTi... | 11 |
diff --git a/src/app/Library/CrudPanel/CrudPanel.php b/src/app/Library/CrudPanel/CrudPanel.php @@ -426,22 +426,17 @@ class CrudPanel
$results = [];
if (! is_null($relation)) {
if ($relation instanceof Collection && ! $relation->isEmpty()) {
- $currentResults[get_class($relation->first())] = $relation->toArray();
+ $rel... | 1 |
diff --git a/web/kiri/index.html b/web/kiri/index.html <meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="default">
- <meta http-equiv="origin-trial" content="AhKwa7D89KrdZmlwXxZAHsVTBkm6+44cKZH6X9d37NhZ... | 3 |
diff --git a/lib/adapters/http.js b/lib/adapters/http.js @@ -7,8 +7,8 @@ var buildURL = require('./../helpers/buildURL');
var getProxyForUrl = require('proxy-from-env').getProxyForUrl;
var http = require('http');
var https = require('https');
-var httpFollow = require('follow-redirects').http;
-var httpsFollow = requir... | 11 |
diff --git a/Documentation/Contributors/CodingGuide/README.md b/Documentation/Contributors/CodingGuide/README.md @@ -135,6 +135,16 @@ function Model(options) {
* Text files, including JavaScript files, end with a newline to minimize the noise in diffs.
+* When [disabling rules with inline comments](http://eslint.org/do... | 3 |
diff --git a/lib/helpers/isBsonType.js b/lib/helpers/isBsonType.js 'use strict';
-const get = require('./get');
-
/*!
* Get the bson type, if it exists
*/
function isBsonType(obj, typename) {
- return get(obj, '_bsontype', void 0) === typename;
+ return (
+ typeof obj === 'object' &&
+ obj !== null &&
+ obj._bsontype =... | 7 |
diff --git a/edit.html b/edit.html <footer>
<div class="helper left">
- <div class=loadout>
+ <div class=loadout id=loadout>
<div class="item selected">
<div class=box></div>
<div class=label>1</div>
| 0 |
diff --git a/src/core/Core.js b/src/core/Core.js @@ -378,7 +378,7 @@ class Uppy {
uploadComplete: false,
uploadStarted: false
},
- size: file.data.size || 'N/A',
+ size: file.data.size || 0,
isRemote: isRemote,
remote: file.remote || '',
preview: file.preview
| 1 |
diff --git a/src/components/Table/Table.story.jsx b/src/components/Table/Table.story.jsx @@ -525,7 +525,7 @@ storiesOf('Watson IoT/Table', module)
...initialState.view,
pagination: {
...initialState.view.pagination,
- maxPages: 30,
+ maxPages: 5,
},
}}
secondaryTitle={text('Secondary Title', `Row count: ${initialState.... | 1 |
diff --git a/packages/cx-core/src/ui/Cx.js b/packages/cx-core/src/ui/Cx.js @@ -3,7 +3,6 @@ import {Instance} from './Instance';
import {RenderingContext} from './RenderingContext';
import {Debug, appDataFlag} from '../util/Debug';
import {Timing, appLoopFlag, vdomRenderFlag} from '../util/Timing';
-import {batchUpdates... | 2 |
diff --git a/test/utils-helpers/unescape-html.test.js b/test/utils-helpers/unescape-html.test.js const { expect } = require('chai');
const unescapeHtml = require('../../src/utils/unescape-html');
-describe('#unescapeHtml', () => {
+describe.only('#unescapeHtml', () => {
it('should properly transform lt, newline and gt'... | 0 |
diff --git a/js/huobipro.js b/js/huobipro.js @@ -456,12 +456,12 @@ module.exports = class huobipro extends Exchange {
async fetchMyTrades (symbol = undefined, since = undefined, limit = undefined, params = {}) {
await this.loadMarkets ();
+ let response = await this.privateGetOrderMatchresults (params);
+ let trades = ... | 13 |
diff --git a/common/helpers/github.py b/common/helpers/github.py @@ -8,7 +8,12 @@ def fetch_github_repository_info(repo_url):
headers = {"Authorization":"token " + settings.GITHUB_API_TOKEN} if settings.GITHUB_API_TOKEN is not None else {}
response = requests.get(repo_url, headers=headers)
try:
- return response.json()... | 9 |
diff --git a/src/plot_api/subroutines.js b/src/plot_api/subroutines.js @@ -49,7 +49,8 @@ exports.lsInner = function(gd) {
xa = Plotly.Axes.getFromId(gd, subplot, 'x'),
ya = Plotly.Axes.getFromId(gd, subplot, 'y');
- xa.setScale(); // this may already be done... not sure
+ // reset scale in case the margins have changed... | 7 |
diff --git a/src/display/canvasrenderer.js b/src/display/canvasrenderer.js @@ -30,9 +30,12 @@ phina.namespace(function() {
},
renderObject: function(obj) {
- if (obj.visible === false) return ;
+ if (obj.visible === false && !obj.interactive) return;
obj._calcWorldMatrix && obj._calcWorldMatrix();
+
+ if (obj.visible =... | 1 |
diff --git a/avatars/vrarmik/Unity.js b/avatars/vrarmik/Unity.js @@ -23,6 +23,13 @@ const Helpers = {
o.matrix.compose(o.position, o.quaternion, o.scale);
o.matrixWorld.multiplyMatrices(o.parent.matrixWorld, o.matrix);
},
+ copyTransform(dst, src) {
+ dst.position.copy(src.position);
+ dst.quaternion.copy(src.quaternio... | 0 |
diff --git a/packages/vue/src/components/templates/SfMyNewsletter/SfMyNewsletter.spec.js b/packages/vue/src/components/templates/SfMyNewsletter/SfMyNewsletter.spec.js @@ -3,6 +3,6 @@ import SfMyNewsletter from "./SfMyNewsletter.vue"
describe("SfMyNewsletter.vue", () => {
it("renders a component", () => {
const componen... | 1 |
diff --git a/src/components/general/world-objects-list/ComponentEditor.jsx b/src/components/general/world-objects-list/ComponentEditor.jsx @@ -108,9 +108,7 @@ export const ComponentEditor = () => {
selectedApp.components.push({ key: `New item ${selectedApp.components.length}`, value: '', type: 'string' });
// component... | 3 |
diff --git a/embark-ui/src/containers/ContractLoggerContainer.js b/embark-ui/src/containers/ContractLoggerContainer.js @@ -8,7 +8,7 @@ import ContractLogger from '../components/ContractLogger';
import DataWrapper from "../components/DataWrapper";
import {getContractLogsByContract} from "../reducers/selectors";
-class C... | 10 |
diff --git a/appjs/logicjavascript.js b/appjs/logicjavascript.js @@ -14704,7 +14704,7 @@ function nap() {
//}
var p = document.getElementById("nAPseries2")
var temp = ""
- if (isNaN(parseInt(n)) || isNaN(parseInt(a)) || isNaN(parseInt(b))) {
+ if (!isNaN(parseInt(n)) || !isNaN(parseInt(a)) || !isNaN(parseInt(b))) {
var... | 1 |
diff --git a/config/redirects.js b/config/redirects.js @@ -2510,13 +2510,17 @@ module.exports = [
/* Login */
+ {
+ from: ['/login'],
+ to: '/flows/login'
+ },
{
from: ['/login/embedded','/login/embedded-login'],
- to: '/product-lifecycle/deprecations-and-migrations/migrate-from-embedded-login-to-universal-login'
+ to:... | 3 |
diff --git a/tools/ci/appveyor/script b/tools/ci/appveyor/script @@ -101,7 +101,7 @@ run_tests() {
# $1 - log file
run_test_coverage() {
echo 'Running test coverage...' >&2
- make test-cov >> "$1" 2>&1
+ make VERBOSE=1 test-cov >> "$1" 2>&1
if [[ "$?" -ne 0 ]]; then
echo 'Tests failed.' >&2
return 1
| 12 |
diff --git a/packages/engine/Source/Scene/DebugInspector.js b/packages/engine/Source/Scene/DebugInspector.js @@ -31,7 +31,7 @@ function createDebugShowFrustumsShaderProgram(scene, shaderProgram) {
const targets = [];
fs.sources = fs.sources.map(function (source) {
source = ShaderSource.replaceMain(source, "czm_Debug_ma... | 1 |
diff --git a/server/classes/probes.js b/server/classes/probes.js @@ -199,7 +199,7 @@ const probesTypes = [
name: "Defensive Probe",
description:
"This weapon-like probe has access to additional equipment. You can use it to defend your ship. It holds 20 units of equipment.",
- size: 4,
+ size: 20,
count: 20
},
{
| 1 |
diff --git a/src/components/OnlyUpdateWhenFocused.test.js b/src/components/OnlyUpdateWhenFocused.test.js @@ -22,28 +22,43 @@ const createNavigation = ({ isFocused }) => {
};
};
-it("does not update if props.navigation.isFocused returns true", () => {
+it("intializes state to props.navigation.isFocused", () => {
const {... | 1 |
diff --git a/Source/Core/BoundingSphere.js b/Source/Core/BoundingSphere.js @@ -72,7 +72,7 @@ define([
* The bounding sphere is computed by running two algorithms, a naive algorithm and
* Ritter's algorithm. The smaller of the two spheres is used to ensure a tight fit.
*
- * @param {Cartesian3[]} positions An array of p... | 3 |
diff --git a/modules/statistics/CallStats.js b/modules/statistics/CallStats.js @@ -106,6 +106,8 @@ export default class CallStats {
return;
}
+ CallStats.backendInitialized = true;
+
// I hate that
let atLeastOneFabric = false;
let defaultInstance = null;
@@ -126,13 +128,21 @@ export default class CallStats {
return;
}... | 1 |
diff --git a/assets/src/edit-story/app/media/media3p/api/test/useMedia3pApi.js b/assets/src/edit-story/app/media/media3p/api/test/useMedia3pApi.js @@ -259,15 +259,15 @@ describe('useMedia3pApi', () => {
const { result } = renderHook(() => useMedia3pApi(), { wrapper });
await result.current.actions.listMedia({
- provide... | 4 |
diff --git a/Source/Scene/GltfLoader.js b/Source/Scene/GltfLoader.js @@ -41,9 +41,9 @@ var Material = ModelComponents.Material;
var GltfLoaderState = {
UNLOADED: 0,
LOADING: 1,
- DONE_LOADING: 2,
+ LOADED: 2,
PROCESSING: 3,
- DONE_PROCESSING: 4,
+ PROCESSED: 4,
READY: 4,
FAILED: 5,
};
@@ -196,8 +196,8 @@ GltfLoader.pro... | 10 |
diff --git a/character-controller.js b/character-controller.js @@ -893,7 +893,7 @@ class InterpolatedPlayer extends StatePlayer {
// throw: new BinaryInterpolant(() => this.hasAction('throw'), avatarInterpolationTimeDelay, avatarInterpolationNumFrames),
// chargeJump: new BinaryInterpolant(() => this.hasAction('chargeJ... | 0 |
diff --git a/README.md b/README.md @@ -359,7 +359,7 @@ setConfig({
// some components are not visible as top level variables,
// thus its not known where they were created
- onComponentCreate: (type, name) => file.indexOf('styled') > 0 && cold(type),
+ onComponentCreate: (type, name) => name.indexOf('styled') > 0 && co... | 1 |
diff --git a/README.md b/README.md @@ -12,7 +12,8 @@ A bot framework for Discord.js v11.
- SQLite support.
### Help
-See the examples folder for information.
+Documentation: [https://1computer1.github.io/discord-akairo/](https://1computer1.github.io/discord-akairo/)
+See the examples folder for some more information.
I... | 3 |
diff --git a/cmd/cmd.js b/cmd/cmd.js @@ -359,7 +359,6 @@ class Cmd {
}, {});
}
- checkDeps();
i18n.setOrDetectLocale(options.locale);
options.env = 'development';
options.logFile = options.logfile; // fix casing
| 2 |
diff --git a/src/lib/Ion.js b/src/lib/Ion.js @@ -117,7 +117,7 @@ function connect(mapping) {
callbackToStateMapping[connectionID] = config;
if (mapping.initWithStoredValues === false) {
- connectionID;
+ return connectionID;
}
// Get all the data from Ion to initialize the connection with
@@ -146,11 +146,11 @@ function... | 13 |
diff --git a/scss/layout/_footer.scss b/scss/layout/_footer.scss @@ -66,11 +66,15 @@ $siimple-footer-dark-text: rgba(siimple-default-color("white"), 0.8);
}
//Footer text link
&-link {
+ display: block;
text-decoration: none;
font-weight: 600;
transition: color 0.3s;
cursor: pointer;
//Inline link
+ &--inline {
+ displ... | 1 |
diff --git a/pages/Namespaces and Modules.md b/pages/Namespaces and Modules.md @@ -115,4 +115,4 @@ Here's a revised example:
Just as there is a one-to-one correspondence between JS files and modules, TypeScript has a one-to-one correspondence between module source files and their emitted JS files.
One effect of this is... | 1 |
diff --git a/src/js/services/moonpay/moonpay.service.js b/src/js/services/moonpay/moonpay.service.js @@ -644,7 +644,7 @@ angular
function onUploadFileSuccess(file) {
deferred.resolve(file);
}, function onUploadFileError(err) {
- $log.debug('Error getting moonpay file list from the api', err);
+ $log.debug('Error upload... | 14 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.