code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/src/internal/ButtonBase.spec.js b/src/internal/ButtonBase.spec.js @@ -468,4 +468,20 @@ describe('<ButtonBase />', () => {
});
});
});
+
+ describe('focus()', () => {
+ let instance;
+
+ before(() => {
+ instance = mount(<ButtonBase component="span">Hello</ButtonBase>).instance();
+ instance.button = {
+ fo... | 0 |
diff --git a/avatars/avatars.js b/avatars/avatars.js @@ -553,7 +553,7 @@ const _countCharacters = (name, regex) => {
}
return result;
};
-const _findHips = skeleton => skeleton.bones.find(bone => /hip/i.test(bone.name));
+const _findHips = skeleton => skeleton.bones.find(bone => /hip|rootx/i.test(bone.name));
const _fi... | 0 |
diff --git a/src/pages/ReimbursementAccount/ValidationStep.js b/src/pages/ReimbursementAccount/ValidationStep.js @@ -20,7 +20,7 @@ import * as ReimbursementAccountUtils from '../../libs/ReimbursementAccountUtils
import * as ValidationUtils from '../../libs/ValidationUtils';
import EnableStep from './EnableStep';
import... | 14 |
diff --git a/lambda/cfn-lambda-layer/package-lock.json b/lambda/cfn-lambda-layer/package-lock.json }
},
"node_modules/archiver/node_modules/async": {
- "version": "2.6.3",
- "resolved": "https://registry.npmjs.org/async/-/async-2.6.3.tgz",
- "integrity": "sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOX... | 3 |
diff --git a/lib/taiko.js b/lib/taiko.js @@ -28,7 +28,7 @@ const { getPlugins } = require('./plugins');
const EventEmiter = require('events').EventEmitter;
const xhrEvent = new EventEmiter();
const descEvent = new EventEmiter();
-let chromeProcess, temporaryUserDataDir, page, network, runtime, input, client, dom, emula... | 10 |
diff --git a/packages/node_modules/@node-red/registry/lib/loader.js b/packages/node_modules/@node-red/registry/lib/loader.js @@ -353,7 +353,6 @@ async function loadPluginConfig(fileInfo) {
*/
function loadNodeSet(node) {
if (!node.enabled) {
- console.log("BAIL ON",node.id)
return Promise.resolve(node);
} else {
}
| 2 |
diff --git a/src/views/preview/project-view.jsx b/src/views/preview/project-view.jsx @@ -126,7 +126,6 @@ class Preview extends React.Component {
showUsernameBlockAlert: false,
showEmailConfirmationModal: false,
projectId: parts[1] === 'editor' ? '0' : parts[1],
- isNewProject: parts[1] === 'editor',
reportOpen: false,
... | 14 |
diff --git a/ui/component/cardVerify/view.jsx b/ui/component/cardVerify/view.jsx @@ -37,6 +37,7 @@ class CardVerify extends React.Component {
super(props);
this.state = {
open: false,
+ scriptFailedToLoad: false,
};
}
@@ -117,7 +118,7 @@ class CardVerify extends React.Component {
};
onScriptError = (...args) => {
- thr... | 9 |
diff --git a/src/graphics/viewport.js b/src/graphics/viewport.js @@ -568,8 +568,8 @@ Crafty.extend({
* @comp Crafty.stage
* @kind Method
*
- * @sign public void Crafty.viewport.init([Number width, Number height, String stage_elem])
- * @sign public void Crafty.viewport.init([Number width, Number height, HTMLElement sta... | 9 |
diff --git a/assets/js/components/data/index.js b/assets/js/components/data/index.js @@ -226,9 +226,7 @@ const dataAPI = {
// Resolve any returned data requests, then re-request the remainder after a pause.
} ).catch( ( err ) => {
// Handle the error and give up trying.
- if ( ! err._logged ) {
console.warn( 'Error cau... | 2 |
diff --git a/package.json b/package.json {
- "name": "@sveltech/routify",
- "version": "1.999.999",
+ "name": "@roxi/routify",
+ "version": "2.0.0-next-major",
"description": "Routes for Svelte, automated by your file structure",
"main": "lib/index.js",
"svelte": "runtime/index.js",
| 12 |
diff --git a/articles/connections/social/instagram.md b/articles/connections/social/instagram.md @@ -4,13 +4,19 @@ connection: Instagram
index: 4
image: /media/connections/instagram.png
seo_alias: instagram
-description: This page shows you how to connect your Auth0 app to Instagram. You will need to generate keys, cop... | 0 |
diff --git a/lib/carto/bounding_box_service.rb b/lib/carto/bounding_box_service.rb @@ -14,10 +14,10 @@ class Carto::BoundingBoxService
result = current_bbox_using_stats(table_name)
return nil unless result
{
- maxx: BoundingBoxUtils.bound_for(result[:max][0].to_f, :minx, :maxx),
- maxy: BoundingBoxUtils.bound_for(resul... | 4 |
diff --git a/rig-aux.js b/rig-aux.js @@ -258,6 +258,29 @@ export class RigAux {
avatarScene.remove(pet.model);
this.pets.splice(this.pets.indexOf(pet), 1);
}
+ decapitate() {
+ for (const wearable of this.wearables) {
+ if (wearable.component.bone === 'Head') {
+ wearable.model.traverse(o => {
+ if (o.isMesh) {
+ o.sav... | 0 |
diff --git a/src/intl/en.json b/src/intl/en.json "page-bugbountypoints-loading": "Loading data...",
"page-bugbountypoints-usd": "2 USD",
"page-bugbountypoints-payout-desc": " The Ethereum Foundation will pay out the value of USD in ETH or DAI.",
- "page-bugbountypoints-rights-desc": "The Ethereum Foundation reserves th... | 12 |
diff --git a/packages/app/test/integration/service/pagev5.test.ts b/packages/app/test/integration/service/pagev5.test.ts @@ -231,6 +231,46 @@ describe('PageService page operations with only public pages', () => {
},
]);
+
+ const pageIdForRevert1 = new mongoose.Types.ObjectId();
+ const revisionIdForRevert1 = new mongo... | 13 |
diff --git a/src/upgrade/upgrade_wrapper.js b/src/upgrade/upgrade_wrapper.js @@ -177,6 +177,12 @@ function post_upgrade() {
ignore_rc: false,
return_stdout: true,
trim_stdout: true
+ }),
+ // eslint-disable-next-line no-useless-escape
+ promise_utils.exec(`sed -i "s:^.*ActionFileDefaultTemplate.*::" /etc/rsyslog.conf`,... | 2 |
diff --git a/packages/cx/src/widgets/form/Slider.js b/packages/cx/src/widgets/form/Slider.js @@ -140,9 +140,7 @@ class SliderComponent extends VDOM.Component {
style={data.style}
id={data.id}
onClick={(e) => this.onClick(e)}
- ref={(el) => {
- this.subscribeOnWheel(el);
- }}
+ ref={(el) => (this.dom.el = el)}
onMouseMo... | 5 |
diff --git a/src/encoded/audit/experiment.py b/src/encoded/audit/experiment.py @@ -2932,14 +2932,6 @@ def audit_experiment_assay(value, system):
if value['status'] == 'deleted':
return
- if 'assay_term_id' is None:
- # This means we need to add an assay to the enum list. It should not happen
- # though since the term e... | 2 |
diff --git a/physx.js b/physx.js @@ -1293,7 +1293,7 @@ const physxWorker = (() => {
dimsTypedArray.byteOffset,
potentialTypedArray.byteOffset,
shiftTypedArray.byteOffset,
- shiftTypedArray.byteOffset
+ scaleTypedArray.byteOffset
);
allocator.freeAll();
| 1 |
diff --git a/core/ui/fields/field_colour.js b/core/ui/fields/field_colour.js @@ -34,13 +34,24 @@ goog.require('goog.ui.ColorPicker');
* @param {string} colour The initial colour in '#rrggbb' format.
* @param {Function} opt_changeHandler A function that is executed when a new
* option is selected.
+ * @param {Object} op... | 11 |
diff --git a/src/components/Match/Purchases/index.jsx b/src/components/Match/Purchases/index.jsx @@ -5,6 +5,17 @@ import Toggle from 'material-ui/Toggle';
import TeamTable from '../TeamTable';
import mcs from '../matchColumns';
+const toggleStyle = {
+ width: '30px',
+ float: 'right',
+ position: 'relative',
+ right: '... | 7 |
diff --git a/src/registry/middleware/index.js b/src/registry/middleware/index.js @@ -33,7 +33,7 @@ module.exports.bind = function(app, options){
app.set('views', path.join(__dirname, '../views'));
app.set('view engine', 'jade');
- app.set('view cache', false);
+ app.set('view cache', true);
if(!!options.verbosity){
app... | 13 |
diff --git a/src/__experimental__/components/fieldset/fieldset.stories.js b/src/__experimental__/components/fieldset/fieldset.stories.js @@ -22,31 +22,37 @@ storiesOf('Experimental/Fieldset', module)
label='First Name'
labelInline
labelAlign='right'
+ inputWidth={ 70 }
/>
<Textbox
label='Last Name'
labelInline
labelAli... | 12 |
diff --git a/rssServer.js b/rssServer.js @@ -8,7 +8,7 @@ if (config.logging.logDates) require('./util/logDates.js')();
if (!config.botSettings.token) throw 'Warning! Vital config missing: token undefined in config.';
else if (!config.botSettings.prefix) throw 'Warning! Vital config missing: prefix undefined in config';... | 1 |
diff --git a/packages/core/src/sheet.js b/packages/core/src/sheet.js /** @type {RuleGroupNames} */
export const names = ['themed', 'global', 'styled', 'onevar', 'resonevar', 'allvar', 'inline']
+const isSheetAccessible = (/** @type {CSSStyleSheet} */ sheet) => {
+ if (sheet.href && !sheet.href.startsWith(location.origi... | 7 |
diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/view.js b/packages/node_modules/@node-red/editor-client/src/js/ui/view.js @@ -1471,10 +1471,24 @@ RED.view = (function() {
}
function copySelection() {
- if (moving_set.length > 0) {
+ var nodes = [];
+ var selection = RED.workspaces.selection();
+ if... | 11 |
diff --git a/packages/node_modules/@node-red/editor-client/src/images/subflow_tab.svg b/packages/node_modules/@node-red/editor-client/src/images/subflow_tab.svg -<svg width="40" height="40" xmlns="http://www.w3.org/2000/svg"><path d="M25 16h7c.58 0 1-.42 1-1v-2c0-.58-.42-1-1-1h-7c-.58 0-1 .42-1 1v2c0 .58.42 1 1 1zM8 28... | 1 |
diff --git a/includes/Core/Authentication/Authentication.php b/includes/Core/Authentication/Authentication.php @@ -274,7 +274,6 @@ final class Authentication {
$this->initial_version->register();
if ( Feature_Flags::enabled( 'userInput' ) ) {
$this->user_input->register();
- $this->user_input_state->register();
}
add_f... | 2 |
diff --git a/src/components/DataCollector/validateApplyResponse.js b/src/components/DataCollector/validateApplyResponse.js @@ -16,7 +16,7 @@ export default ({ options }) => {
objectOf({
type: string().required(),
payload: anything().required()
- }).noUnknownFields()
+ })
).required()
})
.required()
| 3 |
diff --git a/guide/english/java/basic-operations/index.md b/guide/english/java/basic-operations/index.md @@ -19,7 +19,6 @@ Java supports the following operations on variables:
* __Others__: `Conditional/Ternary(?:)`, `instanceof`
**Ternary because it work on the functionality of If Then Else i.e If condition is right t... | 7 |
diff --git a/handlebars/munch.hbs b/handlebars/munch.hbs <div class="form-description"></div>
<div>
<h4>Tools.</h4>
+ <p>
Compendium folder migration can take a while against big compendiums.
+ It needs the <a href="https://foundryvtt.com/packages/compendium-folders">Compendium Folders module</a>.
+ </p>
</div>
<div cl... | 7 |
diff --git a/libs/events.js b/libs/events.js @@ -1894,8 +1894,8 @@ control.prototype.jumpHero = function (ex, ey, time, callback) {
core.clearMap('hero', drawX()-core.bigmap.offsetX, drawY()-height+32-core.bigmap.offsetY, 32, height);
updateJump();
var nowx = drawX(), nowy = drawY();
- core.bigmap.offsetX = core.clamp(... | 14 |
diff --git a/src/lime/utils/Assets.hx b/src/lime/utils/Assets.hx @@ -515,6 +515,11 @@ class Assets
public static function unloadLibrary(name:String):Void
{
#if (tools && !display)
+ if (name == null || name == "")
+ {
+ name = "default";
+ }
+
var library = libraries.get(name);
if (library != null)
| 11 |
diff --git a/test/nodes/core/hardware/36-rpi-gpio_spec.js b/test/nodes/core/hardware/36-rpi-gpio_spec.js @@ -132,7 +132,12 @@ describe('RPI GPIO Node', function() {
var n1 = helper.getNode("n1");
var n2 = helper.getNode("n2");
var n3 = helper.getNode("n3");
+ var count = 0;
n3.on("input", function(msg) {
+ // Only chec... | 9 |
diff --git a/src/selectors/dataSelectors.js b/src/selectors/dataSelectors.js @@ -271,6 +271,14 @@ export const cellValueSelector = (state, props) => {
}
};
+/** Gets the row render properties
+ */
+export const rowPropertiesSelector = (state) => {
+ const row = state.getIn(['renderProperties', 'rowProperties']);
+
+ re... | 0 |
diff --git a/ui/src/viewers/CsvStreamViewer.jsx b/ui/src/viewers/CsvStreamViewer.jsx @@ -30,7 +30,7 @@ class CSVStreamViewer extends React.Component {
// If we are scrolling to the end. Time to load more rows.
if ((row.rowIndexEnd + 50) > this.state.requestedRow) {
const { document } = this.props;
- const rowCount = pa... | 12 |
diff --git a/phpcs.xml b/phpcs.xml <exclude-pattern>tests/*</exclude-pattern>
</rule>
- <exclude-pattern>*/phpunit.xml*</exclude-pattern>
- <exclude-pattern>*/languages/*</exclude-pattern>
-
<!-- Third-party code -->
- <exclude-pattern>*/bower-components/*</exclude-pattern>
<exclude-pattern>*/node_modules/*</exclude-pa... | 2 |
diff --git a/demo/doc-versioning/doc_versioning/gui/document.html b/demo/doc-versioning/doc_versioning/gui/document.html <button class="button-primary" onclick="window.location.replace(`/`);">Home</button>
<h1>"{{ name }}"</h1>
{% if diffs|count > 0 %}
- <hr />
<h4>Revisions</h4>
<table class="u-full-width">
<!-- <tabl... | 2 |
diff --git a/InitMaster/script.json b/InitMaster/script.json "authors": "Richard E.",
"roll20userid": "6497708",
"useroptions": [],
- "dependencies": ["RoundMaster.js"],
+ "dependencies": ["RoundMaster"],
"modifies": {
"state.initMaster": "read,write",
"player.id": "read",
| 3 |
diff --git a/docs/en/Plugin.md b/docs/en/Plugin.md @@ -144,6 +144,17 @@ List of added formats:
| `BBBB` | 2561 | Full BE Year (Year + 543) |
| `BB` | 61 | 2-digit of BE Year |
+### WeekOfYear
+ - WeekOfYear adds `.week()` API to returns a `number` indicating the `Dayjs`'s week of the year.
+
+```javascript
+import week... | 3 |
diff --git a/tests/e2e/specs/plugin-reset.test.js b/tests/e2e/specs/plugin-reset.test.js /**
* WordPress dependencies
*/
-import { deactivatePlugin, activatePlugin, visitAdminPage } from '@wordpress/e2e-test-utils';
+import { visitAdminPage } from '@wordpress/e2e-test-utils';
+
+/**
+ * Internal dependencies
+ */
+impo... | 3 |
diff --git a/src/views/bots.ejs b/src/views/bots.ejs <%- include('partials/header', {
-title: "Bots | The Best Discord Bot List",
-desc: "Find the next bot for your server!",
+title: (req.params.q?)`Find Bots Related to ${req.params.q} on The Best Discord List!`:"Bots | The Best Discord Bot List",
+desc: (req.params.q)... | 3 |
diff --git a/stories/module-adsense-components.stories.js b/stories/module-adsense-components.stories.js @@ -221,53 +221,4 @@ generateReportBasedWidgetStories( {
] ),
Component: ModuleOverviewWidget,
wrapWidget: false,
- additionalVariants: {
- 'Gathering Data': {
- data: [],
- options: [
- {
- metrics: [
- 'ESTIMATED_... | 2 |
diff --git a/app/views/users/friendship_users.html.haml b/app/views/users/friendship_users.html.haml - content_for(:title) do
- = @title = params.has_key?('following') ? t(:people_user_follows, user: @user.login) : t(:people_following_user, user: @user.login )
+ = @title = action_name == "following" ? t(:people_user_fo... | 1 |
diff --git a/webpack.config.js b/webpack.config.js @@ -12,8 +12,8 @@ const common = {
output: {
path: path.resolve(__dirname, "dist"),
- //dev: specify a full path including protocol
- //production: specify full path excluding protocol
+ //dev: specify a full path _including_ protocol, e.g. http://localhost:8080/dist
+... | 7 |
diff --git a/src/components/dashboard/DashboardDetail.js b/src/components/dashboard/DashboardDetail.js @@ -2,7 +2,10 @@ import React, { Component, Fragment } from 'react'
import { connect } from 'react-redux'
import { Translate } from 'react-localize-redux'
import { withRouter } from 'react-router-dom'
-import { getAcc... | 4 |
diff --git a/common/lib/types/pushchannelsubscription.ts b/common/lib/types/pushchannelsubscription.ts import { decodeBody, encodeBody, Format } from "../util/encoding";
import isArray from "../util/isArray";
+type PushChannelSubscriptionObject = {
+ channel?: string,
+ deviceId?: string,
+ clientId?: string,
+}
+
clas... | 7 |
diff --git a/src/template.json b/src/template.json "damage": {
"parts": []
},
- "save": {}
+ "save": {
+ "type": "",
+ "dc": null,
+ "descriptor": ""
+ }
},
"mod": {
"templates": ["itemDescription", "modifiers"],
| 0 |
diff --git a/bin/validator-parameter-base.js b/bin/validator-parameter-base.js @@ -35,7 +35,7 @@ module.exports = data => {
enum: ['array', 'boolean', 'integer', 'number', 'string']
},
collectionFormat: {
- allowed: ({ parent }) => parent.value.type === 'array',
+ allowed: ({ parent }) => parent.definition.type === 'ar... | 10 |
diff --git a/brands/shop/butcher.json b/brands/shop/butcher.json }
},
"shop/butcher|Renmans": {
- "locationSet": {"include": ["001"]},
+ "locationSet": {"include": ["be"]},
"tags": {
"brand": "Renmans",
+ "brand:wikidata": "Q63184410",
"name": "Renmans",
"shop": "butcher"
}
| 7 |
diff --git a/assets/js/core-home.js b/assets/js/core-home.js var currentLang = 'en',
snippets = [];
- function updateSnippets () {
+ function createSnippets () {
var i;
moment.locale(currentLang);
}
}
+ function updateSnippets () {
+ var i;
+
+ moment.locale(currentLang);
+
+ for (i = 0; i < snippets.length; i++) {
+ s... | 11 |
diff --git a/server/handlers/datasets.js b/server/handlers/datasets.js @@ -48,6 +48,7 @@ export default {
let datasetNumber = bidsId.decodeId(datasetId).slice(2)
let versionId = datasetNumber + '-' + versionNumber
+ delete req.headers['accept-encoding']
request.post(
config.scitran.url +
'snapshots/projects/' +
@@ -68,... | 1 |
diff --git a/README.md b/README.md 
-### Version 3.5 Out Now!
+### Version 4.0 Out Now!
-An easy to use interactive table generation plugin for JQuery UI
+An easy to use interactive table generation JavaScript library
Full documentation & dem... | 3 |
diff --git a/src/components/layouts/Layout.js b/src/components/layouts/Layout.js @@ -78,12 +78,11 @@ const Layout = ({ children, initialContext, hasSideBar, location }) => {
</div>
<div className="sprk-u-BackgroundColor--black sprk-u-AbsoluteCenter sprk-u-pam">
<p className="sprk-u-Color--white">
- <span className="spr... | 3 |
diff --git a/assets/js/modules/adsense/datastore/adblocker.js b/assets/js/modules/adsense/datastore/adblocker.js import invariant from 'invariant';
import { detectAnyAdblocker } from 'just-detect-adblock';
-/**
- * WordPress dependencies
- */
-import { addQueryArgs } from '@wordpress/url';
-
/**
* Internal dependencies... | 2 |
diff --git a/README.md b/README.md @@ -45,6 +45,7 @@ Alternatively clone this repository (the `release` branch always references the
- PHP 8.1 (with SQLite 3.34.0+)
- Required PHP extensions: `fileinfo`, `pdo_sqlite`, `gd`, `ctype`, `json`, `intl`, `zlib`, `mbstring`
+- _Recommendation: Benchmark tests showed that e.g.... | 0 |
diff --git a/packages/build/src/log/stack.js b/packages/build/src/log/stack.js @@ -46,16 +46,14 @@ const cleanStackLine = function(lines, line) {
const STACK_LINE_REGEXP = /^\s+at /
const isUselessStack = function(line) {
- return USELESS_STACK_REGEXP.test(line)
+ return line.includes('<anonymous')
}
-const USELESS_STA... | 7 |
diff --git a/src/patterns/components/inputs/collection.yaml b/src/patterns/components/inputs/collection.yaml @@ -157,7 +157,7 @@ variableTable:
default: $sprk-text-input-outline
description: The outline applied to select elements.
$sprk-select-padding:
- default: 12px 45px 12px 13px
+ default: 14px 45px 14px 13px
descr... | 3 |
diff --git a/blocks/init/src/Blocks/components/head/head.php b/blocks/init/src/Blocks/components/head/head.php */
$icon = $attributes['icon'] ?? '';
-$charset = $attributes['charset'] ?? \bloginfo('charset');
-$name = $attributes['name'] ?? \bloginfo('name');
+$charset = $attributes['charset'] ?? \get_bloginfo('charset... | 14 |
diff --git a/src/templates/items/ammunition.html b/src/templates/items/ammunition.html <nav class="sheet-navigation tabs" data-group="primary">
<a class="item active" data-tab="description">{{ localize "SFRPG.Description" }}</a>
<a class="item" data-tab="details">{{ localize "SFRPG.Details" }}</a>
- <a class="item" dat... | 2 |
diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/common/treeList.js b/packages/node_modules/@node-red/editor-client/src/js/ui/common/treeList.js that._addSubtree(that._topList,container,item,0);
}
};
+ if (this.options.header) {
+ topListOptions.header = this.options.header;
+ }
if (this.options.roo... | 11 |
diff --git a/src/components/Match/TargetsBreakdown.jsx b/src/components/Match/TargetsBreakdown.jsx @@ -47,7 +47,7 @@ const processCasts = (uses, targets) => {
const field = {};
Object.keys(uses).forEach(((ability) => {
if (targets[ability]) {
- field[ability] = targets[ability];
+ field[ability] = { ...targets[ability]... | 1 |
diff --git a/packages/app/src/server/routes/apiv3/personal-setting.js b/packages/app/src/server/routes/apiv3/personal-setting.js @@ -102,14 +102,7 @@ module.exports = (crowi) => {
body('accountId').isString().not().isEmpty(),
],
editorSettings: [
- checkSchema({
- textlintSettings: {
- isTextlintEnabled: { isBoolean: t... | 13 |
diff --git a/src/components/tests/button.spec.js b/src/components/tests/button.spec.js @@ -21,9 +21,17 @@ function setup(props = defaultProps) {
describe('Components::Button', () => {
it('should render correctly', () => {
- const { link, icon } = setup();
+ let { link, icon } = setup();
expect(link.text()).toBe('Save')... | 7 |
diff --git a/sirepo/package_data/template/srw/default-data.json b/sirepo/package_data/template/srw/default-data.json "rotateAngle": 0,
"rotateReshape": "1",
"sampleFactor": 1,
- "samplingMethod": 1,
+ "samplingMethod": 2,
"verticalPointCount": 100,
"verticalPosition": 0,
"verticalRange": "0.6"
| 12 |
diff --git a/versions/3.0.md b/versions/3.0.md @@ -717,7 +717,7 @@ This object can be extended with [Specification Extensions](#specificationExtens
"items": {
"type": "string"
},
- "style": "commaDelimited"
+ "style": "simple"
}
]
}
@@ -749,7 +749,7 @@ parameters:
description: ID of pet to use
required: true
type: arra... | 14 |
diff --git a/packages/app/src/server/routes/login-passport.js b/packages/app/src/server/routes/login-passport.js @@ -222,15 +222,16 @@ module.exports = function(crowi, app) {
let externalAccount;
try {
externalAccount = await getOrCreateUser(req, res, userInfo, providerId);
-
- if (externalAccount == null) { // just in... | 5 |
diff --git a/content/en/docs/Getting started/_index.md b/content/en/docs/Getting started/_index.md @@ -369,21 +369,23 @@ Run `hugo server --i18n-warnings` when doing translation work, as it will give y
### Content
-For `content`, each language can have its own language configuration and configured each its own content ... | 7 |
diff --git a/src/display/canvas.js b/src/display/canvas.js @@ -2112,8 +2112,9 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
var heightScale = Math.max(Math.sqrt(c * c + d * d), 1);
var imgToPaint, tmpCanvas;
- // instanceof HTMLElement does not work in jsdom node.js module
- if (imgData instanceof HTMLEle... | 7 |
diff --git a/lib/services/throttler-stream.js b/lib/services/throttler-stream.js @@ -24,15 +24,15 @@ module.exports = class Throttler extends Transform {
this.bytesPerSecondHistory.shift();
}
- const doesNotReachThreshold = [];
+ let doesNotReachThreshold = 0;
for (const bytesPerSecond of this.bytesPerSecondHistory) {
... | 14 |
diff --git a/userscript.user.js b/userscript.user.js @@ -32791,7 +32791,11 @@ var $$IMU_EXPORT$$;
if (domain === "img.blick.ch") {
// https://img.blick.ch/incoming/7040030-v5-file6v0ev8lnk1h15jshehfk.jpg?imwidth=1000&ratio=FREE&x=0&y=0&width=541&height=800
// https://img.blick.ch/incoming/7040030-v5-file6v0ev8lnk1h15js... | 7 |
diff --git a/client/app/components/group/_storeList/storeList.html b/client/app/components/group/_storeList/storeList.html <store-map store-list="$ctrl.storeList" ng-if="$ctrl.$mdMedia('gt-sm')"></store-map>
-<md-list layout-padding>
+<md-list>
<div layout="row">
<md-button class="md-primary" aria-label="Create Store" ... | 7 |
diff --git a/main.go b/main.go @@ -59,13 +59,14 @@ func main() {
},
},
Action: func(c *cli.Context) error {
- err := validate(c, c.String("i"), c.Bool("c"))
-
+ if err := validate(c, c.String("i"), c.Bool("c")); err != nil {
if strings.Contains(err.Error(), "read failed") {
return xerrors.Cause(err)
}
io.WriteString(c.... | 9 |
diff --git a/src/patterns/components/pagination/react/info/default.hbs b/src/patterns/components/pagination/react/info/default.hbs Screenreader text for the "next page" arrow. Defaults to "Next Page".
</td>
</tr>
+ <tr>
+ <td class="sprk-u-FontWeight--bold">
+ nextIcon
+ </td>
+ <td>string</td>
+ <td>
+ Icon name for t... | 3 |
diff --git a/src/screens/EventDetailsScreen/component.js b/src/screens/EventDetailsScreen/component.js @@ -135,6 +135,9 @@ class EventDetailsScreen extends PureComponent<Props> {
locale={locale}
/>
)}
+ {(event.fields.accessibilityDetails ||
+ event.fields.email ||
+ event.fields.phone) && (
<ContentPadding>
<LayoutCol... | 2 |
diff --git a/models/cards.js b/models/cards.js @@ -2003,8 +2003,15 @@ if (Meteor.isServer) {
req,
res,
) {
- Authentication.checkUserId(req.userId);
+ // Check user is logged in
+ Authentication.checkLoggedIn(req.userId);
const paramBoardId = req.params.boardId;
+ // Check user has permission to add card to the board
+... | 11 |
diff --git a/userscript.user.js b/userscript.user.js @@ -35722,9 +35722,13 @@ var $$IMU_EXPORT$$;
// https://www.famitsu.com/images/000/124/494/t_5874c086779f9.jpg
// https://www.famitsu.com/images/000/124/494/5874c086779f9.jpg -- 250x140
// https://www.famitsu.com/images/000/124/494/l_5874c086779f9.jpg -- 640x360, y/z... | 7 |
diff --git a/articles/user-profile/user-data-storage.md b/articles/user-profile/user-data-storage.md ---
title: User Data Storage Guidance
-description: Demonstrating the best practices in using Auth0 storage mechanisms through the scenario of a native Swift app with a Node API backend.
+description: Demonstrates the b... | 3 |
diff --git a/src/serialize/window.js b/src/serialize/window.js @@ -67,12 +67,12 @@ function getSerializedWindow(winPromise : ZalgoPromise<CrossDomainWindowType>, {
return isWindowClosed(win);
}),
setLocation: (href) => winPromise.then(win => {
- if (!href.match(/^(\/|https?:\/\/)/)) {
- throw new Error(`Expected url to... | 11 |
diff --git a/Source/DataSources/PathVisualizer.js b/Source/DataSources/PathVisualizer.js @@ -452,7 +452,7 @@ PolylineUpdater.prototype.updateObject = function (time, item) {
var showProperty = pathGraphics._show;
var polyline = item.polyline;
var show =
- entity.isShowing && (!defined(showProperty) || showProperty.getV... | 4 |
diff --git a/packages/@uppy/core/src/index.test.js b/packages/@uppy/core/src/index.test.js @@ -240,15 +240,33 @@ describe('src/Core', () => {
})
})
- it('should clear all uploads on cancelAll()', () => {
+ it('should clear all uploads and files on cancelAll()', () => {
const core = new Core()
- const id = core._createU... | 3 |
diff --git a/package.json b/package.json "natsort": "^1.0.6",
"octicons": "^5.0.1",
"pikaday": "~1.4.0",
- "preact": "^8.1.0"
+ "preact": "^8.1.0",
+ "recursive-copy": "^2.0.6",
+ "uuid": "^3.0.1"
},
"devDependencies": {
"electron": "1.6.9",
| 9 |
diff --git a/GLTF1Loader.js b/GLTF1Loader.js @@ -846,6 +846,7 @@ const GLTFLoader = ( function () {
// loader object cache
this.cache = new GLTFRegistry();
+ this.manager = THREE.DefaultLoadingManager;
}
GLTFParser.prototype._withDependencies = function ( dependencies ) {
@@ -1081,6 +1082,7 @@ const GLTFLoader = ( func... | 0 |
diff --git a/native/navigation-setup.js b/native/navigation-setup.js @@ -59,7 +59,8 @@ import {
ChatRouteName,
} from './chat/chat.react';
import { ChatThreadListRouteName } from './chat/chat-thread-list.react';
-import More from './more/more.react';
+import { MoreRouteName, More } from './more/more.react';
+import { M... | 0 |
diff --git a/src/js/core/Utils.js b/src/js/core/Utils.js @@ -104,11 +104,17 @@ var Utils = {
* @returns {byteArray}
*
* @example
- * // returns "['a', 0, 0, 0]"
+ * // returns ["a", 0, 0, 0]
* Utils.padBytesRight("a", 4);
*
- * // returns "['a', 1, 1, 1]"
+ * // returns ["a", 1, 1, 1]
* Utils.padBytesRight("a", 4, 1);
... | 7 |
diff --git a/test/versioned/express/package.json b/test/versioned/express/package.json "dependencies": {
"express": ">=4.6.0",
"express-enrouten": "1.1",
- "ejs": "2.5"
+ "ejs": "2.5.9"
},
"files": [
"app-use.tap.js",
| 12 |
diff --git a/.storybook/webpack.config.js b/.storybook/webpack.config.js @@ -10,11 +10,16 @@ module.exports = async ( { config } ) => {
const siteKitPackageAliases = mapValues(
mainConfig.siteKitExternals,
( [ global, api ] ) => {
- // Revert "@wordpress/i18n: [ googlesitekit, i18n ]" external back to the original @wor... | 12 |
diff --git a/scripts/generateHeadingIDs.js b/scripts/generateHeadingIDs.js @@ -32,7 +32,7 @@ function addHeaderID(line, slugger, write = false) {
return line;
}
// check if it already has an id
- if (/\{#[^}]+\}/.test(line) && !write) {
+ if (/\{#[^}]+\}/.test(line)) {
return line;
}
const headingText = line.slice(line... | 7 |
diff --git a/assets/js/modules/analytics/setup.js b/assets/js/modules/analytics/setup.js @@ -53,7 +53,6 @@ class AnalyticsSetup extends Component {
} = googlesitekit.modules.analytics.settings;
this.state = {
- setupNewAccount: false,
isLoading: true,
isSaving: false,
propertiesLoading: false,
@@ -148,20 +147,11 @@ cla... | 2 |
diff --git a/public/js/office.web.js b/public/js/office.web.js @@ -159,7 +159,7 @@ $(() => {
}
function getRoomName(roomId){
- return $("[room-id="+roomId+"]").attr("room-name")
+ return $(`[room-id="${roomId}"]`).attr("room-name")
}
function getLastRoom(matrixProfile){
@@ -204,7 +204,7 @@ $(() => {
}
function confirmR... | 7 |
diff --git a/assets/js/components/settings/SettingsRenderer.js b/assets/js/components/settings/SettingsRenderer.js @@ -29,7 +29,7 @@ import { STORE_NAME as CORE_MODULES } from '../../googlesitekit/modules/datastor
const { useSelect, useDispatch } = Data;
const nullComponent = () => null;
-export default function Settin... | 10 |
diff --git a/src/components/common/view/AddWebApp.web.js b/src/components/common/view/AddWebApp.web.js @@ -97,6 +97,10 @@ const AddWebApp = props => {
log.debug('showExplanationDialog')
showDialog({
content: <ExplanationDialog />,
+ onDismiss: () => {
+ const date = new Date()
+ AsyncStorage.setItem('AddWebAppLastCheck... | 0 |
diff --git a/test/run_tests_docker.sh b/test/run_tests_docker.sh @@ -24,14 +24,18 @@ if [ "$NODEJS_VERSION" = "nodejs10" ];
then
echo "npm version on install:"
npm -v
+ mv npm-shrinkwrap.json npm-shrinkwrap.json.backup
npm ci
npm ls
+ mv npm-shrinkwrap.json.backup npm-shrinkwrap.json
elif [ "$NODEJS_VERSION" = "nodejs6... | 10 |
diff --git a/configs/todc-bootstrap.json b/configs/todc-bootstrap.json {
"index_name": "todc-bootstrap",
"start_urls": [
- {
- "url": "https://todc.github.io/todc-bootstrap/docs/(?P<version>.*?)/",
- "variables": {
- "version": [
- "3.4",
- "4.1"
- ]
- }
- },
- {
- "url": "http://todc.github.io/todc-bootstrap/docs/(?P<... | 4 |
diff --git a/index.js b/index.js @@ -535,7 +535,8 @@ SocketCluster.prototype._workerClusterReadyHandler = function () {
warningMessage = 'Master received SIGUSR2 signal - Shutting down all workers gracefully within processTermTimeout limit';
}
- var warning = new ProcessExitError(warningMessage);
+ var warning = new Pr... | 7 |
diff --git a/js/webcomponents/bisweb_filetreepanel.js b/js/webcomponents/bisweb_filetreepanel.js @@ -396,12 +396,54 @@ class FileTreePanel extends HTMLElement {
initialCallback: () => { return this.getDefaultFilename(); },
});
+ let importTaskButton = bis_webfileutil.createFileButton({
+ 'type' : 'info',
+ 'name' : 'Im... | 5 |
diff --git a/android/fastlane/Fastfile b/android/fastlane/Fastfile @@ -31,8 +31,26 @@ platform :android do
desc "Build a new version for the Google Play"
lane :build do
+
+ # Not sure it's the best way to retrieve resolved config...
+ # but Supply.config is not initialized here
+ supply_config = FastlaneCore::Configura... | 10 |
diff --git a/app/stylesheets/builtin-pages/library.less b/app/stylesheets/builtin-pages/library.less .revision {
border-bottom: 0;
list-style: none;
- margin-bottom: 10px;
+ margin-bottom: 15px;
.revision-header {
cursor: pointer;
| 4 |
diff --git a/token-metadata/0x270D09cb4be817c98e84fEffdE03D5CD45e30a27/metadata.json b/token-metadata/0x270D09cb4be817c98e84fEffdE03D5CD45e30a27/metadata.json "symbol": "MAKI",
"address": "0x270D09cb4be817c98e84fEffdE03D5CD45e30a27",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.