code
stringlengths
122
4.99k
label
int64
0
14
diff --git a/app/shared/components/Wallet/Panel/Button/Broadcast.js b/app/shared/components/Wallet/Panel/Button/Broadcast.js @@ -15,17 +15,23 @@ class WalletPanelButtonBroadcast extends Component<Props> { t, transaction } = this.props; + let { + button + } = this.props; + if (!button) { + button = { + color: 'purple', ...
11
diff --git a/src/components/inspectors/advancedAccordionConfig.js b/src/components/inspectors/advancedAccordionConfig.js @@ -8,7 +8,7 @@ export default { initiallyOpen: false, label: 'Advanced', icon: 'cogs', - name: 'inspector-accordion', + name: 'advanced-accordion', }, items: [ {
10
diff --git a/modules/site/parent_templates/site/common/js/application.js b/modules/site/parent_templates/site/common/js/application.js @@ -856,17 +856,13 @@ function parseContent(pageIndex, checkSection){ } //add the section header - var extraTitle = authorSupport == true && $(this).attr('hidePageInfo') != undefined &&...
7
diff --git a/src/Document.js b/src/Document.js @@ -197,7 +197,7 @@ function initDocument (document, window) { window.dispatchEvent(new Event('load', {target: window})); const displays = window.navigator.getVRDisplaysSync(); - if (displays.length > 0) { + if (displays.length > 0 && !['all', 'webvr'].includes(GlobalConte...
5
diff --git a/sirepo/package_data/static/js/sirepo-plotting.js b/sirepo/package_data/static/js/sirepo-plotting.js @@ -575,8 +575,8 @@ function plotAxis(margin, dimension, orientation, refresh, utilities) { else { tickCount = Math.min(MAX_TICKS, Math.round(canvasSize.height / (5 * FONT_SIZE))); } - format = d3.format(cal...
7
diff --git a/js/browser.js b/js/browser.js @@ -1435,7 +1435,7 @@ var igv = (function (igv) { const loci = string.split(' ') - const genomicStateList = await createGenomicStateList(loci) + let genomicStateList = await createGenomicStateList(loci) if (genomicStateList.length > 0) { @@ -1448,7 +1448,12 @@ var igv = (funct...
11
diff --git a/src/components/FormEdit.jsx b/src/components/FormEdit.jsx @@ -53,11 +53,11 @@ const FormEdit = (props) => { const formChange = (newForm) => dispatchFormAction({type: 'formChange', value: newForm}); - const {saveText, options, builder} = props; + const {saveText, options, builder,ref} = props; return ( <div...
0
diff --git a/index.html b/index.html </a> <span class='tb_sep'></span> <a href=# class='tb_btn tb_LN' title='Toggle line numbers'> - <span class="fa-layers"> - <span class="fal fa-align-justify" data-fa-transform="shrink-3 right-2"></span> - <span class="fa-layers-text" data-fa-transform="shrink-10 left-8 up-6" style="...
14
diff --git a/packages/neutrine/src/layout/appside/style.scss b/packages/neutrine/src/layout/appside/style.scss //Import dependencies @import "@siimple/css/scss/variables.scss"; -//Neutrine toolbar style -.neutrine-toolbar { +//Neutrine appside style +.neutrine-appside { display: block; position: fixed; width: calc(260p...
10
diff --git a/src/lib/urlHelper.js b/src/lib/urlHelper.js @@ -43,7 +43,7 @@ export function sanitizeIRI(str, { replacement = "" } = {}) { return result; } -export function sanitizeSlug(str, { replacement = '-' }) { +export function sanitizeSlug(str, { replacement = '-' } = {}) { if (!isString(str)) throw "`sanitizeSlug`...
11
diff --git a/tests/schemas/upgrade.schema.json b/tests/schemas/upgrade.schema.json }, "minrange": { "type": "integer", - "minimum": 1, + "minimum": 0, "maximum": 5 }, "maxrange": {
11
diff --git a/docs/Air.md b/docs/Air.md @@ -241,7 +241,6 @@ If the PNR contains no active segments it could not be imported into uAPI. Thus ## .getUniversalRecord(params) <a name="getUniversalRecord"></a> -> May require Terminal access enabled in uAPI. See [TerminalService](Terminal.md) This method returns an array of a...
3
diff --git a/src/components/LoginCodeForm.js b/src/components/LoginCodeForm.js @@ -26,8 +26,9 @@ const InnerForm = ({ }) => ( <form onSubmit={handleSubmit}> <Field - label="Login code" + label="We just sent a login code to that address. Once you get it, please check your inbox." name="login_code" + p="Paste your login ...
7
diff --git a/src/e2e/desktop.spec.ts b/src/e2e/desktop.spec.ts @@ -30,6 +30,8 @@ import path from 'path'; import neatCSV from 'neat-csv'; import stripBom from 'strip-bom'; +// Only executed in headed mode +if (Cypress.browser.isHeaded) { describe('Desktop interface', () => { /** * Layout tests @@ -111,18 +113,6 @@ desc...
8
diff --git a/src/video/webgl/webgl_renderer.js b/src/video/webgl/webgl_renderer.js this.compositor.reset(); this.gl.disable(this.gl.SCISSOR_TEST); this.createFillTexture(this.cache); + if (typeof this.fontContext2D !== "undefined" ) { + this.createFontTexture(this.cache); + } + }, /** * @ignore */ createFontTexture : f...
1
diff --git a/website_code/php/templates/new_template.php b/website_code/php/templates/new_template.php @@ -34,6 +34,10 @@ require_once("../user_library.php"); require_once("../template_library.php"); require_once("../file_library.php"); +if(empty($_SESSION['toolkits_logon_id'])) { + die("Please login"); +} + /* * get t...
1
diff --git a/PostTimelineFilters.user.js b/PostTimelineFilters.user.js // @description Inserts several filter options for post timelines // @homepage https://github.com/samliew/SO-mod-userscripts // @author @samliew -// @version 1.17.1 +// @version 1.17.2 // // @include https://*stackoverflow.com/* // @include https://...
2
diff --git a/src/lib/download-blob.js b/src/lib/download-blob.js @@ -8,11 +8,23 @@ export default (filename, blob) => { return; } + if ('download' in HTMLAnchorElement.prototype) { const url = window.URL.createObjectURL(blob); downloadLink.href = url; downloadLink.download = filename; downloadLink.type = blob.type; dow...
11
diff --git a/assets/src/edit-story/components/panels/pageAttachment/index.js b/assets/src/edit-story/components/panels/pageAttachment/index.js @@ -48,6 +48,7 @@ function PageAttachmentPanel() { const { pageAttachment = {} } = currentPage; const defaultCTA = __('Learn more', 'web-stories'); const { url, ctaText = defaul...
7
diff --git a/lib/Common/Memory/Recycler.cpp b/lib/Common/Memory/Recycler.cpp @@ -4788,7 +4788,36 @@ bool Recycler::AbortConcurrent(bool restoreState) { this->ResetMarkCollectionState(); } - //TODO:akatti: Do we need to handle the CollectionStateConcurrentSweepPass1Wait state and finish ConcurrentSweep here?? +#if ENABL...
9
diff --git a/website/package.json b/website/package.json { "dependencies": { - "cookie-parser": "^1.4.3", - "ejs": "^2.5.7", - "express": "^4.16.3", + "cookie-parser": "^1.4.4", + "ejs": "^2.6.1", + "express": "^4.16.4", "fs-extra": "^5.0.0", - "jsonwebtoken": "^8.2.2", - "libxslt": "https://github.com/alexdee2007/node...
3
diff --git a/src/matrix/e2ee/RoomEncryption.js b/src/matrix/e2ee/RoomEncryption.js @@ -182,9 +182,7 @@ export class RoomEncryption { log.set("id", sessionId); log.set("senderKey", senderKey); try { - const session = await this._sessionBackup.getSession(this._room.id, sessionId, log); - if (session?.algorithm === MEGOLM...
5
diff --git a/packages/gatsby-source-filesystem/src/create-remote-file-node.js b/packages/gatsby-source-filesystem/src/create-remote-file-node.js @@ -26,9 +26,14 @@ module.exports = ({ url, store, cache, createNode, auth = {} }) => // See if there's response headers for this url // from a previous request. const cachedH...
7
diff --git a/js/models/searchSamples.js b/js/models/searchSamples.js @@ -47,7 +47,7 @@ var tol = 0.01; var near = _.curry((x, y) => (x === null || y === null) ? y === x : Math.abs(x - y) < tol); var searchFloat = _.curry((dataField, cmp, ctx, search, data) => { - var values = _.getIn(data, [dataField, 'values']), + var...
9
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml @@ -111,10 +111,10 @@ jobs: client-payload: '{}' - name: 'Trigger Netlify deployment' - uses: jasongitmail/fast-webhook@v1 - with: - url: ${{ secrets.NETLIFY_BOXDEV_WEBHOOK }} - json: '{}' + uses: joelwmale/webhook-action@master + env: + WEBHOOK_URL: ${{ ...
14
diff --git a/examples/peer/test/Peer.js b/examples/peer/test/Peer.js @@ -54,7 +54,6 @@ contract('Peer', async accounts => { alicePeer = await Peer.new(swapAddress, aliceAddress, { from: aliceAddress, }) - await alicePeer.setSwapContract(swapAddress) }) })
2
diff --git a/site/upgrade.md b/site/upgrade.md @@ -673,7 +673,7 @@ on how to upgrade RabbitMQ. topology that are relevant. This data will help verify that the system operates within reasonable parameters after the upgrade. - Use [node health checks](https://rabbitmq.com/monitoring.html#health-checks) to + Use [node hea...
4
diff --git a/packages/frontend/src/utils/wallet.js b/packages/frontend/src/utils/wallet.js @@ -1042,6 +1042,7 @@ class Wallet { } else { const lastAccount = accountIdsError.reverse().find((account) => account.error.type === 'LackBalanceForState'); if (lastAccount) { + this.accountId = localStorage.getItem(KEY_ACTIVE_AC...
12
diff --git a/src/lib/login/checkAuthStatus.js b/src/lib/login/checkAuthStatus.js @@ -5,19 +5,21 @@ import goodWalletLogin from '../login/GoodWalletLogin' import logger from '../logger/pino-logger' import API from '../API/api' import GDStore from '../undux/GDStore' - +import userStorage from '../gundb/UserStorage' const...
0
diff --git a/app/src/js/components/notifs/notifs.js b/app/src/js/components/notifs/notifs.js @@ -12,7 +12,6 @@ class Notifs extends Component { notifTimestamp: 1, active: false, firstFetch: true, - sort: false, }; } componentDidMount() { @@ -23,11 +22,6 @@ class Notifs extends Component { */ const { fetchNotifs } = thi...
13
diff --git a/src/components/editgrid/EditGrid.js b/src/components/editgrid/EditGrid.js @@ -894,7 +894,7 @@ export default class EditGridComponent extends NestedArrayComponent { } } // If this is a dirty check, and any rows are still editing, we need to throw validation error. - rowsEditing |= (dirty && this.isOpen(edit...
5
diff --git a/src/session_pool/session.js b/src/session_pool/session.js @@ -182,7 +182,7 @@ export class Session { /** * Retires session based on status code. * @param statusCode {Number} - HTTP status code - * @return {boolean} - whether the session was retired + * @return {boolean} whether the session was retired. */ ...
7
diff --git a/src/modules/default/index.js b/src/modules/default/index.js @@ -82,16 +82,20 @@ export function setup(api) { log('exec => mup setup'); const config = api.getConfig(); - return docker.setup(api).then(() => { + return docker + .setup(api) + .then(meteor.setup.bind(null, api)) + .then(() => { if (config.mongo...
12
diff --git a/templates/master/default-settings.js b/templates/master/default-settings.js @@ -19,7 +19,7 @@ var default_settings = { ERRORMESSAGE: "Unfortunately I encountered an error when searching for your answer. Please ask me again later.", EMPTYMESSAGE: "You stumped me! Sadly I don't know how to answer your questi...
3
diff --git a/articles/quickstart/native/android/03-session-handling.md b/articles/quickstart/native/android/03-session-handling.md @@ -199,7 +199,7 @@ private void logout() { Depending on the way you store users' credentials, you delete them differently. ::: -### Optional: Encapsulate Session Handling +## Optional: Enc...
3
diff --git a/app/builtin-pages/views/workspaces.js b/app/builtin-pages/views/workspaces.js @@ -84,15 +84,15 @@ function renderTabs () { return yo` <div class="tabs"> <div onclick=${e => onChangeTab('revisions')} class="tab ${activeTab === 'revisions' ? 'active' : ''}"> - <span class="icon revisions">${'</>'}</i> + <i c...
4
diff --git a/bids-validator/tests/env/ExamplesEnvironmentWeb.js b/bids-validator/tests/env/ExamplesEnvironmentWeb.js @@ -3,7 +3,7 @@ const JsdomEnvironment = require('jest-environment-jsdom-global') const loadExamples = require('./load-examples.js') // Environment which includes the bids-examples datasets -class Exampl...
4
diff --git a/package.json b/package.json "@babel/preset-env": "^7.12.1", "babel-loader": "^8.1.0", "copy-webpack-plugin": "^6.3.0", + "eslint": "7.11.0", "eslint-config-prettier": "6.12.0", "eslint-plugin-import": "2.22.1", - "eslint": "7.11.0", "globby": "^11.0.1", "prettier": "2.1.2", + "webpack": "4.44.2", "webpack-...
14
diff --git a/build/build.py b/build/build.py @@ -50,6 +50,8 @@ import compiler import shakaBuildHelpers +shaka_version = shakaBuildHelpers.calculate_version() + common_closure_opts = [ '--language_out', 'ECMASCRIPT3', @@ -74,6 +76,7 @@ common_closure_defines = [ '-D', 'goog.STRICT_MODE_COMPATIBLE=true', '-D', 'goog.ENA...
1
diff --git a/src/utils/query-config.js b/src/utils/query-config.js @@ -28,7 +28,7 @@ const markdownQueryConfig = [ { section: `concepts`, indexName: `concept`, - niceName: `Core Concepts`, + niceName: `Concepts`, }, { section: `setup`,
10
diff --git a/app/authenticated/prefs/template.hbs b/app/authenticated/prefs/template.hbs {{settings/theme-toggle}} <hr class="mt-20 mb-20" /> {{settings/table-rows}} - <hr class="mt-20 mb-20" /> - {{settings/landing-page}} </div> <div class="col offset-1-of-23 span-11-of-23 mt-0 mb-0"> <h2>
2
diff --git a/package.json b/package.json { "name": "prettier-atom", "main": "./dist/main.js", - "version": "0.52.0", + "version": "0.53.0", "description": "Atom plugin for formatting JavaScript using prettier with (optional) prettier-eslint integration", "keywords": [ "atom",
6
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml @@ -34,7 +34,7 @@ jobs: tar xf mongodb-linux-x86_64-${{ matrix.mongo-os }}-${{ matrix.mongo }}.tgz mkdir -p ./data/db/27017 ./data/db/27000 printf "\n--timeout 8000" >> ./test/mocha.opts - ./mongodb-linux-x86_64-${{ matrix.mongo-os }}-${{ matrix.mongo...
12
diff --git a/lib/assets/core/javascripts/cartodb3/components/form-components/editors/select/select-list-view.js b/lib/assets/core/javascripts/cartodb3/components/form-components/editors/select/select-list-view.js @@ -111,7 +111,7 @@ module.exports = CoreView.extend({ this._dropdownOverlay = new DropdownOverlayView({ co...
12
diff --git a/examples/website/trips/README.md b/examples/website/trips/README.md -This is a minimal standalone version of the TripsLayer example +This is a minimal standalone version of the [TripsLayer example](https://deck.gl/#/examples/custom-layers/trip-routes) on [deck.gl](http://deck.gl) website. ### Usage @@ -10,...
1
diff --git a/articles/connections/enterprise/azure-active-directory/v2/index.md b/articles/connections/enterprise/azure-active-directory/v2/index.md @@ -125,7 +125,7 @@ Create and configure an Azure AD Enterprise Connection in Auth0. Make sure you h | **Identity API** | API used by Auth0 to interact with Azure AD endpo...
2
diff --git a/src/containers/FlightDirector/SimulatorConfig/index.js b/src/containers/FlightDirector/SimulatorConfig/index.js @@ -311,7 +311,9 @@ class ConfigComponentData extends React.PureComponent { <ConfigComponent Comp={Comp} subscribe={subscribeToMore} - selectedSimulator={data.simulators[0]} + selectedSimulator={...
7
diff --git a/src/lib/core.d.ts b/src/lib/core.d.ts @@ -545,7 +545,7 @@ export default class SunEditor { core: Core; util: Util; - onload: EventFn; + onload: (core: Core, reload: boolean) => void; onScroll: EventFn; onMouseDown: EventFn; onClick: EventFn;
1
diff --git a/commands/mute.js b/commands/mute.js @@ -52,7 +52,7 @@ command.execute = async (message, args, database, bot) => { //highest role check if(member && (message.member.roles.highest.comparePositionTo(message.guild.members.resolve(userId).roles.highest) <= 0 || await util.isMod(member))) { await message.react(u...
7
diff --git a/src/og/cons.js b/src/og/cons.js @@ -64,7 +64,7 @@ export class Cons { d.classList.add("ogConsole-text"); d.classList.add("ogConsole-error"); d.innerHTML = "error: " + str; - console.log(d.innerHTML); + console.trace(d.innerHTML); this._container.appendChild(d); this.show(); } @@ -79,7 +79,7 @@ export class...
0
diff --git a/packages/swagger2openapi/common.js b/packages/swagger2openapi/common.js @@ -73,7 +73,7 @@ function readFileAsync(filename, encoding) { function resolveExternal(root, pointer, options, callback) { var u = url.parse(options.source); - var base = options.source.split('/'); + var base = options.source.split('\...
11
diff --git a/assets/js/modules/tagmanager/setup.js b/assets/js/modules/tagmanager/setup.js @@ -211,10 +211,9 @@ class TagmanagerSetup extends Component { try { const { selectedAccount, - usageContext, } = this.state; - const accounts = await data.get( TYPE_MODULES, 'tagmanager', 'accounts', { usageContext } ); + const ...
2
diff --git a/lib/determine-basal/determine-basal.js b/lib/determine-basal/determine-basal.js @@ -823,6 +823,12 @@ var determine_basal = function determine_basal(glucose_status, currenttemp, iob_ rT.duration = durationReq; return rT; } + + // if insulinReq is negative, snoozeBG > target_bg, and lastCOBpredBG > target_bg...
12
diff --git a/src/content/developers/docs/apis/javascript/index.md b/src/content/developers/docs/apis/javascript/index.md @@ -268,6 +268,11 @@ ethers.utils.formatEther(balance) - [Documentation](https://docs.alchemyapi.io/documentation/alchemy-web3) - [GitHub](https://github.com/alchemyplatform/alchemy-web3) +**Alchemy ...
5
diff --git a/docs/setup/README.md b/docs/setup/README.md @@ -97,11 +97,11 @@ services: restart: always ports: # Public HTTP Port: - - '8080:80' + - '80:80' # Public HTTPS Port: - - '4443:443' + - '443:443' # Admin Web Port: - - '8181:81' + - '81:81' environment: # These are the settings to access your db DB_MYSQL_HOST:...
12
diff --git a/etc/encoded-apache.conf b/etc/encoded-apache.conf @@ -201,7 +201,6 @@ RewriteRule ^/ENCODE/otherTerms$ /help/getting-started/? [last,redirect=pe RewriteRule ^/ENCODE/integrativeAnalysis/VM$ http://encodedcc.stanford.edu/ftp/encodevm/? [last,redirect=permanent] RewriteRule ^/ENCODE/dataStandards$ /data-stan...
2
diff --git a/articles/api/authentication/_login.md b/articles/api/authentication/_login.md @@ -404,8 +404,10 @@ Use this endpoint for API-based (active) authentication. Given the user credenti | `username` <br/><span class="label label-danger">Required</span> | Username/email of the user to login | | `password` <br/><s...
0
diff --git a/web/app/stores/MarketsStore.js b/web/app/stores/MarketsStore.js @@ -993,8 +993,9 @@ class MarketsStore { asset_id: invert ? last.key.base : last.key.quote } } : null; - - if (!volumeBase) { + volumeBase = utils.get_asset_amount(volumeBase, baseAsset); + volumeQuote = utils.get_asset_amount(volumeQuote, quo...
7
diff --git a/app/views/main.scala.html b/app/views/main.scala.html <script src='@routes.Assets.at("javascripts/lib/leaflet-omnivore.min.js")'></script> <script src='@routes.Assets.at("javascripts/lib/js.cookie.js")'></script> <script type="text/javascript" - src="https://maps.googleapis.com/maps/api/js?v=quarterly&key=...
14
diff --git a/README.md b/README.md @@ -1083,9 +1083,8 @@ predicate][type-predicates], then this will be reflected in the return type, too <i>Decoder&lt;T&gt;</i> [&lt;&gt;](https://github.com/nvie/decoders/blob/main/src/core/describe.js 'Source')<br /> -Defers to the given decoder, but when a decoding error happens, re...
7
diff --git a/src/handler-runner/createHandler.js b/src/handler-runner/createHandler.js @@ -26,7 +26,7 @@ module.exports = function createHandler(funOptions, options) { keys(require.cache).forEach((key) => { // Require cache invalidation, brutal and fragile. // Might cause errors, if so please submit an issue. - if (!ke...
2
diff --git a/PostHeadersQuestionToc.user.js b/PostHeadersQuestionToc.user.js // @description Sticky post headers while you view each post (helps for long posts). Question ToC of Answers in sidebar. // @homepage https://github.com/samliew/SO-mod-userscripts // @author @samliew -// @version 2.8.3 +// @version 2.8.4 // //...
4
diff --git a/Canvas.js b/Canvas.js @@ -188,42 +188,63 @@ function newCanvas () { function onKeyDown (event) { if (event.altKey === true && event.code === 'ArrowUp') { thisObject.cockpitSpace.toTop() + return } if (event.altKey === true && event.code === 'ArrowDown') { thisObject.cockpitSpace.toBottom() + return } if (e...
12
diff --git a/tests/test_ExternStateFeeToken.py b/tests/test_ExternStateFeeToken.py @@ -37,7 +37,7 @@ class TestExternStateFeeToken(unittest.TestCase): remappings=['""=contracts']) cls.feetoken_abi = cls.compiled['ExternStateFeeToken']['abi'] cls.feetoken_event_dict = generate_topic_event_map(cls.feetoken_abi) - cls.fee...
2
diff --git a/examples/customize-footer/CustomFooter.js b/examples/customize-footer/CustomFooter.js @@ -4,17 +4,7 @@ import TableRow from "@material-ui/core/TableRow"; import TableCell from "@material-ui/core/TableCell"; import { withStyles } from "@material-ui/core/styles"; -const defaultToolbarSelectStyles = { - iconB...
3
diff --git a/.circleci/config.yml b/.circleci/config.yml @@ -108,8 +108,9 @@ workflows: requires: - backend-tests - frontend-tests - nightly: + jobs: + - security-checks triggers: - schedule: cron: "0 0 * * *" @@ -117,6 +118,3 @@ workflows: branches: only: - master \ No newline at end of file - jobs: - - security-check...
0
diff --git a/layouts/partials/head.html b/layouts/partials/head.html {{- with .favicon_svg }} <link rel="icon" type="image/svg+xml" href="{{ . | relLangURL }}"> {{- end -}} + + {{ if and (not .favicon) (not .favicon_png) (not .favicon_svg) }} + <link rel="icon" type="image/svg+xml" href="favicon.svg"> + {{ end }} {{- e...
0
diff --git a/docs/documentation/Configuration/Project-Options.md b/docs/documentation/Configuration/Project-Options.md @@ -7,7 +7,7 @@ The following options control the branding, navigation and default export settin The name of the KeystoneJS application -<h4 data-primitive-type="String"><code>name</code></h4> +<h4 dat...
1
diff --git a/app/pages/project/project-navbar.jsx b/app/pages/project/project-navbar.jsx @@ -36,8 +36,9 @@ function HomeTab({ project, projectPath, translation, onClick, children }) { } function AboutTab({ project, projectPath, onClick}) { - if (!project.redirect) { return ( + project.redirect ? + null : <Link to={`${p...
1
diff --git a/appjs/working.js b/appjs/working.js @@ -23,6 +23,7 @@ $("#clock").click(function(){ closenav(); clearall(); }); + $("#wag").click(function () { openit("#wags"); closenav(); @@ -33,6 +34,7 @@ $("#midrangebtn").click(function () { closenav(); clearall(); }); + $("#utc").click(function(){ openit("#utcs"); clo...
1
diff --git a/src/controllers/contacts.ts b/src/controllers/contacts.ts @@ -10,7 +10,7 @@ import constants from '../constants' import * as tribes from '../utils/tribes' import * as network from '../network' import { isProxy, generateNewExternalUser } from '../utils/proxy' -import { logging } from '../utils/logger' +impo...
3
diff --git a/templates/examples/examples/examples/ConditionalChainingDemo.json b/templates/examples/examples/examples/ConditionalChainingDemo.json ] }, { - "args": [ - "" - ], - "next": "", + "qid": "32.chaining.demo.Over60", "a": "{{SessionAttributes.demo.name.FirstName}}, since you are over 60 let me recommend the mo...
3
diff --git a/scripts/package.js b/scripts/package.js @@ -4,8 +4,8 @@ import fs from 'fs' import path from 'path' import { rollup } from 'rollup' import babel from 'rollup-plugin-babel' -import resolve from 'rollup-plugin-node-resolve' import commonjs from 'rollup-plugin-commonjs' +import resolve from 'rollup-plugin-nod...
7
diff --git a/src/components/views/LongRangeComm/core.js b/src/components/views/LongRangeComm/core.js @@ -83,6 +83,13 @@ class LRCommCore extends Component { : "" }`} onClick={() => this.setState({ selectedMessage: m.id })} + title={`${m.sent === true ? "Sent" : ""} ${ + m.deleted === true ? "Deleted" : "" + } ${ + m.ap...
7
diff --git a/package.json b/package.json "description": "A library for cryptocurrency trading and e-commerce with support for many bitcoin/ether/altcoin exchange markets and merchant APIs", "main": "build/ccxt.es5.js", "unpkg": "build/ccxt.browser.js", + "engines" : { "node" : ">=7.6.0" }, "repository": { "type": "git"...
12
diff --git a/src/layers/core/hexagon-layer/hexagon-layer.js b/src/layers/core/hexagon-layer/hexagon-layer.js @@ -108,7 +108,7 @@ export default class HexagonLayer extends Layer { } renderLayers() { - const {id, radius, elevationScale, extruded, fp64} = this.props; + const {id, radius, elevationScale, extruded, coverage...
1
diff --git a/node/lib/cmd/checkout.js b/node/lib/cmd/checkout.js @@ -157,8 +157,9 @@ exports.executeableSubcommand = co.wrap(function *(args) { files); // If we're going to check out files, just do that - if (Object.keys(op.resolvedPaths).length !== 0) { - yield Checkout.checkoutFiles(repo, op.commit, op.resolvedPaths)...
9
diff --git a/ot-node.js b/ot-node.js @@ -43,10 +43,11 @@ class OTNode { await this.saveNetworkModulePeerIdAndPrivKey(); await this.createProfiles(); - await this.initializeControllers(); await this.initializeCommandExecutor(); await this.initializeTelemetryInjectionService(); + await this.initializeControllers(); + thi...
3
diff --git a/userscript.user.js b/userscript.user.js @@ -1749,7 +1749,7 @@ var $$IMU_EXPORT$$; // http://image.news1.kr/system/photos/2014/8/22/985836/original.jpg // http://image.news1.kr/system/photos/2018/6/15/3162887/high.jpg -- 1400x1867 // http://image.news1.kr/system/photos/2018/6/15/3162887/original.jpg -- 1500...
7
diff --git a/js/appSelector.js b/js/appSelector.js @@ -103,8 +103,13 @@ var ammedWidthSelector = createFmapSelector( var index = state => ({...state, index: indexSelector(state)}); var avg = state => ({...state, data: mergeKeys(state.data, avgSelector(state))}); -var match = state => _.Let((m = matchSelector(state), hl...
9
diff --git a/packages/jaeger-ui/src/model/ddg/GraphModel/index.tsx b/packages/jaeger-ui/src/model/ddg/GraphModel/index.tsx @@ -107,55 +107,6 @@ export default class GraphModel { Object.freeze(this.visIdxToPathElem); } - // // This function assumes the density is set to PPE with distinct operations - // // It is a class...
2
diff --git a/token-metadata/0xEDD7c94FD7B4971b916d15067Bc454b9E1bAD980/metadata.json b/token-metadata/0xEDD7c94FD7B4971b916d15067Bc454b9E1bAD980/metadata.json "symbol": "ZIPT", "address": "0xEDD7c94FD7B4971b916d15067Bc454b9E1bAD980", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED"...
3
diff --git a/articles/email/templates.md b/articles/email/templates.md @@ -139,7 +139,9 @@ For example, you can refer to attributes in the template to control flow as foll #### Using Markdown Syntax -> Use of Markdown in email templates has been deprecated, so you will no longer be able to add new Markdown formatting. ...
14
diff --git a/assets/js/components/legacy-notifications/notification.js b/assets/js/components/legacy-notifications/notification.js @@ -188,7 +188,7 @@ function Notification( { if ( 'win-warning' === type ) { icon = <Warning width={ 34 } />; } else if ( 'win-error' === type ) { - icon = <Error width={ 34 } />; + icon = ...
12
diff --git a/src/libs/actions/IOU.js b/src/libs/actions/IOU.js @@ -16,7 +16,12 @@ function getPreferredCurrency() { }, 1600); } -function setNewIOUReportObjects(reportIds) { +/** + * @param {Array} reportIds + * @returns {Promise} + * Gets the IOU Reports for new transaction + */ +function getIOUReportsForNewTransactio...
12
diff --git a/angular/projects/spark-angular/src/lib/components/sprk-masthead/sprk-masthead.interfaces.ts b/angular/projects/spark-angular/src/lib/components/sprk-masthead/sprk-masthead.interfaces.ts @@ -12,9 +12,6 @@ export interface ISprkBigNavLink { text: string; /** * The `href` value for the link. - * If omitted, t...
3
diff --git a/constants.js b/constants.js @@ -2,11 +2,11 @@ export const baseUnit = 4; export const previewExt = 'jpg'; export const rarityColors = { - common: [0xCACACA, 0x7B7B7B], - uncommon: [0x80cf3f, 0x3a7913], - rare: [0x2fd5e8, 0x1258a2], - epic: [0xbd3ffa, 0x460d7f], - legendary: [0xfdae53, 0xff7605], + common: ...
3
diff --git a/src/snapshot/filesaver.js b/src/snapshot/filesaver.js @@ -49,6 +49,13 @@ function fileSaver(url, name, format) { return resolve(name); } + // Older versions of Safari did not allow downloading of blob urls + if(Lib.isSafari()) { + var prefix = format === 'svg' ? ',' : ';base64,'; + helpers.octetStream(pref...
0
diff --git a/src/js/core.js b/src/js/core.js @@ -1315,7 +1315,7 @@ s.touchEvents = { // WP8 Touch Events Fix if (window.navigator.pointerEnabled || window.navigator.msPointerEnabled) { - (s.params.touchEventsTarget === 'container' ? s.container : s.wrapper).addClass('swiper-wp8-' + s.params.direction); + (s.params.touc...
4
diff --git a/src/utils/fullScreenWidthPixels.js b/src/utils/fullScreenWidthPixels.js import devicePixelRatio from "./devicePixelRatio"; +const SSR_FALLBACK_WIDTH_PX = 945; + function fullScreenWidthPixels() { + if (typeof window === "undefined") { + return SSR_FALLBACK_WIDTH_PX; + } + const screenWidth = window.screen....
12
diff --git a/sirepo/pkcli/job_cmd.py b/sirepo/pkcli/job_cmd.py @@ -32,6 +32,8 @@ def default_command(in_file): Returns: str: json output of command, e.g. status msg """ + r = None + try: f = pkio.py_path(in_file) msg = pkjson.load_any(f) #TODO(e-carlin): find common place to serialize/deserialize paths @@ -43,10 +45,14...
9
diff --git a/fileserver/client.js b/fileserver/client.js @@ -13,11 +13,15 @@ let basedir=path.resolve(__dirname, '../web/images/'); console.log('Base dir=',basedir); -let p=async function() { +let test_fn=async function(address) { let client=new BisFileServerClient(WebSocket); - await client.authenticate(); + try { + a...
11
diff --git a/iris/mutations/community/pinThread.js b/iris/mutations/community/pinThread.js @@ -29,7 +29,7 @@ export default async ( getThreads([threadId]), ]); - if (!permissions.isOwner) { + if (!permissions.isOwner && !permissions.isModerator) { return new UserError("You don't have permission to do this."); }
11
diff --git a/lib/documents.js b/lib/documents.js @@ -2983,9 +2983,9 @@ function readAllDocumentsErrorHandle(jobState, batchdef, readBatchArray, readerI errorDisposition = err; } if(errorDisposition instanceof Error){ - jobState.docsFailedToBeWritten += readBatchArray.length; + jobState.docsFailedToBeRead += readBatchAr...
1
diff --git a/test/integration/migrate/index.js b/test/integration/migrate/index.js @@ -410,7 +410,8 @@ module.exports = function(knex) { // Map the table names to promises that evaluate chai expectations to // confirm that the table exists and the 'id' and 'name' columns exist // within the table - return Bluebird.map(...
14
diff --git a/src/assets/drizzle/scripts/pagination/long.js b/src/assets/drizzle/scripts/pagination/long.js * These identify the previous and next links in the pagination components. */ import { updatePageStyles } from './default'; -import { pagination } from '../../../../../packages/spark-core/components/pagination'; +...
4
diff --git a/src/widgets/histogram/chart.js b/src/widgets/histogram/chart.js @@ -228,6 +228,8 @@ module.exports = cdb.core.View.extend({ var loBarIndex = this.model.get('lo_index'); var hiBarIndex = this.model.get('hi_index'); this.selectRange(loBarIndex, hiBarIndex); + this._updateAxisTip('left'); + this._updateAxisTi...
7
diff --git a/includes/Modules/Analytics.php b/includes/Modules/Analytics.php @@ -262,11 +262,6 @@ final class Analytics extends Module $gtag_opt = array(); - $amp_client_id_optin = $this->get_data( 'amp-client-id-opt-in' ); - if ( ! is_wp_error( $amp_client_id_optin ) && $amp_client_id_optin ) { - $gtag_opt['useAmpClie...
2
diff --git a/client/src/stores/initApp.js b/client/src/stores/initApp.js @@ -3,6 +3,7 @@ import message from '../common/message'; import { refreshAppContext } from './config'; import fetchJson from '../utilities/fetch-json'; import sortBy from 'lodash/sortBy'; +const queryString = require('query-string'); window.localf...
11
diff --git a/packages/lib/src/settings/options/layoutParams_info_sizeUnits.js b/packages/lib/src/settings/options/layoutParams_info_sizeUnits.js import { INPUT_TYPES } from '../utils/constants'; import { default as GALLERY_CONSTS } from '../../common/constants'; import { createOptions } from '../utils/utils'; -import w...
2