code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/test/jasmine/tests/violin_test.js b/test/jasmine/tests/violin_test.js @@ -522,7 +522,8 @@ describe('Test violin hover:', function() {
it('should show in two-sided base case', function(done) {
Plotly.plot(gd, fig).then(function() {
mouseEvent('mousemove', 250, 250);
- assertViolinHoverLine([299.35, 250, 200... | 3 |
diff --git a/src/runtime/offers-flow.js b/src/runtime/offers-flow.js @@ -18,6 +18,7 @@ import {ActivityIframeView} from '../ui/activity-iframe-view';
import {PayStartFlow} from './pay-flow';
import {SubscriptionFlows, ProductType, ReplaceSkuProrationMode} from '../api/subscriptions';
import {feArgs, feUrl} from './serv... | 14 |
diff --git a/deepfence_ui/app/scripts/components/settings-view/email-configuration/email-configuration-view.js b/deepfence_ui/app/scripts/components/settings-view/email-configuration/email-configuration-view.js @@ -187,12 +187,12 @@ class EmailConfiguration extends React.Component {
type="password"
className="form-cont... | 1 |
diff --git a/contribs/gmf/apps/desktop_alt/Controller.js b/contribs/gmf/apps/desktop_alt/Controller.js @@ -74,7 +74,7 @@ class Controller extends AbstractDesktopController {
center: [2632464, 1185457],
zoom: 3,
resolutions: [250, 100, 50, 20, 10, 5, 2, 1, 0.5, 0.25, 0.1, 0.05],
- constrainResolution: true,
+ constrainR... | 12 |
diff --git a/components/Account/UpdateMe.js b/components/Account/UpdateMe.js @@ -28,7 +28,7 @@ import { Hint } from './Elements'
const { H2, P } = Interaction
const birthdayFormat = '%d.%m.%Y'
-export const birthdayParse = swissTime.parse(birthdayFormat)
+const birthdayParse = swissTime.parse(birthdayFormat)
const fiel... | 13 |
diff --git a/learn/configuration/typo_tolerance.md b/learn/configuration/typo_tolerance.md @@ -55,7 +55,7 @@ You can disable typo tolerance for a specific [document attribute](/learn/core_c
<CodeSamples id="typo_tolerance_guide_2" />
-If you type `Dunbo` instead of `Dumbo` with the above settings, Meilisearch won't mat... | 7 |
diff --git a/screen/send/details.js b/screen/send/details.js @@ -50,10 +50,12 @@ export default class SendDetails extends Component {
if (props.navigation.state.params) fromAddress = props.navigation.state.params.fromAddress;
let fromSecret;
if (props.navigation.state.params) fromSecret = props.navigation.state.params.... | 9 |
diff --git a/js/bitmart.js b/js/bitmart.js @@ -537,59 +537,35 @@ module.exports = class bitmart extends Exchange {
const base = this.safeCurrencyCode (baseId);
const quote = this.safeCurrencyCode (quoteId);
const settle = this.safeCurrencyCode (settleId);
- //
- // https://github.com/bitmartexchange/bitmart-official-ap... | 13 |
diff --git a/packages/cx/src/widgets/form/Field.js b/packages/cx/src/widgets/form/Field.js @@ -410,8 +410,8 @@ export function getFieldTooltip(instance) {
export function autoFocus(el, component) {
if (isTouchEvent()) return;
let data = component.props.data || component.props.instance.data;
- let autoFocusEl = data.aut... | 11 |
diff --git a/js/coreweb/bisweb_studytaskmanager.js b/js/coreweb/bisweb_studytaskmanager.js @@ -444,7 +444,6 @@ class StudyTaskManager {
/** Plot data for a single run */
plotTaskDataRun(runName) {
- console.log('runName', runName, 'taskdata', this.taskdata);
const taskNames = this.taskdata.taskNames;
let canvas=this.ca... | 1 |
diff --git a/token-metadata/0x7841B2A48D1F6e78ACeC359FEd6D874Eb8a0f63c/metadata.json b/token-metadata/0x7841B2A48D1F6e78ACeC359FEd6D874Eb8a0f63c/metadata.json "symbol": "KERMAN",
"address": "0x7841B2A48D1F6e78ACeC359FEd6D874Eb8a0f63c",
"decimals": 4,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED... | 3 |
diff --git a/src/base/TapCursorMixin.js b/src/base/TapCursorMixin.js @@ -80,16 +80,16 @@ export default function TapCursorMixin(Base) {
? event.composedPath()[0]
: event.target;
- // Find which item was clicked on and, if found, make it current. For
- // elements which don't require a cursor, a background click will
+ ... | 8 |
diff --git a/scene-previewer.js b/scene-previewer.js @@ -164,9 +164,9 @@ class ScenePreviewer extends THREE.Object3D {
this.rendered = false;
}
async loadScene(sceneUrl) {
- if (this.scene) {
+ /* if (this.scene) {
this.detachScene();
- }
+ } */
const popPreviewContainerTransform = !this.focused ? this.#pushPreviewCont... | 2 |
diff --git a/client/HowToPlay.jsx b/client/HowToPlay.jsx @@ -63,7 +63,7 @@ class HowToPlay extends React.Component {
the conflict. You will also get the option to use a Manual Action in action windows which puts an announcement in chat and passes priority
to your opponent, but won't have any other in-game effect.</p>
<... | 1 |
diff --git a/CHANGELOG.md b/CHANGELOG.md ## 14.13.0
- Added: `cacheStrategy` option ([#6357](https://github.com/stylelint/stylelint/pull/6357)) ([@kaorun343](https://github.com/kaorun343)).
-- Fixed: `selector-pseudo-element-no-unknown` false positives for `::highlight` pseudo-element ([#6367](https://github.com/stylel... | 6 |
diff --git a/articles/tokens/index.html b/articles/tokens/index.html @@ -117,7 +117,7 @@ useCase:
</p>
<ul>
<li>
- <i class="icon icon-budicon-695"></i><a href="/libraries/lock-ios/save-and-refresh-jwt-tokens">Lock iOS: Saving and Refreshing JWT Tokens</a>
+ <i class="icon icon-budicon-695"></i><a href="/libraries/auth... | 3 |
diff --git a/src/components/DemographicDetailView/index.js b/src/components/DemographicDetailView/index.js @@ -60,7 +60,7 @@ const DemographicDetailView = ({ demographics }) => {
<div style={chartStyle}>
<RechartsPie
data={demographics.populations}
- chartProportions={chartProportions} // eslint-disable-line max-len
+ ... | 2 |
diff --git a/token-metadata/0xF80D589b3Dbe130c270a69F1a69D050f268786Df/metadata.json b/token-metadata/0xF80D589b3Dbe130c270a69F1a69D050f268786Df/metadata.json "symbol": "DAM",
"address": "0xF80D589b3Dbe130c270a69F1a69D050f268786Df",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/commands/punish.js b/commands/punish.js const util = require('../lib/util.js');
exports.command = async (message, args, database, bot) => {
- if (!await util.isMod(message.member)) {
+ if (!await util.isMod(message.member) && !message.member.hasPermission('MANAGE_GUILD')) {
message.channel.send("You don't ... | 11 |
diff --git a/package.json b/package.json "test-requirejs": "node tasks/test_requirejs.js",
"test-plain-obj": "node tasks/test_plain_obj.js",
"test": "npm run test-jasmine -- --nowatch && npm run test-bundle && npm run test-image && npm run test-export && npm run test-syntax && npm run lint",
- "start-test_dashboard": "... | 2 |
diff --git a/weapons-manager.js b/weapons-manager.js @@ -847,14 +847,23 @@ const _makeRigCapsule = () => {
return mesh;
};
const rigCapsule = _makeRigCapsule();
-const _intersectRigs = raycaster => {
- const intersections = raycaster.intersectObjects([rigCapsule], false, []);
+const _intersectRigs = (() => {
+ const in... | 0 |
diff --git a/guides/airflow-vs-oozie.md b/guides/airflow-vs-oozie.md @@ -3,7 +3,7 @@ title: "Airflow vs. Oozie"
description: "How Airflow differs from Oozie."
date: 2018-05-21T00:00:00.000Z
slug: "airflow-vs-oozie"
-heroImagePath: "https://s3.amazonaws.com/astronomer-cdn/website/img/guides/Oozie+vs+Airflow.png"
+heroIm... | 14 |
diff --git a/avatars/avatars.js b/avatars/avatars.js @@ -363,6 +363,7 @@ const loadPromise = (async () => {
swordSideSlash: animations.find(a => a.name === 'sword_side_slash.fbx'),
swordSideSlashStep: animations.find(a => a.name === 'sword_side_slash_step.fbx'),
swordTopDownSlash: animations.find(a => a.name === 'sword... | 0 |
diff --git a/src/plots/mapbox/mapbox.js b/src/plots/mapbox/mapbox.js @@ -367,7 +367,10 @@ proto.resolveOnRender = function(resolve) {
if(map.loaded()) {
map.off('render', onRender);
// resolve at end of render loop
- setTimeout(resolve, 0);
+ //
+ // Need a 10ms delay (0ms should suffice to skip a thread in the
+ // re... | 0 |
diff --git a/src/static/js/pad_automatic_reconnect.js b/src/static/js/pad_automatic_reconnect.js @@ -28,6 +28,7 @@ var createCountDownElementsIfNecessary = function($modal) {
$('<span>')
.attr('data-l10n-id', 'pad.modals.reconnecttimer')
.text('Trying to reconnect in'))
+ .append(' ')
.append(
$('<span>')
.addClass('ti... | 5 |
diff --git a/kotobaweb/src/bot/quiz_builder_components/font_editor.jsx b/kotobaweb/src/bot/quiz_builder_components/font_editor.jsx @@ -44,16 +44,16 @@ class FontEditor extends PureComponent {
<div className="card-block-title" style={{ backgroundColor: this.props.fontSettings.backgroundColor }}>
<h5 className="card-titl... | 11 |
diff --git a/articles/support/index.md b/articles/support/index.md @@ -117,7 +117,7 @@ The Support Program applies to **production instances** of the Auth0 Platform on
Your Sales Order will indicate whether you are subscribed to the **Standard** Support Program or the **Enterprise** Support Program. The features of eac... | 0 |
diff --git a/config/environments/test.rb b/config/environments/test.rb @@ -42,4 +42,6 @@ Rails.application.configure do
# config.action_view.raise_on_missing_translations = true
config.vapid_public_key = "BP0eSFqHWrs8xtF96UegaSl5rZJDbPkRen_9oQPZfq9q6iFmbwuELSKqm89qydRcG_F5xSsavxvbGyh_ci9_SQM="
config.vapid_private_key ... | 12 |
diff --git a/lib/core/file.js b/lib/core/file.js @@ -12,6 +12,7 @@ class File {
this.path = options.path;
this.basedir = options.basedir;
this.resolver = options.resolver;
+ this.downloadedImports = false;
}
parseFileForImport(content, isHttpContract, callback) {
@@ -52,12 +53,12 @@ class File {
// We already parsed th... | 12 |
diff --git a/src/encoded/types/pipeline.py b/src/encoded/types/pipeline.py @@ -10,8 +10,10 @@ from .base import (
from .shared_calculated_properties import (
CalculatedAssayTermID
)
+from pyramid.traversal import (
+ find_root,
+)
-import re
@collection(
name='pipelines',
@@ -53,7 +55,6 @@ class Pipeline(Item, Calculat... | 0 |
diff --git a/ReviewQueueHelper.user.js b/ReviewQueueHelper.user.js // @description Keyboard shortcuts, skips accepted questions and audits (to save review quota)
// @homepage https://github.com/samliew/SO-mod-userscripts
// @author @samliew
-// @version 3.6.2
+// @version 3.6.3
//
// @include https://*stackoverflow.com... | 8 |
diff --git a/src/js/controllers/review.controller.js b/src/js/controllers/review.controller.js @@ -116,7 +116,9 @@ function reviewController(addressbookService, bitcoinCashJsService, bitcore, bit
if (!tx || !vm.originWallet) return;
if (vm.paymentExpired) {
- popupService.showAlert(null, gettextCatalog.getString('This ... | 9 |
diff --git a/ui/src/plugins/Platform.js b/ui/src/plugins/Platform.js @@ -50,6 +50,30 @@ function getPlatformMatch (userAgent) {
[]
}
+const hasTouch = isSSR === false
+ ? 'ontouchstart' in window || window.navigator.maxTouchPoints > 0
+ : false
+
+let unpatchedClientBrowser
+
+function applyIosCorrection (is) {
+ unpat... | 1 |
diff --git a/lib/build/files/webpack_files.js b/lib/build/files/webpack_files.js @@ -3,7 +3,7 @@ var files = {
page: 'dashboard',
stylesheets: [
'/stylesheets/common_new.css',
- '/stylesheets/dashboard.css',
+ '/stylesheets/dashboard.css'
],
scripts: [
'/javascripts/common.js',
@@ -27,7 +27,7 @@ var files = {
profile: ... | 2 |
diff --git a/docs/index.md b/docs/index.md @@ -251,6 +251,39 @@ If you are calling Facebook's API, be sure to send an `Accept: application/json`
.end(callback)
```
+### HTTPS Request
+
+SuperAgent supports method to make HTTP request using TLS/SSL.
+
+- `.ca()`: Set the CA certificate(s) to trust
+- `.cert()`: Set the ... | 0 |
diff --git a/.github/libs/GitUtils.js b/.github/libs/GitUtils.js @@ -44,12 +44,7 @@ function getMergeLogsAsJSON(fromRef, toRef) {
// Then format as JSON and convert to a proper JS object
const json = `[${sanitizedOutput}]`.replace('},]', '}]');
- try {
return JSON.parse(json);
- } catch (e) {
- console.log('Invalid JSO... | 13 |
diff --git a/rig.js b/rig.js @@ -25,6 +25,7 @@ const animationFileNames = [
// `ybot.fbx`,
`walking backwards.fbx`,
`running backwards.fbx`,
+ `falling.fbx`,
`falling idle.fbx`,
`falling landing.fbx`,
];
@@ -44,8 +45,9 @@ const animationsSelectMap = {
// `ybot.fbx`,
'walking backwards.fbx': new THREE.Vector3(0, 0, 0.5)... | 0 |
diff --git a/tests/pactHelper.js b/tests/pactHelper.js @@ -52,7 +52,7 @@ const shareResponseOcsData = function (node, shareType, id, permissions, fileTar
if (shareType === 3) {
res.appendElement('url', '', MatchersV3.regex(
'.*\\/s\\/[a-zA-Z0-9]+',
- config.backendHost + 's/yrkoLeS33y1aTya'))
+ getMockServerBaseUrl() +... | 14 |
diff --git a/tutorial/dep.md b/tutorial/dep.md @@ -73,6 +73,8 @@ go.sum: go.mod
Golang has a few dependency management tools. In this tutorial you will be using [`Go Modules`](https://github.com/golang/go/wiki/Modules). `Go Modules` uses a `go.mod` file in the root of the repository to define what dependencies the appl... | 7 |
diff --git a/src/content/platform/limits.md b/src/content/platform/limits.md @@ -134,8 +134,7 @@ Each environment variable has a size limitation of 5 KiB.
### Script size
-<!-- TODO(soon): Broken link to Bindings API documentation. -->
-A Workers script plus any [Asset Bindings](/tooling/api/bindings) can be up to 1MB ... | 1 |
diff --git a/includes/Context.php b/includes/Context.php @@ -191,10 +191,12 @@ final class Context {
// If currently in WP admin, run admin-specific checks.
if ( is_admin() ) {
// Support specific URL stats being checked in Site Kit dashboard details view.
- $entity_url_query_param = 'googlesitekit-dashboard' === $this... | 7 |
diff --git a/test/entity.spec.js b/test/entity.spec.js @@ -24,7 +24,6 @@ const expectedFiles = {
`${CLIENT_MAIN_SRC_DIR}app/entities/foo/foo-delete-dialog.component.ts`,
`${CLIENT_MAIN_SRC_DIR}app/entities/foo/foo-detail.component.ts`,
`${CLIENT_MAIN_SRC_DIR}app/entities/foo/foo.service.ts`,
- `${CLIENT_MAIN_SRC_DIR}ap... | 2 |
diff --git a/src/traces/parcoords/lines.js b/src/traces/parcoords/lines.js @@ -176,7 +176,7 @@ function setAttributes(attributes, sampleCount, points) {
function emptyAttributes(regl) {
var attributes = {};
for(var i = 0; i < 16; i++) {
- attributes['p' + i.toString(16)] = regl.buffer({usage: 'dynamic', type: 'float', ... | 0 |
diff --git a/articles/quickstart/webapp/php/01-login.md b/articles/quickstart/webapp/php/01-login.md @@ -24,14 +24,11 @@ ${snippet(meta.snippets.dependencies)}
## Configure Auth0 PHP Plugin
```php
-use Auth0\SDK\Auth0;
+use Auth0\SDK\API\Authentication;
-$auth0 = new Auth0(array(
- 'domain' => '${account.namespace}',
-... | 3 |
diff --git a/TRANSLATIONS.md b/TRANSLATIONS.md @@ -22,11 +22,9 @@ Similar to Readme's, please translate the assignments as well.
1. Add your translation to the quiz-app by adding a file [here](https://github.com/microsoft/Web-Dev-For-Beginners/tree/main/quiz-app/src/assets/translations), with proper naming convention (... | 3 |
diff --git a/common/components/utils/metrics.js b/common/components/utils/metrics.js @@ -3,6 +3,7 @@ import { TagDefinition } from "./ProjectAPIUtils.js";
import TagCategory from "../common/tags/TagCategory.jsx";
import Async from "./async.js";
import { SectionType } from "../enums/Section.js";
+import type { Dictionar... | 14 |
diff --git a/src/generic-provider-views/TableRow.js b/src/generic-provider-views/TableRow.js @@ -12,13 +12,16 @@ module.exports = (props) => {
<input type="checkbox"
role="option"
tabindex="0"
+ aria-label="Select file: ${props.title}"
id=${uniqueId}
checked=${props.isChecked}
disabled=${props.isDisabled}
onchange=${pr... | 0 |
diff --git a/hotbar.js b/hotbar.js @@ -306,7 +306,10 @@ class HotbarRenderer {
canvas.ctx = ctx;
this.canvases.push(canvas);
-
+ this.needsUpdate = true;
+ }
+ removeCanvas(canvas) {
+ this.canvases.splice(this.canvases.indexOf(canvas), 1);
this.needsUpdate = true;
}
setSelected(selected) {
| 0 |
diff --git a/assets/js/modules/optimize/components/common/OptimizeSnippetNotice.js b/assets/js/modules/optimize/components/common/OptimizeSnippetNotice.js /**
* WordPress dependencies
*/
-import { useMemo } from '@wordpress/element';
import { __ } from '@wordpress/i18n';
/**
@@ -45,34 +44,28 @@ export default function ... | 2 |
diff --git a/OurUmbraco.Site/Views/Partials/Navigation/TopNavigation.cshtml b/OurUmbraco.Site/Views/Partials/Navigation/TopNavigation.cshtml <li class="@(page.IsAncestorOrSelf(Model.Content) ? "current" : null)">
@if (page.Name == "Contribute")
{
- <a href="https://github.com/umbraco/Umbraco-CMS/blob/dev-v7/.github/CON... | 1 |
diff --git a/android/src/main/java/com/RNFetchBlob/RNFetchBlobReq.java b/android/src/main/java/com/RNFetchBlob/RNFetchBlobReq.java @@ -148,6 +148,9 @@ public class RNFetchBlobReq extends BroadcastReceiver implements Runnable {
if(options.addAndroidDownloads.hasKey("path")) {
req.setDestinationUri(Uri.parse("file://" + ... | 12 |
diff --git a/source/app/action/index.mjs b/source/app/action/index.mjs if (dryrun)
info("Actions to perform", "(none)")
else {
+ await fs.mkdir(paths.dirname(paths.join("/renders", filename)), {recursive:true})
await fs.writeFile(paths.join("/renders", filename), Buffer.from(rendered))
info(`Save to /metrics_renders/${... | 9 |
diff --git a/docs/policies/README.md b/docs/policies/README.md @@ -8,7 +8,7 @@ The following documents set forth the legal policies for the project:
- [Copyright][stdlib-copyright]
- [License][stdlib-license]
- [Privacy Policy][stdlib-privacy-policy]
-- [Terms of Use][stdlib-terms-of-use]
+- [Terms of Service][stdlib-t... | 10 |
diff --git a/apps/aptsciclk/app.js b/apps/aptsciclk/app.js @@ -144,6 +144,7 @@ var curWarning = Math.floor(Math.random() * (maxWarning+1));
function buttonPressed(){
if (curWarning < maxWarning) curWarning += 1;
else curWarning = 0;
+ g.reset();
buttonImg = getImg("butPress");
g.drawImage(buttonImg, 0, 0);
| 1 |
diff --git a/package.json b/package.json "homepage": "https://github.com/CityOfZion/neon-wallet",
"author": "Ethan Fast <ejhfast@gmail.com> (https://github.com/Ejhfast)",
"scripts": {
- "postinstall": "electron-builder install-app-deps && electron-rebuild --force --module_dir . -w node-hid -v 1.7.11",
+ "postinstall": ... | 3 |
diff --git a/packages/vulcan-core/lib/modules/components/Card/Card.jsx b/packages/vulcan-core/lib/modules/components/Card/Card.jsx @@ -73,6 +73,15 @@ const CardEditForm = ({ collection, document, closeModal, ...editFormProps }) =>
);
const Card = ({ title, className, collection, document, currentUser, fields, showEdit ... | 9 |
diff --git a/assets/js/components/legacy-notifications/dashboard-modules-alerts.js b/assets/js/components/legacy-notifications/dashboard-modules-alerts.js @@ -74,7 +74,7 @@ class DashboardModulesAlerts extends Component {
title={ notification.title || '' }
description={ notification.description || '' }
blockData={ noti... | 14 |
diff --git a/contracts/ExpectedRate.sol b/contracts/ExpectedRate.sol @@ -46,10 +46,11 @@ contract ExpectedRate is Withdrawable, ExpectedRateInterface, Utils {
require(srcQty <= MAX_QTY);
require(srcQty * quantityFactor <= MAX_QTY);
+ uint bestReserve;
uint minSlippage;
- expectedRate = kyberNetwork.findBestRates(src, d... | 13 |
diff --git a/src/features/settings/settingsSlice.js b/src/features/settings/settingsSlice.js @@ -96,6 +96,29 @@ export const fetchTarkovTrackerProgress = createAsyncThunk(
},
);
+const localStorageReadJson = (key, defaultValue) => {
+ try {
+ const value = localStorage.getItem(key);
+
+ console.log('read', { key, value... | 4 |
diff --git a/app/src/common/constants/permissions.js b/app/src/common/constants/permissions.js @@ -91,7 +91,7 @@ export const PERMISSIONS_MAP = {
[ACTIONS.EDIT_OWN_ACCOUNT]: ALL,
[ACTIONS.DELETE_LAUNCH]: OWNER,
[ACTIONS.EDIT_LAUNCH]: OWNER,
- [ACTIONS.FORCE_FINISH_LAUNCH]: OWNER,
+ [ACTIONS.FORCE_FINISH_LAUNCH]: ALL,
[... | 11 |
diff --git a/plugins/auth/auth_proxy.js b/plugins/auth/auth_proxy.js @@ -90,19 +90,18 @@ exports.try_auth_proxy = function (connection, hosts, user, passwd, cb) {
socket.on('line', function (line) {
connection.logprotocol(self, "S: " + line);
var matches = smtp_regexp.exec(line);
- if (!matches) return;
+ if (!matches)... | 1 |
diff --git a/src/effects/effects.js b/src/effects/effects.js @@ -966,15 +966,20 @@ function addProficiencies(modifiers, name) {
* @param {*} modifiers
* @param {*} name
*/
-function addHPEffect(modifiers, name, consumable) {
+function addHPEffect(ddb, modifiers, name, consumable) {
let changes = [];
// HP per level
- c... | 7 |
diff --git a/packages/cx/src/widgets/grid/Grid.js b/packages/cx/src/widgets/grid/Grid.js @@ -1706,6 +1706,7 @@ class GridComponent extends VDOM.Component {
}
moveCursor(index, {focused, hover, scrollIntoView, select, selectRange, selectOptions, cellIndex, cellEdit, cancelEdit} = {}) {
+ console.log(...arguments, new Er... | 7 |
diff --git a/articles/cross-origin-authentication/index.md b/articles/cross-origin-authentication/index.md @@ -45,6 +45,10 @@ Note that using `crossOriginVerification` as a fallback will only work if the br
Provide a page in your application which instantiates `WebAuth` from [auth0.js](/libraries/auth0js). Call `crossO... | 0 |
diff --git a/source/index/contracts/Index.sol b/source/index/contracts/Index.sol @@ -18,8 +18,15 @@ pragma experimental ABIEncoderV2;
import "openzeppelin-solidity/contracts/ownership/Ownable.sol";
+
/**
* @title Index: A List of Locators
+ * @notice The Locators are sorted in reverse order based on the score
+ * meani... | 3 |
diff --git a/src/js/Events.js b/src/js/Events.js @@ -431,7 +431,7 @@ function setuplisteners(canvas, data) {
let used = Object.values(multiiddict);
//find the smallest integer >= 1 that is not already used in O(n log n)
- used = used.sort();
+ used = used.sort((a, b) => a - b); //https://alligator.io/js/array-sort-numb... | 11 |
diff --git a/articles/server-platforms/aspnet/01-login.md b/articles/server-platforms/aspnet/01-login.md @@ -15,7 +15,7 @@ budicon: 448
]
}) %>
-## Install Auth0-ASPNET NuGet Package
+## 1. Install Auth0-ASPNET NuGet Package
Use the NuGet Package Manager (Tools -> Library Package Manager -> Package Manager Console) to ... | 1 |
diff --git a/src/lib/userStorage/UserModel.js b/src/lib/userStorage/UserModel.js // @flow
+import { assign, mapValues, pick, pickBy } from 'lodash'
import type { UserRecord } from '../API/api'
import isMobilePhone from '../validators/isMobilePhone'
import isValidUsername from '../validators/isValidUsername'
@@ -53,7 +5... | 3 |
diff --git a/src/middleware/boilerplates/mailer/templates/notification-mail.html b/src/middleware/boilerplates/mailer/templates/notification-mail.html <tr>
<td style="font-size:18px;font-family:Arial,Helvetica,sans-serif;text-align:center;color:#ffffff;font-weight:normal;padding-left:14px;padding-right:14px;background-... | 7 |
diff --git a/js/web-server.js b/js/web-server.js @@ -907,9 +907,9 @@ function remap(path) {
}
// load module and call returned function with helper object
-function loadModule(dir) {
- const modjs = dir + "/init.js";
- lastmod(modjs) && require(modjs)({
+function initModule(file, dir) {
+ console.log({module:file});
+ ... | 11 |
diff --git a/packages/stockflux-launcher/public/app.dev.json b/packages/stockflux-launcher/public/app.dev.json "devtools_port": 9091,
"runtime": {
"arguments": "--enable-aggressive-domstorage-flushing",
- "version": "12.69.43.22"
+ "version": "13.76.43.31"
},
"startup_app": {
"name": "stockflux-launcher",
| 13 |
diff --git a/src/injected/utils/index.js b/src/injected/utils/index.js @@ -16,26 +16,27 @@ function removeElement(id) {
}
}
-let doInject;
-export function inject(code) {
- if (!doInject) {
- const id = getUniqId('VM-');
- const detect = domId => {
- const span = document.createElement('span');
- span.id = domId;
- doc... | 1 |
diff --git a/Makefile b/Makefile @@ -24,7 +24,7 @@ setup-build-dir:
chrome-release-zip:
rm -f build/chrome/release/chrome-release-*.zip
- zip -r build/chrome/release/chrome-release-$(shell date +"%Y%m%d_%H%M%S").zip build/chrome/release
+ cd build/chrome/release/ && zip -rq chrome-release-$(shell date +"%Y%m%d_%H%M%S")... | 3 |
diff --git a/assets/js/googlesitekit/modules/datastore/settings-panel.test.js b/assets/js/googlesitekit/modules/datastore/settings-panel.test.js /**
* Internal dependencies
*/
-import Data from 'googlesitekit-data';
-import Modules from 'googlesitekit-modules';
import { STORE_NAME } from './constants';
import { initial... | 2 |
diff --git a/packages/2019-transportation/src/components/MorningRush/MorningRushVisualization.js b/packages/2019-transportation/src/components/MorningRush/MorningRushVisualization.js @@ -55,9 +55,7 @@ const MorningRushVisualization = ({ data }) => {
<>
<BaseMap>
<ScatterPlotMap
- data={data.busAmRushSummary.value.resul... | 2 |
diff --git a/CHANGELOG.md b/CHANGELOG.md All notable changes to this project are documented in this file.
-## Head
+## 14.6.0
- Added: `declaration-property-max-values` rule ([#5920](https://github.com/stylelint/stylelint/pull/5920)).
- Fixed: `*-no-important` column position ([#5957](https://github.com/stylelint/style... | 6 |
diff --git a/sirepo/server.py b/sirepo/server.py @@ -31,7 +31,7 @@ import werkzeug.exceptions
#TODO(pjm): this import is required to work-around template loading in listSimulations, see #1151
-if any(k in feature_config.cfg().sim_types for k in ('flash', 'rs4pi', 'synergia', 'warppba', 'warpvnd')):
+if any(k in feature... | 11 |
diff --git a/js/bootstrap-select.js b/js/bootstrap-select.js this.tabIndex();
- var selectedItems = $selectOptions.map(function () {
+ // limit title to 100 options
+ // anything more is too slow
+ var selectedItems = $selectOptions.slice(0, 100).map(function () {
if (this.selected) {
if (that.options.hideDisabled && (... | 7 |
diff --git a/packages/idyll-cli/src/pipeline/parse.js b/packages/idyll-cli/src/pipeline/parse.js @@ -163,7 +163,11 @@ exports.getHighlightJS = (ast, paths, server) => {
if (languageMap[language]) {
cleanedLanguage = languageMap[language];
}
+ try {
rsh.registerLanguage(language, require(slash(path.join(rshPath, 'langua... | 9 |
diff --git a/token-metadata/0x56015BBE3C01fE05bc30A8a9a9Fd9A88917e7dB3/metadata.json b/token-metadata/0x56015BBE3C01fE05bc30A8a9a9Fd9A88917e7dB3/metadata.json "symbol": "CAT",
"address": "0x56015BBE3C01fE05bc30A8a9a9Fd9A88917e7dB3",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/src/6_branch.js b/src/6_branch.js @@ -767,6 +767,11 @@ Branch.prototype['track'] = wrap(callback_params.CALLBACK_ERR, function(done, ev
options = options || {};
+ if (event && event === "pageview") {
+ // For targeting Journeys based on hosted deep link data
+ metadata = utils.addPropertyIfNotNull(metadata... | 11 |
diff --git a/edit.js b/edit.js @@ -1829,10 +1829,13 @@ const _renderObjects = () => {
objectsEl.innerHTML = `
<div class=object-detail>
<h1><nav class=back-button><i class="fa fa-arrow-left"></i></nav>${p.name}</h1>
- <img class=screenshot draggable=true>
- <!-- <nav class="button reload-button">Reload</nav> -->
+ <img... | 0 |
diff --git a/etc/dtslint/tslint.json b/etc/dtslint/tslint.json "indent": [ true, "tabs", 4 ],
"linebreak-style": [ true, "LF" ],
"max-classes-per-file": [ true, 1 ],
- "max-file-line-count": [ true, 300 ],
+ "max-file-line-count": [ true, 1000 ],
"max-line-length": [ true,
{
"limit": 80,
| 11 |
diff --git a/slick.grid.js b/slick.grid.js @@ -1254,6 +1254,14 @@ if (typeof Slick === "undefined") {
.on('mouseleave', onMouseLeave);
}
+ if(m.hasOwnProperty('headerCellAttrs') && m.headerCellAttrs instanceof Object) {
+ for (var key in m.headerCellAttrs) {
+ if (m.headerCellAttrs.hasOwnProperty(key)) {
+ header.attr(... | 7 |
diff --git a/types.d.ts b/types.d.ts @@ -24,27 +24,47 @@ interface JQueryDataTables extends JQuery {
}
declare global {
- interface jQueryDataTable extends DataTables.StaticFunctions {
- (opts?: DataTables.Settings): JQueryDataTables;
- }
-
interface JQuery {
+ /**
+ * Create a new DataTable, returning a DataTables API... | 1 |
diff --git a/src/functionHelper.js b/src/functionHelper.js @@ -116,7 +116,9 @@ exports.createExternalHandler = function createExternalHandler(
function handleFatal(error) {
debugLog(`External handler received fatal error ${stringify(error)}`);
- handlerContext.inflight.forEach((id) => messageCallbacks[id](error));
+ ha... | 0 |
diff --git a/src/components/rangeslider/draw.js b/src/components/rangeslider/draw.js @@ -236,21 +236,24 @@ function setupDragElement(rangeSlider, gd, axisOpts, opts) {
var grabAreaMin = rangeSlider.select('rect.' + constants.grabAreaMinClassName).node();
var grabAreaMax = rangeSlider.select('rect.' + constants.grabArea... | 0 |
diff --git a/src/events/http/lambda-events/LambdaProxyIntegrationEvent.js b/src/events/http/lambda-events/LambdaProxyIntegrationEvent.js @@ -175,13 +175,13 @@ export default class LambdaProxyIntegrationEvent {
userAgent: _headers['user-agent'] || '',
userArn: 'offlineContext_userArn',
},
- path: route.path,
+ path: thi... | 1 |
diff --git a/src/components/send-money/SendMoneyAmountInput.js b/src/components/send-money/SendMoneyAmountInput.js @@ -81,7 +81,7 @@ class SendMoneyAmountInput extends Component {
let amountAttoNear = ''
if (value !== '') {
let input = new Big(value).times(new Big(10).pow(NOMINATION))
- amountAttoNear = input.toString(... | 1 |
diff --git a/tools/subgraph/src/PricingHelper.ts b/tools/subgraph/src/PricingHelper.ts @@ -27,7 +27,7 @@ function getTokenDecimals(tokenAddress: string): BigInt {
if (value.reverted) {
return BigInt.fromI32(0)
}
- return value.value
+ return BigInt.fromI32(value.value)
}
export function computeFeeAmountUsd(signerToken:... | 9 |
diff --git a/src/encoded/tests/test_upgrade_file.py b/src/encoded/tests/test_upgrade_file.py @@ -98,6 +98,15 @@ def file_9(file_base):
return item
+@pytest.fixture
+def file_10(file_base):
+ item = file_base.copy()
+ item.update({
+ 'schema_version': '10'
+ })
+ return item
+
+
@pytest.fixture
def old_file(experiment):... | 0 |
diff --git a/packages/kotlin-webpack-plugin/example/webpack.config.js b/packages/kotlin-webpack-plugin/example/webpack.config.js @@ -15,7 +15,10 @@ module.exports = {
{
test: /\.js$/,
include: path.resolve(__dirname, '../kotlin_build'),
- exclude: /kotlinx-html-js/, //TODO: include it back when kotlinx sourcemaps get f... | 8 |
diff --git a/app/src/RoomClient.js b/app/src/RoomClient.js @@ -1256,7 +1256,7 @@ export default class RoomClient
// resume this Consumer (which was paused for now).
cb(null);
- if (consumer.kind === 'audio')
+ if (kind === 'audio')
{
const stream = new MediaStream();
@@ -1285,7 +1285,7 @@ export default class RoomClien... | 3 |
diff --git a/src/card/docs/Vaulting/README.md b/src/card/docs/Vaulting/README.md # Vaulting with HCF
## Outline of Vaulting Flow
-1. Calling `POST /checkout/orders` creates the order specifying the card as payment method, and indicates vaulting for the specified customer.
-2. The order is successfully created and the `... | 3 |
diff --git a/packages/vulcan-accounts/package.js b/packages/vulcan-accounts/package.js @@ -14,8 +14,7 @@ Package.onUse(function(api) {
api.use('accounts-oauth@1.2.0', { weak: true });
api.use('accounts-password@1.7.0', { weak: true });
api.use('service-configuration@1.0.11');
-
- api.imply('accounts-base@1.8.0');
+ api... | 4 |
diff --git a/generators/client/templates/angular/src/main/webapp/app/home/home.component.ts.ejs b/generators/client/templates/angular/src/main/webapp/app/home/home.component.ts.ejs @@ -36,7 +36,7 @@ import { <% if (authenticationType !== 'oauth2') { %>LoginModalService<% } else
export class HomeComponent implements OnI... | 10 |
diff --git a/docs/css/docs.css b/docs/css/docs.css @@ -109,6 +109,25 @@ code {
color: #9e9e9e;
}
+table {
+ font-size: 14px;
+ border: 3px solid #3b4863;
+}
+
+table thead {
+ background-color: #3b4863;
+}
+
+table th {
+ padding: 15px 5px;
+}
+
+table td {
+ padding: 15px;
+ color: #fff;
+ border-bottom: solid 1px rgb... | 7 |
diff --git a/engine/modules/toggle/src/main/resources/view/toggle-module/ToggleModule.js b/engine/modules/toggle/src/main/resources/view/toggle-module/ToggleModule.js @@ -16,7 +16,7 @@ export class ToggleModule {
const toggleInfo = this.currentFrame.registered[registeredEntity]
const toggleState = toggles[toggleInfo.na... | 1 |
diff --git a/package.json b/package.json {
"name": "espruino-web-ide",
- "version": "0.73.3",
+ "version": "0.73.4",
"description": "A Terminal and Graphical code Editor for Espruino JavaScript Microcontrollers",
"//1": "-------------------------------------------------------- nw.js",
"main": "main.html",
"websocket": ... | 4 |
diff --git a/src/client/websocket_client.js b/src/client/websocket_client.js @@ -83,7 +83,7 @@ class WebSocketClient {
}
}
- this.conn = new Socket(connectionUrl, [], {origin});
+ this.conn = new Socket(connectionUrl, [], {headers: {origin}});
this.connectionUrl = connectionUrl;
this.token = token;
this.dispatch = disp... | 12 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.