code
stringlengths
122
4.99k
label
int64
0
14
diff --git a/app/shared/actions/accounts.js b/app/shared/actions/accounts.js @@ -433,7 +433,7 @@ export function getCurrencyBalance(account, requestedTokens = false) { payload: { account_name: account, contract, - precision: formatPrecisions(results), + precision: formatPrecisions(results, connection), symbol, tokens: ...
1
diff --git a/map.html b/map.html <head> <title>Webaverse Map</title> <link rel=stylesheet type='text/css' href="map.css"> -</head> + <meta name=viewport content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0'></head> <body> <div id=container class=container></div>
0
diff --git a/CHANGELOG.md b/CHANGELOG.md # Changelog +## v1.8.7 (2020-6-23) + +### Bug Fixes + +* TestCafe now shows the emulated device's name in the report when tests run in Chrome Emulation Mode ([#3290](https://github.com/DevExpress/testcafe/issues/3290)) +* Event simulation for Knockout.js inputs has been enhanced...
0
diff --git a/src/LambdaProxyIntegrationEvent.js b/src/LambdaProxyIntegrationEvent.js @@ -11,7 +11,8 @@ const { const { byteLength } = Buffer; const { parse } = JSON; -// Mimicks the Lambda Proxy Event +// https://serverless.com/framework/docs/providers/aws/events/apigateway/ +// https://docs.aws.amazon.com/apigateway/l...
0
diff --git a/.travis.yml b/.travis.yml @@ -14,11 +14,9 @@ env: - PACKAGE=idyll-layouts - PACKAGE=idyll-themes -before_install: - - curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.0.1 - - export PATH="$HOME/.yarn/bin:$PATH" - install: - yarn install +cache: yarn + script: cd packages/$PACKAGE && npm ...
3
diff --git a/config/canonical.json b/config/canonical.json "tags": { "brand": "Shaw's", "name": "Shaw's", - "brand:wikidata": "Q3992174", + "brand:wikidata": "Q578387", "brand:wikipedia": "en:Shaw%27s and Star Market", "shop": "supermarket" }
12
diff --git a/src/Private/requests.js b/src/Private/requests.js @@ -20,7 +20,7 @@ module.exports = class Requests { if (!options.noCaching && this.options.cache && this.options.cacheFilter(url.split('?')[0].slice(1))) { if (this.options.cacheSize < cached.size) cached.delete(cached.keys().next().value); // Map and its s...
11
diff --git a/package.json b/package.json "@types/node": "13.13.4", "JSONStream": "1.3.5", "bluebird": "3.7.2", - "coveralls": "3.1.0", + "coveralls": "3.0.13", "eslint": "6.8.0", "tslint": "6.1.2", "istanbul": "0.4.5",
13
diff --git a/workshops.md b/workshops.md @@ -16,7 +16,7 @@ Tuesday, July 17 <br>3:15-3:30 Break <br>3:45-4:45 Topic #3: Optech community and communication <br>4:45-5:00 Wrap up -<br><br>5:30-7:30 Dinner at TBD nearby restaurant +<br><br>5:30-7:30 Dinner # Format: - Each topic will be a roundtable discussion in which ev...
2
diff --git a/lib/cartodb/models/mapconfig/adapter/aggregation-mapconfig-adapter.js b/lib/cartodb/models/mapconfig/adapter/aggregation-mapconfig-adapter.js @@ -86,7 +86,7 @@ module.exports = class AggregationMapConfigAdapter { } else if (aggregation === undefined) { if (mapConfig.isVectorOnlyMapConfig()) { shouldAdapt =...
7
diff --git a/src/components/Recaptcha.js b/src/components/Recaptcha.js @@ -176,7 +176,7 @@ export class Recaptcha extends Component { ref={(ref) => this.setCaptchaRef(ref)} onChange={this.handleOnChange} asyncScriptOnLoad={this.handleOnLoad} - class='recaptcha-widget' + className='recaptcha-widget' />} {loaded && <Reca...
10
diff --git a/components/Partners.js b/components/Partners.js @@ -55,6 +55,22 @@ export const PartnerInfo = ({ t }) => { to millions of customers worldwide.` })} </ExpandCollapse> + </div> + <div> + <a href="https://www.tokenpay.com/"> + <img src="/static/img/partners/tokenpay.png" alt="tokenpay" /> + </a> + <ExpandColl...
14
diff --git a/token-metadata/0xF629cBd94d3791C9250152BD8dfBDF380E2a3B9c/metadata.json b/token-metadata/0xF629cBd94d3791C9250152BD8dfBDF380E2a3B9c/metadata.json "symbol": "ENJ", "address": "0xF629cBd94d3791C9250152BD8dfBDF380E2a3B9c", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED" ...
3
diff --git a/contribs/gmf/src/objectediting/toolsComponent.js b/contribs/gmf/src/objectediting/toolsComponent.js @@ -26,8 +26,8 @@ import {getUid as olUtilGetUid} from 'ol/util.js'; /** * Additional configuration options for the object editing tools directive. * @typedef {Object} ObjectEditingToolsOptions - * @property...
12
diff --git a/phpcs.xml b/phpcs.xml <file>.</file> <!-- Rule specific exclusions --> + <rule ref="WordPress.DB.SlowDBQuery"> + <exclude-pattern>tests/*</exclude-pattern> + </rule> <rule ref="WordPress.NamingConventions"> <exclude-pattern>tests/*</exclude-pattern> </rule>
8
diff --git a/token-metadata/0x4a57E687b9126435a9B19E4A802113e266AdeBde/metadata.json b/token-metadata/0x4a57E687b9126435a9B19E4A802113e266AdeBde/metadata.json "symbol": "FXC", "address": "0x4a57E687b9126435a9B19E4A802113e266AdeBde", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED" ...
3
diff --git a/example/ios/RNMapboxGLExample.xcodeproj/project.pbxproj b/example/ios/RNMapboxGLExample.xcodeproj/project.pbxproj remoteGlobalIDString = 3DBE0D0D1F3B181C0099AA32; remoteInfo = "fishhook-tvOS"; }; + E96E1A3B2229747000A128F5 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = C...
2
diff --git a/collections/_programs/hacktoberfest.html b/collections/_programs/hacktoberfest.html @@ -8,7 +8,7 @@ link: /programs/hacktoberfest permalink: /programs/hacktoberfest excerpt: "Layer5 - Hacktoberfest" --- -<img src="https://user-images.githubusercontent.com/7570704/94851172-b1336500-03ed-11eb-917c-9bdb67ba86...
14
diff --git a/test/sp.client_test.js b/test/sp.client_test.js @@ -1047,7 +1047,7 @@ describe('Client', function () { before(function (done) { sandbox = sinon.sandbox.create(); cbSpy = sandbox.spy(); - href = 'https://api.stormpath.com/v1/apiKeys/foo'; + href = '/apiKeys/foo'; client = makeTestClient(); @@ -1072,7 +1072,...
1
diff --git a/src/entities/EntityForm.js b/src/entities/EntityForm.js @@ -65,13 +65,13 @@ export default class EntityForm extends Component { let result = {} let schema = this._getSchema() - forEach(schema.properties, (property) => { + for (let property of schema) { const name = property.name let input = this.refs[name]...
4
diff --git a/src/components/Header/Header.js b/src/components/Header/Header.js @@ -67,11 +67,11 @@ const Header = ({ const headerTitle = css` position: relative; margin-bottom: ${marginBottom}; + padding: 0 20px; line-height: 48px; font-size: 39px; font-weight: ${weights.medium}; letter-spacing: -0.45px; - width: 80%; ...
14
diff --git a/src/browser/nw_chrome_browser_hooks.cc b/src/browser/nw_chrome_browser_hooks.cc @@ -355,7 +355,7 @@ int MainPartsPreCreateThreadsHook() { #endif } - return service_manager::RESULT_CODE_NORMAL_EXIT; + return content::RESULT_CODE_NORMAL_EXIT; } void MainPartsPreMainMessageLoopRunHook() {
10
diff --git a/src/parser/enum.js b/src/parser/enum.js module.exports = { /* - * reading a class + * reading an enum * ```ebnf - * class ::= class_scope? T_CLASS T_STRING (T_EXTENDS NAMESPACE_NAME)? (T_IMPLEMENTS (NAMESPACE_NAME ',')* NAMESPACE_NAME)? '{' CLASS_BODY '}' + * enum ::= enum_scope? T_ENUM T_STRING (':' NAMES...
1
diff --git a/packages/lib-classifier/src/plugins/tasks/experimental/textFromSubject/models/TextFromSubjectAnnotation.spec.js b/packages/lib-classifier/src/plugins/tasks/experimental/textFromSubject/models/TextFromSubjectAnnotation.spec.js @@ -14,14 +14,13 @@ describe('Model > TextFromSubjectAnnotation', function () { ]...
1
diff --git a/Gulpfile.js b/Gulpfile.js @@ -751,8 +751,10 @@ gulp.task('docker-build', function (done) { done(); }); -gulp.step('docker-publish-run', function () { +gulp.step('docker-publish-run', function (done) { childProcess.execSync('docker push testcafe/testcafe:' + PUBLISH_TAG, { stdio: 'inherit', env: process.env...
0
diff --git a/index.js b/index.js @@ -135,6 +135,7 @@ exports.login = async function(options) { output: process.stdout }); rl.question('Please enter the accountId that you logged in with:', async (accountId) => { + try { // check that the key got added const near = await connect(options); let account = await near.accoun...
7
diff --git a/packages/imba/src/compiler/nodes.imba1 b/packages/imba/src/compiler/nodes.imba1 @@ -5475,7 +5475,7 @@ export class LocalVarAccess < Access if right isa Variable and right.type == 'meth' return "{right.c}()" unless up isa Call - right.c + return right.c def variable right @@ -7813,8 +7813,15 @@ export class...
7
diff --git a/lib/services/livesync/livesync-service.ts b/lib/services/livesync/livesync-service.ts @@ -49,6 +49,9 @@ class LiveSyncService implements ILiveSyncService { public liveSync(platform: string, applicationReloadAction?: (deviceAppData: Mobile.IDeviceAppData) => IFuture<void>): IFuture<void> { return (() => { +...
7
diff --git a/src/style_manager/view/PropertyCompositeView.js b/src/style_manager/view/PropertyCompositeView.js @@ -11,18 +11,13 @@ export default PropertyView.extend({ `; }, - inputValueChanged(...args) { - // If it's not detached (eg. 'padding: 1px 2px 3px 4px;') it will follow the same flow of the PropertyView - if (...
8
diff --git a/contribs/gmf/apps/mobile_alt/index.html b/contribs/gmf/apps/mobile_alt/index.html <!DOCTYPE html> <html lang="{{mainCtrl.lang}}" ng-app="app" ng-controller="AlternativeMobileController as mainCtrl"> <head> - <title ng-bind-template="{{'Mobile Application'|translate}}">GeoMapFish</title> + <title ng-bind-te...
12
diff --git a/server/services/getPDF.php b/server/services/getPDF.php @@ -9,6 +9,8 @@ require 'helper.php'; use headstart\library; +$USER_AGENT = 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13'; + $INI_DIR = dirname(__FILE__) . "/../preprocessing/conf/"; $ini_array = librar...
7
diff --git a/README.md b/README.md @@ -105,7 +105,7 @@ The CCU platform allows to enhance the functionality of a CCU by installing so-c * [HomeMatic Check_MK](https://github.com/alexreinert/homematic_check_mk) * [hm-tools](https://github.com/fhetty/hm-tools) * [HB-UW-Sen-THPL Universalsensor](https://github.com/jp112sd...
10
diff --git a/src/views/teachers/faq/faq.jsx b/src/views/teachers/faq/faq.jsx @@ -17,7 +17,7 @@ const TeacherFaq = props => ( <h2><FormattedMessage id="teacherfaq.title" /></h2> <dl> <dt><FormattedMessage id="teacherfaq.teacherWhatTitle" /></dt> - <dd><FormattedHTMLMessage id="teacherfaq.teacherWhatBody" /></dd> + <dd><...
14
diff --git a/packages/webpack-plugin/lib/json-compiler/index.js b/packages/webpack-plugin/lib/json-compiler/index.js @@ -356,6 +356,10 @@ module.exports = function (raw = '{}') { ...queryObj } + if (content.plugins) { + subPackage.plugins = content.plugins + } + processSubPackagesQueue.push((callback) => { processSubPa...
1
diff --git a/packages/driver/src/cy/commands/actions/scroll.coffee b/packages/driver/src/cy/commands/actions/scroll.coffee @@ -223,8 +223,17 @@ module.exports = (Commands, Cypress, cy, state, config) -> if options.log deltaOptions = $utils.filterOutOptions(options, {duration: 0, easing: 'swing'}) + messageArgs = [] + i...
0
diff --git a/articles/policies/data-transfer.md b/articles/policies/data-transfer.md @@ -19,7 +19,7 @@ Auth0 will transfer customer data from one account to another in the following s * If you are opting to move out from our service, then you might want to check [this section](/moving-out). Please notice that in order ...
2
diff --git a/Bundle/BlogBundle/Resources/views/Blog/Tabs/_articles.html.twig b/Bundle/BlogBundle/Resources/views/Blog/Tabs/_articles.html.twig </a> {% if article.author is not null %} - <em>{{ article.author.firstname }} {{ article.author.lastname }}</em> + <em>{{ article.author }}</em> {% endif %} <time datetime="{{ a...
11
diff --git a/src/containers/pointsContainer.js b/src/containers/pointsContainer.js @@ -209,9 +209,7 @@ const PointsContainer = ({ }; const _getESTMPrice = (points) => { - const { base, quote } = globalProps; - - return points * 0.00442 * (base / quote); + return points / 150; }; return (
4
diff --git a/email-templates/newThreadNotification.html b/email-templates/newThreadNotification.html <table width="100%" cellpadding="0" cellspacing="0" class="thread-body"> <tr width="100%" cellpadding="0" cellspacing="0"> <td valign="middle"> - <a href="https://spectrum.chat/thread/{{../id}}" class="block"> + <a href...
1
diff --git a/src/test/system_tests/mongodb_defaults.js b/src/test/system_tests/mongodb_defaults.js @@ -12,8 +12,11 @@ db.datablocks.remove({}); db.datachunks.remove({}); db.objectparts.remove({}); db.objectmds.remove({}); +db.namespace_resources.remove({}); db.func_code_gridfs.chunks.remove({}); db.func_code_gridfs.fil...
3
diff --git a/src/encoded/static/components/auditmatrix.js b/src/encoded/static/components/auditmatrix.js @@ -141,6 +141,7 @@ class AuditMatrix extends React.Component { }); } +/* eslint no-loop-func: 0 */ render() { const context = this.props.context; const matrix = context.matrix;
0
diff --git a/src/components/DateRangePicker/DefaultRanges.js b/src/components/DateRangePicker/DefaultRanges.js const PropTypes = require('prop-types'); const Radium = require('radium'); -const keycode = require('keycode'); const React = require('react'); const Icon = require('../Icon'); @@ -22,7 +21,7 @@ class DefaultR...
4
diff --git a/edit.js b/edit.js @@ -218,9 +218,15 @@ function animate(timestamp, frame) { .multiply(localMatrix2.getInverse(xrCamera.matrix)); pe.setMatrix(localMatrix); }; - if (axes[0] < -0.5 && !(lastAxes[index][0] < -0.5)) { + if ( + (axes[0] < -0.5 && !(lastAxes[index][0] < -0.5)) || + (axes[2] < -0.5 && !(lastAxes...
0
diff --git a/common/components/chrome/MainHeader.jsx b/common/components/chrome/MainHeader.jsx @@ -72,7 +72,10 @@ class MainHeader extends React.Component<{||}, State > { <Navbar collapseOnSelect expand="lg" bg="navlight" variant="light"> <Navbar.Brand><a href="/index/?section=Home"><img src={cdn.image("dl_logo.png")} ...
12
diff --git a/tools/make/lib/notes/Makefile b/tools/make/lib/notes/Makefile @@ -28,6 +28,7 @@ notes: --exclude-dir "$(REPORTS_DIR)/*" \ --exclude-dir "$(DEPS_TMP_DIR)/*" \ --exclude-dir "$(DEPS_BUILD_DIR)/*" \ + --exclude-dir "$(DOCS_DIR)/**/$(NODE_MODULES_FOLDER)/*" \ --exclude "$(this_file)" \ --exclude "$(ROOT_DIR)/....
8
diff --git a/src/kiri-dev/cam/Makera.Carvera b/src/kiri-dev/cam/Makera.Carvera "bedWidth": 360, "bedDepth": 240, "originCenter": false, - "spindleMax": 12000, + "spindleMax": 20000, "gcodePre": [ "G21 ; set units to MM (required)", "G90 ; absolute position mode (required)", "G0 F2000 ; default rapid move speed", - "G1 ...
3
diff --git a/src/agent/fs.js b/src/agent/fs.js @@ -101,12 +101,14 @@ class FridaFS { const actualPath = this.transform.toActual(path); if (actualPath !== null) { + const entryBuf = Memory.alloc(Process.pageSize); + const resultPtr = Memory.alloc(Process.pointerSize); const dir = this.api.opendir(actualPath); if (dir ==...
1
diff --git a/shared/js/ui/templates/shared/grade-scorecard-reasons.es6.js b/shared/js/ui/templates/shared/grade-scorecard-reasons.es6.js const statusList = require('./status-list.es6.js') +const trackerNetworksText = require('./tracker-networks-text.es6.js') module.exports = function (site) { const reasons = getReasons...
4
diff --git a/packages/node_modules/@node-red/runtime/lib/nodes/flows/Subflow.js b/packages/node_modules/@node-red/runtime/lib/nodes/flows/Subflow.js @@ -228,7 +228,7 @@ class Subflow extends Flow { this.node.on("close", function() { this.status({}); }) this.node.status = status => this.parent.handleStatus(this.node,sta...
2
diff --git a/src/index.js b/src/index.js @@ -234,7 +234,6 @@ function drawTrendChart(sheetTrend) { } function drawTrendChart2(sheetTrend) { - console.log(sheetTrend) var cols = { Date: ['Date'], @@ -283,12 +282,11 @@ function drawTrendChart2(sheetTrend) { tooltip: { format: { value: function (value, ratio, id, index) {...
9
diff --git a/src/components/PDFView/index.js b/src/components/PDFView/index.js @@ -9,6 +9,7 @@ import CONST from '../../CONST'; import PDFPasswordForm from './PDFPasswordForm'; import * as pdfViewPropTypes from './pdfViewPropTypes'; import withWindowDimensions from '../withWindowDimensions'; +import Text from '../Text'...
9
diff --git a/src/lib/data/getNavigationTree.js b/src/lib/data/getNavigationTree.js @@ -23,12 +23,8 @@ export default async function getNavigationTree(client) { } // Get defaultNavigationTree - const navigationTreeByIdVariables = { id: defaultNavigationTreeId }; - const { data: { navigationTreeById } } = await client.qu...
10
diff --git a/token-metadata/0xac3211a5025414Af2866FF09c23FC18bc97e79b1/metadata.json b/token-metadata/0xac3211a5025414Af2866FF09c23FC18bc97e79b1/metadata.json "symbol": "DOV", "address": "0xac3211a5025414Af2866FF09c23FC18bc97e79b1", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED" ...
3
diff --git a/includes/Core/Assets/Assets.php b/includes/Core/Assets/Assets.php @@ -250,14 +250,13 @@ final class Assets { $action = 'wp_head'; } - add_action( - $action, - function() use ( $font_families ) { - ?> - <script> + $fonts = sprintf( "'%s'", implode( "','", $font_families ) ); + + $fonts_script = sprintf( + "...
4
diff --git a/source/Overture/parser/DateParser.js b/source/Overture/parser/DateParser.js @@ -99,12 +99,17 @@ const generateLocalisedDateParser = function ( locale, mode ) { ]); const searchMethod = anyInLocale( 'searchMethod', 'past future' ); - const dateDelimiter = define( 'dateDelimiter', - ( /^(?:[\s\-.,'/]|of)+/ )...
0
diff --git a/public/javascripts/Progress/src/Progress.js b/public/javascripts/Progress/src/Progress.js @@ -312,7 +312,7 @@ function Progress (_, $, c3, L, role, difficultRegionIds) { }) .addTo(map); - // Calculate total distance audited in (mi) + // Calculate total distance audited in kilometers/miles depending on the ...
3
diff --git a/buildspec.yml b/buildspec.yml version: 0.2 + phases: - install: - runtime-versions: - nodejs: 15 pre_build: + commands: + - REPOSITORY_URI=907263135169.dkr.ecr.$AWS_DEFAULT_REGION.amazonaws.com/ecrrepository-app-$AWS_DEFAULT_REGION + - COMMIT_HASH=$(echo $CODEBUILD_RESOLVED_SOURCE_VERSION | cut -c 1-7) + -...
3
diff --git a/source/pool/test/Pool-unit.js b/source/pool/test/Pool-unit.js @@ -118,7 +118,6 @@ contract('Pool Unit Tests', async accounts => { }, ], feeToken.address, - { from: aliceAddress, } @@ -158,7 +157,6 @@ contract('Pool Unit Tests', async accounts => { }, ], feeToken.address, - { from: aliceAddress, } @@ -186,7...
2
diff --git a/assets/js/components/notifications/ZeroDataStateNotifications.js b/assets/js/components/notifications/ZeroDataStateNotifications.js @@ -38,16 +38,16 @@ export default function ZeroDataStateNotifications() { const isAnalyticsConnected = useSelect( ( select ) => select( CORE_MODULES ).isModuleConnected( 'ana...
10
diff --git a/src/checkout.js b/src/checkout.js @@ -180,5 +180,14 @@ export function renderCheckout(props : Object = {}) : ZalgoPromise<mixed> { nonce: getNonce() }) - ]); + + ]).catch(err => { + + if (err instanceof window.paypal.PopupOpenError) { + window.paypal.Checkout.contexts.iframe = true; + return renderCheckout...
9
diff --git a/src/components/annotations/attributes.js b/src/components/annotations/attributes.js @@ -316,7 +316,7 @@ module.exports = templatedArray('annotation', { valType: 'enumerated', values: [ 'paper', - cartesianConstants.idRegex.x.toString() + cartesianConstants.idRegex.x.toString()+"( domain)?" ], role: 'info',...
0
diff --git a/tests/qunit/assets/js/util/index.js b/tests/qunit/assets/js/util/index.js @@ -261,7 +261,7 @@ var gtag = function( type, name, sendto, category, label, value ) { }; }; -var sendAnalyticsTrackingEventExpected = '{"type":"event","name":"name","sendto":{"event_category":"category","event_label":"label","event...
2
diff --git a/edit.js b/edit.js @@ -4489,24 +4489,6 @@ const cubeMesh = (() => { cubeMesh.frustumCulled = false; scene.add(cubeMesh); -const PEEK_FACES = { - FRONT: 1, - BACK: 2, - LEFT: 3, - RIGHT: 4, - TOP: 5, - BOTTOM: 6, -}; -const PEEK_DIRECTIONS = [ - [new THREE.Vector3(0, 0, 1), PEEK_FACES.FRONT], - [new THREE.Ve...
2
diff --git a/test/type/unit/Unit.test.js b/test/type/unit/Unit.test.js @@ -253,10 +253,10 @@ describe('Unit', function() { assert.deepEqual(u.toNumeric('mm'), math.fraction(10,3)); }); it ('should simplify units before returning a numeric value', function () { - var cm = new Unit(1, 'cm'); - var m = new Unit(1, 'm'); +...
4
diff --git a/packages/app/src/server/routes/login-passport.js b/packages/app/src/server/routes/login-passport.js @@ -468,7 +468,7 @@ module.exports = function(crowi, app) { const providerId = 'saml'; const strategyName = 'saml'; const attrMapId = crowi.configManager.getConfig('crowi', 'security:passport-saml:attrMapId'...
12
diff --git a/js/variant/variantTrack.js b/js/variant/variantTrack.js @@ -99,9 +99,10 @@ var igv = (function (igv) { } function getCallsetsLength() { - var length = 0, callSets = this.callSets; + var length = 0, + callSets = this.callSets; Object.keys(callSets).forEach(function(key) { - length += callSets[key].length; +...
9
diff --git a/components/Gallery/Gallery.js b/components/Gallery/Gallery.js @@ -70,8 +70,14 @@ const Gallery = ({ items, onClose, startItemSrc, children, t }) => { item.w = maxWidth item.h = aspectRatio * maxWidth }) - gallery.listen('close', e => console.log('close', e)) - gallery.listen('pswpTap', e => console.log('ta...
13
diff --git a/userscript.user.js b/userscript.user.js @@ -67469,15 +67469,23 @@ var $$IMU_EXPORT$$; } if (domain === "d7hftxdivxxvm.cloudfront.net") { + // artsy.net // https://d7hftxdivxxvm.cloudfront.net/?resize_to=fit&width=430&height=640&quality=80&src=https%3A%2F%2Fd32dm0rphc51dk.cloudfront.net%2FRWSMPU07Uk_utF8h-u...
7
diff --git a/pages/_app.js b/pages/_app.js -import React from 'react' import App from 'next/app' const PIWIK_URL = process.env.NEXT_PUBLIC_PIWIK_URL const PIWIK_SITE_ID = process.env.NEXT_PUBLIC_PIWIK_SITE_ID class MyApp extends App { - static async getInitialProps({Component, ctx}) { - let pageProps = {} - - if (Compo...
2
diff --git a/src/components/m-table-detailpanel.js b/src/components/m-table-detailpanel.js @@ -10,27 +10,28 @@ function MTableDetailPanel(props) { ); setTimeout(() => { setOpen(shouldOpen); - setTimeout(() => { - if (!shouldOpen) { - renderRef.current = null; - } - }, 100); }, 5); - if (shouldOpen) { + }, [props.data.t...
7
diff --git a/src/components/auth/hooks/useCheckExisting.js b/src/components/auth/hooks/useCheckExisting.js @@ -8,7 +8,7 @@ const log = logger.child({ from: 'useCheckExisting' }) //check if email/mobile was used to register before and offer user to login instead const useCheckExisting = () => { - const { setAlreadySigne...
1
diff --git a/test/MUIDataTableFooter.test.js b/test/MUIDataTableFooter.test.js @@ -5,6 +5,7 @@ import { assert } from 'chai'; import MuiTableFooter from '@material-ui/core/TableFooter'; import getTextLabels from '../src/textLabels'; import TableFooter from '../src/components/TableFooter'; +import JumpToPage from '../sr...
0
diff --git a/core/server/api/v2/posts.js b/core/server/api/v2/posts.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/server/app/app.py b/server/app/app.py @@ -13,7 +13,7 @@ from .web import webapp REACTIVE_LIMIT = 1_000_000 -app = Flask(__name__) +app = Flask(__name__, static_folder="web/static") cache = Cache(app, config={"CACHE_TYPE": "simple", "CACHE_DEFAULT_TIMEOUT": 860000}) Compress(app) CORS(app)
12
diff --git a/src/charts/common/bar/DataLabels.js b/src/charts/common/bar/DataLabels.js @@ -65,13 +65,10 @@ export default class BarDataLabels { height: 0 } if (w.config.dataLabels.enabled) { - const longestStr = - String(w.globals.minY).length > String(w.globals.maxY).length - ? w.globals.minY - : w.globals.maxY + cons...
1
diff --git a/src/webroutes/authentication/verifyZapToken.js b/src/webroutes/authentication/verifyZapToken.js @@ -19,13 +19,13 @@ const isUndefined = (x) => { return (typeof x === 'undefined'); }; //The actual key const zapPublicKey = JWK.asKey(`-----BEGIN PUBLIC KEY----- -MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArrz...
3
diff --git a/src/ApiGatewayWebSocket.js b/src/ApiGatewayWebSocket.js @@ -380,18 +380,13 @@ module.exports = class ApiGatewayWebSocket { debugLog(functionName, 'runtime', this._provider.runtime) // TODO Remove (already in LambdaFunction) - Object.assign(process.env, this._env) - - // TODO Remove (already in LambdaFuncti...
2
diff --git a/index.js b/index.js @@ -16,9 +16,6 @@ try { } catch(err) { console.warn(err); } -if (!openAiKey) { - throw new Error('fail'); -} const aiPrefix = fs.readFileSync('./ai/ai-prefix.js'); // const htmlRenderIframeString = fs.readFileSync('./html_render_iframe.html', 'utf8');
2
diff --git a/app/webpack/taxa/photos/ducks/photos.js b/app/webpack/taxa/photos/ducks/photos.js @@ -303,7 +303,7 @@ export function reloadPhotos( ) { export function hydrateFromUrlParams( params ) { return function ( dispatch ) { if ( params.grouping ) { - const match = params.grouping.match( /terms:([0-9])/ ); + const ...
1
diff --git a/AUTHORS.rst b/AUTHORS.rst @@ -44,6 +44,7 @@ and agreed to irrevocably license their contributions under the Duktape * Romero Malaquias (rbsm@ic.ufal.br) * Michael Drake <michael.drake@codethink.co.uk> * Steven Don (https://github.com/shdon) +* Simon Stone (https://github.com/sstone1) Other contributions ==...
5
diff --git a/gears/carto_gears_api/README.md b/gears/carto_gears_api/README.md @@ -73,6 +73,8 @@ have several limitations: - If you specify a runtime dependency of a gem already existing at Gemfile, it must have the exact version. - Although the private gem itself doesn't appear in `Gemfile` or `Gemfile.lock`, dependen...
7
diff --git a/assets/src/dashboard/app/views/my-stories/index.js b/assets/src/dashboard/app/views/my-stories/index.js @@ -56,15 +56,15 @@ function MyStories() { <div> <ViewHeader>{__('My Stories', 'web-stories')}</ViewHeader> <FilterContainer> - {STORY_STATUSES.map((currentStatus) => ( + {STORY_STATUSES.map((storyStatus...
10
diff --git a/sketches/axes.js b/sketches/axes.js @@ -29,7 +29,7 @@ function() { this.afterSketch(function() { var e = this.pointToPixelMatrix.elements; var showZ = tmp.set(e[8],e[9],e[10]).normalize().z < .975; - var i, V, x, y, z, inValue, edges; + var c, i, V, x, y, z, inValue, edges; textHeight(this.mScale(.1)); mTe...
1
diff --git a/src/lib/notifications/backgroundActions.native.js b/src/lib/notifications/backgroundActions.native.js @@ -71,10 +71,18 @@ export const useNotifications = navigation => { const onForeground = (notification, completion) => { log.info(`Notification received in foreground: ${notification.title} : ${notificatio...
0
diff --git a/test/routes/v2-errors.test.js b/test/routes/v2-errors.test.js @@ -12,8 +12,7 @@ beforeAll((done) => { // 404 Test //------------------------------------------------------------ -test('It should return 404 error', () => { - return request(app).get('/v1').then((response) => { +test('It should return 404 erro...
3
diff --git a/lib/cartodb/middleware/context/db-conn-setup.js b/lib/cartodb/middleware/context/db-conn-setup.js @@ -5,7 +5,7 @@ module.exports = function dbConnSetup (pgConnection) { const { user } = res.locals; pgConnection.setDBConn(user, res.locals, (err) => { - req.profiler.done('setDBConn'); + req.profiler.done('db...
4
diff --git a/userscript.user.js b/userscript.user.js @@ -243,9 +243,10 @@ var $$IMU_EXPORT$$; can_use_remote = true; } + // todo: rename to something better, like should_popout_of_iframes var should_use_remote = function() { return can_use_remote && settings.mouseover_use_remote; - } + }; var do_request_browser = funct...
7
diff --git a/grocy.openapi.json b/grocy.openapi.json ], "responses": { "200": { - "description": "An array of Task objects", + "description": "An array of CurrentTaskResponse objects", "content": { "application/json": { "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/Task" + "$ref": "#/component...
0
diff --git a/bin/resources/app/misc/splitter.js b/bin/resources/app/misc/splitter.js var eq = document.getElementById("tree-td") || document.getElementById("editor-td"); var gq = document.getElementById("main"); var ls = window.localStorage; - if (ls) eq.style.width = Math.max(0|(ls.getItem("splitter-width") || "200"),...
4
diff --git a/item-spec/json-schema/datetime.json b/item-spec/json-schema/datetime.json ], "properties": { "datetime": { - "$ref": "#/definitions/datetime_string" + "$ref": "#/definitions/datetime" }, "start_datetime": { "$ref": "#/definitions/start_datetime" "datetime": { "oneOf": [ { - "$ref": "#/definitions/datetime_...
0
diff --git a/modules/hooks/combat.js b/modules/hooks/combat.js @@ -6,7 +6,7 @@ export default function() { Hooks.on("deleteCombat", CombatHelpers.endCombat) Hooks.on("preCreateCombatant", (combat, data) => { - let mask = canvas.tokens.get(data.tokenId).getFlag("wfrp4e", "mask") + let mask = canvas.tokens.get(data.token...
1
diff --git a/src/branch_view.js b/src/branch_view.js @@ -95,7 +95,6 @@ branch_view.shouldDisplayJourney = function(eventResponse, options, journeyInTes if ( !eventResponse['branch_view_data']['id'] || - isJourneyDismissed(eventResponse['branch_view_data'], journeys_utils.branch) || options['no_journeys'] || _areJourney...
2
diff --git a/package.json b/package.json "test-dump": "rm -rf volumetests/ && ./node_modules/.bin/mocha --exit tests/dump_tests/*.js --require @babel/register", "test-rpki": "./node_modules/.bin/mocha --exit tests/rpki_tests/tests.default.js --require @babel/register && ./node_modules/.bin/mocha --exit tests/rpki_tests...
7
diff --git a/lib/plugins/output-filter/dropEventsFilter.js b/lib/plugins/output-filter/dropEventsFilter.js @@ -6,8 +6,8 @@ function testCondition (data, fieldName, condition) { } function logStatus (debug, a, b, c, d) { - if (debug === 'true') { - consoleLogger.log(JSON.stringify(['drop-filter-events plugin:', a, b, c]...
7
diff --git a/packages/build/lib/renderer.js b/packages/build/lib/renderer.js @@ -12,6 +12,7 @@ var createMiddleware = require('./middleware'); module.exports = function createRenderer(webpackConfig, watchOptions) { var router = new express.Router(); + router.use(hopsExpressUtils.timings); hopsExpressUtils.bootstrap(rou...
1
diff --git a/scripts/remove-large-object.sh b/scripts/remove-large-object.sh @@ -31,7 +31,7 @@ chmod +x .git/hooks/post-rewrite COMMIT_TO_EDIT=$(git log --find-object=${1} --reverse --pretty=tformat:"%H" --topo-order | head -n1) SHORT_COMMIT=${COMMIT_TO_EDIT:0:7} # Automatically edit the right commit during the rebase ...
1
diff --git a/edit.js b/edit.js @@ -619,9 +619,13 @@ window.send2 = async () => { // The unique ID that differentiates each NFT pub let id: UInt64 + // String mapping to hold metadata + pub var metadata: {String: String} + // Initialize both fields in the init function init(initID: UInt64) { self.id = initID + self.meta...
0
diff --git a/README.md b/README.md @@ -79,6 +79,11 @@ An installation walkthrough, how-to guides for adding new operations, descriptio - Submit a pull request. +## Licencing + +CyberChef is released under the [Apache 2.0 Licence](https://www.apache.org/licenses/LICENSE-2.0) and is covered by [Crown Copyright](https://w...
0
diff --git a/src/ngFormBuilder.js b/src/ngFormBuilder.js @@ -36,6 +36,13 @@ app.directive('formBuilderDraggable', function() { event.dataTransfer.setData('Text', JSON.stringify(dragData)); return false; }, false); + el.addEventListener('dragend', function(event) { + var dropZone = document.getElementById('fb-drop-zone'...
1
diff --git a/packages/mjml-validator/src/dependencies.js b/packages/mjml-validator/src/dependencies.js -import merge from 'lodash/merge' +import { mergeWith, isArray } from 'lodash' + +function mergeArrays(objValue, srcValue) { + if (isArray(objValue) && isArray(srcValue)) { + return objValue.concat(srcValue) + } +} co...
11