code
stringlengths
122
4.99k
label
int64
0
14
diff --git a/includes/Modules/AdSense/Web_Tag.php b/includes/Modules/AdSense/Web_Tag.php @@ -52,7 +52,8 @@ class Web_Tag extends Module_Web_Tag { // If we haven't completed the account connection yet, we still insert the AdSense tag // because it is required for account verification. printf( - '<script async src="//pag...
4
diff --git a/src/js/services/shapeShiftApiService.js b/src/js/services/shapeShiftApiService.js @@ -296,7 +296,7 @@ var ShapeShift = (function() { ShapeShiftApi: ShapeShiftApi } })(); -var PUBLIC_API_KEY = '08ef330fe264f674ddd4943a5156cfb1ea06f10b95d5db54781afa3d8b108100874083d53b28afa5ce58bf3e834158a3114db725bce5b49da9...
3
diff --git a/src/createAuthScheme.js b/src/createAuthScheme.js @@ -8,7 +8,6 @@ const HandlerRunner = require('./handler-runner/index.js') const LambdaContext = require('./LambdaContext.js') const serverlessLog = require('./serverlessLog.js') const { - capitalizeKeys, normalizeMultiValueQuery, normalizeQuery, nullIfEmpt...
2
diff --git a/upgrades.js b/upgrades.js @@ -250,12 +250,16 @@ H5PUpgrades['H5P.InteractiveVideo'] = (function ($) { */ 17: function (parameters, finished) { + if (parameters.interactiveVideo && + parameters.interactiveVideo.assets && + parameters.interactiveVideo.assets.interactions) { var interactions = parameters.inte...
0
diff --git a/lib/optimize/ModuleConcatenationPlugin.js b/lib/optimize/ModuleConcatenationPlugin.js @@ -281,9 +281,12 @@ class ModuleConcatenationPlugin { for (const reason of newModule.reasons) { reason.dependency.module = newModule; } - for (const dep of newModule.dependencies) { + for (let i = 0; i < newModule.depend...
7
diff --git a/articles/tutorials/generic-oauth2-connection-examples.md b/articles/tutorials/generic-oauth2-connection-examples.md @@ -5,22 +5,10 @@ toc: true # Generic OAuth 1.0 and 2.0 Examples -Adding [OAuth 1.0](/oauth1) and [OAuth 2.0](/oauth2) providers as Connections allow you to support providers that are not cur...
2
diff --git a/src/components/App/App.module.scss b/src/components/App/App.module.scss min-width: 320px; margin: 0 auto; display: flex; + flex-direction: column; align-items: stretch; background-color: var(--main-bg-color);
7
diff --git a/js/bootstrap-select.js b/js/bootstrap-select.js // for backwards compatibility // (using title as placeholder is deprecated - remove in v2.0.0) - if (attributesObject.title) attributesObject.placeholder = attributesObject.title; + if (!attributesObject.placeholder && attributesObject.title) attributesObjec...
11
diff --git a/login.js b/login.js @@ -24,7 +24,7 @@ async function pullUserObject() { const res = await fetch(`https://accounts.webaverse.com/${address}`); const result = await res.json(); // console.log('pull user object', result); - const {name, avatarUrl, avatarFileName, avatarPreview, ftu} = result; + const {name, a...
0
diff --git a/src/core/util.js b/src/core/util.js @@ -131,8 +131,14 @@ util.supportsTouch = function () { return 'ontouchstart' in window || navigator.msMaxTouchPoints; }; +var webGLSupportedAndEnabled = null; util.isWebGLSupported = function () { - return !!window.WebGLRenderingContext; + if (webGLSupportedAndEnabled =...
7
diff --git a/extension/manifest.json b/extension/manifest.json "applications": { "gecko": { "id": "toolboxredesign@toolbox.team", - "strict_min_version": "46.0", + "strict_min_version": "57.0", "update_url": "https://www.creesch.com/tb/update.json" } },
12
diff --git a/includes/Modules/Search_Console.php b/includes/Modules/Search_Console.php @@ -127,7 +127,6 @@ final class Search_Console extends Module implements Module_With_Screen, Module_ // GET. 'sites' => 'webmasters', 'matched-sites' => 'webmasters', - 'sc-site-analytics' => 'webmasters', 'index-status' => 'webmaste...
2
diff --git a/src/nwjs_browsertest.cc b/src/nwjs_browsertest.cc #include "content/public/test/ppapi_test_utils.h" #endif +#include "third_party/blink/public/common/switches.h" + using extensions::ContextMenuMatcher; using extensions::ExtensionsAPIClient; using extensions::MenuItem; @@ -470,7 +472,7 @@ class NWWebViewTes...
5
diff --git a/plugin/notes/notes.js b/plugin/notes/notes.js @@ -21,6 +21,9 @@ var RevealNotes = (function() { var notesPopup = window.open( notesFilePath, 'reveal.js - Notes', 'width=1100,height=700' ); + // Allow popup window access to Reveal API + notesPopup.Reveal = this.Reveal; + /** * Connect to the notes window th...
11
diff --git a/src/client/js/components/PageEditor/GridEditModal.jsx b/src/client/js/components/PageEditor/GridEditModal.jsx @@ -57,7 +57,7 @@ export default class GridEditModal extends React.PureComponent { <div className="device-titile-bar">Large Desktop</div> <div className="device-container"></div> </div> - <div clas...
10
diff --git a/app/shared/components/Global/Data/Resource/Percentage.js b/app/shared/components/Global/Data/Resource/Percentage.js @@ -20,7 +20,7 @@ export default class GlobalDataResourcePercentage extends Component<Props> { color={color} label={( <div className="label"> - {percentageToDisplay.toFixed(3)}% + {(percentag...
9
diff --git a/app/models/street/StreetEdgePriorityTable.scala b/app/models/street/StreetEdgePriorityTable.scala @@ -111,7 +111,7 @@ object StreetEdgePriorityTable { /** * Recalculate the priority attribute for all streetEdges. (This uses hardcoded min-max normalization) - * @param rankParameterGeneratorList list of func...
5
diff --git a/CHANGELOG.md b/CHANGELOG.md @@ -10,6 +10,25 @@ 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.2] -- 2019-11-25 + +### Fixed +- Fix `texttemplate`formatting on axes that define + tick prefixes and suffixes [#4380, #4384] +- F...
3
diff --git a/src/menelaus_roles.erl b/src/menelaus_roles.erl @@ -141,7 +141,9 @@ roles_spock() -> {cluster_admin, [], [{name, <<"Cluster Admin">>}, {desc, <<"Can manage all cluster features EXCEPT security.">>}], - [{[admin], none}, + [{[admin, internal], none}, + {[admin, security], none}, + {[admin, diag], read}, {[n...
11
diff --git a/src/zoid/buttons/component.jsx b/src/zoid/buttons/component.jsx @@ -284,6 +284,12 @@ export const getButtonsComponent : () => ButtonsComponent = memoize(() => { }, correlationID: { + type: 'string', + required: false, + value: getCorrelationID + }, + + sdkCorrelationID: { type: 'string', required: false, v...
10
diff --git a/tools/metadata/src/helpers.ts b/tools/metadata/src/helpers.ts @@ -51,7 +51,7 @@ export async function getTokenSymbol( } } -export async function getTokenDecimals( +export function getTokenDecimals( tokenAddress: string, provider: ethers.providers.BaseProvider ) { @@ -59,5 +59,5 @@ export async function get...
2
diff --git a/bids-validator/cli.js b/bids-validator/cli.js @@ -19,12 +19,18 @@ const exitProcess = issues => { } } +const errorToString = err => { + if (err instanceof Error) return err.stack + else if (typeof err === 'object') return JSON.parse(err) + else return err +} + export default function(dir, options) { proces...
7
diff --git a/devices.js b/devices.js @@ -308,7 +308,7 @@ const generic = { }, light_onoff_brightness_colortemp: { supports: 'on/off, brightness, color temperature', - fromZigbee: [fz.color_colortemp, fz.on_off, fz.brightness], + fromZigbee: [fz.color_colortemp, fz.on_off, fz.brightness, fz.ignore_basic_report], toZigbe...
8
diff --git a/src/components/pill/pill.spec.js b/src/components/pill/pill.spec.js @@ -10,6 +10,7 @@ import { rootTagTest } from '../../utils/helpers/tags/tags-specs/tags-specs'; import { assertStyleMatch } from '../../__spec_helper__/test-utils'; import smallTheme from '../../style/themes/small'; import classicTheme fro...
7
diff --git a/package.json b/package.json { "name": "prettier-atom", "main": "./dist/main.js", - "version": "0.48.1", + "version": "0.49.0", "description": "Atom plugin for formatting JavaScript using prettier with (optional) prettier-eslint integration", "keywords": [ "atom",
6
diff --git a/README.md b/README.md @@ -25,16 +25,16 @@ $ git clone https://github.com/havfo/multiparty-meeting.git $ cd multiparty-meeting ``` -* Copy `server/config.example.js` to `server/config.js` : +* Copy `server/config/config.example.js` to `server/config/config.js` : ```bash -$ cp server/config.example.js server...
3
diff --git a/packages/mjml-core/src/createComponent.js b/packages/mjml-core/src/createComponent.js @@ -131,7 +131,7 @@ export class BodyComponent extends Component { return reduce( stylesObject, (output, value, name) => { - if (value) { + if (!isNil(value)) { return `${output}${name}:${value};` } return output
11
diff --git a/src/middleware/packages/inference/service.js b/src/middleware/packages/inference/service.js @@ -28,6 +28,9 @@ module.exports = { if (quad.predicate.id === 'http://www.w3.org/2002/07/owl#inverseOf') { inverseRelations[quad.object.id] = quad.subject.id; inverseRelations[quad.subject.id] = quad.object.id; + }...
9
diff --git a/bake.html b/bake.html <script src="./bin/geometry.js"></script> <script type=module> import * as THREE from './three.module.js'; + import {CSG} from './three-csg.js'; import App from './app.js'; import {renderer, scene, camera, orthographicCamera} from './app-object.js'; import {world} from './world.js'; i...
0
diff --git a/articles/quickstart/webapp/aspnet-core/_includes/_login.md b/articles/quickstart/webapp/aspnet-core/_includes/_login.md @@ -92,6 +92,33 @@ public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerF Also note above that the list of scopes is cleared and only the `openid` scope is reque...
0
diff --git a/apps/setting/settings.js b/apps/setting/settings.js @@ -193,7 +193,7 @@ function showThemeMenu() { 'Light BW': ()=>{ upd({ fg:cl("#000"), bg:cl("#fff"), - fg2:cl("#00f"), bg2:cl("#0ff"), + fg2:cl("#000"), bg2:cl("#cff"), fgH:cl("#000"), bgH:cl("#0ff"), dark:false });
3
diff --git a/src/encoded/static/components/award.js b/src/encoded/static/components/award.js @@ -365,7 +365,7 @@ CategoryChart.propTypes = { CategoryChart.contextTypes = { navigate: PropTypes.func, }; - +// Display and handle clicks in the chart of antibodies. class AntibodyChart extends React.Component { constructor()...
0
diff --git a/packages/gatsby-plugin-mdx/loaders/mdx-scopes.js b/packages/gatsby-plugin-mdx/loaders/mdx-scopes.js @@ -12,8 +12,8 @@ module.exports = () => { `const scope_${i} = require('${slash(path.join(abs, file))}').default;` ) .join("\n") + - `export default { - ${files.map((_, i) => "...scope_" + i).join(",\n")} -}...
14
diff --git a/detox/android/detox/src/main/java/com/wix/detox/espresso/scroll/ScrollHelper.java b/detox/android/detox/src/main/java/com/wix/detox/espresso/scroll/ScrollHelper.java @@ -164,9 +164,9 @@ public class ScrollHelper { // Log.d(LOG_TAG, "scroll downx: " + downX + " downy: " + downY + " upx: " + upX + " upy: " +...
7
diff --git a/buildspec.yml b/buildspec.yml @@ -6,7 +6,7 @@ phases: nodejs: latest commands: - echo Entered the install phase... - - sudo npm install forever -g + - npm install forever -g - git submodule init - git submodule update - npm install -y
2
diff --git a/packages/raptor-engine/src/framework/__tests__/api-test.ts b/packages/raptor-engine/src/framework/__tests__/api-test.ts @@ -32,7 +32,7 @@ describe('api', () => { const factory = function () { return Foo }; factory.__circular__ = true; const vnode = target.c('x-foo', factory, { className: 'foo' }); - assert...
1
diff --git a/assets/js/modules/search-console/components/dashboard/SearchFunnelWidget/index.js b/assets/js/modules/search-console/components/dashboard/SearchFunnelWidget/index.js @@ -52,11 +52,8 @@ import AnalyticsStats from './AnalyticsStats'; import { CORE_MODULES } from '../../../../../googlesitekit/modules/datastor...
2
diff --git a/packages/yoroi-extension/app/api/ada/transactions/shelley/transactions.test.js b/packages/yoroi-extension/app/api/ada/transactions/shelley/transactions.test.js @@ -726,7 +726,7 @@ describe('Create signed transactions', () => { const witnesses = signedTx.witness_set(); expect(witnesses.vkeys()).toEqual(unde...
10
diff --git a/aa_composer.js b/aa_composer.js @@ -256,6 +256,7 @@ function handleTrigger(conn, batch, fPrepare, trigger, stateVars, arrDefinition, conn.addQuery(arrQueries, "INSERT INTO aa_balances (address, asset, balance) VALUES "+arrValues.join(', ')); } byte_balance = objValidationState.assocBalances[address].base; ...
4
diff --git a/test/jasmine/tests/splom_test.js b/test/jasmine/tests/splom_test.js @@ -1684,7 +1684,7 @@ describe('Test splom select:', function() { .then(done, done.fail); }); - it('@gl should redraw splom traces before scattergl trace (if any)', function(done) { + it('@noci @gl should redraw splom traces before scatter...
0
diff --git a/package.json b/package.json { "name": "reason-scripts", - "version": "0.6.11-0", + "version": "0.6.11-2", "description": "Scripts for Create React App with ReasonML.", "repository": "reasonml-community/reason-scripts", "license": "BSD-3-Clause", "babel-loader": "7.0.0", "babel-preset-react-app": "^3.0.1", ...
4
diff --git a/src/rapidoc.js b/src/rapidoc.js @@ -526,7 +526,7 @@ export default class RapiDoc extends LitElement { window.addEventListener('hashchange', () => { const regEx = new RegExp(`^${this.routePrefix}`, 'i'); const elementId = window.location.hash.replace(regEx, ''); - this.scrollTo(elementId); + this.scrollToPa...
10
diff --git a/lib/node_modules/@stdlib/types/test.ts b/lib/node_modules/@stdlib/types/test.ts import * as array from '@stdlib/types/array'; import * as iter from '@stdlib/types/iter'; -import * as object from '@stdlib/types/object'; +import * as obj from '@stdlib/types/object'; import * as random from '@stdlib/types/ran...
10
diff --git a/docker-compose.yml b/docker-compose.yml -version: '3.1' +version: "3.1" services: db: image: postgres @@ -12,6 +12,8 @@ services: build: . command: bundle exec sidekiq -q default -q mailers volumes: + - /circuitverse/.bundle + - /circuitverse/node_modules - .:/circuitverse - ./config/database.docker.yml:/c...
1
diff --git a/src/extensions/default/SVGCodeHints/main.js b/src/extensions/default/SVGCodeHints/main.js @@ -145,7 +145,7 @@ define(function (require, exports, module) { * * @param {!Editor} editor An instance of Editor * @param {string} implicitChar A single character that was inserted by the - * user or null if the req...
1
diff --git a/assets/src/edit-story/components/library/panes/text/karma/textPane.karma.js b/assets/src/edit-story/components/library/panes/text/karma/textPane.karma.js @@ -41,6 +41,10 @@ describe('CUJ: Creator can Add and Write Text: Consecutive text presets', () => it('should add text presets below each other if added ...
1
diff --git a/index.js b/index.js @@ -54,7 +54,7 @@ function createBot(options) { options.version = options.version || false; var bot = new Bot(); pluginLoader(bot, options); - bot.loadPlugins(Object.values(plugins)); + bot.loadPlugins(Object.keys(plugins).map(function(key){ return plugins[key] })); bot.connect(options)...
14
diff --git a/token-metadata/0x3dfeaF13a6615e560Aecc5648Ace8FA50d7cF6bF/metadata.json b/token-metadata/0x3dfeaF13a6615e560Aecc5648Ace8FA50d7cF6bF/metadata.json "symbol": "NTS", "address": "0x3dfeaF13a6615e560Aecc5648Ace8FA50d7cF6bF", "decimals": 12, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED" ...
3
diff --git a/source/agent/video/index.js b/source/agent/video/index.js @@ -675,7 +675,7 @@ function VTranscoder(rpcClient, clusterIP) { default_resolution = {width: 0, height: 0}, default_framerate = 30, - default_kfi = -1, + default_kfi = 1000, input_id = undefined, input_conn = undefined,
12
diff --git a/src/client/components/composer/NewRequest/ComposerNewRequest.jsx b/src/client/components/composer/NewRequest/ComposerNewRequest.jsx @@ -362,7 +362,7 @@ class ComposerNewRequest extends Component { && !this.props.newRequestFields.gRPC && !/wss?:\/\//.test(this.props.newRequestFields.protocol) && - <div clas...
1
diff --git a/app/builtin-pages/views/library-view.js b/app/builtin-pages/views/library-view.js @@ -347,7 +347,7 @@ function renderNetworkView () { <div class="container"> <div class="view network"> <div class="section"> - <h2>Download status</h2> + <h2 class="subtitle-heading">Download status</h2> <progress value=${pro...
4
diff --git a/src/test/qa/functions/ssh_functions.js b/src/test/qa/functions/ssh_functions.js @@ -38,11 +38,7 @@ function ssh_exec(client, command, reject_on_exit_code) { resolve(); } }); - })) - .catch(err => { - console.log(err); - throw err; - }); + })); } //will do ssh stick which will relese the need to enter passw...
2
diff --git a/iris/mutations/channel/archiveChannel.js b/iris/mutations/channel/archiveChannel.js @@ -48,7 +48,9 @@ export default async ( if ( currentUserCommunityPermissions.isOwner || - currentUserChannelPermissions.isOwner + currentUserChannelPermissions.isOwner || + currentUserCommunityPermissions.isModerator || + ...
11
diff --git a/README.md b/README.md Alloy is the code name for the Adobe Experience Platform Web SDK. It allows for recording events into Adobe Experience Platform, syncing identities, personalizing content, and more. -For documentation on how to use Alloy, please see the [user documentation](https://adobe.ly/36dGGp6). ...
1
diff --git a/src/WebMidi.js b/src/WebMidi.js @@ -12,11 +12,19 @@ import {Enumerations} from "./Enumerations.js"; // convoluted way to prevent Webpack from automatically bundling it in browser bundles where it // isn't needed. if (Utilities.isNode) { + + // Some environments may have both Node.js and browser runtimes (E...
7
diff --git a/src/ContentItemsMixin.js b/src/ContentItemsMixin.js @@ -171,7 +171,7 @@ export default function ContentItemsMixin(Base) { const needsItems = content && !state.items; // Signal from other mixins if (changed.content || needsItems) { const items = content ? - content.filter(item => this[symbols.itemMatchesSta...
9
diff --git a/lib/network.js b/lib/network.js @@ -360,10 +360,18 @@ function getWindowsIEEE8021x(connectionType, iface, ifaces) { const SSID = getWindowsWirelessIfaceSSID(iface); if(SSID !== 'Unknown') { let i8021xState = execSync(`netsh wlan show profiles "${SSID}" | findstr "802.1X"`, util.execOptsWin); + if(i8021xSta...
9
diff --git a/exampleSite/config.toml b/exampleSite/config.toml @@ -86,36 +86,6 @@ lastmod = ["lastmod", ":git", "date"] name = "Docs" weight = 30 -[[menu.main]] - url = "/dev" - name = "Dev Section" - weight = 35 - identifier = "dev" - -[[menu.main]] - url = "/dev" - name = "Dev Section" - weight = 10 - parent = "dev" ...
2
diff --git a/modules/xerte/parent_templates/Nottingham/models_html5/connectorMenu.html b/modules/xerte/parent_templates/Nottingham/models_html5/connectorMenu.html } this.init = function() { - var allIDs = [], // linkIDs of all pages in LO - menuItems = []; // index of pages in allIDs that should be included in menu - -...
11
diff --git a/app/stylesheets/builtin-pages/components/feed-item.less b/app/stylesheets/builtin-pages/components/feed-item.less -webkit-font-smoothing: antialiased; .avatar { - width: 35px; - height: 35px; + width: 45px; + height: 45px; margin-right: 5px; } } .post-content { - margin-left: 45px; + margin-left: 55px; lin...
4
diff --git a/appjs/working.js b/appjs/working.js @@ -34,8 +34,12 @@ $(document).ready(function () { openit("#fractions"); closenav(); clearall(); - }) - + }); + $("#logValues").click(function(){ + openit("#log_values"); + closenav(); + clearall(); + }); $("#aboutbutton").click(function () { openit("#about"); closenav()...
1
diff --git a/src/server/models/page-tag-relation.js b/src/server/models/page-tag-relation.js @@ -46,7 +46,14 @@ class PageTagRelation { .limit(opt.limit); const tags = await Tag.find({ _id: { $in: list.map((elm) => { return elm._id }) } }); - return list; + const res = list.map((elm) => { + const tag = tags.filter((tag...
14
diff --git a/etc/eslint/.eslintrc.markdown.js b/etc/eslint/.eslintrc.markdown.js @@ -22,6 +22,13 @@ var eslint = copy( defaults ); */ eslint.rules[ 'vars-on-top' ] = 'off'; +/** +* Allow using synchronous methods. +* +* @private +*/ +eslint.rules[ 'no-sync' ] = 'off'; + /** * Allow using `console`. *
11
diff --git a/src/transformers/baseUrl.js b/src/transformers/baseUrl.js @@ -8,11 +8,11 @@ const rewriteVMLs = (html, url) => { const vImageMatch = html.match(/(<v:image.+)(src=['"]([^'"]+)['"])/) const vFillMatch = html.match(/(<v:fill.+)(src=['"]([^'"]+)['"])/) - if (!isUrl(vImageMatch[3])) { + if (vImageMatch && !isUr...
0
diff --git a/server/views/sources/source.py b/server/views/sources/source.py @@ -30,7 +30,7 @@ def api_media_sources_by_ids(): source_list = [] source_id_array = request.args['src[]'].split(',') for mediaId in source_id_array: - info = _cached_media_source_details(user_mediacloud_key(), mediaId) + info = _media_source_...
10
diff --git a/definitions/npm/fluture_v6.x.x/flow_v0.34.x-/fluture_v6.x.x.js b/definitions/npm/fluture_v6.x.x/flow_v0.34.x-/fluture_v6.x.x.js @@ -10,13 +10,19 @@ type $npm$Fluture$Fn1<A, B> = (a: A) => B // a unary function // Res = type of returned resolved value declare class Fluture<Rej, Res> { map: <T>(fn: $npm$Flut...
1
diff --git a/rig.js b/rig.js @@ -305,14 +305,15 @@ class RigManager { } async setPeerAvatarUrl(url, ext, peerId) { - // await this.peerRigQueue.lock(); - const oldPeerRig = this.peerRigs.get(peerId); await this.setAvatar(oldPeerRig, newPeerRig => { this.peerRigs.set(peerId, newPeerRig); }, url, ext); + } - // await thi...
0
diff --git a/_posts/blog/2021-02-12-2021-election-results.md b/_posts/blog/2021-02-12-2021-election-results.md @@ -5,7 +5,7 @@ categories: title: "2021 Board Election Results" description: "On Feb 9, we held our second annual General Meeting and election for our Board of Directors. We were amazed at the turnout. Of our...
12
diff --git a/lambda/proxy-es/lib/query.js b/lambda/proxy-es/lib/query.js @@ -191,7 +191,7 @@ module.exports = async function (req, res) { const elicitResponseChainingConfig = _.get(res, "session.qnabotcontext.elicitResponse.chainingConfig", undefined); const elicitResponseProgress = _.get(res, "session.qnabotcontext.el...
1
diff --git a/docs/getting-started/README.md b/docs/getting-started/README.md @@ -11,7 +11,7 @@ First, we need to have a canvas in our page. Now that we have a canvas we can use, we need to include Chart.js in our page. ```html -<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.4.0/Chart.min.js" /> +<script...
14
diff --git a/source/views/menu/MenuFilterView.js b/source/views/menu/MenuFilterView.js @@ -31,13 +31,6 @@ const MenuFilterView = Class({ value: bindTwoWay( controller, 'search' ), }); - // Remove Ctrl-/ shortcut from search clear button. - searchTextView - .render() - .get( 'childViews' ) - .last() - .set( 'shortcut', ...
2
diff --git a/mods/dispatcher/src/dispatcher.ts b/mods/dispatcher/src/dispatcher.ts @@ -17,7 +17,8 @@ if (process.env.NODE_ENV === 'dev') { function dispatch (channel: any) { try { - const ingressInfo = getIngressInfo(channel.request.extension) + const toHeader = channel.getVariable('TO_HEADER').replace('<', '').replace...
14
diff --git a/src/views/Details/NFTCollectionList.vue b/src/views/Details/NFTCollectionList.vue @@ -66,7 +66,7 @@ export default { ) { return this.collectionName } else { - return this.assets.filter((asset) => asset.name)[0]?.name || 'Unknown Collection' + return this.nftCollection.filter((asset) => asset.name)[0]?.name...
3
diff --git a/aa_composer.js b/aa_composer.js @@ -281,7 +281,7 @@ function readMcUnit(conn, mci, handleUnit) { function readLastUnit(conn, handleUnit) { conn.query("SELECT unit, main_chain_index FROM units ORDER BY main_chain_index DESC LIMIT 1", function (rows) { - if (rows.length !== 1) { + if (rows.length !== 1 || !r...
9
diff --git a/src/payment-flows/checkout.js b/src/payment-flows/checkout.js @@ -159,7 +159,11 @@ function isVaultAutoSetupEligible({ vault, clientAccessToken, createBillingAgree } return isFundingSourceVaultable({ accessToken: clientAccessToken, fundingSource, clientID, merchantID, buyerCountry, currency, - commit, vaul...
9
diff --git a/core/clipboard.js b/core/clipboard.js @@ -23,16 +23,6 @@ const ICopyable = goog.requireType('Blockly.ICopyable'); */ let copyData = null; -/** - * Get the current contents of the clipboard and associated metadata. - * @return {?ICopyable.CopyData} An - * object containing the clipboard contents and associa...
2
diff --git a/packages/transformers/vue/src/VueTransformer.js b/packages/transformers/vue/src/VueTransformer.js @@ -275,10 +275,16 @@ ${ case 'js': type = 'js'; break; + case 'jsx': + type = 'jsx'; + break; case 'typescript': case 'ts': type = 'ts'; break; + case 'tsx': + type = 'tsx'; + break; case 'coffeescript': case...
11
diff --git a/deployment-scripts/docker-compose.yml b/deployment-scripts/docker-compose.yml @@ -109,7 +109,7 @@ services: environment: - DF_PROG_NAME="es_master" - node.name=deepfence-es - - discovery.seed_hosts=deepfence-es-slave1,deepfence-es-slave2 +# - discovery.seed_hosts=deepfence-es-slave1,deepfence-es-slave2 - c...
8
diff --git a/src/_data/sites/joshcrainio.json b/src/_data/sites/joshcrainio.json "name": "Josh Crain", "description": "Josh Crain has experience as a web designer, product designer, and front-end developer.", "twitter": "thejoshcrain", - "source_url": "https://github.com/joshcrain/eleventy-intro" + "source_url": "https...
3
diff --git a/assets/js/BouncingBalls.js b/assets/js/BouncingBalls.js @@ -122,12 +122,13 @@ function animate() { if (bal[i].x + bal[i].radius > tx || bal[i].x - bal[i].radius < 0) { bal[i].dx = -bal[i].dx; } + + let distance = Math.floor(Math.sqrt( + Math.pow(mousex - bal[i].x, 2) + Math.pow(mousey - bal[i].y, 2) + )); ...
4
diff --git a/src/components/nodes/intermediateMessageCatchEvent/index.js b/src/components/nodes/intermediateMessageCatchEvent/index.js @@ -102,6 +102,7 @@ export default { label: 'Message Event Identifier', helper: 'The id field should be unique across all elements in the diagram', name: 'eventDefinitionId', + validati...
12
diff --git a/server/app/app.py b/server/app/app.py @@ -58,7 +58,7 @@ def run_scanpy(args): from .scanpy_engine.scanpy_engine import ScanpyEngine app.data = ScanpyEngine(args.data_directory, layout_method=args.layout, diffexp_method=args.diffexp) - if args.bind_all: + if args.listen_all: host = "0.0.0.0" else: host = "1...
10
diff --git a/geometry-worker.js b/geometry-worker.js @@ -74,7 +74,9 @@ const _mergeObject = o => { }; const _mergeFinish = () => { packer.repack(false); - console.log('got bins', packer.bins); + if (packer.bins.length > 1) { + throw new Error('texture overflow'); + } for (const bin of packer.bins) { for (const rect of ...
0
diff --git a/vis/js/reducers/data.js b/vis/js/reducers/data.js @@ -78,8 +78,13 @@ const MANDATORY_ATTRS = { }, }; +const ALLOWED_TYPES = { + area_uri: ["number", "string"], +}; + const sanitizeData = (data) => { let missingAttributes = new Map(); + let wrongTypes = new Set(); data.forEach((entry) => { ATTRS_TO_CHECK.fo...
1
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md @@ -49,7 +49,7 @@ Our current maintainers are: Peter Odeny ([@odenypeter](https://github.com/odeny We have 3 main branches in our repo: - `Dev` - All bug fixes and enhancements -- Feature branches (i.e. `ACT-001`) - All feature branches must be named like: ACT-001 (where A...
3
diff --git a/constants.js b/constants.js @@ -70,3 +70,5 @@ export const flyFriction = 0.5; export const avatarInterpolationFrameRate = 60; export const avatarInterpolationTimeDelay = 1000/(avatarInterpolationFrameRate * 0.5); export const avatarInterpolationNumFrames = 4; + +export const defaultAvatarUrl = './avatars/c...
0
diff --git a/docs/testing.md b/docs/testing.md @@ -16,7 +16,7 @@ npm install --save-dev ospec mithril-query jsdom And getting them set up is also relatively easy and requires a few short steps: -1. Add a `"test": "mocha"` to your npm scripts in your `package.json` file. This will end up looking something like this, may...
14
diff --git a/src/lib/realmdb/RealmDB.js b/src/lib/realmdb/RealmDB.js import { once, sortBy } from 'lodash' import * as Realm from 'realm-web' import TextileCrypto from '@textile/crypto' +import EventEmitter from 'eventemitter3' import { JWT } from '../constants/localStorage' import AsyncStorage from '../utils/asyncStor...
14
diff --git a/packages/cra-template-rmw/template/firebase/firestore.rules b/packages/cra-template-rmw/template/firebase/firestore.rules @@ -43,6 +43,14 @@ service cloud.firestore { } } + match /test { + allow read, write: if isSignedIn(); + match /{document=**}{ + allow read,write: if isSignedIn(); + + } + } + /// RULES...
3
diff --git a/src/components/draftjs-editor/Embed.js b/src/components/draftjs-editor/Embed.js @@ -107,6 +107,8 @@ export default class Embed extends Component { {...elementProps} width={width} height={height} + allowFullScreen={true} + frameBorder="0" {...rest} src={src} className={theme.embedStyles.embed} @@ -121,6 +12...
11
diff --git a/src/webroutes/deployer/actions.js b/src/webroutes/deployer/actions.js @@ -177,20 +177,6 @@ async function handleSaveConfig(ctx) { globals.fxRunner.refreshConfig(); ctx.utils.logAction(`Completed and committed server deploy.`); - //FIXME: temporary fix for the yarn issue requiring fxchild.stdin writes - yar...
2
diff --git a/aleph/index/entities.py b/aleph/index/entities.py @@ -10,13 +10,15 @@ from elasticsearch.helpers import scan, bulk, BulkIndexError from aleph.core import es from aleph.index.indexes import entities_write_index, entities_read_index +from aleph.index.indexes import entities_read_index_list from aleph.index.u...
8
diff --git a/source/setup/components/DisabledLoginDomainsPage.js b/source/setup/components/DisabledLoginDomainsPage.js @@ -14,7 +14,7 @@ const Table = styled.table` `; function isDomain(str) { - return /^[^\/:_]+(\.[^\/:_]+)+$/.test(str); + return /^[^\/:_]+(\.[^\/:_]+)+$/.test(str) || str === "localhost"; } export def...
11
diff --git a/javascript/components/MapView.js b/javascript/components/MapView.js @@ -645,7 +645,7 @@ class MapView extends React.Component { case MapboxGL.EventTypes.UserLocationUpdated: propName = 'onUserLocationUpdate'; break; - case MapboxGL.EventTypes.WillStartLoadinMap: + case MapboxGL.EventTypes.WillStartLoadingM...
1
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md Are you planning on contributing or suggesting something for the bot? Go ahead, just make sure you know what you are doing, we don't wanna mess with trying to fix the bot if someone breaks it! -In order to make a suggestion, head to the issues page and make an issue titled...
1
diff --git a/assets/js/modules/analytics/datastore/setup-flow.test.js b/assets/js/modules/analytics/datastore/setup-flow.test.js @@ -162,6 +162,7 @@ describe( 'modules/analytics setup-flow', () => { registry = createTestRegistry(); populateAnalytics4Datastore( registry ); + expect( registry.select( MODULES_ANALYTICS_4 ...
1
diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md @@ -8,7 +8,7 @@ assignees: '' --- <!-- -Please read the Feature Requesting Guide before completing this issue: http://tabulator.info/community#feature +Please read the Feature Requesting Guide before completing this issue...
3
diff --git a/assets/js/googlesitekit-adminbar-loader.js b/assets/js/googlesitekit-adminbar-loader.js @@ -113,37 +113,8 @@ window.addEventListener( 'load', function() { } } - const { isAdmin } = window.googlesitekitAdminbar.properties; - const isPostScreen = isAdmin && window.googlesitekit.admin.currentScreen && 'post' ...
2
diff --git a/entry_types/scrolled/package/src/contentElements/videoEmbed/VideoEmbed.js b/entry_types/scrolled/package/src/contentElements/videoEmbed/VideoEmbed.js @@ -142,7 +142,8 @@ function useAtmoHooks(atmoDuringPlayback) { const atmo = useAtmo(); return useMemo(() => { - const {before, after} = atmo.createMediaPlay...
9
diff --git a/userscript.user.js b/userscript.user.js @@ -950,6 +950,36 @@ var $$IMU_EXPORT$$; }; } + // https://www.mycomicshop.com/search?minyr=1938&maxyr=1955&TID=29170235 + // this site replaces Array.indexOf + // cache Array.prototype.indexOf in case it changes while the script is executing + var array_prototype_in...
4