code
stringlengths
122
4.99k
label
int64
0
14
diff --git a/src/ActionModal/components/ActionModal.vue b/src/ActionModal/components/ActionModal.vue @@ -599,6 +599,8 @@ export default { await this.$store.dispatch(`connectLedgerApp`) }, async checkFeatureAvailable() { + if (config.e2e) return true // TODO remove once Hasura is available in e2e tests + const { data: {...
11
diff --git a/packages/laconia-core/test/laconia.spec.js b/packages/laconia-core/test/laconia.spec.js @@ -62,7 +62,7 @@ describe("laconia", () => { ); }); - it("should be able to add instances by calling 'register' with a string", async () => { + it("should be able to add a single instance by calling 'register'", async ...
10
diff --git a/moveLighting/script.json b/moveLighting/script.json "script": "moveLighting.js", "version": "0.1.4", "previousversions": [], - "description": "# Page FX\r\r_v0.1.4 Updates_\r\rUse the command !movelight with the parameters of:\r\r1) the layer to move to and\r\r2) the ID of the dynamic lighting path object\...
14
diff --git a/packages/node_modules/@node-red/util/lib/hooks.js b/packages/node_modules/@node-red/util/lib/hooks.js @@ -67,8 +67,25 @@ function add(hookId, callback) { throw new Error("Hook "+hookId+" already registered") } // Get location of calling code + let callModule; const stack = new Error().stack; - const callMo...
7
diff --git a/inventory.js b/inventory.js @@ -30,6 +30,20 @@ inventory.uploadFile = async file => { }; bindUploadFileButton(document.getElementById('load-package-input'), inventory.uploadFile); +inventory.discardFile = async id => { + const fileIndex = files.findIndex(file => file.id === id); + if (fileIndex !== -1) { +...
0
diff --git a/src/consumer/fetchManager.js b/src/consumer/fetchManager.js @@ -31,11 +31,12 @@ const createFetchManager = ({ const getFetchers = () => fetchers const createFetchers = () => { - const nodeIds = getNodeIds().sort() + const nodeIds = getNodeIds() const validateShouldRebalance = () => { - const current = getN...
7
diff --git a/assets/js/modules/adsense/util/url.js b/assets/js/modules/adsense/util/url.js * limitations under the License. */ +/** + * External dependencies + */ +import { parse as pslParse } from 'psl'; + /** * WordPress dependencies */ @@ -72,11 +77,11 @@ export const getAccountURL = ( { accountID, userEmail } = {} ...
10
diff --git a/assets/js/esDevelopersItaliaQuery.js b/assets/js/esDevelopersItaliaQuery.js @@ -989,7 +989,7 @@ esDevelopersItaliaQuery.prototype.renderSoftware = function (software) { } var shortDescription = ''; - if (description.shortDescription) { + if (description && description.shortDescription) { shortDescription =...
1
diff --git a/js/searchbar/bangsPlugin.js b/js/searchbar/bangsPlugin.js @@ -220,6 +220,8 @@ function initialize () { registerCustomBang({ phrase: `!${bang.phrase}`, snippet: `${bang.snippet}` ?? '', + // isAction: true - skip search text entry if the bang does not include a search parameter + isAction: !bang.redirect.in...
12
diff --git a/docs/plugins/syntaxhighlight.md b/docs/plugins/syntaxhighlight.md @@ -8,8 +8,13 @@ eleventyNavigation: A pack of Eleventy plugins for syntax highlighting. No browser/client JavaScript here, these highlight transformations are all done at build-time. Supports individual line highlighting. +* This is the doc...
3
diff --git a/website/make_starter_kits.py b/website/make_starter_kits.py @@ -14,7 +14,7 @@ ENVIRONMENT_DIR_HELP = "Directory containing precompiled Halite environment " \ "executables, each named after their platform. " VERSION_HELP = "The version string to embed in the downloads page." IGNORED_EXTENSIONS = [".exe", "....
1
diff --git a/lib/node_modules/@stdlib/_tools/scripts/publish_packages.js b/lib/node_modules/@stdlib/_tools/scripts/publish_packages.js @@ -444,6 +444,21 @@ function publish( pkg, clbk ) { debug( 'Executing command: '+command ); shell( command ); + command = [ + 'find '+dist+' -type f -name \'*.js\' -print0 ', // Find a...
14
diff --git a/base/debug/Debug.ts b/base/debug/Debug.ts @@ -302,9 +302,18 @@ export class Debug { Object.assign({}, event, { game: "[Phaser.Game]", data: "[GoldenSun]", + id: event.id, + ...(event.key_name && {key_name: event.key_name}), + type: event.type, + x: event.x, + y: event.y, activation_directions: event.activa...
7
diff --git a/src/plots/cartesian/axes.js b/src/plots/cartesian/axes.js @@ -2181,29 +2181,29 @@ axes.makeTickPath = function(ax, shift, sgn, len) { * - {fn} labelXFn * - {fn} labelYFn * - {fn} labelAnchorFn - * - {number} labelStandoff - * - {number} labelShift + * - {number} labelStandoff (gap parallel to ticks) + * - ...
0
diff --git a/src/encoded/visualization.py b/src/encoded/visualization.py @@ -735,7 +735,7 @@ def sanitize_label(s): '''Encodes the string to swap special characters and leaves spaces alone.''' new_s = "" # longLabel and shorLabel can have spaces and some special characters for c in s: - new_s += sanitize_char(c, [' ', ...
2
diff --git a/generators/kubernetes/templates/deployment.yml.ejs b/generators/kubernetes/templates/deployment.yml.ejs @@ -213,6 +213,6 @@ spec: failureThreshold: 6 livenessProbe: httpGet: - path: <%= app.applicationType === 'microservice' && !app.serviceDiscoveryType ? `/services/${app.baseName.toLowerCase()}` : '' %>/m...
7
diff --git a/src/dar/PersistedDocumentArchive.js b/src/dar/PersistedDocumentArchive.js @@ -59,9 +59,14 @@ export default class PersistedDocumentArchive extends EventEmitter { path: filePath, blob: file }) - // FIXME: what to do in NodeJS? + // ATTENTION: blob urls are not supported in nodejs + // and I do not see that ...
4
diff --git a/src/modules/Exports.js b/src/modules/Exports.js @@ -44,7 +44,7 @@ class Exports { this.cleanup() const canvas = document.createElement('canvas') canvas.width = w.globals.svgWidth - canvas.height = w.globals.svgHeight + canvas.height = parseInt(w.globals.dom.elWrap.style.height) // because of resizeNonAxisC...
4
diff --git a/app/src/components/main/markdown/markdownViewer/markdownViewer.scss b/app/src/components/main/markdown/markdownViewer/markdownViewer.scss background-color: $COLOR--light-blue; border-radius: 0.3rem; } + :global { code.lang-error { position: relative; - padding-left: 15px; + padding: 10px 15px; background: ...
1
diff --git a/src/containers/FooterContainer.js b/src/containers/FooterContainer.js @@ -92,7 +92,7 @@ class FooterContainer extends PureComponent { } } - onChange = ({ email }) => { + onChange = ({ FooterEmailInput: email }) => { emailValue = email const { emailStatus, isFormDisabled, formStatus } = this.state const cur...
4
diff --git a/assets/js/modules/analytics/components/common/ExistingGTMPropertyNotice.js b/assets/js/modules/analytics/components/common/ExistingGTMPropertyNotice.js @@ -74,5 +74,8 @@ export default function ExistingGTMPropertyNotice( { } ExistingGTMPropertyNotice.propTypes = { - gtmAnalyticsPropertyID: PropTypes.string...
12
diff --git a/app/services/carto/visualizations_export_persistence_service.rb b/app/services/carto/visualizations_export_persistence_service.rb @@ -139,7 +139,10 @@ module Carto def apply_user_limits(user, visualization) can_be_private = visualization.derived? ? user.private_maps_enabled : user.private_tables_enabled - ...
12
diff --git a/src/views/partials/header.ejs b/src/views/partials/header.ejs <meta name="og:site_name" content="Rovel Discord List"> <% if(imglink){ %> <meta name="twitter:card" content="summary_large_image"> -<meta name="og:image:type" content="image/jpeg"/><meta name="og:image:width" content="1920"/><meta name="og:imag...
11
diff --git a/packages/mjml-image/src/index.js b/packages/mjml-image/src/index.js @@ -26,8 +26,8 @@ export default class MjImage extends BodyComponent { 'padding-left': 'unit(px,%)', 'padding-right': 'unit(px,%)', 'padding-top': 'unit(px,%)', - height: 'unit(px,%)', - width: 'unit(px,%)', + height: 'unit(px)', + width: ...
9
diff --git a/packages/mdx/mdx-hast-to-jsx.js b/packages/mdx/mdx-hast-to-jsx.js @@ -149,6 +149,8 @@ MDXContent.isMDXComponent = true` // Check JSX nodes against imports const babelPluginExptractImportNamesInstance = new BabelPluginExtractImportNames() transformSync(importStatements, { + configFile: false, + babelrc: fal...
8
diff --git a/src/components/form/Form.js b/src/components/form/Form.js @@ -227,10 +227,7 @@ export class FormComponent extends FormioForm { } // Load the subform if we have data. - if ( - submission._id || - (this.data[this.component.key] && !_isEmpty(this.data[this.component.key].data)) - ) { + if (submission._id || !...
11
diff --git a/js/webcomponents/bisweb_grapherelement.js b/js/webcomponents/bisweb_grapherelement.js @@ -359,12 +359,17 @@ class GrapherModule extends HTMLElement { } parsedDataSet = parsedDataSet.filter(Boolean); - - return { + let x = Array.from({ length: y[0].length }).map( function(e,i) { return i; }); + this.current...
1
diff --git a/src/js/wallet/wallet.list.controller.js b/src/js/wallet/wallet.list.controller.js */ function patchCurrencyIdsForTestnet() { if ($scope.isTestnet()) { - Currency.EUR.id = 'FzM69o6zN8imUt31SUDuTAbuGudFFHgCukod22CZBFsn'; - Currency.USD.id = '3YFnx7HDriFrgw5WGXz3B1w8ap9joSsDfxChbHPzUX9W'; - Currency.CNY.id = ...
3
diff --git a/packages/neutrine/src/core/table/index.js b/packages/neutrine/src/core/table/index.js @@ -35,17 +35,23 @@ Table.defaultProps = { //Export table header component export const TableHeader = function (props) { - return helpers.createMergedElement("div", props, "siimple-table-header"); + return helpers.createM...
1
diff --git a/token-metadata/0xaC9749c854b31bBa3B3e71B30FDd7AEa4fCC0db9/metadata.json b/token-metadata/0xaC9749c854b31bBa3B3e71B30FDd7AEa4fCC0db9/metadata.json "symbol": "FBC", "address": "0xaC9749c854b31bBa3B3e71B30FDd7AEa4fCC0db9", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED" ...
3
diff --git a/content/using/operations/using-bridge.md b/content/using/operations/using-bridge.md @@ -57,7 +57,7 @@ hexdump -n 32 -e '4/4 "%08X"' /dev/random and use the result. -It should be noted that setting your network keys is an event on the Ethereum network and will therefore cost a trivial, but non-zero, amount ...
14
diff --git a/scripts/generate-content.js b/scripts/generate-content.js @@ -13,16 +13,36 @@ const generateEvents = (spaceId, accessToken) => { client .getSpace(spaceId) .then(async space => { + const eventType = await space.getContentType("event"); + const assets = await space.getAssets(); const { total: totalEvents } =...
0
diff --git a/src/styles/mixins.less b/src/styles/mixins.less border-color: @border-color !important; &:hover, - &:focus, &:active, &.active { background: darken(@color, 15%, 'relative') !important; color: @color !important; &:hover, - &:focus, &:active, &.active { border-color: @color !important;
2
diff --git a/token-metadata/0x3A4A0D5b8dfAcd651EE28ed4fFEBf91500345489/metadata.json b/token-metadata/0x3A4A0D5b8dfAcd651EE28ed4fFEBf91500345489/metadata.json "symbol": "BRX", "address": "0x3A4A0D5b8dfAcd651EE28ed4fFEBf91500345489", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED" ...
3
diff --git a/src/plots/cartesian/set_convert.js b/src/plots/cartesian/set_convert.js @@ -729,8 +729,6 @@ module.exports = function setConvert(ax, fullLayout) { // r0 value as date var r0Date = new Date(r0); // r0 value for break pattern - var r0PatternDelta; - // delta between break bounds in ms var bndDelta; // step i...
2
diff --git a/components/Notifications/NotificationFeedMini.js b/components/Notifications/NotificationFeedMini.js @@ -60,7 +60,7 @@ const NotificationFeedMini = ({ </> )} - {false && ( + {!newNodes.length && ( <p> {t('pages/notifications/nounread')}{' '} <Link route='/benachrichtigungen' passHref> @@ -71,7 +71,7 @@ cons...
13
diff --git a/assets/js/modules/tagmanager/setup.js b/assets/js/modules/tagmanager/setup.js @@ -532,10 +532,6 @@ class TagmanagerSetup extends Component { outlined > { [] - .concat( { - name: __( 'Select one...', 'google-site-kit' ), - accountId: UNSELECTED, - } ) .concat( accounts ) .concat( ! hasExistingTag ? { accoun...
2
diff --git a/activity/settings/base.py b/activity/settings/base.py @@ -117,7 +117,7 @@ STATICFILES_FINDERS = ( # SECRET CONFIGURATION # See: https://docs.djangoproject.com/en/dev/ref/settings/#secret-key -SECRET_KEY = os.environ.get('SECRET_KEY') +SECRET_KEY = os.environ.get('SECRET_KEY', '!0^+)=t*ly6ycprf9@kfw$6fsjd0x...
0
diff --git a/wallet.js b/wallet.js @@ -1877,6 +1877,7 @@ function handlePrivatePaymentFile(fullPath, content, cb) { return cb(err); zip.loadAsync(data).then(function(zip) { zip.file("private_textcoin").async("string").then(function(data) { + try { var data = JSON.parse(data); device.getHubWs(function(err, ws){ if (err)...
9
diff --git a/lib/classes/Service.js b/lib/classes/Service.js @@ -165,7 +165,7 @@ class Service { getEventInFunction(eventName, functionName) { const event = this.getFunction(functionName).events - .filter(e => Object.keys(e)[0] === eventName)[0]; + .find(e => Object.keys(e)[0] === eventName); if (event) { return event;...
14
diff --git a/contracts/FeePool.sol b/contracts/FeePool.sol @@ -178,7 +178,7 @@ contract FeePool is Proxyable, SelfDestructible, LimitedSetup { * @notice Logs an accounts issuance data per fee period * @param account Message.Senders account address * @param debtRatio Debt percentage this account has locked after minting...
2
diff --git a/src/struct/Command.js b/src/struct/Command.js @@ -212,8 +212,8 @@ class Command extends AkairoModule { const splitFuncs = { [ArgumentSplits.PLAIN]: c => c.match(/[^\s]+/g), [ArgumentSplits.SPLIT]: c => c.split(' '), - [ArgumentSplits.QUOTED]: c => c.match(/"[\s\S]*?"|\s?[^\s"]+\s?|"/g), - [ArgumentSplits.S...
8
diff --git a/packages/composables/use-polyline-drawing/index.ts b/packages/composables/use-polyline-drawing/index.ts import { ref } from 'vue' import { VcViewerProvider } from '@vue-cesium/utils/types' import { DrawStatus } from '@vue-cesium/shared' -import { PolylineDrawing } from '@vue-cesium/measurements/src/measure...
1
diff --git a/.gitignore b/.gitignore @@ -75,7 +75,6 @@ _UpgradeReport_Files/ /deps/icu*.zip /deps/icu*.tgz /deps/icu-tmp -./node_modules /android-toolchain/ # generated by gyp on Windows /deps/openssl/openssl.props @@ -93,8 +92,8 @@ _UpgradeReport_Files/ /SHASUMS*.txt* # === Rules for `node_modules` === -!**/node_modul...
8
diff --git a/src/core/config/Categories.js b/src/core/config/Categories.js @@ -192,8 +192,8 @@ const Categories = [ "Translate DateTime Format", "From UNIX Timestamp", "To UNIX Timestamp", - "From Windows Filetime To UNIX", - "To Windows Filetime From UNIX", + "Windows Filetime to UNIX Timestamp", + "UNIX Timestamp to ...
1
diff --git a/src/js/views/Artist.js b/src/js/views/Artist.js @@ -216,8 +216,9 @@ class Artist extends React.Component{ if (this.props.artist){ var is_spotify = (scheme == 'spotify') - if (is_spotify){ - var uris_to_play = (this.props.artist.tracks ? helpers.arrayOf('uri', this.props.artist.tracks) : []) + + if (this.pr...
1
diff --git a/frontend/imports/ui/client/widgets/wrapper-update.js b/frontend/imports/ui/client/widgets/wrapper-update.js @@ -54,6 +54,10 @@ Template.wrapperUpdate.viewmodel({ const modal = $('#wrapperUpdate'); modal.removeClass('in'); modal.css('display', 'none'); + + const body = $('body'); + body.removeClass('modal-o...
7
diff --git a/src/Disp/buildingTiles/toggleBuildingLock.js b/src/Disp/buildingTiles/toggleBuildingLock.js */ export default function toggleBuildingLock(index) { if (l(`productLock${index}`).innerHTML === 'Lock') { + // Add to storing array Game.mods.cookieMonsterFramework.saveData.cookieMonsterMod.lockedMinigames.push( ...
1
diff --git a/packages/openneuro-app/src/scripts/uploader/upload-mutation.js b/packages/openneuro-app/src/scripts/uploader/upload-mutation.js -import { datasets, files, snapshots } from 'openneuro-client' +import { datasets, files } from 'openneuro-client' /** * Create a dataset and update the label @@ -9,26 +9,11 @@ ex...
12
diff --git a/app/queries/carto/offdatabase_query_adapter.rb b/app/queries/carto/offdatabase_query_adapter.rb @@ -55,7 +55,7 @@ module Carto all = @query.all @order_by_asc_or_desc_by_attribute.each do |attribute, asc_or_desc| # Cache attribute type - is_array = all.empty? ? all.first.send(attribute).respond_to?(:count) ...
1
diff --git a/edit.js b/edit.js @@ -204,17 +204,6 @@ for (const handMesh of handMeshes) { return geometry; })(); */ -/* const rayMesh = makeRayMesh(); -scene.add(rayMesh); - -const highlightScene = new THREE.Scene(); -const highlightMesh = makeHighlightMesh(); -highlightScene.add(highlightMesh); - -const wristMenu = mak...
2
diff --git a/assets/js/components/user-input/UserInputSelectOptions.js b/assets/js/components/user-input/UserInputSelectOptions.js @@ -141,7 +141,7 @@ export default function UserInputSelectOptions( { slug, options, max } ) { </ListComponent> <TextField - label={ __( 'Other', 'google-site-kit' ) } + label={ __( 'Type y...
4
diff --git a/lib/carto/named_maps/api.rb b/lib/carto/named_maps/api.rb @@ -129,6 +129,8 @@ module Carto 'content-type': 'application/json', 'host': domain(username) } + headers = request_id ? @headers.merge('X-Request-ID': request_id) : @headers + headers end def domain(username) @@ -139,6 +141,10 @@ module Carto Carto...
4
diff --git a/packages/cx/src/widgets/grid/Grid.js b/packages/cx/src/widgets/grid/Grid.js @@ -1306,14 +1306,12 @@ class GridComponent extends VDOM.Component { mod["non-selectable"] = !selectable; } - if (isRecordDraggable) { let draggable = dragSource && (!row.dragHandles || row.dragHandles.length == 0) && (!isRecordDra...
0
diff --git a/packages/data-context/test/unit/sources/GitDataSource.spec.ts b/packages/data-context/test/unit/sources/GitDataSource.spec.ts @@ -61,8 +61,6 @@ describe('GitDataSource', () => { fs.createFileSync(fooSpec) fs.writeFileSync(xhrSpec, 'it(\'modifies the file\', () => {})') - process.chdir(projectPath) - const ...
3
diff --git a/modules/@apostrophecms/schema/ui/apos/components/AposArrayEditor.vue b/modules/@apostrophecms/schema/ui/apos/components/AposArrayEditor.vue @@ -278,6 +278,9 @@ export default { const currentIndex = this.next.findIndex(item => item._id === this.currentId); this.next[currentIndex] = this.currentDoc.data; }, ...
11
diff --git a/lib/migration.js b/lib/migration.js @@ -191,7 +191,7 @@ export const migrate = async (options) => { } try { - const { sequelize } = (await import(`file:////${indexDir}`)).default; + const { sequelize } = (await import(`file:\\\\${indexDir}`)).default; const { models } = sequelize; currentState.tables = rev...
1
diff --git a/src/technologies.json b/src/technologies.json ], "description": "Auth0 headless browser sdk", "icon": "Auth0.png", - "scripts": "/auth0(?:-js)?(/|@)([\\d.]+)(?:/([a-z]+))?/auth0(?:.min)?\\.js\\;version:\\1", + "scripts": [ + "/auth0(?:-js)?/([\\d.]+)/auth0(?:.min)?\\.js\\;version:\\1", + "/auth0-js@([\\d.]...
7
diff --git a/site/heartbeats.xml b/site/heartbeats.xml @@ -190,8 +190,8 @@ cf.RequestedHeartbeat = 60; </doc:section> - <doc:section name="tcp-keepalives"> - <doc:heading>Heartbeats and TCP Keepalives</doc:heading> + <doc:section name="tcp-proxies"> + <doc:heading>Heartbeats and TCP Proxies</doc:heading> <p> Certain ne...
10
diff --git a/lib/ferryman/lib/ferryman.js b/lib/ferryman/lib/ferryman.js @@ -480,8 +480,8 @@ class Ferryman { let refs = false; // Check if oihUid exists - if ('id' in oihMeta && oihMeta.id) { - const data = await self.getDataHubEntryByOihId(oihMeta.id, self.apiKey); + if ('oihUid' in oihMeta && oihMeta.oihUid) { + con...
14
diff --git a/assets/js/modules/analytics/components/dashboard/DashboardAllTrafficWidget/LegacyDashboardAllTraffic.js b/assets/js/modules/analytics/components/dashboard/DashboardAllTrafficWidget/LegacyDashboardAllTraffic.js @@ -42,7 +42,7 @@ function LegacyDashboardAllTraffic() { /> </Cell> <Cell size={ 12 }> - <Layout ...
2
diff --git a/publish/deployed/rinkeby/deployment.json b/publish/deployed/rinkeby/deployment.json "address": "0x8B5c7bA225658d514e970723B774E78834323229", "source": "PurgeableSynth", "link": "https://rinkeby.etherscan.io/address/0x8B5c7bA225658d514e970723B774E78834323229", - "timestamp": "2019-07-18T21:21:44.759Z", - "t...
3
diff --git a/src/puppeteer_pool.js b/src/puppeteer_pool.js @@ -339,13 +339,7 @@ class PuppeteerPool { }); // This one is done manually in Puppeteerpool.newPage() so that it happens immediately. // browser.on('targetcreated', () => instance.activePages++); - browser.on('targetdestroyed', (target) => { - // The event is ...
5
diff --git a/src/selectors/entities/posts.js b/src/selectors/entities/posts.js @@ -46,7 +46,7 @@ export const getPostsInCurrentChannel = createSelector( export function makeGetPostsInChannel() { return createSelector( getAllPosts, - (state, channelId) => state.entities.posts.postsInChannel[channelId], + (state, channel...
9
diff --git a/ui/component/publishFile/view.jsx b/ui/component/publishFile/view.jsx // @flow -import { SITE_NAME, WEB_PUBLISH_SIZE_LIMIT_GB } from 'config'; +import { SITE_NAME, WEB_PUBLISH_SIZE_LIMIT_GB, SIMPLE_SITE } from 'config'; import type { Node } from 'react'; import * as ICONS from 'constants/icons'; import Rea...
11
diff --git a/apps/viewer/uicallbacks.js b/apps/viewer/uicallbacks.js @@ -1112,7 +1112,7 @@ function anno_callback(data) { // Add new lines to notes to prevent overflow str = noteData.notes; var result_string = ''; - while (str.length > 0) { + while (typeof str==='string' && str.length > 0) { result_string += str.substr...
11
diff --git a/app/models/label/LabelTable.scala b/app/models/label/LabelTable.scala @@ -533,6 +533,13 @@ object LabelTable { | AND region.deleted = FALSE | AND region.region_type_id = 2 | AND label.label_type_id NOT IN (1,5,6) + | AND label.gsv_panorama_id NOT IN + | ( + | SELECT gsv_panorama_id + | FROM gsv_onboarding_...
3
diff --git a/articles/getting-started/dashboard-overview.md b/articles/getting-started/dashboard-overview.md @@ -11,7 +11,9 @@ The [dashboard](${manage_url}) is where you manage all aspects of your Auth0 acc It consists of several sections which you can navigate using the sidebar menu on your left. -The matrix that fol...
0
diff --git a/test/bench.js b/test/bench.js @@ -7,6 +7,12 @@ var i; var start; var itTook; +// warmup +console.log('Warming up...'); +for (i = 1; i <= 10; i++) { + new CleanCSS({ level: 2 }).minify(input); +} + for (level = 0; level < 3; level ++) { total = 0;
7
diff --git a/services/elasticsearch/k8s-entrypoint.sh b/services/elasticsearch/k8s-entrypoint.sh mkdir -p /secrets echo "create keystore" /usr/share/elasticsearch/bin/elasticsearch-keystore create + +# Do not run the following for-loop if /secrets is empty +shopt -s nullglob + for SECRETFILE in /secrets/*; do KEYNAME=$...
8
diff --git a/src/main/webapp/plugins/crossTable/plugin.js b/src/main/webapp/plugins/crossTable/plugin.js @@ -87,24 +87,16 @@ var crossTable = { this.selectDataNum(data, chartConfig.groups.length + 1, chartConfig, p_class); this.export(random); }, - paginationProcessData: function (data, num, pageDataNum) { - var length...
1
diff --git a/src/sdk/conference/conference.js b/src/sdk/conference/conference.js } }; if (options.resolution) { + subscriptionUpdateOptions.video.parameters = + subscriptionUpdateOptions.video.parameters || {}; if (typeof options.resolution === 'string') { subscriptionUpdateOptions.video.parameters.resolution = resolut...
1
diff --git a/contracts/swap/test/Swap-uint.js b/contracts/swap/test/Swap-uint.js @@ -14,6 +14,9 @@ const { orders, signatures } = require('@airswap/order-utils') contract('Swap Unit Tests', async accounts => { const mockMaker = accounts[9] const sender = accounts[0] + const r = web3.utils.asciiToHex('r') + const s = we...
12
diff --git a/packages/eslint-config/index.js b/packages/eslint-config/index.js @@ -16,10 +16,8 @@ module.exports = { 'import/prefer-default-export': 'off', 'import/no-extraneous-dependencies': ['error', { devDependencies: [ - '**/*.test.js', - '**/*.spec.js', - '**/*.stories.js', - '**/*.stories.options.js', + '**/test...
1
diff --git a/OpenRobertaServer/staticResources/js/app/roberta/controller/menu.controller.js b/OpenRobertaServer/staticResources/js/app/roberta/controller/menu.controller.js @@ -603,10 +603,17 @@ define([ 'exports', 'log', 'util', 'message', 'comm', 'robot.controller', 'socke } } }); - + var blocklyWidth = 0; $(window)....
1
diff --git a/js/views/modals/wallet/SpendConfirmBox.js b/js/views/modals/wallet/SpendConfirmBox.js @@ -47,16 +47,32 @@ export default class extends baseVw { } } + /** Records the event. If no origin was passed in nothing will be recorded. + * @param eventName(string) + * @paren opts(object) + */ + recordInternalEvent(e...
9
diff --git a/src/components/NotifyOnScrollThreshold.js b/src/components/NotifyOnScrollThreshold.js @@ -25,6 +25,13 @@ const NotifyOnScrollThreshold = React.createClass({ this._handleScroll = _throttle(this._handleScroll, 200); this.container.parentElement.addEventListener('scroll', this._handleScroll); + + if (this.con...
12
diff --git a/src/sass/variables.scss b/src/sass/variables.scss @@ -14,7 +14,7 @@ $v-off-black: #262424; $v-dark-gray: #445 !default; $v-mid-gray: #667 !default; $v-light-gray: #9b9bab !default; -$v-subtle-gray: darken(#ffffff, 5%) !default; +$v-subtle-gray: #fbfcff !default; $v-primary-color: #1e3186 !default; $v-secon...
12
diff --git a/src/client/js/components/Page/RevisionPath.jsx b/src/client/js/components/Page/RevisionPath.jsx @@ -3,6 +3,8 @@ import PropTypes from 'prop-types'; import { withTranslation } from 'react-i18next'; +import urljoin from 'url-join'; + import CopyDropdown from './CopyDropdown'; class RevisionPath extends React...
7
diff --git a/app/scripts/viewconfs.js b/app/scripts/viewconfs.js @@ -309,7 +309,7 @@ export const defaultViewConfig = { 0, 3100000000 ], - "autocompleteSource": "/api/v1/suggest/?d=dd&", + "autocompleteSource": "/api/v1/suggest/?d=OHJakQICQD6gTD7skx4EWA&", "genomePositionSearchBoxVisible": true, "chromInfoPath": "//s3....
4
diff --git a/common/app/routes/challenges/utils.js b/common/app/routes/challenges/utils.js @@ -46,16 +46,37 @@ export function createTests({ tests = [] }) { }); } +function logReplacer(value) { + if (Array.isArray(value)) { + const replaced = value.map(logReplacer); + return '[' + replaced.join(', ') + ']'; + } + if (t...
7
diff --git a/articles/libraries/lock/v11/migration-guide.md b/articles/libraries/lock/v11/migration-guide.md @@ -61,3 +61,19 @@ The `rememberLastLogin` flag was used to determine whether or not to show a scre This flag, alongside with the functionality, has been removed from Lock 11. If you are migrating to Lock 11 you...
0
diff --git a/app/workers/certificates.php b/app/workers/certificates.php @@ -8,6 +8,7 @@ use Utopia\CLI\Console; use Utopia\Database\Database; use Utopia\Database\Document; use Utopia\Database\DateTime; +use Utopia\Database\ID; use Utopia\Database\Query; use Utopia\Domains\Domain; @@ -100,8 +101,11 @@ class Certificate...
7
diff --git a/src/utils/wallet.js b/src/utils/wallet.js @@ -254,12 +254,19 @@ class Wallet { } async addAccessKey(accountId, contractId, publicKey) { + try { return await this.getAccount(accountId).addKey( publicKey, contractId, '', // methodName ACCESS_KEY_FUNDING_AMOUNT ) + } catch (e) { + if (e.type === 'AddKeyAlread...
9
diff --git a/src/viewer.js b/src/viewer.js @@ -1911,10 +1911,10 @@ $.extend( $.Viewer.prototype, $.EventSource.prototype, $.ControlDock.prototype, * all available options. * @param {OpenSeadragon.Point|OpenSeadragon.Rect} location - The point or * rectangle which will be overlaid. This is a viewport relative location. ...
3
diff --git a/src/screens/pinCode/container/pinCodeContainer.js b/src/screens/pinCode/container/pinCodeContainer.js @@ -135,7 +135,7 @@ class PinCodeContainer extends Component { //this function updates realm with appropriate master key required for encyrption //this function is important: must run while chaning pin //a...
13
diff --git a/articles/extensions/user-import-export.md b/articles/extensions/user-import-export.md @@ -27,3 +27,22 @@ To install this extension, click on **User Import / Export** in the list of prov The extension does not require any additional configuration before it can be installed, so click **Install** in the infor...
0
diff --git a/src/request-base.js b/src/request-base.js @@ -420,10 +420,11 @@ RequestBase.prototype.unset = function (field) { * * @param {String|Object} name name of field * @param {String|Blob|File|Buffer|fs.ReadStream} val value of field + * @param {String} options extra options, e.g. 'blob' * @return {Request} for c...
0
diff --git a/engine/core/IgeEntity.js b/engine/core/IgeEntity.js @@ -4273,14 +4273,11 @@ var IgeEntity = IgeObject.extend({ // this case is in igeEntity.js instead of item.js, because if it's in item.js, // we cannot prevent updating my own unit's isBeingUsed, and item._stats.isBeingUsed will be updated regardless. if ...
1
diff --git a/GroupCheck/1.2.2/GroupCheck.js b/GroupCheck/1.2.2/GroupCheck.js // GroupCheck version 1.2.2 -// Last Updated: 2017-02-01 +// Last Updated: 2017-02-02 // A script to roll checks for many tokens at once with one command. var groupCheck = groupCheck || (function() { 'use strict'; const version = '1.2.2', - st...
7
diff --git a/public/javascripts/SVLabel/src/SVLabel/data/Form.js b/public/javascripts/SVLabel/src/SVLabel/data/Form.js @@ -266,13 +266,14 @@ function Form (labelContainer, missionModel, missionContainer, navigationModel, // If a new mission was sent and we aren't in onboarding, create an object for it on the front-end....
3
diff --git a/articles/cross-origin-authentication/index.md b/articles/cross-origin-authentication/index.md @@ -86,100 +86,9 @@ See the [cross-origin auth sample](https://github.com/auth0/lock/blob/master/sup <%= include('../_includes/_co_authenticate_errors', { library : 'Auth0.js v9 (and Lock v11)'}) %> -## Browser Te...
2
diff --git a/src/main/assets/data/eth-tokens.json b/src/main/assets/data/eth-tokens.json "decimal": 18 }, { - "address": "0x4ad55f4f9cbeac1ad8ce76f358ba0c321c38508b", + "address": "0xcfec6722f119240b97effd5afe04c8a97caa02ee", "symbol": "KI", "decimal": 18 },
1
diff --git a/src/libs/NetworkConnection.js b/src/libs/NetworkConnection.js @@ -42,14 +42,18 @@ function setOfflineStatus(isCurrentlyOffline) { } // Update the offline status in response to changes in shouldForceOffline -let shouldForceOffline; +let shouldForceOffline = false; Onyx.connect({ key: ONYXKEYS.NETWORK, callb...
8
diff --git a/src/utils/detect-server.js b/src/utils/detect-server.js @@ -132,6 +132,7 @@ module.exports.serverSettings = async devConfig => { devConfig.urlRegexp || new RegExp(`(http://)([^:]+:)${devConfig.port}(/)?`, "g"); settings.urlRegexp = settings.urlRegexp || regexp; + settings.functionsPort = devConfig.function...
12
diff --git a/modules/@apostrophecms/page/ui/apos/components/AposPagesManager.vue b/modules/@apostrophecms/page/ui/apos/components/AposPagesManager.vue @@ -194,7 +194,11 @@ export default { body }); } catch (error) { - console.error('Page tree update error:', error); + await apos.notify('An error occurred while updating...
14
diff --git a/minimap.js b/minimap.js @@ -23,6 +23,7 @@ const localEuler = new THREE.Euler(); const localMatrix = new THREE.Matrix4(); const cameraHeight = 15; +const cameraSafetyFactor = 1; // 1 is safest (least glitching) const _waitForFrame = () => new Promise(accept => { requestAnimationFrame(() => {
0
diff --git a/customcommands/assets/customcommands-editcmd.html b/customcommands/assets/customcommands-editcmd.html {{.CC.LastError}}</code>{{else}}None{{end}}</p> <div class="row"> - <div class="col-md-4"> + <div class="col-auto"> <h4>Run count</h4> <p><code>{{.CC.RunCount}}</code></p> </div> + {{if or (eq .CC.TriggerT...
1
diff --git a/lib/Stats.js b/lib/Stats.js @@ -974,16 +974,22 @@ class Stats { } if (typeof obj.builtAt === "number") { const builtAtDate = new Date(obj.builtAt); + let timeZone = Intl.DateTimeFormat().resolvedOptions().timeZone; + // Force UTC if runtime timezone could not be detected. + if (!timeZone || timeZone.toLowe...
1
diff --git a/README.md b/README.md @@ -438,7 +438,9 @@ Embark includes a testing lib to fastly run & test your contracts in a EVM. # test/simple_storage_spec.js var assert = require('assert'); -var EmbarkSpec = require('embark/lib/core/test.js'); +var Embark = require('embark'); +var EmbarkSpec = Embark.initTests(); +v...
3