code
stringlengths
122
4.99k
label
int64
0
14
diff --git a/assets/js/modules/analytics/components/common/AdSenseLinkCTA.js b/assets/js/modules/analytics/components/common/AdSenseLinkCTA.js @@ -45,7 +45,7 @@ export default function AdSenseLinkCTA() { ) } ctaLink={ supportURL } ctaLabel={ __( 'Learn more', 'google-site-kit' ) } - ctaLinkExternal={ true } + ctaLinkEx...
2
diff --git a/generators/openapi-client/files.js b/generators/openapi-client/files.js @@ -69,8 +69,6 @@ function writeFiles() { ' --library spring-cloud ' + ` -i ${inputSpec} --artifact-id ${_.camelCase(cliName)} --api-package ${cliPackage}.api` + ` --model-package ${cliPackage}.model` + - ' --type-mappings DateTime=Off...
2
diff --git a/src/VelocityContext.js b/src/VelocityContext.js @@ -84,6 +84,7 @@ module.exports = class VelocityContext { identity: { accountId: 'offlineContext_accountId', apiKey: 'offlineContext_apiKey', + apiKeyId: 'offlineContext_apiKeyId', caller: 'offlineContext_caller', cognitoAuthenticationProvider: 'offlineConte...
0
diff --git a/vis/stylesheets/modules/_modal.scss b/vis/stylesheets/modules/_modal.scss @@ -386,3 +386,13 @@ h5 { margin-top: 5px; font-style: italic; } + +.citation { + display: block; + padding: 10px; + background-color: rgba(239,243,244,1); + hyphens: none; + border-radius: 3px; + -moz-border-radius: 3px; + word-brea...
5
diff --git a/apps.json b/apps.json "shortName":"Planetarium", "icon": "planetarium.png", "version":"0.02", - "description": "Planetarium showing up to 350 stars using the watch location and time", + "description": "Planetarium showing up to 500 stars using the watch location and time", "tags": "", "storage": [ {"name":...
3
diff --git a/src/components/DayPickerKeyboardShortcuts.jsx b/src/components/DayPickerKeyboardShortcuts.jsx @@ -198,6 +198,7 @@ export default withStyles(({ reactDates: { color, zIndex } }) => ({ DayPickerKeyboardShortcuts_buttonReset: { background: 'none', border: 0, + borderRadius: 0, color: 'inherit', font: 'inherit'...
12
diff --git a/src/definitions/modules/dropdown.less b/src/definitions/modules/dropdown.less @@ -1239,7 +1239,7 @@ select.ui.dropdown { border-radius: @pointingMenuBorderRadius; } -.ui.pointing.dropdown > .menu:after { +.ui.pointing.dropdown > .menu:not(.hidden):after { display: block; position: absolute; pointer-events:...
1
diff --git a/src/schemas/json/package.json b/src/schemas/json/package.json "type": "string", "maxLength": 214, "minLength": 1, - "pattern": "^(?:@[a-z0-9-~][a-z0-9-._~]*/)?[a-z0-9-~][a-z0-9-._~]*$" + "pattern": "^(?:@[a-z0-9-*~][a-z0-9-*._~]*/)?[a-z0-9-~][a-z0-9-._~]*$" }, "version": { "description": "Version must be p...
11
diff --git a/guide/english/electron/index.md b/guide/english/electron/index.md @@ -32,7 +32,7 @@ Some apps built using Electron include: * [Skype](https://www.skype.com/) (Microsoft's popular video chat application) * [Slack](https://slack.com/) (A messaging app for teams) * [Discord](https://discordapp.com) (A popular...
14
diff --git a/locksmith/migrations/20190412205611-add_event_owner.js b/locksmith/migrations/20190412205611-add_event_owner.js @@ -7,6 +7,7 @@ module.exports = { await queryInterface.addColumn(table, 'owner', { type: Sequelize.STRING, allowNull: false, + defaultValue: '', }) },
11
diff --git a/tests/e2e/specs/plugin-activation.test.js b/tests/e2e/specs/plugin-activation.test.js @@ -17,46 +17,30 @@ import { deactivatePlugin, activatePlugin } from '@wordpress/e2e-test-utils'; * and consuming code can use `google-site-kit` variations in their places. */ -const activateSiteKit = async () => { - try ...
2
diff --git a/publish/deployed/kovan/config.json b/publish/deployed/kovan/config.json "SynthsETH": { "deploy": false }, - "TokenStateiXTZ": { - "deploy": false - }, - "ProxyiXTZ": { - "deploy": false - }, - "SynthiXTZ": { - "deploy": false - }, "ProxyERC20sUSD": { "deploy": false },
2
diff --git a/src/inertia.js b/src/inertia.js @@ -143,7 +143,7 @@ export default { cache(key, props) { let page = window.history.state page.props = { ...page.props, [key]: props } - this.setState(true, window.location.pathname + window.location.search, state) + this.setState(true, window.location.pathname + window.locat...
1
diff --git a/generators/generator-constants.js b/generators/generator-constants.js @@ -66,7 +66,7 @@ const DOCKER_JHIPSTER_IMPORT_DASHBOARDS = 'jhipster/jhipster-import-dashboards:v const DOCKER_JHIPSTER_ZIPKIN = 'jhipster/jhipster-zipkin:v4.1.0'; const DOCKER_TRAEFIK = 'traefik:1.7.24'; // waiting for https://github.c...
3
diff --git a/prettier/main_test.ts b/prettier/main_test.ts @@ -255,6 +255,9 @@ test(async function testPrettierPrintToStdout(): Promise<void> { emptyDir(tempDir); }); +// TODO(bartlomieju): reenable after landing rusty_v8 branch +// crashing on Windows +/* test(async function testPrettierReadFromStdin(): Promise<void> ...
14
diff --git a/src/mixins/linkConfig.js b/src/mixins/linkConfig.js @@ -214,9 +214,8 @@ export default { const sourceAnchorTool = new linkTools.SourceAnchor({ snap: this.getAnchorPointFunction('source') }); const targetAnchorTool = new linkTools.TargetAnchor({ snap: this.getAnchorPointFunction('target') }); - const segmen...
2
diff --git a/test/EleventyFilesTest.js b/test/EleventyFilesTest.js @@ -383,6 +383,14 @@ test("Get ignores (both .eleventyignore and .gitignore exists, but .gitignore ha }); /* End .eleventyignore and .gitignore combos */ +test("getTemplateData caching", t => { + let evf = new EleventyFiles("test/stubs", "test/stubs/_si...
0
diff --git a/src/setData/yearFour.js b/src/setData/yearFour.js @@ -18,7 +18,7 @@ export default ([ { name: 'Weapons', season: 12, - items: [2891672170] + itemGroups: [[2891672170], [4060882458]] }, { name: 'Hunter Armor', @@ -53,7 +53,7 @@ export default ([ { name: 'Weapons', season: 12, - items: [2050789284] + itemGro...
5
diff --git a/src/entities/EntityDatabase.js b/src/entities/EntityDatabase.js @@ -14,7 +14,7 @@ Book.schema = { type: 'book', authors: { type: ['person'], default: [] }, editors: { type: ['person'], default: [] }, - chapterTitle: { type: 'text', optional: true }, + chapterTitle: { type: 'string', optional: true }, sourc...
4
diff --git a/packages/app/src/components/Page/RevisionRenderer.jsx b/packages/app/src/components/Page/RevisionRenderer.jsx @@ -60,9 +60,9 @@ class LegacyRevisionRenderer extends React.PureComponent { * @param {string} keywords */ getHighlightedBody(body, keywords) { - const returnBody = body; - const normalizedKeywords...
7
diff --git a/src/article/shared/entityRenderers.js b/src/article/shared/entityRenderers.js @@ -744,11 +744,17 @@ function refContribRenderer ($$, entityId, entityDb, options = {}) { } function organisationRenderer ($$, entityId, entityDb, options = {}) { - let { institution, country } = entityDb.get(entityId) - let res...
7
diff --git a/examples/react-native-expo/App.js b/examples/react-native-expo/App.js @@ -142,6 +142,21 @@ function SelectAndUploadFileWithUppy (props) { accessibilityLabel="Open uploaded file" /> } + + <Button + onPress={(ev) => { + this.uppy.pauseAll() + }} + title="Pause All" + accessibilityLabel="Pause All" + /> + <Bu...
0
diff --git a/lib/services/elasticsearch.js b/lib/services/elasticsearch.js @@ -219,7 +219,7 @@ class ElasticSearch extends Service { return Promise.reject(new NotFoundError(`Document ${result._id} was already deleted`)); } if (result._source._kuzzle_info) { - result._kuzzle_info = result._source._kuzzle_info; + result....
10
diff --git a/lib/node_modules/@stdlib/_tools/scripts/publish_packages.js b/lib/node_modules/@stdlib/_tools/scripts/publish_packages.js @@ -55,7 +55,7 @@ var ENV = require( '@stdlib/process/env' ); var debug = logger( 'scripts:publish-packages' ); var START_PKG_INDEX = 0; -var END_PKG_INDEX = 1500; +var END_PKG_INDEX = ...
14
diff --git a/UserHistoryImprovements.user.js b/UserHistoryImprovements.user.js // @description Fixes broken links in user annotations, and minor layout improvements // @homepage https://github.com/samliew/SO-mod-userscripts // @author @samliew -// @version 1.2.6 +// @version 1.2.7 // // @include https://*stackoverflow....
2
diff --git a/package.json b/package.json "homepage": "https://gooddollar.org", "dependencies": { "@babel/preset-flow": "^7.0.0", - "@gooddollar/goodcontracts": "^0.0.13", + "@gooddollar/goodcontracts": "0.0.14", "@gooddollar/gun-appendonly": "^1.0.1", "@react-navigation/core": "^3.1.1", "@react-navigation/web": "^1.0.0...
0
diff --git a/src/electron.js b/src/electron.js @@ -1942,7 +1942,9 @@ function showIntro() { transparent: true, icon: './src/assets/logo.ico', webPreferences: { - preload: path.join(__dirname, 'intro-preload.js') + preload: path.join(__dirname, 'intro-preload.js'), + devTools: settings.isDev, + enableRemoteModule: true ...
1
diff --git a/src/generators/output/toDisk.js b/src/generators/output/toDisk.js @@ -37,6 +37,8 @@ module.exports = async (env, spinner) => { const config = deepmerge(globalConfig, frontMatter.attributes) config.isMerged = true + const events = config.events || [] + html = await render(html, { tailwind: { compiled: css @...
0
diff --git a/client/src/components/Input/LocationSearch.js b/client/src/components/Input/LocationSearch.js @@ -2,6 +2,8 @@ import React, { useContext } from "react"; import styled from "styled-components"; import { SearchBar, WhiteSpace } from "antd-mobile"; import { FeedContext } from "pages/Feed.js"; +import { Input ...
14
diff --git a/src/client/js/components/PageAccessoriesModal.jsx b/src/client/js/components/PageAccessoriesModal.jsx @@ -34,7 +34,7 @@ const PageAccessoriesModal = (props) => { } const menu = document.getElementsByClassName('nav'); - const navId = document.getElementById('nav-width'); + const navTitle = document.getEleme...
10
diff --git a/scripts/avalanchego-installer.sh b/scripts/avalanchego-installer.sh @@ -73,17 +73,25 @@ fi mkdir -p /tmp/avalanchego-install #make a directory to work in rm -rf /tmp/avalanchego-install/* #clean up in case previous install didn't cd /tmp/avalanchego-install -echo "Looking for the latest $getArch build..." ...
11
diff --git a/token-metadata/0x89eE58Af4871b474c30001982c3D7439C933c838/metadata.json b/token-metadata/0x89eE58Af4871b474c30001982c3D7439C933c838/metadata.json "symbol": "YFBETA", "address": "0x89eE58Af4871b474c30001982c3D7439C933c838", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIE...
3
diff --git a/priv/public/ui/app/app.js b/priv/public/ui/app/app.js 'mnHttp', 'mnExceptionReporter', 'ui.bootstrap', - 'mnEnv' + 'mnEnv', + 'mnFilters' ]).run(appRun); - function appRun($state, $urlRouter, $exceptionHandler, mnPools, $window, $rootScope, $location) { + function appRun($state, $urlRouter, $exceptionHandl...
12
diff --git a/README.md b/README.md @@ -203,11 +203,24 @@ WebMidi.enable(function (err) { **Important**: depending on the browser, version and platform, it may also be necessary to serve the page over https if you want to enable sysex support. +## API Documentation + +The [API for WebMidi.js](http://djipco.github.io/web...
7
diff --git a/tests/reporters/terse.js b/tests/reporters/terse.js const Mocha = require('mocha') -const { EVENT_TEST_FAIL, EVENT_TEST_END } = Mocha.Runner.constants +const { EVENT_TEST_FAIL, EVENT_RUN_END } = Mocha.Runner.constants const path = require('path') const projectRoot = path.normalize(path.join(__dirname, '..'...
4
diff --git a/test/jasmine/tests/mock_test.js b/test/jasmine/tests/mock_test.js @@ -5,8 +5,6 @@ var list = [ '1', '4', '5', - '6', - '8', '10', '11', '12', @@ -1095,8 +1093,6 @@ figs['0'] = require('@mocks/0'); // figs['1'] = require('@mocks/1'); figs['4'] = require('@mocks/4'); figs['5'] = require('@mocks/5'); -// figs...
2
diff --git a/src/lib/wallet/utils.js b/src/lib/wallet/utils.js @@ -35,7 +35,6 @@ const getComposedSettings = (settings?: {} = {}): {} => { } export const toMask = (gd?: number, settings?: {}): string => { - console.info({ gd }) const precision = gd && gd % 1 != 0 ? maskSettings.precision : 0 return gd ? MaskService.toM...
2
diff --git a/src/web/containers/Header/Header.jsx b/src/web/containers/Header/Header.jsx @@ -184,9 +184,17 @@ class Header extends Component { this.state = this.getInitialState(); } getInitialState() { + let pushPermission = ''; + try { + // Push.Permission.get() will throw an error if Push is not supported on this dev...
1
diff --git a/src/core/createEvent.js b/src/core/createEvent.js @@ -54,7 +54,9 @@ export default () => { documentMayUnload = true; }, finalize(onBeforeEventSend) { - if (isFinalized) return; + if (isFinalized) { + return; + } if (userXdm) { event.mergeXdm(userXdm);
2
diff --git a/core/server/adapters/scheduling/post-scheduling/scheduler-intergation.js b/core/server/adapters/scheduling/post-scheduling/scheduler-intergation.js const models = require('../../../models'); -const i18n = require('../../../../shared/i18n'); +const tpl = require('@tryghost/tpl'); const errors = require('@tr...
14
diff --git a/src/tests/controllers/tribe.test.ts b/src/tests/controllers/tribe.test.ts @@ -42,7 +42,7 @@ async function tribeTest( text, tribe ) - t.true(tribeMessage, 'node1 should send message to tribe') + t.true(!!tribeMessage, 'node1 should send message to tribe') //NODE2 SENDS A TEXT MESSAGE IN TRIBE const text2 =...
0
diff --git a/test/Air/AirService.test.js b/test/Air/AirService.test.js @@ -5,6 +5,7 @@ import fs from 'fs'; import path from 'path'; import { expect } from 'chai'; import proxyquire from 'proxyquire'; +import { AirRuntimeError } from '../../src/Services/Air/AirErrors'; const responsesDir = path.join(__dirname, '..', 'F...
0
diff --git a/src/events/http/http-routes/invoke/InvokeController.js b/src/events/http/http-routes/invoke/InvokeController.js @@ -68,6 +68,11 @@ export default class InvokeController { return result } + // TODO FIXME + console.log( + `invocationType: '${invocationType}' not supported by serverless-offline`, + ) + return...
0
diff --git a/docker/development/deploy-unlock.js b/docker/development/deploy-unlock.js @@ -48,17 +48,16 @@ const serverIsUp = (delay, maxAttempts) => serverIsUp(1000 /* every second */, 120 /* up to 2 minutes */) .then(() => { - return deploy(host, port, 'v11', newContractInstance => { - console.log(`UNLOCK DEPLOYED AT...
12
diff --git a/src/data/polyfills.js b/src/data/polyfills.js @@ -53,13 +53,7 @@ module.exports = async () => { } // non-icu case-sensitive alphabetical sort - polyfills.sort((a, b) => - a.name > b.name - ? 1 - : a.name < b.name - ? -1 - : 0 - ); + polyfills.sort((a, b) => (a.name > b.name ? 1 : a.name < b.name ? -1 : 0))...
11
diff --git a/datalad_service/handlers/description.py b/datalad_service/handlers/description.py @@ -20,6 +20,11 @@ class DescriptionResource(object): if dataset: try: description_fields = req.media.get('description_fields') + if not any(description_fields): + resp.media = { + 'error': 'Missing description field updates....
9
diff --git a/app/models/audit/AuditTaskCommentTable.scala b/app/models/audit/AuditTaskCommentTable.scala @@ -53,7 +53,7 @@ object AuditTaskCommentTable { def all(username: String): Option[List[AuditTaskComment]] = db.withTransaction { implicit session => val comments = (for { (c, u) <- auditTaskComments.innerJoin(users...
1
diff --git a/server/index.js b/server/index.js @@ -5,6 +5,7 @@ const express = require('express'); const api = require('./api'); const spm = require('./middleware/single-page-middleware'); const webpackMiddleware = require('./middleware/webpack-middleware'); +const env = require('../common/project').env; const SLACK_TO...
7
diff --git a/CommentFlagsHelper.user.js b/CommentFlagsHelper.user.js // @description Always expand comments (with deleted) and highlight expanded flagged comments, Highlight common chatty and rude keywords // @homepage https://github.com/samliew/SO-mod-userscripts // @author @samliew -// @version 3.0 +// @version 3.0.1...
2
diff --git a/magda-web-client/src/UI/Banner.js b/magda-web-client/src/UI/Banner.js @@ -14,7 +14,9 @@ class Banner extends React.Component { goBack = event => { event.preventDefault(); - document.cookie = "noPreview=true; path=/"; + if (window.location.hostname === "search.data.gov.au") { + document.cookie = "noPreview=...
12
diff --git a/components/Pledge/Form.js b/components/Pledge/Form.js @@ -4,6 +4,7 @@ import { graphql, compose } from 'react-apollo' import gql from 'graphql-tag' import isEmail from 'validator/lib/isEmail' +import { Link } from '../../lib/routes' import withT from '../../lib/withT' import withMe from '../../lib/apollo/w...
9
diff --git a/website/riot/dict-config-links.riot b/website/riot/dict-config-links.riot if (this.state.data.babelnet_id != '') { $.post(window.API_URL + this.dictData.dictId + '/babelnet',{babelnet_id: this.state.data.babelnet_id}, (response) => { $('#babelnet-status').html(response.state) - if (response.state == 'ERROR...
9
diff --git a/js/trackFileLoad.js b/js/trackFileLoad.js @@ -90,6 +90,23 @@ var igv = (function (igv) { }; + igv.TrackFileLoad.indexFileExtensions = + { + 'bed': 'idx', + 'bam': 'bai' + }; + + igv.TrackFileLoad.isIndexable = function (fileOrURL) { + var extension, + success; + + extension = igv.getExtension({ url: fileOr...
7
diff --git a/src/components/nodes/dataInputAssociation/dataInputAssociation.vue b/src/components/nodes/dataInputAssociation/dataInputAssociation.vue @@ -82,7 +82,8 @@ export default { }, updateDefinitionLinks() { const targetShape = this.shape.getTargetElement(); - this.node.definition.set('targetRef', this.sourceNode....
12
diff --git a/bin/util.js b/bin/util.js @@ -320,7 +320,7 @@ function randomOneOf (choices) { } function randomText ({ minLength = 1, maxLength = 250 } = {}) { - const length = randomNumber({ min: minLength, max: maxLength }); + const length = randomNumber({ min: minLength, max: maxLength }) + 1; let result = ''; let pun...
1
diff --git a/extensions/projection/README.md b/extensions/projection/README.md @@ -86,13 +86,6 @@ the default shape for all assets that don't have an overriding shape. If the transform is defined in an item's properties it is used as the default transform for all assets that don't have an overriding transform. -### Ite...
2
diff --git a/src/components/dashboard/Dashboard.js b/src/components/dashboard/Dashboard.js @@ -52,17 +52,23 @@ class Dashboard extends Component<DashboardProps, DashboardState> { componentDidMount() { const { params } = this.props.navigation.state - + userStorage.feed.on(() => this.getFeeds(), true) if (params && param...
0
diff --git a/ui-manager.js b/ui-manager.js @@ -14,6 +14,8 @@ import {colors, storageHost} from './constants.js'; const uiManager = new EventTarget(); const localVector2 = new THREE.Vector3(); +const localQuaternion = new THREE.Quaternion(); +const localEuler = new THREE.Euler(); const localColor = new THREE.Color(); co...
0
diff --git a/src/navigation/restaurant/Order.js b/src/navigation/restaurant/Order.js @@ -12,6 +12,7 @@ import { connect } from 'react-redux' import { translate } from 'react-i18next' import moment from 'moment/min/moment-with-locales' import { phonecall } from 'react-native-communications' +import { PhoneNumberUtil, Ph...
7
diff --git a/assets/js/util/index.js b/assets/js/util/index.js @@ -45,8 +45,6 @@ import { addQueryArgs, getQueryString } from '@wordpress/url'; import SvgIcon from './svg-icon'; import { trackEvent } from './tracking'; import { fillFilterWithComponent } from './helpers'; -import parseUnsatisfiedScopes from './parse-uns...
2
diff --git a/src/cellEditors/FilterBox.js b/src/cellEditors/FilterBox.js @@ -158,7 +158,11 @@ var FilterBox = ComboBox.extend('FilterBox', { !CellEditor.prototype.keyup.call(this, event) && this.grid.properties.filteringMode === 'immediate' ) { + try { this.saveEditorValue(this.getEditorValue()); + } catch (err) { + //...
8
diff --git a/app/stylesheets/builtin-pages/components/files-list-sidebar.less b/app/stylesheets/builtin-pages/components/files-list-sidebar.less white-space: pre; font-size: 0.75rem; max-height: 50vh; - overflow-x: hidden; - overflow-y: auto; + overflow: auto; } }
11
diff --git a/assets/sass/widgets/_googlesitekit-widget-analyticsAllTraffic.scss b/assets/sass/widgets/_googlesitekit-widget-analyticsAllTraffic.scss .googlesitekit-widget--analyticsAllTraffic__totals { // HACK: Fixes jumping of widget when a dimension is selected. @media (min-width: $bp-desktop) { - height: 1px; + marg...
7
diff --git a/packages/uikit-default/src/sass/scss/components/_modal.scss b/packages/uikit-default/src/sass/scss/components/_modal.scss cursor: pointer; position: absolute; right: 0; - top: 0.4rem; + top: 0; transition: all $pl-animate-quick ease-out; &:hover, &:focus { * 1) Displayed as an e */ .pl-c-modal__close-btn-i...
5
diff --git a/packages/app/src/migrations/20211227060705-revision-path-to-page-id-schema-migration.js b/packages/app/src/migrations/20211227060705-revision-path-to-page-id-schema-migration.js @@ -7,6 +7,8 @@ import getPageModel from '~/server/models/page'; const logger = loggerFactory('growi:migrate:revision-path-to-pag...
12
diff --git a/lib/routes/agefans/update.js b/lib/routes/agefans/update.js @@ -2,7 +2,7 @@ const got = require('@/utils/got'); const cheerio = require('cheerio'); module.exports = async (ctx) => { - const rootUrl = 'https://www.agefans.cc'; + const rootUrl = 'https://www.agemys.com'; const currentUrl = `${rootUrl}/update...
1
diff --git a/base/game_events/MoveEvent.ts b/base/game_events/MoveEvent.ts @@ -81,10 +81,10 @@ export class MoveEvent extends GameEvent { } } - on_position_reach(char: ControllableChar) { + async on_position_reach(char: ControllableChar) { char.stop_char(); if (this.final_direction !== null) { - char.set_direction(this...
7
diff --git a/core/server/api/v2/pages.js b/core/server/api/v2/pages.js const models = require('../../models'); -const i18n = require('../../../shared/i18n'); +const tpl = require('@tryghost/tpl'); const errors = require('@tryghost/errors'); const getPostServiceInstance = require('../../services/posts/posts-service'); c...
14
diff --git a/test/configCases/records/issue-2991/test.js b/test/configCases/records/issue-2991/test.js @@ -6,7 +6,7 @@ it("should write relative paths to records", function() { var fs = require("fs"); var path = require("path"); var content = fs.readFileSync(path.join(__dirname, "records.json"), "utf-8"); - content.sho...
1
diff --git a/README.md b/README.md @@ -131,10 +131,8 @@ npm i -g @nexrender/cli @nexrender/action-copy @nexrender/action-encode ... We will be using `nexrender-cli` binary for this example. It's recommended to download/install it if you haven't already. -Check out these example/tutorial videos made by our community: - ...
1
diff --git a/core/server/api/canary/pages-public.js b/core/server/api/canary/pages-public.js -const i18n = require('../../../shared/i18n'); +const tpl = require('@tryghost/tpl'); const errors = require('@tryghost/errors'); const models = require('../../models'); const ALLOWED_INCLUDES = ['tags', 'authors']; +const mess...
14
diff --git a/components/Audio/index.js b/components/Audio/index.js @@ -40,7 +40,12 @@ export const AudioProvider = ({ children, inNativeApp, inNativeIOSApp }) => { if (inNativeApp) { postMessage({ type: 'play-audio', - payload + payload: { + audio: { + ...payload + } + // Todo: add currentTime to payload + } }) return ...
1
diff --git a/Readme.md b/Readme.md @@ -56,15 +56,15 @@ Commander exports a global object which is convenient for quick programs. This is used in the examples in this README for brevity. ```js -const program = require('commander').program; +const { program } = require('commander'); program.version('0.0.1'); ``` For larg...
4
diff --git a/packages/simplebar-react/package.json b/packages/simplebar-react/package.json ], "author": "Adrien Denat", "repository": "grsmto/simplebar", - "main": "dist/simplebar-react.umd.js", + "main": "dist/simplebar-react.js", "module": "dist/simplebar-react.esm.js", "bugs": "https://github.com/grsmto/simplebar/is...
10
diff --git a/src/server/views/widget/page_alerts.html b/src/server/views/widget/page_alerts.html <div class="col-sm-12"> {% if page && page.grant && page.grant > 1 %} + <p class="alert py-3 px-4"> {% if page.grant == 2 %} <i class="icon-fw icon-link"></i><strong>{{ consts.pageGrants[page.grant] }}</strong> ({{ t('Brows...
14
diff --git a/weapons-manager.js b/weapons-manager.js @@ -819,10 +819,21 @@ function toScreenPosition(obj, camera) { }; } const _updatePopover = () => { + const n = localVector.set(0, 0, -1) + .applyQuaternion(camera.quaternion) + .dot( + localVector2.copy(popoverMesh.target.position) + .sub(camera.position) + ); + if (...
0
diff --git a/README.md b/README.md @@ -66,4 +66,4 @@ See the [`@airswap/consumer`](/examples/consumer) example. **Demonstration only. # Protocol Migration (V1 to V2) -To migrate to the new Swap Protocol please see [MIGRATION.md](/contracts/swap/MIGRATION.md) +To migrate to the new Swap Protocol please see [MIGRATION.md...
3
diff --git a/README.md b/README.md @@ -227,7 +227,7 @@ Feel free to dive in! [Open an issue](https://github.com/ipfs-shipyard/ipfs-webi To contribute to IPFS in general, see the [contributing guide](https://github.com/ipfs/community/blob/master/contributing.md). -[![](https://cdn.rawgit.com/jbenet/contribute-ipfs-gif/m...
1
diff --git a/lib/shared/addon/components/project-member-row/template.hbs b/lib/shared/addon/components/project-member-row/template.hbs </td> <td>&nbsp;</td> <div class="input-group-btn"> - {{#unless noUpdate}} <button class="btn bg-primary btn-sm" {{action "remove"}}> <i class="icon icon-minus" /> </button> - {{/unless...
2
diff --git a/packages/@uppy/locales/src/fi_FI.js b/packages/@uppy/locales/src/fi_FI.js @@ -83,9 +83,9 @@ fi_FI.strings = { selectAllFilesFromFolderNamed: 'Valitse kaikki tiedostot kansiosta %{name}', selectFileNamed: 'Valitse tiedosto %{name}', selectX: { - '0': 'Valitse %{smart_count} tiedosto', - '1': 'Valitse %{smar...
7
diff --git a/src/main/javascript/view/MainView.js b/src/main/javascript/view/MainView.js @@ -111,7 +111,7 @@ SwaggerUi.Views.MainView = Backbone.View.extend({ addResource: function(resource, auths){ // Render a resource and add it to resources li - resource.id = resource.id.replace(/[[\]{}()*+?,\\/^$|#\s]/g, '_'); + re...
14
diff --git a/detox/src/ios/expectTwo.js b/detox/src/ios/expectTwo.js @@ -137,7 +137,7 @@ class Element { return this.withAction('scrollTo', edge); } - swipe(direction, speed = 'fast', percentage = 0) { + swipe(direction, speed = 'fast', percentage = 0.5) { if (!['left', 'right', 'up', 'down'].some(option => option === ...
12
diff --git a/gameplay/avalonRoom.js b/gameplay/avalonRoom.js @@ -50,12 +50,19 @@ module.exports = function (host_, roomId_, io_, maxNumPlayers_, newRoomPassword_ var thisRoom = this; - if(newRoomPassword_ && newRoomPassword_.length === 0){ + + if(newRoomPassword_ === ""){ newRoomPassword_ = undefined; + console.log("UN...
1
diff --git a/test/client/data/runner/iframe.html b/test/client/data/runner/iframe.html //Hammerhead setup var hammerhead = getTestCafeModule('hammerhead'); + var INSTRUCTION = hammerhead.get('../processing/script/instruction'); + hammerhead.get('./utils/destination-location').forceLocation('http://localhost/sessionId/h...
1
diff --git a/src/Log.js b/src/Log.js const util = require('./util'); const Discord = require('discord.js'); const GuildConfig = require('./GuildConfig'); +const {APIErrors} = Discord.Constants; class Log{ /** @@ -8,7 +9,7 @@ class Log{ * @param {GuildInfo} guildInfo * @param {String} message content of the log message ...
8
diff --git a/src/components/TabLink/TabLink.styles.js b/src/components/TabLink/TabLink.styles.js @@ -44,6 +44,10 @@ export const Tab: ComponentType<*> = (() => { border-bottom: 4px solid #1e70b8 !important; color: #1e70b8; } + + @media only screen and (max-width: 768px) { + margin-top: 1rem; + } ` })(); // Tab @@ -55,6...
7
diff --git a/new-client/src/plugins/LayerSwitcher/components/LayerSettings.js b/new-client/src/plugins/LayerSwitcher/components/LayerSettings.js @@ -66,7 +66,7 @@ class LayerSettings extends React.PureComponent { <div className={classes.sliderContainer}> <div className={classes.sliderText}> <Typography className={class...
14
diff --git a/CHANGELOG.md b/CHANGELOG.md @@ -6,6 +6,13 @@ The history of all changes to react-polymorph. vNext ===== +0.9.6-rc.1 +===== + +### Features + +- Added `PopOver` component (aka Smart Tooltips) ([PR 150](https://github.com/input-output-hk/react-polymorph/pull/150) + 0.9.5 =====
6
diff --git a/bin/oref0-setup.sh b/bin/oref0-setup.sh @@ -900,6 +900,7 @@ if prompt_yn "" N; then if [[ ${CGM,,} =~ "g5" || ${CGM,,} =~ "g5-upload" ]]; then openaps use cgm config --G5 openaps report add raw-cgm/raw-entries.json JSON cgm oref0_glucose --hours "24.0" --threshold "100" --no-raw + set_pref_string .cgm_loop...
12
diff --git a/packages/app/test/cypress/integration/20-basic-features/use-tools.spec.ts b/packages/app/test/cypress/integration/20-basic-features/use-tools.spec.ts @@ -43,7 +43,7 @@ context('Modal for page operation', () => { cy.screenshot(`${ssPrefix}page-create-modal-closed`, {capture: 'viewport'}); }); it("Successful...
10
diff --git a/README.md b/README.md @@ -367,14 +367,14 @@ To disable the model validation you can use `--disableModelValidation`. Usage in order to send messages back to clients: -`POST http://localhost:{websocketPort}/@connections/{connectionId}` +`POST http://localhost:3001/@connections/{connectionId}` Or, ```js const...
2
diff --git a/generators/server/prompts.js b/generators/server/prompts.js @@ -164,7 +164,7 @@ function askForServerSideOpts(meta) { }, { value: 'couchbase', - name: '[BETA] Couchbase' + name: 'Couchbase' } ]; if (
2
diff --git a/src/selection-handler.js b/src/selection-handler.js @@ -300,14 +300,6 @@ Object.assign(SelectionHandler.prototype, require('./function-bind'), require('. return; } this.focusAtEnd(); - } else if (this.options.selectionCut && !ev.metaKey && ["Shift", "Control", "Meta", "Alt"].indexOf(key) === -1) { - const ...
2
diff --git a/src/components/Introduced/InstallStep.js b/src/components/Introduced/InstallStep.js @@ -18,18 +18,15 @@ export default class InstallStep extends PureComponent { this.state = { installType: props.installType, isAuthorize: false, - authorizeLoading: true, - eid: props.eid ? props.eid : '', - dispatch: props....
1
diff --git a/src/components/tree/Tree.js b/src/components/tree/Tree.js @@ -2,6 +2,7 @@ import _ from 'lodash'; import Component from '../_classes/component/Component'; import Components from '../Components'; import NestedComponent from '../_classes/nested/NestedComponent'; +import Utils from '../../utils'; class Node {...
7
diff --git a/.github/workflows/main_deploy.yaml b/.github/workflows/main_deploy.yaml @@ -4,9 +4,9 @@ on: - cron: '0 */4 * * *' push: paths: - - '**.js' - - '!**.md' - - '!**.yaml' + - 'readme-profiles/*.md' + - 'src/**' + - 'contributors.json' branches: - main jobs:
7
diff --git a/templates/workflow/project-form-sections/project_stakeholders.html b/templates/workflow/project-form-sections/project_stakeholders.html {% load crispy_forms_tags %} +{{ form.stakeholder | as_crispy_field }} + +<script> + $(document).ready(() => { + $('#id_stakeholder').select2({ theme: 'bootstrap' }) + }) ...
0
diff --git a/lib/ratatosk/spec/ratatosk_spec.rb b/lib/ratatosk/spec/ratatosk_spec.rb @@ -194,6 +194,7 @@ describe Ratatosk, "grafting" do it "should set the parent of a kingdom to 'Life'" do life = Taxon.find_by_name('Life') plantae = @ratatosk.find('Plantae').first + plantae.taxon.current_user = make_admin plantae.sav...
1
diff --git a/services/ils/app/api/controllers/chunk.js b/services/ils/app/api/controllers/chunk.js @@ -181,7 +181,12 @@ router.post('/', jsonParser, async (req, res) => { payloadValidator = await ajv.compileAsync(domainSchema.body.data.value); } catch (e) { log.error('ERROR: ', e); - return res.status(400).send(e); + r...
7
diff --git a/site/streams.md b/site/streams.md @@ -113,7 +113,7 @@ Sets the maximum size of the stream in bytes. See [retention](#retention). Defau Sets the maximum age of the stream. See [retention](#retention). Default: not set. -* `x-max-segment-size` +* `x-stream-max-segment-size-bytes` Unit: bytes. A stream is div...
10