code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/src/components/images/draw.js b/src/components/images/draw.js @@ -99,11 +99,15 @@ module.exports = function draw(gd) {
var dataURL = canvas.toDataURL('image/png');
thisImage.attr('xlink:href', dataURL);
+
+ // resolve promise in onload handler instead of on 'load' to support IE11
+ // see https://github.co... | 5 |
diff --git a/test/jasmine/tests/cartesian_test.js b/test/jasmine/tests/cartesian_test.js @@ -659,6 +659,88 @@ describe('subplot creation / deletion:', function() {
.then(done);
});
+ it('should clear obsolete content out of axis layers when changing overlaying configuation', function(done) {
+ function data() {
+ retur... | 0 |
diff --git a/tests/phpunit/bootstrap.php b/tests/phpunit/bootstrap.php @@ -42,23 +42,6 @@ $GLOBALS['wp_tests_options'] = array(
'active_plugins' => array( basename( TESTS_PLUGIN_DIR ) . '/google-site-kit.php' ),
);
-/**
- * PHP 8 Compatibility with PHPUnit 7.
- *
- * WordPress core loads these via the main autoloader b... | 2 |
diff --git a/packages/core/types/stitches.d.ts b/packages/core/types/stitches.d.ts @@ -35,7 +35,7 @@ export default interface Stitches<
'@font-face'?: unknown
} & {
[K in Prelude]: K extends '@import'
- ? string
+ ? string | string[]
: K extends '@font-face'
? CSSUtil.Native.AtRule.FontFace | CSSUtil.Native.AtRule.Font... | 11 |
diff --git a/core/worker/lib/consumer/JobConsumer.js b/core/worker/lib/consumer/JobConsumer.js @@ -47,7 +47,10 @@ class JobConsumer extends EventEmitter {
});
this._job = job;
- etcd.watch({ jobId: this._job.data.jobID });
+ await etcd.watch({ jobId: this._job.data.jobID });
+ await etcd.update({
+ jobId: this._job.dat... | 12 |
diff --git a/userscript.user.js b/userscript.user.js @@ -1238,7 +1238,7 @@ var $$IMU_EXPORT$$;
},
mouseover_allow_partial: {
name: "Allow showing partially loaded",
- description: "This will allow the popup to open for a partially loaded video or image+video, but this might break some images for the userscript",
+ desc... | 7 |
diff --git a/src/data/faq.json b/src/data/faq.json },
{
"title": "Is my certificate valid in the country I am travelling to?",
- "anchor": "eu_dcc_check_validity",
+ "anchor": "eu_cert_travel",
"active": true,
"textblock": [
"Starting with version 2.6, you can check before travelling whether your certificates (test, re... | 10 |
diff --git a/web/components/pages/AuditLogPage.js b/web/components/pages/AuditLogPage.js @@ -32,7 +32,7 @@ const AuditLogPage = class extends Component {
<div
className="audit__author"
>
- {`${author.first_name} ${author.last_name}`}
+ {author? `${author.first_name} ${author.last_name}`: 'Unknown'}
</div>
</Flex>
<div ... | 9 |
diff --git a/src/tracing/exporters/console.js b/src/tracing/exporters/console.js @@ -260,6 +260,8 @@ class ConsoleTraceExporter extends BaseTraceExporter {
*/
printRequest(id) {
const main = this.spans[id];
+ if (!main) return ; // Async span
+
const margin = 2 * 2;
const w = this.opts.width - margin;
| 9 |
diff --git a/demo/app/css/main.css b/demo/app/css/main.css @@ -12,3 +12,15 @@ div {
border-radius: 8px;
}
+.tab-content {
+ border-left: 1px solid #ddd;
+ border-right: 1px solid #ddd;
+ border-bottom: 1px solid #ddd;
+ padding: 10px;
+ margin: 0px;
+}
+
+.nav-tabs {
+ margin-bottom: 0;
+}
+
| 7 |
diff --git a/src/gmx/SfGmx.hx b/src/gmx/SfGmx.hx package gmx;
using StringTools;
+import tools.Dictionary;
import tools.StringBuilder;
/**
@@ -22,7 +23,7 @@ class SfGmx {
//
public var children:Array<SfGmx> = [];
private var attrList:Array<String> = [];
- private var attrMap:Map<String, String> = new Map();
+ private v... | 1 |
diff --git a/physx.js b/physx.js @@ -957,6 +957,105 @@ const physxWorker = (() => {
moduleInstance._setAngularLockFlagsPhysics(physics, physicsId, x, y, z)
}
+ w.sweepBox = (
+ physics,
+ origin,
+ quaternion,
+ halfExtents,
+ direction,
+ sweepDistance,
+ maxHits,
+ /* numHitsBuf.byteOffset,
+ positionBuf.byteOffset,
... | 0 |
diff --git a/src/plugins/ProgressBar.js b/src/plugins/ProgressBar.js @@ -14,6 +14,7 @@ module.exports = class ProgressBar extends Plugin {
// set default options
const defaultOptions = {
+ target: 'body',
replaceTargetContent: false,
fixed: false
}
| 12 |
diff --git a/lib/media/drm_engine.js b/lib/media/drm_engine.js @@ -281,12 +281,12 @@ shaka.media.DrmEngine.prototype.attach = function(video) {
// warn when the stream is encrypted, even though the manifest does not know
// it.
// Don't complain about this twice, so just listenOnce().
- this.eventManager_.listenOnce(vi... | 14 |
diff --git a/src/commands/dev.ts b/src/commands/dev.ts @@ -375,6 +375,8 @@ export async function command(commandOptions: CommandOptions) {
proxy.web(req, res, {
target: `${workerConfig.args.fromUrl}${newPath}`,
ignorePath: true,
+ secure: false,
+ changeOrigin: true,
});
return;
}
| 0 |
diff --git a/htdocs/js/ui/notebook_merger/merger_model.js b/htdocs/js/ui/notebook_merger/merger_model.js @@ -4,12 +4,14 @@ RCloud.UI.merger_model = (function() {
// TODO: Was this actual requirement?
const MERGE_CHANGES_BY = 'merge-changes-by';
+ const DEFAULT_SOURCE = 'url';
+
const MESSAGES = Object.freeze({
same_not... | 7 |
diff --git a/src/modules/helpers/UpdateHelpers.js b/src/modules/helpers/UpdateHelpers.js @@ -218,8 +218,7 @@ export default class UpdateHelpers {
}
forceYAxisUpdate(options) {
- const w = this.w
- if (w.config.chart.stacked && w.config.chart.stackType === '100%') {
+ if (options.chart && options.chart.stacked && option... | 4 |
diff --git a/netlify.toml b/netlify.toml DISABLE_CREATE_ACCOUNT = "true"
REACT_APP_MULTISIG_MIN_AMOUNT = "36"
MIXPANEL_TOKEN = "4a10180da7af8d6d0728154d535aa7bb"
+ LOCKUP_ACCOUNT_ID_SUFFIX = "lockup.near"
[[headers]]
for = "/*"
| 12 |
diff --git a/aura-components/src/main/components/aurajstest/jstestCase/jstestCaseHelper.js b/aura-components/src/main/components/aurajstest/jstestCase/jstestCaseHelper.js }
if (!root) {
- if (!win.$A.test.isComplete()) {
+ if(!win.$A || !win.$A.test || !win.$A.test.isComplete()){
cmp.set("v.status", "spin");
setTimeout... | 9 |
diff --git a/src/abstract-ops/type-conversion.mjs b/src/abstract-ops/type-conversion.mjs @@ -131,7 +131,7 @@ export function ToNumber(argument) {
// FIXME(devsnek): https://tc39.github.io/ecma262/#sec-runtime-semantics-mv-s
return new Value(+(argument.stringValue()));
case 'Symbol':
- return surroundingAgent.Throw('Typ... | 3 |
diff --git a/tools/webpack.config.js b/tools/webpack.config.js @@ -39,9 +39,7 @@ const baseConfig = {
{
test: /\.jsx?$/,
exclude: /(node_modules|bower_components)/,
- use: (__DEV__ && pkg.app.reactHotLoader ? [{
- loader: 'react-hot-loader/webpack'
- }] : []).concat([{
+ use: [{
loader: 'babel-loader',
options: {
"pres... | 14 |
diff --git a/articles/api/management/v2/changes.md b/articles/api/management/v2/changes.md @@ -95,7 +95,6 @@ Logs endpoints in Management API v2 are described at [Search Log Events](https:/
| v1 Endpoint | Change | v2 Endpoint |
| ----------- | ------ | ----------- |
| [GET /logs](/api/v1#logs) | Syntax Changes, descri... | 2 |
diff --git a/articles/metadata/index.md b/articles/metadata/index.md @@ -16,22 +16,25 @@ An authenticated user can modify data in their profile's `user_metadata`, but no
## How to Read, Create, or Edit Metadata
-There are two ways by which you can manage your user metadata:
-
-1. [Rules](/rules/metadata-in-rules)
-2. [... | 0 |
diff --git a/scripts/fetch-helpers/whatwg.js b/scripts/fetch-helpers/whatwg.js @@ -4,6 +4,6 @@ module.exports = function(id, ref) {
href: ref.href,
title: ref.title,
obsoletedBy: ref.obsoletedBy,
- status: "Living Standard"
+ status: ref.status || "Living Standard"
};
}
| 11 |
diff --git a/lib/cartodb/models/dataview/numeric-histogram.js b/lib/cartodb/models/dataview/numeric-histogram.js @@ -207,7 +207,7 @@ module.exports = class NumericHistogram extends BaseDataview {
_buildQuery (psql, override, callback) {
- const histogramSql = this.buildQueryTpl({
+ const histogramSql = this._buildQuery... | 10 |
diff --git a/packages/components/src/components/PipelineRuns/PipelineRuns.js b/packages/components/src/components/PipelineRuns/PipelineRuns.js @@ -97,51 +97,59 @@ const PipelineRuns = ({
}
});
- const pipelineRunsFormatted = pipelineRuns.map(pipelineRun => ({
- id: `${pipelineRun.metadata.namespace}:${pipelineRun.metad... | 9 |
diff --git a/bin/cli.js b/bin/cli.js @@ -545,7 +545,7 @@ if (command === 'create') {
};
let promptSaveAuthDetails = function () {
- promptConfirm(`Would you like to save your DockerHub username and password as Base64 to ${asyngularK8sConfigFilePath}?`, {default: true}, handleSaveDockerAuthDetails);
+ promptConfirm(`Wou... | 7 |
diff --git a/unlock-protocol-com/src/components/helpers/Provider.tsx b/unlock-protocol-com/src/components/helpers/Provider.tsx @@ -65,7 +65,7 @@ export function Provider({ children }: Props) {
script.innerText = `(function(d, s) {
var js = d.createElement(s),
sc = d.getElementsByTagName(s)[0];
- js.src="https://paywall... | 4 |
diff --git a/weapons-manager.js b/weapons-manager.js @@ -556,9 +556,17 @@ const _mousedown = () => {
if (useComponent) {
let useAction = localPlayer.actions.find(action => action.type === 'use');
if (!useAction) {
+ const {instanceId} = wearApp;
+ const {boneAttachment, animation, position, quaternion, scale} = useComp... | 0 |
diff --git a/token-metadata/0x3936Ad01cf109a36489d93cabdA11cF062fd3d48/metadata.json b/token-metadata/0x3936Ad01cf109a36489d93cabdA11cF062fd3d48/metadata.json "symbol": "COIL",
"address": "0x3936Ad01cf109a36489d93cabdA11cF062fd3d48",
"decimals": 9,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/src/kiri/print.js b/src/kiri/print.js @@ -396,7 +396,8 @@ class Print {
// the old sequence and start a new one
if (newlayer || (autolayer && seq.Z != pos.Z)) {
newlayer = false;
- let nh = (pos.Z - seq.Z || defh);
+ let dz = pos.Z - seq.Z;
+ let nh = dz > 0 ? dz : defh;
seq = [];
seq.height = height = nh;... | 1 |
diff --git a/.github/workflows/TEST-release.yml b/.github/workflows/TEST-release.yml @@ -42,3 +42,8 @@ jobs:
- run: mkdir -p $CUCUMBER_ARTIFACTS_DIR
- run: sudo chmod -R 777 $CUCUMBER_ARTIFACTS_DIR
- run: npm run test:bdd;
+ - uses: actions/upload-artifact@v2
+ if: ${{ always() }}
+ with:
+ name: my-artifact
+ path: /h... | 3 |
diff --git a/lib/resque/user_jobs.rb b/lib/resque/user_jobs.rb @@ -76,9 +76,9 @@ module Resque
response = http_client.delete(url, request_params.symbolize_keys)
response_code_string = response.code.to_s
- if response_code_string.match?(/^2/)
+ if response_code_string.start_with?("2")
response.response_body
- elsif (res... | 14 |
diff --git a/vis/js/templates/contextfeatures/DocumentTypes.jsx b/vis/js/templates/contextfeatures/DocumentTypes.jsx @@ -39,7 +39,9 @@ const DocumentTypes = ({ documentTypes, popoverContainer }) => {
>
<span className="context_moreinfo">{loc.documenttypes_label}</span>
</HoverPopover>
- </span>{" "}
+ </span>
+ {/* thi... | 2 |
diff --git a/src/js/utils/colors.js b/src/js/utils/colors.js export const normalizeColor = (color, theme, required) => {
- const colorSpec = theme.global.colors[color] || color;
+ const colorSpec =
+ theme.global.colors[color] !== undefined
+ ? theme.global.colors[color]
+ : color;
// If the color has a light or dark o... | 1 |
diff --git a/OurUmbraco/Community/BlogPosts/BlogPostsService.cs b/OurUmbraco/Community/BlogPosts/BlogPostsService.cs @@ -65,6 +65,8 @@ namespace OurUmbraco.Community.BlogPosts
// Initialize a new web client (with the encoding specified for the blog)
using (var wc = new WebClient())
{
+ ServicePointManager.ServerCertifi... | 8 |
diff --git a/README.md b/README.md @@ -77,16 +77,15 @@ Be aware that all methods can be used with promises or callbacks. However, when
```js
// Using callbacks.
-auth0.getUsers(function (err, users) {
+management.getUsers(function (err, users) {
if (err) {
// handle error.
}
console.log(users);
});
-
// Using promises.... | 7 |
diff --git a/assets/js/modules/analytics/common/account-create.js b/assets/js/modules/analytics/common/account-create.js @@ -47,8 +47,7 @@ const AccountCreate = () => {
const isDoingCreateAccount = useSelect(
( select ) => {
return select( STORE_NAME ).isDoingCreateAccount();
- },
- []
+ }
);
const accountTicketTermsOf... | 2 |
diff --git a/tools/metadata/index.ts b/tools/metadata/index.ts @@ -11,18 +11,14 @@ export async function fetchTokens(
let tokens = []
const promises = await Promise.allSettled(
known.map(async url => {
- try {
const res = await axios.get(url)
return res.data.tokens
- } catch (e) {
- throw e.message
- }
})
)
tokens.push... | 2 |
diff --git a/js/binance.js b/js/binance.js @@ -144,13 +144,14 @@ module.exports = class binance extends ccxt.binance {
const message = messages[i];
const U = this.safeInteger (message, 'U');
const u = this.safeInteger (message, 'u');
+ const pu = this.safeInteger (message, 'pu');
if (type === 'future') {
// 4. Drop any... | 1 |
diff --git a/scenes/street.scn b/scenes/street.scn "position": [-1, 4, -1],
"quaternion": [0, 0, 0, 1],
"start_url": "https://avaer.github.io/physicscube/"
+ },
+ {
+ "position": [-2, 1, 1],
+ "quaternion": [0, 0.7071067811865475, 0, 0.7071067811865476],
+ "start_url": "https://webaverse.github.io/sword/"
}
]
}
| 0 |
diff --git a/token-metadata/0xb056c38f6b7Dc4064367403E26424CD2c60655e1/metadata.json b/token-metadata/0xb056c38f6b7Dc4064367403E26424CD2c60655e1/metadata.json "symbol": "CEEK",
"address": "0xb056c38f6b7Dc4064367403E26424CD2c60655e1",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/articles/quickstart/webapp/aspnet-core/_includes/_login.md b/articles/quickstart/webapp/aspnet-core/_includes/_login.md @@ -161,7 +161,7 @@ Add the `Login` and `Logout` actions to `AccountController`.
To add the `Login` action, call `ChallengeAsync` and pass "Auth0" as the authentication scheme. This will ... | 0 |
diff --git a/metaverse_modules/target-reticle/index.js b/metaverse_modules/target-reticle/index.js @@ -13,6 +13,7 @@ const menuRadius = 0.025; */
const localVector = new THREE.Vector3();
const localVector2D = new THREE.Vector2();
+const localQuaternion = new THREE.Quaternion();
const targetTypes = [
'object',
@@ -171,6... | 0 |
diff --git a/src/views/studio/studio.jsx b/src/views/studio/studio.jsx @@ -64,7 +64,7 @@ const StudioShell = ({showCuratorMuteError, muteExpiresAtMs, studioLoadFailed})
<p>
<div>
<FormattedMessage
- id="studios.mutedProjects"
+ id="studios.mutedCurators"
values={{
inDuration: formatRelativeTime(muteExpiresAtMs, window.... | 4 |
diff --git a/redux/replyList.js b/redux/replyList.js @@ -120,7 +120,12 @@ export default createReducer(
.set(
'edges',
(payload.get('edges') || List())
- .map(edge => edge.setIn(['node', 'replyConnectionCount']))
+ .map(edge =>
+ edge.setIn(
+ ['node', 'replyConnectionCount'],
+ (edge.getIn(['node', 'replyConnections']... | 12 |
diff --git a/README-dev.md b/README-dev.md // works through node version 19.4.0
// electron-devtools-vendor must be at version 1.1 for now due to a bug
// react must be version 17 due to a dependency for mui
-// fix-path ???
+// fix-path must be version 3.0.0 due to 4.0.0 only being usable with an import statement whic... | 3 |
diff --git a/src/js/controllers/export.js b/src/js/controllers/export.js @@ -55,13 +55,14 @@ angular.module('copayApp.controllers').controller('exportController',
function checkValueFileAndChangeStatusExported() {
$timeout(function() {
var inputFile = document.getElementById('nwExportInputFile');
- if(!inputFile.value ... | 9 |
diff --git a/includes/Modules/PageSpeed_Insights.php b/includes/Modules/PageSpeed_Insights.php @@ -193,7 +193,7 @@ final class PageSpeed_Insights extends Module {
* @return Google_Client Google client instance.
*/
protected function setup_client() {
- return $this->authentication->get_api_key_client()->get_client();
+ ... | 3 |
diff --git a/app/wallet/api.js b/app/wallet/api.js @@ -73,20 +73,15 @@ export const getBalance = (net, address) => {
/**
* @function
* @description
- * Hit the bittrex api getticker to fetch the latest BTC to ANS price
- * then hit the latest USDT to BTC conversion rate
+ * Hit the bittrex api getticker to fetch the la... | 3 |
diff --git a/docs/topics/properties.md b/docs/topics/properties.md @@ -58,13 +58,13 @@ the property (this way you can implement a computed property). Here's an example
```kotlin
//sampleStart
class Rectangle(val width: Int, val height: Int) {
- val square: Int
+ val area: Int
get() = this.width * this.height
}
//sample... | 4 |
diff --git a/token-metadata/0xEeEeeeeEe2aF8D0e1940679860398308e0eF24d6/metadata.json b/token-metadata/0xEeEeeeeEe2aF8D0e1940679860398308e0eF24d6/metadata.json "symbol": "ETHV",
"address": "0xEeEeeeeEe2aF8D0e1940679860398308e0eF24d6",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/helpers.json b/helpers.json },
{
"name": "Let's Enhance.io",
- "desc": "Image enhancement and upscaling by AI",
+ "desc": "Improve colors, remove compression and upscale your image",
"url": "https://letsenhance.io/",
"tags": [
"Images"
| 7 |
diff --git a/assets/js/components/setup/SetupUsingProxyWithSignIn.test.js b/assets/js/components/setup/SetupUsingProxyWithSignIn.test.js @@ -36,63 +36,18 @@ jest.mock( './CompatibilityChecks', () => ( { children } ) =>
describe( 'SetupUsingProxyWithSignIn', () => {
let registry;
- // const homeURL = 'http://example.com... | 2 |
diff --git a/common/fixedpool/fixedpool.go b/common/fixedpool/fixedpool.go @@ -85,7 +85,10 @@ func NewCustom(network, addr string, size int, df DialFunc) (*Pool, error) {
// make the rest of the connections in the background, if any fail it's fine
go func() {
for i := 0; i < size-1; i++ {
- mkConn()
+ err := mkConn()
+... | 9 |
diff --git a/index.html b/index.html </div>
<!-- end of Double Factorial calculator -->
<!-- start of Catalan numbers calculator -->
- <div>
- <div class="collapse" id="catNum">
+ <div class="collapse" id="catNum" style="text-align: center;">
+ <div class="container">
+ <h2 style="color: white;font-family:mathfont;text... | 7 |
diff --git a/articles/libraries/auth0-android/save-and-refresh-tokens.md b/articles/libraries/auth0-android/save-and-refresh-tokens.md @@ -17,7 +17,7 @@ When an authentication is performed with the `offline_access` <dfn data-key="sco
[Auth0.Android](https://github.com/auth0/Auth0.Android) provides a utility class to st... | 1 |
diff --git a/docs/hot-module-replacement.md b/docs/hot-module-replacement.md @@ -17,7 +17,7 @@ Both Laravel and Laravel Mix work together to abstract away the complexities in
}
```
-Take note of the `hmr` option; this is the one you want. From the command line, run `npm run hmr` to boot up a Node server and monitor you... | 14 |
diff --git a/src/commands/open/index.js b/src/commands/open/index.js @@ -4,7 +4,6 @@ const renderShortDesc = require('../../utils/renderShortDescription')
class OpenCommand extends Command {
async run() {
- this.log(`Opening {SITE XYZ} admin in your default browser`)
const accessToken = this.global.get('accessToken')
c... | 3 |
diff --git a/src/Embed.js b/src/Embed.js @@ -61,6 +61,9 @@ export function embed(config = {}) {
before: () => {},
after: () => {}
}, config);
+ if (config.addPremiumLib) {
+ config.addPremiumLib(config.libs, scriptSrc);
+ }
/**
* Print debug statements.
@@ -340,9 +343,17 @@ export function embed(config = {}) {
addStyle... | 11 |
diff --git a/src/Model.d.ts b/src/Model.d.ts @@ -26,7 +26,7 @@ export type OneIndexSchema = {
hash?: string,
sort?: string,
description?: string,
- project?: string | string[],
+ project?: string | readonly string[],
follow?: boolean,
};
@@ -36,7 +36,7 @@ export type OneIndexSchema = {
export type OneField = {
crypt?: ... | 11 |
diff --git a/.github/workflows/lint_changed_files.yml b/.github/workflows/lint_changed_files.yml @@ -82,8 +82,17 @@ jobs:
id: changed-files
run: |
if [ -n "${{ github.event.pull_request.number }}" ]; then
- # Get the list of changed files in pull request via the GitHub API. We use `awk` to get the value of the link hea... | 4 |
diff --git a/source/timezones/TimeZone.js b/source/timezones/TimeZone.js @@ -141,24 +141,12 @@ const getRule = function (rules, offset, datetime, isUTC, recurse) {
return ruleInEffect;
};
-const switchSign = function (string) {
- return string.replace(/[+-]/, (sign) => (sign === '+' ? '-' : '+'));
-};
-
const idToTZ = ... | 2 |
diff --git a/src/Eleventy.js b/src/Eleventy.js @@ -78,18 +78,23 @@ class Eleventy {
* @member {Boolean} - Running in serverless mode
* @default false
*/
-
- // This needs to happen before `getEnvironmentVariableValues` below.
if ("isServerless" in options) {
this.isServerless = !!options.isServerless;
} else {
this.isS... | 0 |
diff --git a/samples/csharp_dotnetcore/51.cafe-bot/CafeBot.csproj b/samples/csharp_dotnetcore/51.cafe-bot/CafeBot.csproj <CodeAnalysisRuleSet>BotBuilder.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
- <ItemGroup>
- <Content Include="CafeBot.bot">
- <CopyToOutputDirectory>Always</CopyToOutputDirectory>
- </Content>
- <... | 2 |
diff --git a/src/libs/ValidationUtils.js b/src/libs/ValidationUtils.js @@ -305,12 +305,12 @@ function isValidRoutingNumber(number) {
* Checks if each string in array is of valid length and then returns true
* for each string which exceeds the limit.
*
- * @param {Number} limit
- * @param {String[]} toBeValidated
+ * @p... | 10 |
diff --git a/scalene/scalene_profiler.py b/scalene/scalene_profiler.py @@ -1452,7 +1452,7 @@ class Scalene:
# Grab local and global variables.
if not Scalene.__args.cpu_only:
import register_files_to_profile
- register_files_to_profile.register_files_to_profile(Scalene.__files_to_profile.split(',') if Scalene.__files_t... | 7 |
diff --git a/README.md b/README.md @@ -606,10 +606,10 @@ Creating An ai2html Graphic
The ai2html template uses an open-source script called [ai2html](http://ai2html.org/) to convert Illustrator graphics to HTML and CSS and display them in our responsive dailygraphics template.
To use this template, you'll need to insta... | 3 |
diff --git a/packages/webpack-plugin/lib/runtime/injectHelper.wxs b/packages/webpack-plugin/lib/runtime/injectHelper.wxs @@ -91,7 +91,7 @@ function isDef (v) {
}
function stringifyClass (value) {
- if (value === undefined) return ''
+ if (!value) return ''
if (likeArray(value)) {
return stringifyArray(value)
}
@@ -179,... | 1 |
diff --git a/ChatImprovements.user.js b/ChatImprovements.user.js // @description Show users in room as a list with usernames, more timestamps
// @homepage https://github.com/samliew/SO-mod-userscripts
// @author @samliew
-// @version 0.9.4
+// @version 0.9.5
//
// @include https://chat.stackoverflow.com/*
// @include h... | 8 |
diff --git a/src/actions/Play.js b/src/actions/Play.js @@ -169,11 +169,17 @@ export class Play extends Action {
player.dataset.fade = 'in';
player.dataset.maxVolume = maxVolume;
+ if (Math.sign (volume) === 1) {
return new Promise ((resolve, reject) => {
setTimeout (() => {
Play.fade (player, volume, interval, expected... | 1 |
diff --git a/docs/modules/stripeSubscription.md b/docs/modules/stripeSubscription.md @@ -126,10 +126,7 @@ stripe-local sends requests to Stripe every 15 seconds to verify if any new even
subscribe in development mode. If there are any new events, stripe-local will get them and send them to your application
on `localhos... | 14 |
diff --git a/test/TestCasesCachePack.longtest.js b/test/TestCasesCachePack.longtest.js @@ -25,10 +25,6 @@ describe("TestCases", () => {
["no-string"]:
/^Pack got invalid because of write to: Compilation\/modules.+no-string[/\\]loader\.js!.+no-string[/\\]file\.js$/
},
- large: {
- ["big-assets"]:
- /^Pack got invalid be... | 2 |
diff --git a/.eslintrc b/.eslintrc "eslint:recommended"
],
"parserOptions": {
- "ecmaVersion": 5,
+ "ecmaVersion": 5
},
"env": {
"commonjs": true
"indent": [0],
"indent-legacy": [2, 4, {"SwitchCase": 1}],
"max-len": [0, 80],
- "brace-style": [0, "stroustrup", {"allowSingleLine": true}],
+ "brace-style": [2, "1tbs", {"a... | 3 |
diff --git a/taiko.js b/taiko.js @@ -14,6 +14,7 @@ function runFile(file) {
validate(file);
const realFuncs = {};
for (let func in taiko) {
+ try{
realFuncs[func] = taiko[func];
if (realFuncs[func].constructor.name === 'AsyncFunction') global[func] = async function() {
const res = await realFuncs[func].apply(this, argu... | 9 |
diff --git a/src/components/general/world-objects-list/ComponentEditor.jsx b/src/components/general/world-objects-list/ComponentEditor.jsx @@ -17,7 +17,7 @@ export const ComponentEditor = () => {
//
- const initComponentsList = () => {
+ const syncComponentsList = () => {
const newComponents = [];
@@ -37,12 +37,6 @@ ex... | 2 |
diff --git a/server/workers/api/src/apis/export.py b/server/workers/api/src/apis/export.py @@ -36,13 +36,9 @@ def transform2bibtex(metadata):
fields["doi"] = doi
if url != "":
fields["url"] = url
- if entrytype == "article":
- if published_in != "":
- fields["journal"] = published_in
- else:
- entrytype = "misc"
if ent... | 2 |
diff --git a/src/api/v4/layer/layer.js b/src/api/v4/layer/layer.js @@ -62,6 +62,8 @@ var metadataParser = require('./metadata/parser');
* @api
*/
function Layer (source, style, options) {
+ Base.apply(this, arguments);
+
options = options || {};
_checkSource(source);
@@ -75,8 +77,9 @@ function Layer (source, style, opt... | 11 |
diff --git a/articles/libraries/lock/v10/auth0js.md b/articles/libraries/lock/v10/auth0js.md @@ -41,7 +41,54 @@ var webAuth = new auth0.WebAuth({
});
```
-If you need further detail about usage, check out the [Auth0.js v8 Reference](/libraries/auth0js/v8).
+### Example Use Case for Lock and Auth0.js
+
+It may be that i... | 0 |
diff --git a/publish/releases.json b/publish/releases.json },
{
"sip": 158,
- "layer": "base"
+ "layer": "base",
+ "released": "base"
},
{
"sip": 169,
- "layer": "base"
+ "layer": "base",
+ "released": "base"
},
{
"sip": 170,
| 3 |
diff --git a/CHANGELOG.md b/CHANGELOG.md # Changelog
+### 0.21.0 (October 23, 2020)
+
+Fixes and Functionality:
+
+- Fixing requestHeaders.Authorization ([#3287](https://github.com/axios/axios/pull/3287))
+- Fixing node types ([#3237](https://github.com/axios/axios/pull/3237))
+- Fixing axios.delete ignores config.data... | 3 |
diff --git a/.github/workflows/integration-local.yml b/.github/workflows/integration-local.yml @@ -20,7 +20,7 @@ jobs:
- name: Install Node
uses: actions/setup-node@v1
with:
- node-version: 14.x
+ node-version: 16.x
- name: Install Flow CLI
run: sh -ci "$(curl -fsSL https://storage.googleapis.com/flow-cli/install.sh)"
| 3 |
diff --git a/includes/Dashboard.php b/includes/Dashboard.php @@ -178,7 +178,7 @@ class Dashboard {
* Issue: 1897
* Creation date: 2020-05-21
*/
- 'enableAnimation' => true,
+ 'enableAnimation' => false,
/**
* Description: Enables in-progress views to be accessed.
* Author: @carlos-kelly
| 13 |
diff --git a/Specs/Scene/WebMapTileServiceImageryProviderSpec.js b/Specs/Scene/WebMapTileServiceImageryProviderSpec.js @@ -117,6 +117,9 @@ describe("Scene/WebMapTileServiceImageryProvider", function () {
expect(queryObject.tilematrixset).toEqual(options.tileMatrixSetID);
expect(queryObject.tilematrix).toEqual(options.t... | 3 |
diff --git a/lib/sandbox.js b/lib/sandbox.js @@ -21,6 +21,14 @@ const AWS_SANDBOX_OCAPI_SETTINGS = [{ client_id: "CLIENTID",
{ resource_id: "/jobs/*/executions/*", methods: ["get"], read_attributes: "(**)", write_attributes: "(**)" }
]
}];
+// webdav permissions to apply to aws sandbox at provisioning time, CLIENTID to... | 12 |
diff --git a/CHANGELOG.md b/CHANGELOG.md @@ -19,11 +19,9 @@ last Friday of every new month.
Ideas that will be planned and find their way into a release at one point.
PRs are welcome! Please do open an issue to discuss first if it's a big feature, priorities may have changed after something was added here.
-- [ ] core:... | 0 |
diff --git a/documentation/api/shift.md b/documentation/api/shift.md @@ -32,9 +32,9 @@ optionally takes one via `<assertion?>` and is invoked without,
`expect.shift` will propagate its argument as the fulfillment value of the
promise returned from your assertion:
-<!-- unexpected-markdown async:true -->
+<!-- unexpecte... | 1 |
diff --git a/sandbox/public/index.html b/sandbox/public/index.html <script nonce="%REACT_APP_NONCE%">
alloy("configure", {
defaultConsent: getUrlParameter("defaultConsent") || "in",
- edgeDomain: "firstparty.alloyio.com",
- /*location.host.indexOf("alloyio.com") !== -1
+ edgeDomain:
+ location.host.indexOf("alloyio.com... | 13 |
diff --git a/articles/support/pre-deployment/index.html b/articles/support/pre-deployment/index.html @@ -11,13 +11,28 @@ description: Using Auth0's pre-production deployment tests
</p>
</div>
-<h2>Run the Tests</h2>
-
<ul class="topic-links">
<li>
- <i class="icon icon-budicon-715"></i><a href="/pre-deployment/how-to-r... | 0 |
diff --git a/app/views/main.scala.html b/app/views/main.scala.html <script src='@routes.Assets.at("javascripts/lib/leaflet-omnivore.min.js")'></script>
<script src='@routes.Assets.at("javascripts/lib/js.cookie.js")'></script>
<script type="text/javascript"
- src="https://maps.googleapis.com/maps/api/js?v=3.29&key=AIzaS... | 3 |
diff --git a/package.json b/package.json "prepublishOnly": "npm run lint && npm run build:all && npm run build-declaration",
"update-latest-release": "git checkout master && git branch -D latest-release || git checkout -b latest-release && git push -f origin/latest-release",
"start": "node bin/signalk-server",
- "test-... | 1 |
diff --git a/QuestionListsHelper.user.js b/QuestionListsHelper.user.js // @description Adds more information about questions to question lists
// @homepage https://github.com/samliew/SO-mod-userscripts
// @author @samliew
-// @version 1.0
+// @version 1.1
//
// @include https://stackoverflow.com/*
// @include https://s... | 1 |
diff --git a/apps/st2-history/history-details.component.js b/apps/st2-history/history-details.component.js @@ -131,10 +131,6 @@ export default class HistoryDetails extends React.Component {
parameters = {...parameters, ...object};
}
}
-
- if ('secret' in data) {
- delete parameters[data.name];
- }
});
return (
<PanelDe... | 2 |
diff --git a/app/hotels/src/singleHotel/roomList/RoomRow.js b/app/hotels/src/singleHotel/roomList/RoomRow.js @@ -6,14 +6,17 @@ import { NetworkImage } from '@kiwicom/react-native-app-common';
import ReadMore from 'react-native-read-more-text';
import type { RoomRowContainer_availableRoom } from './__generated__/RoomRow... | 0 |
diff --git a/src/main/webapp/org/cboard/util/CBoardEChartRender.js b/src/main/webapp/org/cboard/util/CBoardEChartRender.js @@ -77,7 +77,7 @@ CBoardEChartRender.prototype.chart = function (group, persist) {
CBoardEChartRender.prototype.changeSize = function (instance) {
var o = instance.getOption();
- if (o.series[0] ? ... | 1 |
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.208.1",
+ "version": "0.208.2",
"license": "MIT",
"activationCommands": {
"atom-workspace": [
| 6 |
diff --git a/paywall/.eslintrc.js b/paywall/.eslintrc.js @@ -19,6 +19,7 @@ module.exports = {
vars: 'all',
args: 'after-used',
ignoreRestSiblings: true,
+ argsIgnorePattern: /^_$/,
},
],
'react/prefer-stateless-function': [2],
| 11 |
diff --git a/package.json b/package.json {
"name": "cesium",
- "version": "1.33.0",
+ "version": "1.34.0",
"description": "Cesium is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin.",
"homepage": "http://cesiumjs.org",
"license": "Apache-2.0",
| 3 |
diff --git a/docs/APIRef.DeviceObjectAPI.md b/docs/APIRef.DeviceObjectAPI.md @@ -46,7 +46,7 @@ Grant or deny runtime permissions for your application.
await device.launchApp({permissions: {calendar: 'YES'}});
```
Detox uses [AppleSimUtils](https://github.com/wix/AppleSimulatorUtils) on iOS to support this functionality... | 1 |
diff --git a/generators/server/templates/pom.xml.ejs b/generators/server/templates/pom.xml.ejs <jacoco.utReportFile>${jacoco.reportFolder}/test.exec</jacoco.utReportFile>
<jacoco.itReportFile>${jacoco.reportFolder}/integrationTest.exec</jacoco.itReportFile>
- <!-- Sonar properties -->
- <!--
- <sonar.host.url>http://lo... | 2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.