code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/src/actor.js b/src/actor.js @@ -297,6 +297,7 @@ export const setValue = (key, value, options, callback = null) => {
};
/**
+ * @ignore
* @memberof module:Apify
* @function
* @description <p>Stores a record (object) in a sequential store using the Apify API.
| 8 |
diff --git a/articles/api-auth/tutorials/adoption/refresh-tokens.md b/articles/api-auth/tutorials/adoption/refresh-tokens.md @@ -30,7 +30,18 @@ There are some changes to how Refresh Tokens are used in the OIDC-conformant aut
</ul>
</div>
<div class="tab-content">
- <div id="refresh-oidc" class="tab-pane">
+ <div id="re... | 12 |
diff --git a/layouts/partials/fragments/footer.html b/layouts/partials/fragments/footer.html </a>
{{- else }}
<div>
+ <a href="{{ .url }}">
{{- .text -}}
+ </a>
</div>
{{- end -}}
{{- end -}}
| 0 |
diff --git a/articles/libraries/auth0js/v9/index.md b/articles/libraries/auth0js/v9/index.md @@ -298,24 +298,13 @@ As shown above, the `client.userInfo` method can be called passing the returned
```json
{
- "email_verified": "false",
- "email": "test@example.com",
- "clientID": "AAAABBBBCCCCDDDDEEEEFFFFGGGGHHHH",
- "up... | 3 |
diff --git a/src/domain/session/room/timeline/deserialize.js b/src/domain/session/room/timeline/deserialize.js @@ -174,7 +174,8 @@ export function parseHTMLBody(platform, mediaRepository, html) {
import parse from '../../../../../lib/node-html-parser/index.js';
-export class HTMLParseResult {
+export function tests() {... | 5 |
diff --git a/userscript.user.js b/userscript.user.js @@ -9743,7 +9743,17 @@ var $$IMU_EXPORT$$;
}
if (domain_nosub === "hubstatic.com") {
- return src.replace(/_[^_/.]*\.([^/.]*)$/, ".$1");
+ // https://usercontent1.hubstatic.com/9165264_f520.jpg
+ // https://usercontent1.hubstatic.com/9165264.jpg
+ // https://hubstati... | 7 |
diff --git a/lib/query.js b/lib/query.js @@ -160,6 +160,8 @@ function $query(ctx, query, values, qrm, config) {
if (npm.utils.isConnectivityError(err)) {
ctx.db.client.$connectionError = err;
}
+ err.query = err.query ?? query;
+ err.params = err.params ?? params;
error = err;
} else {
multiResult = Array.isArray(resul... | 14 |
diff --git a/src/helpers/sortHelpers.js b/src/helpers/sortHelpers.js @@ -34,10 +34,6 @@ export const sortComments = (comments, sortType = 'BEST') => {
}
};
-export const sortVotes = (a, b) => {
- const aShares = parseInt(a.rshares, 10);
- const bShares = parseInt(b.rshares, 10);
- return bShares - aShares;
-};
+export ... | 2 |
diff --git a/templates/base.html b/templates/base.html <li><a href="/workflow/stakeholder_list/0/0"><span class="glyphicon glyphicon-th-list"></span> Stakeholders</a></li>
</ul>
</li>
-
+ {% if user.is_authenticated %}
<li><a href="/indicators/home/0/0/0">Indicators</a></li>
-
+ {% endif %}
<li class="dropdown">
<a hre... | 3 |
diff --git a/lib/assets/core/test/spec/cartodb3/data/legends/legend-torque-definition-model.spec.js b/lib/assets/core/test/spec/cartodb3/data/legends/legend-torque-definition-model.spec.js @@ -44,7 +44,7 @@ describe('data/legends/legend-torque-defintion-model', function () {
expect(attrs.definition.categories.length).t... | 1 |
diff --git a/src/pages/Group/Helm.js b/src/pages/Group/Helm.js @@ -527,13 +527,17 @@ export default class Index extends PureComponent {
};
encodeBase64Content = commonContent => {
- const base64Content = Buffer.from(commonContent).toString('base64');
+ const base64Content =
+ (commonContent && Buffer.from(commonContent... | 1 |
diff --git a/lib/api/core/httpRouter/routePart.js b/lib/api/core/httpRouter/routePart.js @@ -90,9 +90,10 @@ class RoutePart {
getHandler(request) {
const
parsed = URL.parse(request.url, true),
- routeHandler = new RouteHandler(parsed.pathname, parsed.query, request.requestId, request.headers);
+ pathname = parsed.pathn... | 9 |
diff --git a/generators/docker-compose/index.js b/generators/docker-compose/index.js @@ -282,17 +282,14 @@ module.exports = class extends BaseGenerator {
this.authenticationType = appConfig.authenticationType;
// Dump the file
- let yamlString = jsyaml.dump(parentConfiguration, { indent: 4 });
+ let yamlString = jsyaml... | 12 |
diff --git a/config/g2_config.js b/config/g2_config.js @@ -57,13 +57,14 @@ G2Config.prototype.getFromDriver = function(callback) {
G2Config.prototype.reverseUpdate = function(keys, callback) {
this.driver.get(keys, function(err, data) {
if (err) {
- console.log(err);
+ callback(err)
} else {
- console.log(data)
- callb... | 1 |
diff --git a/test/jasmine/tests/plot_api_test.js b/test/jasmine/tests/plot_api_test.js @@ -363,6 +363,72 @@ describe('Test plot api', function() {
expect(PlotlyInternal.plot.calls.count()).toEqual(2);
});
+ it('should clear calcdata when restyling \'zmin\' and \'zmax\' on contour traces', function() {
+ var contour = {... | 0 |
diff --git a/accessibility-checker-engine/src/v4/util/CSSUtil.ts b/accessibility-checker-engine/src/v4/util/CSSUtil.ts @@ -159,26 +159,44 @@ export function getDefinedStyles(elem: HTMLElement, pseudoClass?: PseudoClass) {
* @param {HTMLElement} elem
*/
export function isMaterialIconFont(elem: HTMLElement) {
- // materi... | 3 |
diff --git a/api/src/api/v2.js b/api/src/api/v2.js @@ -7,7 +7,7 @@ const package = require('../package')
const logger = require('logplease').create('api/v1');
router.use(function(req, res, next){
- if(req.method == "POST" && req.headers['content-type'] !== "application/json")
+ if(req.method == "POST" && !req.headers['... | 11 |
diff --git a/lime/project/HXProject.hx b/lime/project/HXProject.hx @@ -1153,7 +1153,11 @@ class HXProject {
if (arg != "") {
- if (!StringTools.startsWith (arg, "-")) {
+ if (StringTools.startsWith (arg, "Error: ")) {
+
+ LogHelper.error (arg.substr (7));
+
+ } else if (!StringTools.startsWith (arg, "-")) {
var path = ... | 7 |
diff --git a/package.json b/package.json "scripts": {
"build": "npm run clean && run-s build:*",
"build:deptree": "depcruise --exclude '^node_modules' --output-type dot src | dot -T svg > site/dependencygraph.svg",
- "build:docs": "DOCS_GEN=TRUE oclif-dev readme --multi && md-magic --path '**/*.md' --ignore 'node_modul... | 2 |
diff --git a/src/traces/waterfall/calc.js b/src/traces/waterfall/calc.js @@ -16,6 +16,8 @@ var calcSelection = require('../scatter/calc_selection');
function extractInstructions(list) {
var result = [];
+ if(!list || !list.length) return result;
+
for(var i = 0; i < list.length; i++) {
result.push(
(list[i].length) ? l... | 9 |
diff --git a/token-metadata/0xF03f8D65BaFA598611C3495124093c56e8F638f0/metadata.json b/token-metadata/0xF03f8D65BaFA598611C3495124093c56e8F638f0/metadata.json "symbol": "VIEW",
"address": "0xF03f8D65BaFA598611C3495124093c56e8F638f0",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/documentation/jetson/FLASH_JETSON.md b/documentation/jetson/FLASH_JETSON.md @@ -18,7 +18,7 @@ jetson_release
# Output should be something like:
# - NVIDIA Jetson TX2
-# * Jetpack 4.2 [L4T 32.1.0]
+# * Jetpack 4.3 [L4T 32.3.1]
# * CUDA GPU architecture 6.2
# * NV Power Mode: MAXN - Type: 0
```
| 3 |
diff --git a/test/functional/specs/Privacy/IAB/C224675.js b/test/functional/specs/Privacy/IAB/C224675.js @@ -58,7 +58,7 @@ test("Test C224675: Passing invalid consent options should throw a validation er
.contains("Unexpected server response with status code 400")
.expect(errorMessageForInvalidStandard)
.contains(
- "T... | 3 |
diff --git a/source/swap/test/Swap.js b/source/swap/test/Swap.js @@ -139,12 +139,12 @@ contract('Swap', async accounts => {
signer: {
wallet: aliceAddress,
token: tokenAST.address,
- param: 200,
+ amount: 200,
},
sender: {
wallet: bobAddress,
token: tokenDAI.address,
- param: 50,
+ amount: 50,
},
})
@@ -165,12 +165,12 ... | 3 |
diff --git a/src/gml/type/GmlTypeCanCastTo.hx b/src/gml/type/GmlTypeCanCastTo.hx @@ -88,6 +88,7 @@ class GmlTypeCanCastTo {
if (p.length == 0) return true;
if (!canCastTo(p[0], GmlTypeDef.string, tpl, imp)) return false;
var vt = p[1];
+ if (vt == null || vt.getKind() == KAny) return true;
if (!canCastTo(mapMeta.defaul... | 11 |
diff --git a/wikibase/queryService/ui/queryHelper/QueryHelper.js b/wikibase/queryService/ui/queryHelper/QueryHelper.js @@ -413,7 +413,9 @@ wikibase.queryService.ui.queryHelper.QueryHelper = ( function( $, wikibase, _ )
if ( self._isSimpleMode ) {
return;
}
- entity = entity.replace( '?', '' );
+ entity = entity.replace... | 11 |
diff --git a/demo/views/pages/sandbox/index.js b/demo/views/pages/sandbox/index.js import React from 'react';
-import { Option, SelectAsync } from '__experimental__/components/select-async';
import { transform } from 'babel-standalone';
-import Button from '__experimental__/components/button';
import './sandbox.scss';
... | 13 |
diff --git a/src/system.json b/src/system.json "id": "sfrpg",
"title": "Starfinder",
"description": "A game system for running Starfinder in the Foundry VTT environment.",
- "version": "0.21.0",
+ "version": "0.22.0",
"manifestPlusVersion": "1.2.0",
"author": "The Starfinder System Developers",
"authors": [
"secondaryT... | 6 |
diff --git a/src/components/dashboard/Claim.js b/src/components/dashboard/Claim.js @@ -362,7 +362,7 @@ const Claim = props => {
} catch (exception) {
const { message } = exception
- if (!txHash || message.includes('Transaction with the same hash was already imported')) {
+ if (!txHash || !message.includes('Transaction ... | 0 |
diff --git a/articles/cross-origin-authentication/index.md b/articles/cross-origin-authentication/index.md @@ -31,6 +31,7 @@ Configuring your client for cross-origin authentication is a process that requir
1. Ensure that the **Allowed Web Origins** field is set to the domain making the request. You can find this field ... | 0 |
diff --git a/packages/blocksAntd/src/blocks/Icon/Icon.js b/packages/blocksAntd/src/blocks/Icon/Icon.js import React, { lazy, Suspense, memo } from 'react';
import { Loading3QuartersOutlined, ExclamationCircleOutlined } from '@ant-design/icons';
import { ErrorBoundary, blockDefaultProps } from '@lowdefy/block-tools';
-i... | 1 |
diff --git a/apiserver/apiserver/web/match.py b/apiserver/apiserver/web/match.py @@ -97,13 +97,13 @@ def list_matches_helper(offset, limit, participant_clause,
model.game_participants,
(model.games.c.id == model.game_participants.c.game_id) &
participant_clause,
- ).join(
+ ).outerjoin(
model.game_stats,
(model.games.c... | 1 |
diff --git a/src/plots/cartesian/index.js b/src/plots/cartesian/index.js @@ -303,8 +303,8 @@ exports.clean = function(newFullData, newFullLayout, oldFullData, oldFullLayout)
};
exports.drawFramework = function(gd) {
- var fullLayout = gd._fullLayout,
- subplotData = makeSubplotData(gd);
+ var fullLayout = gd._fullLayou... | 14 |
diff --git a/test/jasmine/karma.conf.js b/test/jasmine/karma.conf.js @@ -4,7 +4,7 @@ var path = require('path');
var minimist = require('minimist');
var constants = require('../../tasks/util/constants');
-var isCI = !!process.env.CIRCLECI;
+var isCI = !!process.env.CI;
var argv = minimist(process.argv.slice(4), {
strin... | 9 |
diff --git a/src/authMatchPolicyResource.js b/src/authMatchPolicyResource.js @@ -2,6 +2,9 @@ module.exports = (policyResource, resource) => {
if (policyResource === resource) {
return true;
}
+ else if (policyResource === '*') {
+ return true;
+ }
else if (policyResource.includes('*')) {
//Policy contains a wildcard re... | 1 |
diff --git a/package-lock.json b/package-lock.json }
},
"deep-equal": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-2.0.3.tgz",
- "integrity": "sha512-Spqdl4H+ky45I9ByyJtXteOm9CaIrPmnIPmOhrkKGNYWeDgCvJ8jNYVCTjChxW4FqGuZnLHADc8EKRMX6+CgvA==",
+ "version": "2.0.2",
+ "resolved"... | 3 |
diff --git a/reports/templates/report.html b/reports/templates/report.html });
</script>
+
<div class="container">
+ <!-- Sub navigation -->
+ <div class="sub-navigation">
+ <div class="sub-navigation-header">
+ <h4 class="page-title">
+ {{ request.user.activity_user.organization.level_1_label }} Reports
+ </h4>
+ </di... | 0 |
diff --git a/lib/assets/core/javascripts/cartodb3/editor/layers/layer-content-views/legend/legend-base-type-view.js b/lib/assets/core/javascripts/cartodb3/editor/layers/layer-content-views/legend/legend-base-type-view.js @@ -58,6 +58,13 @@ module.exports = CoreView.extend({
visible: this._isLayerHidden() || this._legen... | 4 |
diff --git a/contracts/package.json b/contracts/package.json "test:ganache": "yarn run buidler test --network ganache",
"test:fork": "FORK=true yarn run buidler test --network ganache",
"fund": "yarn run buidler --network ganache run scripts/fund.js",
- "fund:fork": "yarn run fund",
+ "fund:fork": "FORK=true yarn run f... | 12 |
diff --git a/token-metadata/0x633eE3fbE5ffc05bD44Ecd8240732fF9ef9Dee1d/metadata.json b/token-metadata/0x633eE3fbE5ffc05bD44Ecd8240732fF9ef9Dee1d/metadata.json "symbol": "PEAK",
"address": "0x633eE3fbE5ffc05bD44Ecd8240732fF9ef9Dee1d",
"decimals": 8,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/lib/assets/core/javascripts/deep-insights/widgets/category/title/search-title-view.js b/lib/assets/core/javascripts/deep-insights/widgets/category/title/search-title-view.js @@ -104,8 +104,7 @@ module.exports = CoreView.extend({
var actionsTooltip = new TipsyTooltipView({
el: this.$el.find('.js-actions'),
... | 2 |
diff --git a/docs/_sass/_main.scss b/docs/_sass/_main.scss @@ -134,7 +134,7 @@ select,
textarea {
line-height: 1.4;
font-weight: 400;
- font-family: "GTAmericaExp-Regular", "Helvetica Neue", "Helvetica", Arial, sans-serif;
+ font-family: "ExpensifyNeue-Regular", "Helvetica Neue", "Helvetica", Arial, sans-serif;
font-si... | 4 |
diff --git a/contracts/Proxy.sol b/contracts/Proxy.sol FILE INFORMATION
-----------------------------------------------------------------
file: Proxy.sol
-version: 0.3
+version: 0.4
author: Anton Jurisevic
date: 2018-2-28
@@ -19,10 +19,6 @@ A proxy contract that, if it does not recognise the function
being called on it... | 2 |
diff --git a/make.js b/make.js @@ -227,6 +227,8 @@ b.task('build:test-assets', ['build:demo:vfs', 'build:desktop:dars'], () => {
moduleName: 'TEST_VFS',
rootDir: path.join(__dirname, 'test', 'fixture')
})
+ // copy a non-minified substance file into test folder
+ b.copy('./node_modules/substance/dist/substance.js*', DI... | 4 |
diff --git a/module/gurps.js b/module/gurps.js @@ -924,7 +924,7 @@ Hooks.once("init", async function () {
type: String,
choices: {
'Standard': 'Size and Speed/Range Table',
- 'Simplified': 'Range bands from GURPS Monster Hunters 2: The Mission'
+ 'Simplified': 'Monster Hunters tange bands'
},
default: 'Standard',
onCha... | 3 |
diff --git a/src/traces/parcoords/calc.js b/src/traces/parcoords/calc.js @@ -46,10 +46,6 @@ function constHalf(len) {
return out;
}
-function isTypedArray(a) {
- return !Array.isArray(a) && Lib.isArrayOrTypedArray(a);
-}
-
function convertTypedArray(a) {
- return (isTypedArray(a)) ? Array.prototype.slice.call(a) : a;
+... | 2 |
diff --git a/_blogposts/2020-12-07-release-8-4.mdx b/_blogposts/2020-12-07-release-8-4.mdx @@ -3,8 +3,10 @@ author: hongbo
date: "2020-12-07"
previewImg:
category: compiler
+badge: release
title: ReScript 8.4
description: |
+ bsb improvements
---
## Introduction
@@ -29,7 +31,7 @@ so that once it's built for the first t... | 1 |
diff --git a/test/cf/smoke/src/test/test.js b/test/cf/smoke/src/test/test.js @@ -359,10 +359,12 @@ describe('abacus-smoke-test', function() {
request.post(collector + '/v1/metering/collected/usage',
extend({ body: u.usage }, authHeader(objectStorageToken)),
(err, val) => {
- expect(err).to.equal(undefined);
+ expect(er... | 7 |
diff --git a/src/mixins/helpers.js b/src/mixins/helpers.js @@ -240,6 +240,9 @@ var helpers = {
if (i >= slideCount && this.state.lazyLoadedList.indexOf(i - slideCount) < 0) {
slidesToLoad.push(i - slideCount)
}
+ if (i < 0 && this.state.lazyLoadedList.indexOf(i + slideCount) < 0) {
+ slidesToLoad.push(i + slideCount)
+... | 1 |
diff --git a/src/style/apply.js b/src/style/apply.js @@ -24,6 +24,11 @@ styfn.apply = function( eles ){
var ele = eles[ ie ];
var cxtMeta = self.getContextMeta( ele );
+
+ if( cxtMeta.empty ){
+ continue;
+ }
+
var cxtStyle = self.getContextStyle( cxtMeta );
var app = self.applyContextStyle( cxtMeta, cxtStyle, ele );
@... | 7 |
diff --git a/lib/shared/addon/components/form-versions/component.js b/lib/shared/addon/components/form-versions/component.js @@ -180,7 +180,7 @@ export default Component.extend({
}
if (editing) {
- if (applyClusterTemplate && valueIsPatchVersion) {
+ if (applyClusterTemplate) {
if (initialVersionDoesSatisfy) {
value = ... | 2 |
diff --git a/src/post/Write/SideControls.js b/src/post/Write/SideControls.js @@ -7,6 +7,7 @@ import React, { Component } from 'react';
import './PostEditor.scss';
import Icon from '../../widgets/Icon';
import { uploadFile } from '../../user/userActions';
+import { notify } from '../../app/Notification/notificationActio... | 12 |
diff --git a/token-metadata/0x55Eb5288c9b65037a4cd2289637f38A4F9DB3a6B/metadata.json b/token-metadata/0x55Eb5288c9b65037a4cd2289637f38A4F9DB3a6B/metadata.json "symbol": "KGW",
"address": "0x55Eb5288c9b65037a4cd2289637f38A4F9DB3a6B",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/packages/api-explorer/src/Doc.jsx b/packages/api-explorer/src/Doc.jsx @@ -181,9 +181,7 @@ class Doc extends React.Component {
}
resetTryItRequest(e) {
- this.setState({
- tryItRequestFired: e,
- });
+ this.state.tryItRequestFired = e;
}
renderCodeSample() {
| 12 |
diff --git a/ui/less/containers.less b/ui/less/containers.less .fullscreen-container() {
width: 100%;
height: 100%;
+ background-color: black;
}
.shaka-video-container:fullscreen { .fullscreen-container(); }
.shaka-video-container:-webkit-full-screen { .fullscreen-container(); }
| 12 |
diff --git a/src/public/drug/sections/MechanismsOfAction/Section.js b/src/public/drug/sections/MechanismsOfAction/Section.js import React, { Fragment } from 'react';
+import { Link } from 'ot-ui';
-import { Link, OtTableRF } from 'ot-ui';
+import Table from '../../../common/Table/Table';
+import { PaginationActionsComp... | 4 |
diff --git a/js/node/bis_wswebsocketfileserver.js b/js/node/bis_wswebsocketfileserver.js @@ -395,7 +395,7 @@ class BisWSWebSocketFileServer extends BaseFileServer {
self.sendCommand(socket,'uploadcomplete', 'file saved in '+writeLocation+' (isbinary='+dataInProgress.isbinary+')').then( () => {
dataInProgress.data=null;... | 1 |
diff --git a/contracts/FeePool.sol b/contracts/FeePool.sol @@ -410,6 +410,12 @@ contract FeePool is Proxyable, SelfDestructible, LimitedSetup {
public
optionalProxy_onlyOwner
{
+ // Get the ExchageRates address with the XDR rate (its not in the new one)
+ address _exchangeRates = 0xE95Ef4e7a04d2fB05cb625c62CA58da10112c... | 3 |
diff --git a/defaultConfig.js b/defaultConfig.js @@ -321,7 +321,7 @@ module.exports = {
|
| Add...
|
- | Class name: .border-{width}
+ | Class name: .border{-side?}{-width?}
|
*/
@@ -532,7 +532,7 @@ module.exports = {
|
| Add...
|
- | Class name: .p-{size}
+ | Class name: .p{-side?}-{size}
|
*/
@@ -555,7 +555,7 @@ modu... | 7 |
diff --git a/packages/spark-core/components/toggle.js b/packages/spark-core/components/toggle.js @@ -35,7 +35,8 @@ const toggleAriaExpanded = (toggleTrigger) => {
const handleToggleClick = (toggleContent, toggleIcon, toggleIconUse, element) => {
const trigger = element;
- const isAccordion = trigger.getAttribute('data-... | 3 |
diff --git a/lib/core/api/client_manager.rb b/lib/core/api/client_manager.rb @@ -13,7 +13,7 @@ module Core
{
region_id: Rails.configuration.default_region,
ssl_verify_mode: Rails.configuration.ssl_verify_peer,
- interface: ENV['DEFAULT_SERVICE_INTERFACE'] || 'public',
+ interface: ENV['DEFAULT_SERVICE_INTERFACE'] || 'i... | 4 |
diff --git a/src/lib/validate.js b/src/lib/validate.js @@ -20,7 +20,7 @@ module.exports.validateUsernameRemotely = username => (
uri: `/accounts/checkusername/${username}/`
}, (err, body, res) => {
if (err || res.statusCode !== 200) {
- resolve({valid: false, errMsgId: 'general.apiError'});
+ resolve({valid: false, err... | 4 |
diff --git a/docs/typescript.md b/docs/typescript.md @@ -129,4 +129,4 @@ However, before you do, please [open an issue on Mongoose's GitHub page](https:/
### Next Up
-Now that you've seen the basics of how to use Mongoose in TypeScript, let's take a look at [statics in TypeScript](/docs/typescript/statics.html).
+Now t... | 1 |
diff --git a/src/defaultConfig.js b/src/defaultConfig.js @@ -14,8 +14,8 @@ module.exports = function (config) {
let pathPrefix = pathPrefixOverride || templateConfig.getPathPrefix();
return urlFilter.call(this, url, pathPrefix);
});
- config.addFilter("log", (input, ...data) => {
- console.log(input, ...data);
+ config... | 10 |
diff --git a/assets/js/components/legacy-notifications/util.js b/assets/js/components/legacy-notifications/util.js @@ -24,8 +24,9 @@ import { applyFilters } from '@wordpress/hooks';
/**
* Internal dependencies
*/
-import data, { TYPE_MODULES } from '../data';
-import { getCache } from '../data/cache';
+import { getItem... | 14 |
diff --git a/Apps/Sandcastle/gallery/LensFlare.html b/Apps/Sandcastle/gallery/LensFlare.html @@ -69,7 +69,7 @@ for (var name in viewModel) {
}
}
-var lensFlare = viewer.scene.postProcessStages.add(Cesium.PostProcessStageLibrary.createLensFlarStage());
+var lensFlare = viewer.scene.postProcessStages.add(Cesium.PostProce... | 3 |
diff --git a/src/events/http/HttpServer.js b/src/events/http/HttpServer.js @@ -539,23 +539,18 @@ export default class HttpServer {
const stageVariables = this.#serverless.service.custom
? this.#serverless.service.custom.stageVariables
: null
- let lambdaProxyIntegrationEvent
- if (endpoint.isHttpApi && endpoint.payload... | 0 |
diff --git a/priv/public/ui/app/mn_admin/mn_xdcr/create_dialog/mn_xdcr_create_dialog_controller.js b/priv/public/ui/app/mn_admin/mn_xdcr/create_dialog/mn_xdcr_create_dialog_controller.js var promise = mnXDCRService.postRelication(replication);
mnPromiseHelper(vm, promise, $uibModalInstance)
.showGlobalSpinner()
- .catc... | 9 |
diff --git a/src/Worker.js b/src/Worker.js @@ -24,6 +24,7 @@ const baseUrl = (src => {
return 'file://' + process.cwd();
}
})(src);
+setBaseUrl(baseUrl);
const _normalizeUrl = src => {
if (!/^(?:data|blob):/.test(src)) {
const match = baseUrl.match(/^(file:\/\/)(.*)$/);
| 12 |
diff --git a/plugins/lookup/app/controllers/lookup/services_controller.rb b/plugins/lookup/app/controllers/lookup/services_controller.rb @@ -45,7 +45,7 @@ module Lookup
'lb_listener' => %w[loadbalancing find_listener],
'lb_pool' => %w[loadbalancing find_pool],
'lb_healthmonitor' => %w[loadbalancing find_healthmonitor],... | 1 |
diff --git a/components/Article/ArticleGallery.js b/components/Article/ArticleGallery.js @@ -57,16 +57,20 @@ class ArticleGallery extends Component {
const nextShow = !this.state.show
const { galleryItems } = this.state
if (nextShow && galleryItems.some(i => i.src === nextSrc.split('&')[0])) {
- this.setState({
+ this.... | 4 |
diff --git a/src/components/Label/Label.styl b/src/components/Label/Label.styl font-size 14px
line-height @height
background-color var(--background)
+ color #333
border-left-style solid
border-left-width 4px
border-left-color var(--color)
background-color var(--color)
&_selected
- box-shadow: 0px 0px 0px 3px var(--colo... | 7 |
diff --git a/src/dot.js b/src/dot.js @@ -153,19 +153,34 @@ export default function(src, callback) {
var startNode = nodeDictionary[startNodeId];
var prevStartNode = prevNodeDictionary[startNodeId];
if (prevStartNode) {
- var startShape = startNode.children[3];
- if (startShape.tag == 'g' && startShape.children[0].tag =... | 9 |
diff --git a/assets/js/components/activation/activation-main.js b/assets/js/components/activation/activation-main.js @@ -59,7 +59,7 @@ export function ActivationMain( { buttonURL, onButtonClick, buttonLabel } ) {
<div className="googlesitekit-start-setup-wrap">
<Button
id="start-setup-link"
- className="googlesitekit-s... | 2 |
diff --git a/layouts/base-adresse-nationale.js b/layouts/base-adresse-nationale.js @@ -22,7 +22,6 @@ const propTypes = {
}
export function Mobile({address, bbox, viewHeight, handleSelect}) {
- const [showOverlay, setShowOverlay] = useState(false)
const [selectedLayout, setSelectedLayout] = useState('map')
return (
@@ -... | 2 |
diff --git a/src/plots/gl3d/scene.js b/src/plots/gl3d/scene.js @@ -332,8 +332,6 @@ proto.render = function() {
return Axes.hoverLabelText(ax, val, hoverformat);
}
- var oldEventData;
-
if(lastPicked !== null) {
var pdata = project(scene.glplot.cameraParams, selection.dataCoordinate);
trace = lastPicked.data;
@@ -456,10... | 1 |
diff --git a/articles/multifactor-authentication/factors/email.md b/articles/multifactor-authentication/factors/email.md @@ -9,11 +9,15 @@ contentType:
---
# MFA with Email
-Enabling MFA with Email is useful when you want to give users a fallback MFA factor for when they do not have access to their normal MFA method (e... | 3 |
diff --git a/UserReviewBanHelper.user.js b/UserReviewBanHelper.user.js // @description Display users' prior review bans in review, Insert review ban button in user review ban history page, Load ban form for user if user ID passed via hash
// @homepage https://github.com/samliew/SO-mod-userscripts
// @author @samliew
-/... | 2 |
diff --git a/assets/js/components/data-table.js b/assets/js/components/data-table.js @@ -95,7 +95,7 @@ export const getDataTableFromData = ( data, headers, options ) => {
<table
className={ `
googlesitekit-table__wrapper
- googlesitekit-table__wrapper--${ data[ 0 ].length }-col
+ googlesitekit-table__wrapper--${ data &... | 1 |
diff --git a/test/jasmine/karma.conf.js b/test/jasmine/karma.conf.js @@ -124,7 +124,7 @@ function func(config) {
//
// See https://github.com/karma-runner/karma/commit/89a7a1c#commitcomment-21009216
func.defaultConfig.browserConsoleLogOptions = {
- level: 'log'
+ level: 'debug'
};
config.set(func.defaultConfig);
| 12 |
diff --git a/assets/js/modules/idea-hub/datastore/draft-post-ideas.js b/assets/js/modules/idea-hub/datastore/draft-post-ideas.js @@ -28,15 +28,9 @@ const { createRegistrySelector, commonActions, combineStores } = Data;
const fetchGetDraftPostIdeasStore = createFetchStore( {
baseName: 'getDraftPostIdeas',
controlCallbac... | 2 |
diff --git a/lib/node_modules/@stdlib/streams/node/from-iterator/test/test.main.js b/lib/node_modules/@stdlib/streams/node/from-iterator/test/test.main.js @@ -24,6 +24,7 @@ var tape = require( 'tape' );
var Readable = require( 'readable-stream' ).Readable;
var isBuffer = require( '@stdlib/assert/is-buffer' );
var array... | 4 |
diff --git a/token-metadata/0xbE9375C6a420D2eEB258962efB95551A5b722803/metadata.json b/token-metadata/0xbE9375C6a420D2eEB258962efB95551A5b722803/metadata.json "symbol": "STMX",
"address": "0xbE9375C6a420D2eEB258962efB95551A5b722803",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/network.js b/network.js @@ -2203,7 +2203,12 @@ function onWebsocketMessage(message) {
console.log('RECEIVED '+message+' from '+ws.peer);
ws.last_ts = Date.now();
+ try{
var arrMessage = JSON.parse(message);
+ }
+ catch(e){
+ return console.log('failed to json.parse message '+message);
+ }
var message_type ... | 8 |
diff --git a/website/components/CodeBlock.js b/website/components/CodeBlock.js @@ -52,19 +52,26 @@ export default function CodeBlock({
}}
extend={{
cursor: 'pointer',
- borderRadius: 20,
+ borderRadius: '50%',
outline: 0,
- backgroundColor: theme.colors.blue,
+ backgroundColor: theme.colors.blueLight,
borderWidth: 2,
b... | 7 |
diff --git a/src/components/nodes/callActivity/CallActivityFormSelect.vue b/src/components/nodes/callActivity/CallActivityFormSelect.vue @@ -25,15 +25,6 @@ export default {
uniqBy(process.events, 'ownerProcessId').forEach(event => {
list.push(this.toDropdownFormat(process, event));
});
-
- // const subprocessList = [];... | 2 |
diff --git a/apps/heatmap/uicallbacks.js b/apps/heatmap/uicallbacks.js @@ -427,29 +427,36 @@ async function saveEditData(){
})
// add new one or update old one
- let rs = null;
const now = getDateInString();
const editData = $D.editedDataClusters.toJSON()
- if(data.length == 0){
+
+
+ // delete old one
+ let create_dat... | 1 |
diff --git a/gulpfile.babel.js b/gulpfile.babel.js @@ -70,7 +70,10 @@ gulp.task('karma', ['lint'], function (done) {
configFile: __dirname + '/karma.conf.js',
singleRun: !Boolean(argv['keep-browser-open']),
client: {
- captureConsole: Boolean(argv['capture-console'])
+ captureConsole: Boolean(argv['capture-console']),
... | 12 |
diff --git a/src/commands/utility/ImportDataCommand.js b/src/commands/utility/ImportDataCommand.js @@ -67,6 +67,7 @@ async function insertStrikes(db, data, type, guildid, botid) {
function getUsers(data, type, guildid, botid) {
const users = [];
for (const user of Object.keys(data)) {
+ if (data[user] > Number.MAX_SAFE... | 8 |
diff --git a/src/parsers/GmlReader.hx b/src/parsers/GmlReader.hx @@ -612,7 +612,8 @@ using tools.NativeString;
// see if there's `= value`:
skipSpaces1x(till);
- if (peek() == "=".code) {
+ c = peek();
+ if (c == "=".code || c == ":".code && peek(1) == "=".code) {
skip(); skipSpaces1();
d.exprStart = pos;
skipVarExpr(v... | 1 |
diff --git a/src/templates/actors/npc2-sheet.hbs b/src/templates/actors/npc2-sheet.hbs <span class="sep"> / </span>
<input name="system.attributes.hp.max" type="text" value="{{system.attributes.hp.max}}" data-dtype="Number" placeholder="10" />
</div>
+ <footer class="attribute-footer">
+ <div>
+ <input name="system.att... | 0 |
diff --git a/client/index.html b/client/index.html robotState.innerHTML = res.human_state;
}
- if (res.in_cleaning === 1) {
+ if (res.in_cleaning === 1 || res.in_cleaning === 2) {
if (res.state === 3 || res.state === 10 || res.state === 2) {
pauseButton.setAttribute("disabled", "disabled");
startButton.removeAttribute(... | 11 |
diff --git a/background_scripts/actions.js b/background_scripts/actions.js @@ -476,6 +476,8 @@ Actions = (function() {
};
_.openLast = function(o) {
+ if (o.sender.tab.incognito)
+ return;
var stepBackFN = Sessions.nativeSessions ?
chrome.sessions.restore.bind(chrome.sessions) :
Sessions.stepBack.bind(Sessions, o.sende... | 8 |
diff --git a/src/android/src/main/java/com/RNFetchBlob/RNFetchBlobFS.java b/src/android/src/main/java/com/RNFetchBlob/RNFetchBlobFS.java @@ -248,9 +248,9 @@ public class RNFetchBlobFS {
CharsetEncoder encoder = Charset.forName("UTF-8").newEncoder();
while ((cursor = fs.read(buffer)) != -1) {
encoder.encode(ByteBuffer.w... | 1 |
diff --git a/test/grbl.js b/test/grbl.js @@ -331,13 +331,13 @@ test('GrblLineParserResultSettings', (t) => {
];
const grbl = new Grbl();
let i = 0;
- grbl.on('settings', ({ raw, setting, value, description }) => {
+ grbl.on('settings', ({ raw, setting, value, message }) => {
if (i < lines.length) {
const r = raw.match(... | 10 |
diff --git a/articles/support/index.md b/articles/support/index.md @@ -137,7 +137,7 @@ Auth0's Business Hours are as follows:
Monday, 6:00 am CST/UTC+8 hours - Friday, 6:00 pm PDT/UTC-7 hours | 24/5 coverage during this period
**Critical Support Hours**
-Standard Support: 24/5 | Enterprise and Preferred Support: 24/7/2... | 1 |
diff --git a/src/components/validationStatus.vue b/src/components/validationStatus.vue <template>
<div>
- <div class="validation-container" v-if="toggleValidationPanel">
- <span class="validation-container__defaultMessage" v-if="!numberOfValidationErrors">no problems to report</span>
- <div class="validation-container_... | 14 |
diff --git a/lib/matcher.js b/lib/matcher.js @@ -17,6 +17,10 @@ module.exports = function() {
var obj = brands[kvnd];
var parts = toParts(kvnd);
+ if (obj.countryCodes) {
+ parts.countryCodes = obj.countryCodes.slice(); // copy
+ }
+
var matchTags = (obj.matchTags || [])
.map(function(s) { return s.toLowerCase(); });
v... | 11 |
diff --git a/tasks/stats.js b/tasks/stats.js @@ -181,7 +181,7 @@ function makeBundleInfo(pathObj) {
'',
'#### npm package (starting in `v1.39.0`)',
'',
- 'Install with',
+ 'Install [`' + pkgName + '`](https://www.npmjs.com/package/' + pkgName + ') with',
'```',
'npm install ' + pkgName,
'```',
| 0 |
diff --git a/runtime.js b/runtime.js @@ -475,8 +475,10 @@ const _loadScript = async (file, {files = null, parentUrl = null, instanceId = n
if (monetization && ethereumAddress && ethereumAddress == ownerAddress) {
monetization.dispatchEvent(new Event('monetizationstart'));
+ monetization.state = "started";
} else if (mo... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.