code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/assets/js/modules/pagespeed-insights/index.js b/assets/js/modules/pagespeed-insights/index.js @@ -26,11 +26,10 @@ import domReady from '@wordpress/dom-ready';
* Internal dependencies
*/
import './datastore';
-import { getModulesData, fillFilterWithComponent, createAddToFilter } from '../../util';
+import {... | 2 |
diff --git a/articles/architecture-scenarios/mobile-api/index.md b/articles/architecture-scenarios/mobile-api/index.md @@ -15,16 +15,16 @@ We will also be building a mobile application which will be used to view and log
::: panel TL;DR
-* Auth0 provides API Authentication and Authorization as a means to secure access t... | 1 |
diff --git a/scripts/dist.sh b/scripts/dist.sh # Copyright (c) 2015-present, salesforce.com, inc. All rights reserved
# Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license
+# NOTE: eventually use "babel.config.js" instead of setting --config-path.
+# Use of --config-path is ok for now because babel-cli... | 3 |
diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md @@ -39,7 +39,7 @@ This Code of Conduct applies within all community spaces, and also applies when
## Enforcement
-Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at [INSERT CONTA... | 12 |
diff --git a/shim/src/stdlib.js b/shim/src/stdlib.js @@ -2,18 +2,35 @@ import { getIntrinsics } from "./intrinsics";
export function getStdLib(sandbox) {
const intrinsics = getIntrinsics(sandbox);
+
return {
+ // *** 18.1 Value Properties of the Global Object
+
+ Infinity: { value: Infinity },
+ NaN: { value: NaN },
+ ... | 7 |
diff --git a/polyfills/WebAnimations/config.toml b/polyfills/WebAnimations/config.toml +aliases = [
+ "Animation",
+ "AnimationTimeline",
+ "Element.prototype.animate",
+ "KeyframeEffect",
+ "document.timeline"
+]
dependencies = [ ]
license = "Apache-2.0"
spec = "https://w3c.github.io/web-animations/"
| 0 |
diff --git a/edit.js b/edit.js @@ -24,7 +24,7 @@ import {makePromise} from './util.js';
import {world} from './world.js';
import * as universe from './universe.js';
// import {Bot} from './bot.js';
-import {Sky} from './Sky.js';
+// import {Sky} from './Sky.js';
import {GuardianMesh} from './land.js';
import {storageHo... | 2 |
diff --git a/packages/openneuro-app/src/scripts/datalad/routes/share.jsx b/packages/openneuro-app/src/scripts/datalad/routes/share.jsx @@ -4,10 +4,16 @@ import { Link } from 'react-router-dom'
import ShareDataset from '../mutations/share.jsx'
import RemovePermissions from '../mutations/remove-permissions.jsx'
+const de... | 7 |
diff --git a/diorama.js b/diorama.js import * as THREE from 'three';
-import {getRenderer, camera} from './renderer.js';
+import {getRenderer, scene} from './renderer.js';
import * as BufferGeometryUtils from 'three/examples/jsm/utils/BufferGeometryUtils.js';
// import {world} from './world.js';
import {fitCameraToBoun... | 0 |
diff --git a/server/classes/longRangeComm.js b/server/classes/longRangeComm.js @@ -37,7 +37,6 @@ export default class LongRangeComm extends System {
params.ra = params.a;
params.rf = params.f;
}
- console.log(decoded, params);
this.messages.push(new LRMessage(params));
}
sendMessage(message){
| 2 |
diff --git a/lib/assets/test/spec/builder/editor/style/style-form/style-form-components-dictionary.spec.js b/lib/assets/test/spec/builder/editor/style/style-form/style-form-components-dictionary.spec.js @@ -322,7 +322,7 @@ describe('editor/style/style-form/style-form-components-dictionary', function ()
}));
expect(comp... | 1 |
diff --git a/assets/js/components/link.js b/assets/js/components/link.js @@ -27,7 +27,6 @@ import classnames from 'classnames';
*/
import { _x } from '@wordpress/i18n';
import { Component } from '@wordpress/element';
-import { VisuallyHidden } from '@wordpress/components';
class Link extends Component {
render() {
@@ -... | 2 |
diff --git a/src/services/schema-form.provider.spec.js b/src/services/schema-form.provider.spec.js @@ -617,8 +617,8 @@ describe('schema-form.provider.js', function() {
var nameKey = objectPropertyKeys.items[0].key;
var ageKey = objectPropertyKeys.items[1].key;
- nameKey.pop().should.eq("name");
- ageKey.pop().should.eq... | 7 |
diff --git a/lib/cmds/blockchain/geth_commands.js b/lib/cmds/blockchain/geth_commands.js @@ -153,6 +153,9 @@ GethCommands.prototype.mainCommand = function(address, done) {
callback(null, "");
}
], function(err, results) {
+ if (err) {
+ throw new Error(err.message);
+ }
done(self.geth_bin + " " + results.join(" "));
})... | 9 |
diff --git a/src/components/modebar/modebar.js b/src/components/modebar/modebar.js @@ -191,7 +191,7 @@ proto.createIcon = function(thisIcon, name) {
if(thisIcon.transform) {
path.setAttribute('transform', thisIcon.transform);
}
- else if(thisIcon.ascent) {
+ else if(thisIcon.ascent !== undefined) {
// Legacy icon trans... | 3 |
diff --git a/tools/metadata/package.json b/tools/metadata/package.json {
"name": "@airswap/metadata",
- "version": "0.1.1",
+ "version": "0.1.2",
"description": "Token Metadata Tools for AirSwap Developers",
"contributors": [
"Don Mosites <don.mosites@fluidity.io>",
| 3 |
diff --git a/docs/_data/categories.json b/docs/_data/categories.json "path": "form/form.html",
"group": "form"
},
- "form-field": {
+ "field": {
"name": "Form field",
"description": "A simple form container to group form sections",
"keywords": "form,field,groups",
| 10 |
diff --git a/packages/bitcore-node/src/models/coin.ts b/packages/bitcore-node/src/models/coin.ts @@ -65,12 +65,18 @@ class CoinModel extends BaseModel<ICoin> {
async getBalance(params: { query: any }) {
let { query } = params;
const result = await this.collection
- .aggregate<{ _id: string, balance: number }>([
+ .aggr... | 14 |
diff --git a/tests/accordion/__snapshots__/accordion.snapshot-test.jsx.snap b/tests/accordion/__snapshots__/accordion.snapshot-test.jsx.snap @@ -50,7 +50,7 @@ exports[`Base DOM Snapshot 1`] = `
stopPropagation={false}
/>
}
- summary="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incidid... | 3 |
diff --git a/articles/api-auth/dynamic-client-registration.md b/articles/api-auth/dynamic-client-registration.md @@ -215,6 +215,11 @@ https://${account.namespace}/authorize?
Where:
- `audience` (optional): The target API for which the Client Application is requesting access on behalf of the user. Set this parameter if ... | 0 |
diff --git a/articles/api-auth/tutorials/client-credentials/customize-with-hooks.md b/articles/api-auth/tutorials/client-credentials/customize-with-hooks.md @@ -64,6 +64,10 @@ If you haven't done these yet, refer to these docs for details:
- add an arbitrary claim (`https://foo.com/claim`) to the `access_token`
- add a... | 0 |
diff --git a/assets/sass/widgets/_googlesitekit-widget-analyticsAllTraffic.scss b/assets/sass/widgets/_googlesitekit-widget-analyticsAllTraffic.scss .googlesitekit-widget--analyticsAllTraffic__dimensions-chart-gathering-data {
color: $c-silver-2;
font-size: 18px;
- font-weight: 400;
left: 50%;
line-height: 21px;
max-wi... | 2 |
diff --git a/token-metadata/0x0Ebb614204E47c09B6C3FeB9AAeCad8EE060E23E/metadata.json b/token-metadata/0x0Ebb614204E47c09B6C3FeB9AAeCad8EE060E23E/metadata.json "symbol": "CPAY",
"address": "0x0Ebb614204E47c09B6C3FeB9AAeCad8EE060E23E",
"decimals": 0,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/src/platform/web/ThemeLoader.ts b/src/platform/web/ThemeLoader.ts @@ -17,15 +17,35 @@ limitations under the License.
import type {ILogItem} from "../../logging/types.js";
import type {Platform} from "./Platform.js";
+type NormalVariant = {
+ id: string;
+ cssLocation: string;
+};
+
+type DefaultVariant = {... | 4 |
diff --git a/assets/js/components/Button.js b/assets/js/components/Button.js @@ -118,7 +118,16 @@ const Button = forwardRef(
tooltip: 'googlesitekit-tooltip',
} }
>
- { ButtonComponent }
+ {
+ // If the button is disabled it has no events for the Tooltip
+ // component to use, so it needs to be wrapped in a containing
... | 1 |
diff --git a/scripts/generate-documentation.py b/scripts/generate-documentation.py @@ -81,12 +81,12 @@ def search_files(type, files):
text = text[idx:]
braced_html = find_braces(text)
if test_file in debug_tests:
- print(braced_html)
- print("====")
+ print("\033[0m" + re.sub(prop_re, lambda m: "\033[1;31m" + m.group(0... | 7 |
diff --git a/src/victory-util/events.js b/src/victory-util/events.js @@ -148,7 +148,7 @@ export default {
const parseEventReturn = (eventReturn, eventKey) => {
return Array.isArray(eventReturn) ?
eventReturn.reduce((memo, props) => {
- memo = merge({}, memo, parseEvent(props, eventKey));
+ memo = assign({}, memo, parse... | 14 |
diff --git a/src/components/general/character-select/CharacterSelect.jsx b/src/components/general/character-select/CharacterSelect.jsx @@ -31,6 +31,7 @@ const characters = {
voice: `Sweetie Belle`,
class: 'Drop Hunter',
bio: `Her nickname is Scilly or SLY. 13/F drop hunter. She is an adventurer, swordfighter and fan of... | 0 |
diff --git a/src/core/ChefWorker.js b/src/core/ChefWorker.js @@ -27,7 +27,6 @@ self.chef = new Chef();
self.OpModules = OpModules;
self.OperationConfig = OperationConfig;
-self.inputNum = "0";
// Tell the app that the worker has loaded and is ready to operate
self.postMessage({
@@ -108,7 +107,7 @@ async function bake(d... | 2 |
diff --git a/src/web/OutputWaiter.mjs b/src/web/OutputWaiter.mjs @@ -796,7 +796,9 @@ class OutputWaiter {
* Handler for go to tab button clicked
*/
goToTab() {
- const tabNum = parseInt(window.prompt("Enter tab number:", this.getActiveTab().toString()), 10);
+ const min = this.getSmallestInputNum(),
+ max = this.getLar... | 0 |
diff --git a/app/views/layouts/_page_header.html.erb b/app/views/layouts/_page_header.html.erb <!-- Appcues integration setup for Segment only (excludes PII)-->
analytics.identify(
- <%= current_user.id %>,
+ '<%= "Appcues-#{current_user.id}" %>',
<%= raw escape_json(current_user.traits_for_segment(include_pii: false))... | 12 |
diff --git a/lib/xiaomi.js b/lib/xiaomi.js @@ -196,9 +196,10 @@ const numericAttributes2Payload = (msg, meta, model, options, dataObject) => {
payload[`state_${mapping}`] = value === 1 ? 'ON' : 'OFF';
} else if (['WXKG14LM', 'WXKG16LM', 'WXKG17LM'].includes(model.model)) {
payload.click_mode = {1: 'fast', 2: 'multi'}[v... | 8 |
diff --git a/db.js b/db.js @@ -16,6 +16,7 @@ var db;
var files;
var jobs;
var users;
+var thumbnails;
function notifyChange() {
var machine = require('./machine').machine;
@@ -551,6 +552,7 @@ exports.configureDB = function(callback) {
files = db.collection("files");
jobs = db.collection("jobs");
users = db.collection("... | 0 |
diff --git a/plugins/shared_filesystem_storage/config/policy.json b/plugins/shared_filesystem_storage/config/policy.json "shared_filesystem_storage:share_delete": "rule:context_is_share_editor",
"shared_filesystem_storage:share_update": "rule:context_is_share_editor",
"shared_filesystem_storage:share_export_locations":... | 11 |
diff --git a/game.js b/game.js @@ -25,6 +25,7 @@ import npcManager from './npc-manager.js';
import raycastManager from './raycast-manager.js';
import zTargeting from './z-targeting.js';
import Avatar from './avatars/avatars.js';
+import {getRandomString} from './util.js';
const localVector = new THREE.Vector3();
const ... | 0 |
diff --git a/spec/composer-spec.js b/spec/composer-spec.js @@ -41,6 +41,7 @@ describe('Composer', () => {
spyOn(composer, 'showResult').andReturn()
spyOn(composer, 'showError').andReturn()
fixturesPath = helpers.cloneFixtures()
+ atom.config.set('latex.loggingLevel', 'error')
})
it('does nothing for new, unsaved files'... | 12 |
diff --git a/bin/sails-www.js b/bin/sails-www.js @@ -97,12 +97,14 @@ module.exports = function() {
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Execute a command like you would on the terminal.
Process.executeCommand({
- command: 'grunt '+overrideGruntTask,
+ command: ... | 4 |
diff --git a/src/components/TableResize.js b/src/components/TableResize.js @@ -78,8 +78,9 @@ class TableResize extends React.Component {
let parentOffsetLeft = getParentOffsetLeft(tableEl);
let finalCells = Object.entries(this.cellsRef);
+ let cellMinusOne = finalCells.filter((_item, ix) => ix + 1 < finalCells.length);... | 0 |
diff --git a/accessibility-checker-engine/src/v4/rules/element_tabbable_role_invalid.ts b/accessibility-checker-engine/src/v4/rules/element_tabbable_role_invalid.ts @@ -54,7 +54,7 @@ export let element_tabbable_role_invalid: Rule = {
if (RPTUtil.isNodeDisabled(ruleContext) || RPTUtil.isNodeHiddenFromAT(ruleContext)) re... | 3 |
diff --git a/js/views/search/Search.js b/js/views/search/Search.js @@ -399,7 +399,7 @@ export default class extends baseVw {
if (this.categoryViews.length === this._categorySearches.length) {
app.router.navigate('search/home');
- this._search.provider = app.searchProviders.at(0);
+ this._search = { ...this._defaultSear... | 12 |
diff --git a/CHANGELOG.md b/CHANGELOG.md # Changelog
-## Unreleased
+## 1.65.1
- Fix: Init metrics correctly when no config is passed ([#138](https://github.com/instana/nodejs-sensor/issues/138)).
- Add data.rpc.host and data.rpc.port to GRPC exits to improve service discovery.
| 6 |
diff --git a/CHANGELOG.md b/CHANGELOG.md @@ -10,6 +10,15 @@ https://github.com/plotly/plotly.js/compare/vX.Y.Z...master
where X.Y.Z is the semver of most recent plotly.js release.
+## [1.51.3] -- 2019-12-16
+
+### Fixed
+- Fix `Plotly.Plots.resize` edge cases ensuring now that
+ its promises always resolve [#4392]
+- F... | 3 |
diff --git a/src/web/containers/Settings/About/UpdateStatusContainer.jsx b/src/web/containers/Settings/About/UpdateStatusContainer.jsx @@ -34,7 +34,7 @@ const UpdateStatusContainer = (props) => {
</div>
<div className={styles.updateStatusMessageContainer}>
<div className={styles.updateStatusMessage}>
- {i18n._('A new v... | 14 |
diff --git a/bin/ractive.js b/bin/ractive.js @@ -20,8 +20,11 @@ const opts = {
base: process.cwd()
};
-function readFile(name) {
- return Promise.resolve(fs.readFileSync(path.resolve(opts.base, name), { encoding: 'utf8' }));
+function mkReadFile(file) {
+ const base = path.join(opts.base, path.dirname(file));
+ return ... | 4 |
diff --git a/edit.html b/edit.html <div class="ftu-phase ftu-phase-1">
<div class=wrap>
<div class=label><div class=background></div><div class=content>Call me...</div></div>
- <input type=text value="Anonymous">
+ <input type=text value="Anonymous" id=ftu-username>
</div>
<div class=buttons>
<div class="button next-ph... | 0 |
diff --git a/aura-impl/src/main/resources/aura/AuraComponentService.js b/aura-impl/src/main/resources/aura/AuraComponentService.js @@ -677,7 +677,13 @@ AuraComponentService.prototype.createComponentInstance = function(config, localC
// Always comes back as a function to execute, which defines the component classes.
var... | 12 |
diff --git a/token-metadata/0x557B933a7C2c45672B610F8954A3deB39a51A8Ca/metadata.json b/token-metadata/0x557B933a7C2c45672B610F8954A3deB39a51A8Ca/metadata.json "symbol": "REVV",
"address": "0x557B933a7C2c45672B610F8954A3deB39a51A8Ca",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/src/deploy/NVA_build/first_install_diaglog.sh b/src/deploy/NVA_build/first_install_diaglog.sh @@ -154,9 +154,6 @@ function configure_dns_dialog {
local dns1=$(head -1 answer_dns)
local dns2=$(tail -1 answer_dns)
- sudo sed -i "s/.*NooBaa Configured Primary DNS Server//" /etc/resolv.conf
- sudo sed -i "s/.*... | 2 |
diff --git a/app/models/daos/UserDAOImpl.scala b/app/models/daos/UserDAOImpl.scala @@ -132,8 +132,8 @@ object UserDAOImpl {
"""SELECT COUNT(DISTINCT(audit_task.user_id))
|FROM sidewalk.audit_task
|INNER JOIN sidewalk_user ON sidewalk_user.user_id = audit_task.user_id
- |INNER JOIN sidewalk_user_role ON sidewalk_user.us... | 13 |
diff --git a/src/components/Menu/Menu.js b/src/components/Menu/Menu.js @@ -187,11 +187,13 @@ const Menu = ({ menuOpen, toggleOpen }) => {
columns: 2;
max-width: 155px;
margin: 0 auto;
+ height: 85px;
${mediaQueries.phoneLarge} {
columns: unset;
max-width: none;
margin: 0 auto;
+ height: auto;
}
`;
| 12 |
diff --git a/lib/shared/addon/oauth/service.js b/lib/shared/addon/oauth/service.js @@ -4,7 +4,6 @@ import { get, set } from '@ember/object';
import C from 'shared/utils/constants';
const googleOauthScope = 'openid profile email';
-const githubOauthScope = 'read:org';
export default Service.extend({
access: service(),
@... | 2 |
diff --git a/lib/assets/javascripts/dashboard/views/profile/profile-form/profile-form.tpl b/lib/assets/javascripts/dashboard/views/profile/profile-form/profile-form.tpl <label class="CDB-Text CDB-Size-medium is-semibold u-mainTextColor"><%= _t('profile.views.form.role') %></label>
</div>
<div class="FormAccount-rowData... | 12 |
diff --git a/lib/rules/storage.js b/lib/rules/storage.js @@ -6,6 +6,16 @@ var RecycleBin = require('./recycle-bin');
var ENCODING = {encoding: 'utf8'};
var RETRY_INTERVAL = 16000;
+var ASCII_RE = /[\x00-\x7f]/g;
+
+function encodeName(name) {
+ try {
+ return name.replace(ASCII_RE, encodeURIComponent);
+ } catch(e) {
+... | 1 |
diff --git a/package.json b/package.json "scripts": {
"build": "rm -rf build && mkdir build && rollup -c",
"pretest": "npm run build",
- "test": "env TESTRUNNER='nyc tape' npm run do-test",
+ "test": "env TESTRUNNER='nyc mocha' npm run do-test",
"do-test": "mkdir -p http:; ln -nsf .. http://dummyhost; $TESTRUNNER 'test... | 14 |
diff --git a/Dockerfile b/Dockerfile @@ -55,5 +55,5 @@ RUN npm install --save form-data
#RUN usermod -d /var/lib/mysql/ mysql
#RUN echo "disable_log_bin" >> /etc/mysql/mysql.conf.d/mysqld.cnf
-RUN service mariadb start && mysql -u root -e "CREATE DATABASE operationaldb /*\!40100 DEFAULT CHARACTER SET utf8 */; UNINSTALL... | 3 |
diff --git a/react/src/components/card/components/SprkCardHighlightedHeader/SprkCardHighlightedHeader.test.js b/react/src/components/card/components/SprkCardHighlightedHeader/SprkCardHighlightedHeader.test.js @@ -24,7 +24,7 @@ afterEach(() => {
createTestObjects();
});
-describe('SprkHighlightedHeader:', () => {
+descr... | 3 |
diff --git a/packages/@uppy/companion/src/standalone/helper.js b/packages/@uppy/companion/src/standalone/helper.js @@ -174,7 +174,7 @@ exports.buildHelpfulStartupMessage = (uppyOptions) => {
providerName = 'drive'
}
- callbackURLs.push(buildURL(`/${providerName}/callback`, true))
+ callbackURLs.push(buildURL(`/connect/... | 3 |
diff --git a/stories/theme-customizations/Switch.custom.scss b/stories/theme-customizations/Switch.custom.scss // Switch theme customizations
-$switch-on-accent-color: #3c6e3d;
-$switch-off-accent-color: #b4bdca;
+$switch-accent-color-on: #3c6e3d;
+$switch-accent-color-off: #b4bdca;
$switch-thumb-accent-color: #ffffff;... | 10 |
diff --git a/articles/quickstart/spa/react/_includes/_centralized_login.md b/articles/quickstart/spa/react/_includes/_centralized_login.md @@ -9,11 +9,10 @@ Create a service and instantiate `auth0.WebAuth`. Provide a method called `login
```js
// src/Auth/Auth.js
-import { EventEmitter } from 'events';
import history f... | 2 |
diff --git a/assets/js/modules/analytics/datastore/setup.test.js b/assets/js/modules/analytics/datastore/setup.test.js @@ -48,6 +48,11 @@ describe( 'modules/analytics setup', () => {
trackingDisabled: [],
anonymizeIP: true,
};
+ const tagWithPermission = {
+ accountID: '12345',
+ propertyID: 'UA-12345-1',
+ permission:... | 12 |
diff --git a/dist/uPlot.d.ts b/dist/uPlot.d.ts @@ -126,7 +126,8 @@ declare class uPlot {
static assign(targ: object, ...srcs: object[]): object;
/** re-ranges a given min/max by a multiple of the range's magnitude (used internally to expand/snap/pad numeric y scales) */
- static rangeNum: ((min: number, max: number, mu... | 7 |
diff --git a/Source/DataSources/KmlTourFlyTo.js b/Source/DataSources/KmlTourFlyTo.js @@ -3,12 +3,18 @@ import combine from "../Core/combine.js";
import defined from "../Core/defined.js";
import EasingFunction from "../Core/EasingFunction.js";
/**
+ * Transitions the KmlTour to the next destination. This transition is f... | 3 |
diff --git a/ReviewQueueHelper.user.js b/ReviewQueueHelper.user.js @@ -836,8 +836,6 @@ function doPageLoad() {
processReview = processReopenReview; break;
case 'suggested-edits':
processReview = processCloseReview; break;
- case 'helper':
- processReview = processCloseReview; break;
case 'low-quality-posts':
processRev... | 2 |
diff --git a/includes/Modules/Tag_Manager.php b/includes/Modules/Tag_Manager.php @@ -331,8 +331,7 @@ final class Tag_Manager extends Module
);
case 'GET:tag-permission':
return function () use ( $data ) {
- // TODO: Remove 'tag' fallback once legacy components are refactored.
- $container_id = $data['containerID'] ?: $... | 2 |
diff --git a/blockchain.js b/blockchain.js @@ -142,6 +142,19 @@ const getTransactionSignature = async (chainName, contractName, transactionHash)
return null;
};
+const runMainnetTransaction = async (contractName, method, ...args) => {
+ const addresses = await window.ethereum.enable();
+ if (addresses.length > 0) {
+ c... | 0 |
diff --git a/website/api/duk_safe_to_string.yaml b/website/api/duk_safe_to_string.yaml @@ -9,12 +9,20 @@ stack: |
summary: |
<p>Like <code><a href="#duk_to_string">duk_to_string()</a></code> but if
the initial string coercion fails, the error value is coerced to a string.
- If that also fails, a fixed error string is r... | 7 |
diff --git a/assets/sass/components/idea-hub/_googlesitekit-idea-hub-dashboard-ideas-widget.scss b/assets/sass/components/idea-hub/_googlesitekit-idea-hub-dashboard-ideas-widget.scss font-weight: $fw-primary-medium;
line-height: 1.5;
margin: 0 0 12px 8px;
-
- .googlesitekit-idea-hub__title-text {
- padding-right: 12px;... | 2 |
diff --git a/docs-src/tutorials/02-usage.md b/docs-src/tutorials/02-usage.md @@ -84,6 +84,14 @@ event handlers a `tour` key pointing to the instance which fired the event:
- `active`
- `inactive`
+For multiple events, you can use something like:
+
+```javascript
+['close', 'cancel'].forEach(event => shepherd.on(event, ... | 0 |
diff --git a/packages/neutrine/src/dashboard/styles/toolbar.scss b/packages/neutrine/src/dashboard/styles/toolbar.scss @@ -6,7 +6,7 @@ $neutrine-layout-toolbar-width: 300px;
$neutrine-layout-toolbar-padding: 15px;
//Neutrine layout toolbar style
-.neutrine-layout-toolbar {
+.neutrine-toolbar {
display: block;
position:... | 10 |
diff --git a/articles/tokens/access-token.md b/articles/tokens/access-token.md @@ -6,7 +6,11 @@ toc: true
## Overview
-The Access Token, commonly referred to as `access_token` in code samples, is a credential that can be used by a client to access an API. The `access_token` can be any type of token (such as an opaque s... | 0 |
diff --git a/src/components/TextInputFocusable/index.js b/src/components/TextInputFocusable/index.js @@ -110,7 +110,7 @@ class TextInputFocusable extends React.Component {
}
if (prevProps.defaultValue !== this.props.defaultValue) {
this.updateNumberOfLines();
- this.updateSelection();
+ this.moveCursorToEnd();
}
}
@@ -... | 10 |
diff --git a/components/illustration/__tests__/illustration.browser-test.jsx b/components/illustration/__tests__/illustration.browser-test.jsx @@ -28,7 +28,7 @@ const DemoIllustration = createReactClass({
});
describe('SLDSIllustration: ', function () {
- describe('Image with text renders', function () {
+ describe('Im... | 3 |
diff --git a/voice-endpoint-voicer.js b/voice-endpoint-voicer.js @@ -8,6 +8,18 @@ class VoiceEndpoint {
this.url = new URL(url, import.meta.url);
}
}
+class PreloadMessage {
+ constructor(text, parent) {
+ this.text = text;
+ this.parent = parent;
+
+ this.isPreloadMessage = true;
+ this.loadPromise = this.parent.loadA... | 0 |
diff --git a/lib/assets/javascripts/new-dashboard/components/MapCard.vue b/lib/assets/javascripts/new-dashboard/components/MapCard.vue </div>
<span class="checkbox card-select" v-if="!isShared" @mouseover="mouseOverChildElement" @mouseleave="mouseOutChildElement">
- <input class="checkbox-input" :checked="isSelected" @... | 2 |
diff --git a/assets/js/modules/analytics-4/components/dashboard/ActivationBanner/SetupBanner.js b/assets/js/modules/analytics-4/components/dashboard/ActivationBanner/SetupBanner.js @@ -50,10 +50,6 @@ const { useDispatch, useSelect } = Data;
export default function SetupBanner( { onSubmitSuccess } ) {
const [ errorNotic... | 2 |
diff --git a/src/components/nodes/sequenceFlow/sequenceFlow.vue b/src/components/nodes/sequenceFlow/sequenceFlow.vue @@ -21,7 +21,8 @@ import linkConfig from '@/mixins/linkConfig';
import get from 'lodash/get';
import { namePosition } from './sequenceFlowConfig';
import CrownConfig from '@/components/crown/crownConfig/... | 4 |
diff --git a/modules/service/data-service.js b/modules/service/data-service.js @@ -403,9 +403,9 @@ class DataService {
};
break;
case this.constants.NFT:
- const result = JSON.parse(await axios.get(`https://raw.githubusercontent.com/OriginTrail/ot-node/v6/develop/frameDocuments/${this.constants.NFT}.json`));
- context ... | 3 |
diff --git a/public/resources/ts/calculate-player-stats.ts b/public/resources/ts/calculate-player-stats.ts @@ -24,11 +24,17 @@ export function getPlayerStats() {
pristine: { base: 0 },
};
+ const allowedStats = Object.keys(stats);
+
// Active armor stats
for (const piece of items.armor) {
const bonusStats: ItemStats = ... | 11 |
diff --git a/src/components/staking/components/BalanceBreakdown.js b/src/components/staking/components/BalanceBreakdown.js @@ -94,7 +94,9 @@ function BalanceBreakdown({ total, onClickAvailable, availableType, error }) {
const [open, setOpen] = useState(false)
const subtractAmount = nearApiJs.utils.format.parseNearAmoun... | 9 |
diff --git a/package.json b/package.json {
"name": "julia-client",
"main": "./lib/julia-client",
- "version": "0.6.8",
+ "version": "0.6.9",
"description": "Julia Evaluation",
"keywords": [],
"repository": "https://github.com/JunoLab/atom-julia-client",
| 6 |
diff --git a/lib/jiff-client.js b/lib/jiff-client.js op_id = self.jiff.counters.gen_op_id('/', self.holders);
}
- var lZp = share_helpers['ceil'](self.jiff.helpers.bLog(self.Zp, 2));
- if (l == null) {
- l = lZp;
- } else {
- l = l < lZp ? l : lZp;
- }
-
- // Store the result
- var final_deferred = new Deferred();
- va... | 14 |
diff --git a/books/serializers.py b/books/serializers.py @@ -33,7 +33,7 @@ class BookCopySerializer(serializers.ModelSerializer):
class Meta:
model = BookCopy
- fields = ('id', 'user', 'borrow_date')
+ fields = ('user', 'borrow_date')
class BookSerializer(serializers.ModelSerializer):
| 2 |
diff --git a/execute_awsbinary.go b/execute_awsbinary.go @@ -65,6 +65,7 @@ func tappedHandler(handlerSymbol interface{},
handlerType := reflect.TypeOf(handlerSymbol)
takesContext := takesContext(handlerType)
+ // TODO - add Context.Timeout handler to ensure orderly exit
return func(ctx context.Context, msg json.RawMess... | 0 |
diff --git a/lib/device/humidifier.js b/lib/device/humidifier.js @@ -93,6 +93,11 @@ module.exports = class deviceHumidifier {
this.cacheLightState = this.lightService.getCharacteristic(this.hapChar.On).value
// No set handler for brightness as not supported
+ this.lightService.getCharacteristic(this.hapChar.Brightness)... | 12 |
diff --git a/sirepo/pkcli/db.py b/sirepo/pkcli/db.py @@ -84,7 +84,9 @@ def upgrade_runner_to_job_db(db_dir, sbatch_poll_secs):
c = sim_data.get_class(i.simulationType)
d = PKDict(
computeJid=c.parse_jid(i, u),
- computeJobHash=i.computeJobHash,
+ computeJobHash=i.models.computeJobCacheKey.computeJobHash if
+ i.models.g... | 9 |
diff --git a/sirepo/package_data/static/js/radia.js b/sirepo/package_data/static/js/radia.js @@ -1058,11 +1058,11 @@ SIREPO.app.controller('RadiaVisualizationController', function (appState, errorS
self.solution = null;
self.enableKickMaps = function() {
- return (appState.models.simulation || {}).enableKickMaps === '1... | 4 |
diff --git a/src/commands/status/index.js b/src/commands/status/index.js @@ -22,7 +22,7 @@ class StatusCommand extends Command {
const ghuser = this.netlify.globalConfig.get(`users.${current}.auth.github.user`)
accountData = {
- Name: `${get(user, 'full_name')}`,
+ Name: get(user, 'full_name'),
// 'Account slug': get(p... | 2 |
diff --git a/docs/_posts/2020-02-12-pouchdb-7.2.0.md b/docs/_posts/2020-02-12-pouchdb-7.2.0.md ---
layout: post
-title: PouchDB 7.2.0 - New indexeddb adapter
+title: PouchDB 7.2.1 - New indexeddb adapter
author: Gareth Bowen
---
@@ -12,7 +12,7 @@ author: Gareth Bowen
## Other changes
-For a full changelog from 7.1.1 to... | 10 |
diff --git a/lib/shared/addon/components/cluster-driver/driver-eks/component.js b/lib/shared/addon/components/cluster-driver/driver-eks/component.js @@ -14,12 +14,12 @@ import { randomStr } from 'shared/utils/util';
import layout from './template';
const DEFAULT_NODE_GROUP_CONFIG = {
- desiredSize: 1,
+ desiredSize: 2,... | 3 |
diff --git a/src/core/jpg.js b/src/core/jpg.js @@ -81,14 +81,13 @@ const JpegImage = (function JpegImageClosure() {
function buildHuffmanTable(codeLengths, values) {
let k = 0,
- code = [],
i,
j,
length = 16;
while (length > 0 && !codeLengths[length - 1]) {
length--;
}
- code.push({ children: [], index: 0 });
+ const c... | 1 |
diff --git a/test/builders/launch-sort.test.js b/test/builders/launch-sort.test.js @@ -12,16 +12,14 @@ beforeAll((done) => {
// Launch Sort Test
//------------------------------------------------------------
-test('It should return launches sorted from smallest to greatest', () => {
- return request(app).get('/v2/launc... | 3 |
diff --git a/src/ui.itembar.js b/src/ui.itembar.js @@ -35,8 +35,6 @@ var _ = Mavo.UI.Itembar = class Itembar {
this.controls = Mavo.UI.Bar.getControls(this.template, controls);
- this.dragHandle = $(".mv-drag-handle", this.element) || this.item.element;
-
$.set(this.element, {
"mv-rel": this.item.property,
contents: th... | 1 |
diff --git a/storybook-utilities/icon-utilities/icon-loader.js b/storybook-utilities/icon-utilities/icon-loader.js -var request = new XMLHttpRequest();
-request.open('GET', 'https://spark-assets.netlify.app/spark-core-icons.svg');
+const request = new XMLHttpRequest();
+request.open('GET', 'https://spark-assets.netlify... | 3 |
diff --git a/src/styles/custom.less b/src/styles/custom.less @font-family-monospace: "WhitneyBold", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
@font-family-base: @font-family-sans-serif;
+@body-background: @white-darker;
+@component-background: @white-darker;
@font-size-base: 14px;
// Buttons... | 2 |
diff --git a/sounds.js b/sounds.js @@ -53,7 +53,7 @@ const waitForLoad = () => loadPromise;
const getSoundFiles = () => soundFiles;
const getSoundFileAudioBuffer = () => soundFileAudioBuffer;
-const playSound = (audioSpec) => {
+const playSound = audioSpec => {
const {offset, duration} = audioSpec;
const audioContext =... | 0 |
diff --git a/scenes/street.scn b/scenes/street.scn },
{
"position": [0, -60, 0],
- "start_url": "../metaverse_modules/spawner/",
- "components": [
- {
- "key": "appUrls",
- "value": [
- "https://webaverse.github.io/ghost/",
- "https://webaverse.github.io/silkworm-biter/",
- "https://webaverse.github.io/silkworm-bloater... | 0 |
diff --git a/renderer/components/withIntl.js b/renderer/components/withIntl.js /* global require */
import React, {Component} from 'react'
-import { IntlProvider, addLocaleData, injectIntl } from 'react-intl'
+import { IntlProvider, injectIntl } from 'react-intl'
let supportedMessages = {
en: require('../../lang/en.jso... | 2 |
diff --git a/src/kite.js b/src/kite.js @@ -65,6 +65,7 @@ const Kite = {
ctx.subscriptions.push(install);
this.status = status;
+ this.install = install;
server.addRoute('GET', '/check', (req, res) => {
this.checkState();
@@ -407,9 +408,12 @@ const Kite = {
case StateController.STATES.UNINSTALLED:
if (this.shown[state] ... | 14 |
diff --git a/tests/phpunit/integration/Modules/Site_VerificationTest.php b/tests/phpunit/integration/Modules/Site_VerificationTest.php @@ -105,7 +105,6 @@ class Site_VerificationTest extends TestCase {
$_GET['googlesitekit_verification_token'] = 'testtoken';
$_GET['googlesitekit_verification_token_type'] = 'FILE';
- $_... | 2 |
diff --git a/game.js b/game.js @@ -711,7 +711,7 @@ const _gameUpdate = (timestamp, timeDiff) => {
};
_handlePush();
- const _updateActivateAnimation = (grabUseMeshPosition) => {
+ const _updateActivateAnimation = grabUseMeshPosition => {
let currentDistance = 100;
let currentAnimation = "grab_forward";
@@ -772,7 +772,8... | 2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.