code
stringlengths
122
4.99k
label
int64
0
14
diff --git a/src/components/views/Messaging/index.js b/src/components/views/Messaging/index.js @@ -173,9 +173,11 @@ class Messaging extends Component { <div>{c.convo}</div> <div> <small> - {`${c.content.substr(0, 25)}${ + {c.content + ? `${c.content.substr(0, 25)}${ c.content.length > 25 ? "..." : "" - }`} + }` + : nul...
1
diff --git a/rendersettings-manager.js b/rendersettings-manager.js @@ -78,6 +78,16 @@ class RenderSettingsManager { } = (renderSettings ?? {}); localPostProcessing.setPasses(passes); } + push(srcScene, dstScene = srcScene) { + const renderSettings = this.findRenderSettings(srcScene); + // console.log('push render setti...
0
diff --git a/src/lib/urlHelper.js b/src/lib/urlHelper.js -import url from 'url'; import sanitizeFilename from 'sanitize-filename'; import { isString, escapeRegExp, flow, partialRight } from 'lodash'; @@ -58,31 +57,3 @@ export function sanitizeSlug(str, { replacement = '-' } = {}) { return normalizedSlug; } -export func...
2
diff --git a/src/commands/Silly/Echo.js b/src/commands/Silly/Echo.js @@ -19,13 +19,14 @@ class Echo extends Command { * Run the command * @param {Message} message Message with a command to handle, reply to, * or perform an action based on parameters. + * @param {Object} ctx command call context * @returns {string} succ...
2
diff --git a/packages/app/src/stores/ui.tsx b/packages/app/src/stores/ui.tsx @@ -12,7 +12,7 @@ import loggerFactory from '~/utils/logger'; import { useStaticSWR } from './use-static-swr'; import { useCurrentPagePath, useIsEditable, useIsPageExist, useIsTrashPage, useIsUserPage, - useIsNotCreatable, useIsSharedUser, use...
7
diff --git a/README.md b/README.md @@ -437,7 +437,7 @@ Additions to this document that are properly formatted will automatically be pus - [Persgroep, de](https://www.persgroep.nl/werken-bij-it) | Amsterdam, Netherlands | Tech interview (technical background and experiences) and culture fit, both on-site - [Phoodster](h...
14
diff --git a/src/GuildConfig.js b/src/GuildConfig.js @@ -111,11 +111,7 @@ class GuildConfig extends Config { * @return {String} */ listModRoles() { - let roles = ''; - for (let role of this.#modRoles) { - roles += `<@&${role}>, ` - } - return roles.length ? roles.substring(0, roles.length-2) : 'none'; + return this.#mo...
7
diff --git a/public/src/game/GameSettings.jsx b/public/src/game/GameSettings.jsx @@ -10,11 +10,11 @@ const GameSettings = () => ( <span> <Checkbox side="left" text="Show chat" link="chat" /> {!App.state.isSealed && - <Checkbox side="left" text="Beep on new packs" link="beep" /> + <Checkbox side="left" text="Enable noti...
7
diff --git a/ui/app/components/send/currency-display.js b/ui/app/components/send/currency-display.js @@ -98,9 +98,8 @@ CurrencyDisplay.prototype.handleChange = function (newVal) { CurrencyDisplay.prototype.getInputWidth = function (valueToRender, readOnly) { const valueString = String(valueToRender) const valueLength =...
7
diff --git a/metro/log-collector.js b/metro/log-collector.js @@ -44,7 +44,9 @@ module.exports = function logCollector () { if (end === true) { const accEntry = logs.get(id); - accEntry.level = LEVELS[accEntry.level]; + // rename level => levelname to avoid type clashing in ES + accEntry.levelname = LEVELS[accEntry.leve...
10
diff --git a/src/extensions/scratch3_boost/index.js b/src/extensions/scratch3_boost/index.js @@ -471,7 +471,7 @@ class BoostMotor { * @param {number} direction - rotate in this direction */ turnOnForDegrees (degrees, direction) { - if (this._power === 0) { + if (this.power === 0) { this.pendingPromiseFunction(); return...
4
diff --git a/website/riot/main.riot b/website/riot/main.riot }, needAuthorization(content, subPage){ - if(['e404', 'open-dict-list', 'dict-public', 'dict-public-entry', 'docs-intro', 'docs-about'].includes(content) + if(['e404', 'open-dict-list', 'dict-public', 'dict-public-entry', 'docs-intro', 'docs-about', 'api'].in...
11
diff --git a/userscript.user.js b/userscript.user.js @@ -374,7 +374,7 @@ var $$IMU_EXPORT$$; name: "Popup UI", description: "Enables a UI on top of the popup", requires: { - mouseover: true + mouseover_open_behavior: "popup" }, category: "popup" }, @@ -382,7 +382,6 @@ var $$IMU_EXPORT$$; name: "Popup UI opacity", descr...
7
diff --git a/vis/js/mediator.js b/vis/js/mediator.js @@ -191,11 +191,7 @@ MyMediator.prototype = { mediator.manager.call('io', 'setContext', [context, data.length]); mediator.manager.call('io', 'setInfo', [context]); - mediator.init_modern_frontend_intermediate(); - - if (config.is_streamgraph) { - mediator.manager.cal...
1
diff --git a/learn/configuration/typo_tolerance.md b/learn/configuration/typo_tolerance.md @@ -61,9 +61,15 @@ With the above settings, matches in the `title` attribute will not tolerate any ## Impact of typo tolerance on the `typo` ranking rule -The [`typo` ranking rule](/learn/core_concepts/relevancy.md#_2-typo) sorts...
7
diff --git a/src/content/developers/docs/gas/index.md b/src/content/developers/docs/gas/index.md @@ -73,8 +73,8 @@ The base fee is calculated by a formula that compares the size of the previous b | Block Number | Included Gas | Fee Increase | Current Base Fee | | ------------ | -----------: | -----------: | -----------...
13
diff --git a/src/physics/collision.js b/src/physics/collision.js @@ -322,7 +322,7 @@ var collision = { for (var i = candidates.length, objB; i--, (objB = candidates[i]);) { // fast AABB check if both bounding boxes are overlaping - if (objB.body && line.getBounds().overlaps(objB.body.getBounds())) { + if (objB.body && ...
1
diff --git a/includes/Modules/Site_Verification.php b/includes/Modules/Site_Verification.php @@ -32,16 +32,6 @@ use Exception; final class Site_Verification extends Module implements Module_With_Scopes { use Module_With_Scopes_Trait; - /** - * Temporary storage for very specific data for 'verification' datapoint. - * -...
2
diff --git a/assets/js/components/legacy-notifications/index.js b/assets/js/components/legacy-notifications/index.js @@ -31,7 +31,6 @@ import DashboardCoreSiteAlerts from './DashboardCoreSiteAlerts'; import DashboardSetupAlerts from './dashboard-setup-alerts'; import DashboardModulesAlerts from './dashboard-modules-ale...
2
diff --git a/test/browse.es b/test/browse.es @@ -23,7 +23,8 @@ module.exports = async function ( url = new URL ('https://snuggsi.com') ) { console.warn ('Browsing to', data (html)) void await (await browser.newPage ``) - .goto (url) + //.goto ( data (html) ) + .setContent ( html ) await browser.close `` }
12
diff --git a/.travis.yml b/.travis.yml @@ -10,8 +10,6 @@ matrix: - libxext-dev - libxss-dev - libxkbfile-dev - - os: osx - osx_image: xcode13.1 language: node_js @@ -23,6 +21,7 @@ before_script: script: - npm run test +- if [ "$TRAVIS_OS_NAME" = "linux" ]; npm config set python python3.10; fi - travis_wait 60 npm run b...
12
diff --git a/userscript.user.js b/userscript.user.js @@ -34443,16 +34443,44 @@ var $$IMU_EXPORT$$; // https://media.salon.com/2019/05/Game_Of_Thrones_Finale_Dany.jpg domain === "mediaproxy.salon.com") { // https://docs.cloudimage.io/go/cloudimage-documentation-v7/en/introduction (thanks to https://github.com/qsniyg/max...
7
diff --git a/__tests__/sliderStyles.test.js b/__tests__/sliderStyles.test.js @@ -2,7 +2,7 @@ import { mount } from 'enzyme' import assign from 'object-assign' import { getRequiredLazySlides } from '../src/utils/innerSliderUtils' import { createInnerSliderWrapper, clickNext, clickPrev, - tryAllConfigs, actualTrackLeft +...
0
diff --git a/Specs/Scene/Cesium3DTilesetSpec.js b/Specs/Scene/Cesium3DTilesetSpec.js @@ -2909,12 +2909,8 @@ describe( conditions: [["${id} > 0", 'color("black")']], }, }); - expect( - tileset.root.content.getFeature(0).hasProperty('color("white")') - ); - expect( - tileset.root.content.getFeature(1).hasProperty('color(...
13
diff --git a/generators/entity-client/templates/react/src/main/webapp/app/entities/entity.tsx.ejs b/generators/entity-client/templates/react/src/main/webapp/app/entities/entity.tsx.ejs @@ -106,7 +106,7 @@ export const <%= entityReactName %> = (props: I<%= entityReactName %>Props) => { <%_ } else { _%> props.getEntities...
1
diff --git a/site/tutorials/tutorial-two-javascript.md b/site/tutorials/tutorial-two-javascript.md @@ -82,7 +82,7 @@ var msg = process.argv.slice(2).join(' ') || "Hello World!"; channel.assertQueue(queue, { durable: true }); -channel.sendToQueue(queue, new Buffer(msg), { +channel.sendToQueue(queue, Buffer.from(msg), { ...
14
diff --git a/lib/pool.js b/lib/pool.js @@ -217,17 +217,10 @@ Pool.prototype.escapeId = function escapeId(value) { function spliceConnection(queue, connection) { var len = queue.length; - if (len) { - if (queue.get(len - 1) === connection) { - queue.pop(); - } else { - for (; --len; ) { - if (queue.get(0) === connection...
7
diff --git a/src/lib/gundb/UserStorage.js b/src/lib/gundb/UserStorage.js @@ -1144,8 +1144,8 @@ export class UserStorage { * @returns {Promise<boolean>|Promise<boolean>} */ async userAlreadyExist(): Promise<boolean> { - logger.debug('userAlreadyExist', this.profile, await this.profile) const profile = await this.profile...
2
diff --git a/includes/Modules/TagManager.php b/includes/Modules/TagManager.php @@ -32,16 +32,6 @@ final class TagManager extends Module implements Module_With_Scopes { const OPTION = 'googlesitekit_tagmanager_settings'; - /** - * Temporary storage for requested account ID while retrieving containers. - * - * Bad to hav...
2
diff --git a/src/common/i18n.js b/src/common/i18n.js import sha1 from 'sha1'; +import RenderHTML from 'react-render-html'; import zhTw from './translations/zh_TW/i10n.json'; import zhCn from './translations/zh_CN/i10n.json'; import it from './translations/it_IT/i10n.json'; @@ -11,7 +12,6 @@ import fr from './translatio...
3
diff --git a/packages/cx/src/widgets/form/variables.scss b/packages/cx/src/widgets/form/variables.scss @@ -316,7 +316,7 @@ $cx-dependencies: map-merge( "cx/widgets/NumberField": "cx/widgets/Field", "cx/widgets/MonthField": "cx/widgets/Field" "cx/widgets/MonthPicker" "cx/widgets/Dropdown", "cx/widgets/ColorField": "cx/w...
0
diff --git a/lib/shared/addon/components/cluster-driver/driver-amazoneks/component.js b/lib/shared/addon/components/cluster-driver/driver-amazoneks/component.js @@ -10,6 +10,7 @@ import { equal } from '@ember/object/computed'; import { inject as service } from '@ember/service'; import $ from 'jquery'; import { rcompare...
12
diff --git a/packages/wast-parser/src/tokenizer.js b/packages/wast-parser/src/tokenizer.js @@ -128,13 +128,13 @@ function tokenize(input: string) { /** * Can be used to look at the last few character(s). * - * The default behavior `lookback()` simply returns the last character. + * The default behavior `lookbehind()` s...
10
diff --git a/docs/deep/openapi.yml b/docs/deep/openapi.yml @@ -119,3 +119,58 @@ paths: type: string type: object + /tribes: + get: + tags: + - tribes + summary: Add a new channel for tribe in tribe server + description: Create new tribe text channel. + operationId: createChannel + responses: + '200': + content: + appli...
0
diff --git a/contracts/ERC20FeeToken.sol b/contracts/ERC20FeeToken.sol @@ -109,6 +109,14 @@ contract ERC20FeeToken is Owned, SafeDecimalMath { TransferFeeRateUpdate(newFeeRate); } + function setFeeAuthority(address newFeeAuthority) + public + onlyOwner + { + feeAuthority = newFeeAuthority; + FeeAuthorityUpdate(newFeeAu...
11
diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml @@ -6,7 +6,7 @@ name: Android release # events but only for the master branch on: push: - branches: [master, staging, next, 3493-code-push] + branches: [master, staging, next] pull_request: branches: [master] types:
2
diff --git a/weapons-manager.js b/weapons-manager.js @@ -1613,6 +1613,60 @@ renderer.domElement.addEventListener('drop', async e => { })); scene.add(cubeMesh); */ +const radius = 1/2; +const height = 1; +const halfHeight = height/2; +const cylinderMesh = new THREE.Mesh( + new THREE.CylinderBufferGeometry(radius, radius...
0
diff --git a/src/jspdf.js b/src/jspdf.js @@ -1634,25 +1634,25 @@ var jsPDF = (function(global) { out("/Resources " + page.resourceDictionaryObjId + " 0 R"); out( "/MediaBox [" + - parseFloat(f2(page.mediaBox.bottomLeftX)) + + parseFloat(hpf(page.mediaBox.bottomLeftX)) + " " + - parseFloat(f2(page.mediaBox.bottomLeftY))...
14
diff --git a/src/components/AppSwitch.js b/src/components/AppSwitch.js @@ -73,7 +73,13 @@ class AppSwitch extends React.Component<LoadingProps, {}> { if (jwt) { log.debug('New account, not verified, or did not finish signup', jwt) + + if (this.props.store.get('destinationPath') !== '') { + this.props.navigation.navigat...
9
diff --git a/src/connectors/joox.js b/src/connectors/joox.js const playerSelector = '.kIpMXu'; const artistSelector = `${playerSelector} .kOwKMw a`; +Connector.useMediaSessionApi(); + Connector.playerSelector = playerSelector; Connector.trackSelector = '.xXMwE'; @@ -14,4 +16,8 @@ Connector.getArtist = () => { return Ut...
7
diff --git a/src/core/Core.test.js b/src/core/Core.test.js @@ -534,7 +534,7 @@ describe('src/Core', () => { remote: '', size: 17175, source: 'jest', - type: { general: 'image', specific: 'jpeg' } + type: { general: 'image', specific: 'jpeg', mime: 'image/jpeg' } } expect(core.state.files[fileId]).toEqual(newFile) newFi...
0
diff --git a/src/DragAndDrop.jsx b/src/DragAndDrop.jsx @@ -139,20 +139,33 @@ const DragAndDrop = () => { } }, [canvasRef]); + const _currentFileClick = () => { + e.preventDefault(); + e.stopPropagation(); + }; const _drop = e => { + e.preventDefault(); + e.stopPropagation(); + console.log('drop', currentFile); }; const...
9
diff --git a/test/functional/specs/Command Logic/C2580.js b/test/functional/specs/Command Logic/C2580.js @@ -36,7 +36,7 @@ const getAlloyCommandQueueLength = ClientFunction(() => { return window.alloy.q.length; }); -test.only("C2580: Command queueing test.", async () => { +test("C2580: Command queueing test.", async ()...
2
diff --git a/modules/xerte/parent_templates/Nottingham/common_html5/css/mainStyles.css b/modules/xerte/parent_templates/Nottingham/common_html5/css/mainStyles.css @@ -972,6 +972,7 @@ a:focus .wcagLogo { } .audioTranscript .mejs-container .mejs-controls .audioTranscriptBtn button, #x_footerBlock .audioTranscript .mejs-c...
1
diff --git a/CHANGES.md b/CHANGES.md - Fixed a bug where updating `ModelExperimental`'s model matrix would not update its bounding sphere. [#10078](https://github.com/CesiumGS/cesium/pull/10078) - Fixed feature ID texture artifacts on Safari. [#10111](https://github.com/CesiumGS/cesium/pull/10111) - Fixed a bug where a...
3
diff --git a/tests/spec/functional.js b/tests/spec/functional.js @@ -210,24 +210,24 @@ describe('core', () => { const instance = tippy(el, { duration: 0, - show() { + onShow() { show = counter showThis = this === popper counter++ }, - shown() { + onShown() { shown = counter shownThis = this === popper counter++ instanc...
4
diff --git a/packages/cx/src/widgets/form/LookupField.js b/packages/cx/src/widgets/form/LookupField.js @@ -358,7 +358,10 @@ class LookupComponent extends VDOM.Component { onMeasureDropdownNaturalSize: () => { if (this.dom.dropdown && this.dom.list) { return { - height: this.dom.dropdown.offsetHeight + this.dom.list.scr...
7
diff --git a/articles/clients/enable-universal-links.md b/articles/clients/enable-universal-links.md @@ -34,3 +34,25 @@ Select the *Mobile Settings* tab and provide the **Team ID** and the **App bundl ![](/media/articles/applications/mobile-settings.png) Click **Save Changes** when done. + +## Test Your Universal Link ...
0
diff --git a/source/guides/testing-strategies/amazon-cognito-authentication.md b/source/guides/testing-strategies/amazon-cognito-authentication.md @@ -176,7 +176,7 @@ The {% url "runnable version of this test" https://github.com/cypress-io/cypress describe('Cognito', function () { beforeEach(function () { cy.task('db:s...
4
diff --git a/src/modules/Markers.js b/src/modules/Markers.js @@ -134,10 +134,12 @@ export default class Markers { let pStyle = this.getMarkerStyle(seriesIndex) let pSize = w.globals.markers.size[seriesIndex] + const m = w.config.markers + // discrete markers is an option where user can specify a particular marker with ...
11
diff --git a/spec/shape.coffee b/spec/shape.coffee @@ -768,7 +768,7 @@ describe 'Shape ->', -> spyOn byte, '_fillTransform' byte._draw() expect(byte._fillTransform).not.toHaveBeenCalled() - it 'should set transform if x changed #1', -> + it 'should set transform if x changed', -> byte = new Byte radius: 25, top: 10, x:...
10
diff --git a/docs/release.md b/docs/release.md @@ -8,8 +8,11 @@ To release the Zenko and Zenko-base ISOs: 2. Start a new promotion using the [Github Actions release workflow](https://github.com/scality/Zenko/actions/workflows/release.yaml) * Select the branch to release. * Specify the tag from the step 1 (e.g., `2.4.15...
7
diff --git a/.github/workflows/CI-CD.yml b/.github/workflows/CI-CD.yml @@ -50,17 +50,17 @@ jobs: needs: publish runs-on: ubuntu-latest steps: - - name: develop deploy - if: github.ref == 'refs/heads/develop' - uses: garygrossgarten/github-action-ssh@v0.6.4 - with: -# command: cd feathers-giveth-develop && git checkout ...
10
diff --git a/articles/connections/social/microsoft-account.md b/articles/connections/social/microsoft-account.md @@ -99,7 +99,3 @@ If you see the **It Works!** page, you have successfully configured your connect ![](/media/articles/connections/social/microsoft-account/ma-portal-9.png) <%= include('../_quickstart-links....
2
diff --git a/migrations/0025.sql b/migrations/0025.sql @@ -21,9 +21,9 @@ SELECT rp.id AS recipe_pos_id, rp.product_id AS product_id, rp.amount AS recipe_amount, - sc.amount AS stock_amount, + IFNULL(sc.amount, 0) AS stock_amount, CASE WHEN IFNULL(sc.amount, 0) >= rp.amount THEN 1 ELSE 0 END AS need_fulfilled, - CASE WH...
1
diff --git a/token-metadata/0x7dEe371A788f9BD6c546dF83F0d74fBe37cbf006/metadata.json b/token-metadata/0x7dEe371A788f9BD6c546dF83F0d74fBe37cbf006/metadata.json "symbol": "TECN", "address": "0x7dEe371A788f9BD6c546dF83F0d74fBe37cbf006", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED"...
3
diff --git a/README.md b/README.md @@ -52,9 +52,11 @@ For starter apps and templates, see [create-snowpack-app](./packages/create-snow ### Featured Community Plugins - [@prefresh/snowpack](https://github.com/JoviDeCroock/prefresh) +- [snowpack-plugin-imagemin](https://github.com/jaredLunde/snowpack-plugin-imagemin) Use...
0
diff --git a/modules/carto/src/layers/carto-layer.js b/modules/carto/src/layers/carto-layer.js @@ -126,7 +126,7 @@ export default class CartoLayer extends CompositeLayer { layer = GeoJsonLayer; } - const props = {...layer.defaultProps, ...this.props}; + const props = {...this.props}; delete props.data; // eslint-disabl...
2
diff --git a/app/partials/project-card.cjsx b/app/partials/project-card.cjsx @@ -25,7 +25,12 @@ ProjectCard = createReactClass if !!@props.imageSrc conditionalStyle.backgroundImage = "url('#{ @props.imageSrc }')" else if !!@props.project.avatar_src - conditionalStyle.backgroundImage = "url('//#{ @props.project.avatar_s...
9
diff --git a/articles/api-auth/tutorials/password-grant.md b/articles/api-auth/tutorials/password-grant.md @@ -59,6 +59,9 @@ The response from `/oauth/token` (if successful) contains an `access_token`, for In case the scopes issued to the client differ from the scopes requested, a `scope` parameter will be included in ...
0
diff --git a/src/workingtitle-vcockpits-instruments-cj4/html_ui/Pages/VCockpit/Instruments/Airliners/CJ4/PFD/CJ4_PFD.css b/src/workingtitle-vcockpits-instruments-cj4/html_ui/Pages/VCockpit/Instruments/Airliners/CJ4/PFD/CJ4_PFD.css @@ -678,3 +678,35 @@ cj4-pfd-element #Mainframe #NDMapOverlay #NDInfo #TopBox text.Wind {...
7
diff --git a/src/index.js b/src/index.js @@ -95,7 +95,7 @@ class Dayjs { const unit = Utils.prettyUnit(units) const instanceFactory = (d, m, y = this.$y) => { const ins = new Dayjs(new Date(y, m, d)) - return isStartOf ? ins : ins.endOf(this.$C.D) + return isStartOf ? ins : ins.endOf(C.D) } const instanceFactorySet = (...
2
diff --git a/projects/ngx-extended-pdf-viewer/src/lib/ngx-extended-pdf-viewer.component.ts b/projects/ngx-extended-pdf-viewer/src/lib/ngx-extended-pdf-viewer.component.ts @@ -1770,7 +1770,7 @@ export class NgxExtendedPdfViewerComponent implements OnInit, AfterViewInit, OnC } if ('scrollMode' in changes) { if (this.scro...
11
diff --git a/src/moments.js b/src/moments.js @@ -16,6 +16,7 @@ const THIS_YEAR = moment().year(); function validateMoment(moment: moment$Moment): moment$Moment { // This is a noop in production, for perf reasons + /* istanbul ignore if */ if (process.env.NODE_ENV === 'production') { return moment; }
8
diff --git a/lib/assets/core/javascripts/cartodb3/components/code-mirror/colorpicker.code-mirror.js b/lib/assets/core/javascripts/cartodb3/components/code-mirror/colorpicker.code-mirror.js @@ -28,7 +28,7 @@ module.exports = CoreView.extend({ this['_' + item] = opts[item]; }, this); - this._updateColors = _.debounce(thi...
1
diff --git a/src/components/AvatarCropModal/AvatarCropModal.js b/src/components/AvatarCropModal/AvatarCropModal.js @@ -60,18 +60,23 @@ const AvatarCropModal = memo((props) => { const containerSize = props.isSmallScreenWidth ? Math.min(props.windowWidth, 500) - 40 : variables.sideBarWidth - 40; const sliderLineWidth = c...
7
diff --git a/articles/architecture-scenarios/application/spa-api/index.md b/articles/architecture-scenarios/application/spa-api/index.md @@ -37,6 +37,8 @@ ExampleCo wants to build a flexible solution. At the moment only a SPA is requir It is required that only authorized users and applications are allowed access to the...
0
diff --git a/README.md b/README.md @@ -79,17 +79,39 @@ Note: <script src="node_modules/angular-patternfly/node_modules/patternfly/node_modules/c3/c3.min.js"></script> <script src="node_modules/angular-patternfly/node_modules/patternfly/node_modules/d3/d3.min.js"></script> -5. (optional) The 'patternfly.charts' and 'pat...
3
diff --git a/app/models/visualization/member.rb b/app/models/visualization/member.rb @@ -933,10 +933,14 @@ module CartoDB end def remove_layers_from(table) - related_layers_from(table).each { |layer| + related_layers_from(table).each do |layer| + # Using delete to avoid hooks, as they generate a conflict between ORMs a...
2
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md # Contributing -Thanks for your interest in contributing! Please see our [developer documentation](../docs/index.md) for more information. +Thanks for your interest in contributing! Please see our [developer documentation](https://github.com/adobe/alloy/wik...
3
diff --git a/package.json b/package.json "test": "npm run lint && jest", "test-watch": "npm run lint && jest --onlyChanged --watch", "prepublishOnly": "npm test && npm run build", - "postpublish": "git push origin main --follow-tags" + "postversion": "git push origin main --follow-tags" }, "repository": { "type": "git"...
4
diff --git a/docs/en/edu/dream/dream1-3.md b/docs/en/edu/dream/dream1-3.md @@ -54,7 +54,7 @@ This is included in ROBOTIS DREAM Level 1. | 6. Electric Guitar<br />![](/assets/images/edu/dream/dream1-3_guitar.jpg) | [Download][ex_06] | | 7. Flag Game Robot<br />![](/assets/images/edu/dream/dream1-3_flaggame.jpg) | [Downl...
13
diff --git a/packages/build/tests/helpers/main.js b/packages/build/tests/helpers/main.js @@ -123,19 +123,25 @@ const removeDir = async function(dir) { // Create a temporary directory with a `.git` directory, which can be used as // the current directory of a build. Otherwise the `git` utility does not load. -const crea...
7
diff --git a/packages/menu/src/presenters/MenuPresenter.js b/packages/menu/src/presenters/MenuPresenter.js @@ -57,7 +57,7 @@ const MenuPresenter = (props) => { ? { ...(getHighlightIndex() !== 0 && { "aria-activedescendant": - getOptionsInfo()[getHighlightIndex() - 1].id, + getOptionsInfo()?.[getHighlightIndex() - 1]?.i...
1
diff --git a/.eslintrc.json b/.eslintrc.json "sort-vars": 2, "comma-dangle": [2, "never"], "no-console": 0, + "quotes": [2, "single", { "avoidEscape": true }], "no-unused-vars" : [2, { "args": "none" }], "react/jsx-equals-spacing": ["warn", "never"], "react/jsx-no-duplicate-props": ["warn", { "ignoreCase": true }],
12
diff --git a/src/cn.js b/src/cn.js @@ -228,10 +228,10 @@ D.cn=_=>{ //set up Connect page q.cln.disabled=!u;q.del.disabled=!$sel.length;q.rhs.hidden=!u sel=u?$sel[0].cnData:null if(u){ - q.type.value=sel.type||'connect';updFormDtl();updExes() - q.fav_name.value=sel.name||'' $(':text[name],textarea[name]',q.rhs).each((_,...
12
diff --git a/edit.js b/edit.js @@ -865,11 +865,13 @@ let buildMode = null; let stairsMesh = null; let platformMesh = null; let wallMesh = null; +let spikesMesh = null; let woodMesh = null; let stoneMesh = null; let metalMesh = null; (async () => { const buildModels = await _loadGltf('./build.glb'); + stairsMesh = build...
0
diff --git a/src/sections/Community/Handbook/contributing.js b/src/sections/Community/Handbook/contributing.js @@ -3,9 +3,9 @@ import { Container } from "../../../reusecore/Layout"; import { HandbookWrapper } from "./Handbook.style"; import TOC from "../../../components/handbook-navigation/index"; import Code from "../...
7
diff --git a/app/components/member/New.js b/app/components/member/New.js @@ -5,6 +5,7 @@ import shallowCompare from 'react-addons-shallow-compare'; import Button from '../shared/Button'; import FormCheckbox from '../shared/FormCheckbox'; +import FormRadioGroup from '../shared/FormRadioGroup'; import FormTextarea from '...
4
diff --git a/sirepo/package_data/static/js/radia.js b/sirepo/package_data/static/js/radia.js @@ -32,6 +32,7 @@ SIREPO.app.factory('radiaService', function(appState, fileUpload, panelState, re }; self.isEditing = false; + self.objBounds = null; self.pointFieldTypes = appState.enumVals('FieldType').slice(1); self.selecte...
12
diff --git a/src/components/map/MapboxGlMap.jsx b/src/components/map/MapboxGlMap.jsx @@ -124,6 +124,7 @@ export default class MapboxGlMap extends React.Component { container: this.container, style: this.props.mapStyle, hash: true, + maxZoom: 24 } const map = new MapboxGl.Map(mapOpts);
12
diff --git a/src/js/controllers/tab-send.js b/src/js/controllers/tab-send.js @@ -189,6 +189,13 @@ angular.module('copayApp.controllers').controller('tabSendController', function( //Error is already formated return popupService.showAlert(err); } + + if (item.recipientType && item.recipientType == 'contact') { + if (addr...
1
diff --git a/.travis.yml b/.travis.yml @@ -54,11 +54,7 @@ matrix: - npm run test-admin env: - JOB=unit_tests_node_4 -# - node_js: '0.12' -# script: -# - npm run test-admin -# env: -# - JOB=unit_tests_node_0.12 + before_script: - sleep 15 @@ -68,7 +64,9 @@ script: sudo: required notifications: email: - - chris.troutner@...
3
diff --git a/core/type_infer.js b/core/type_infer.js 'use strict'; goog.provide('Blockly.TypeInfer'); -goog.provide('Blockly.TypeInfer.Exp'); +goog.provide('Blockly.TypeInfer.Ast'); goog.require('goog.asserts'); /** * @constructor */ -Blockly.TypeInfer.Exp = function() { +Blockly.TypeInfer.Ast = function() { };
10
diff --git a/app/controllers/home_controller.rb b/app/controllers/home_controller.rb @@ -25,11 +25,21 @@ class HomeController < ApplicationController @show_bulletin = true end end - @sign_in_strategy = params.key?(:auth0) ? 'AUTH0' : 'DEVISE' + @sign_in_strategy = sign_in_strategy render 'landing' end end + private def...
12
diff --git a/package.json b/package.json { "name": "cesium", - "version": "1.98.0", + "version": "1.98.1", "description": "CesiumJS is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin.", "homepage": "http://cesium.com/cesiumjs/", "license": "Apache-2.0",
3
diff --git a/app/scripts/controllers/transactions.js b/app/scripts/controllers/transactions.js @@ -25,7 +25,7 @@ module.exports = class TransactionController extends EventEmitter { this.query = opts.ethQuery this.txProviderUtils = new TxProviderUtil(this.query) this.blockTracker.on('block', this.checkForTxInBlock.bind(...
10
diff --git a/package.json b/package.json { "name": "minimap", "main": "./lib/main", - "version": "4.29.8", + "version": "4.29.9", "private": true, "description": "A preview of the full source code.", "author": "Fangdun Cai <cfddream@gmail.com>",
6
diff --git a/package.json b/package.json "cookie-parser": "^1.4.3", "corser": "~2.0.0", "couchdb-calculate-session-id": "^1.1.0", - "couchdb-harness": "*", "couchdb-log-parse": "^0.0.4", "crypto-lite": "^0.1.0", "denodeify": "^1.2.1", }, "devDependencies": { "assert": "^1.4.1", + "couchdb-harness": "*", "bluebird": "^3...
5
diff --git a/spark/manifests/spark/package.json b/spark/manifests/spark/package.json { "name": "@sparkdesignsystem/spark", - "version": "12.1.1", + "version": "12.2.0", "description": "Spark is the main package for the Spark Design System. This package contains the style and components that make up the basic interfaces...
3
diff --git a/app/src/config.ts b/app/src/config.ts @@ -757,7 +757,7 @@ let config: any = {}; let configError = ''; // Load config from window object -if (typeof window !== 'undefined') +if (typeof window !== 'undefined' && (window as any).config !== undefined) { configSchema.load((window as any).config); }
9
diff --git a/token-metadata/0x3AeF8e803BD9be47e69b9f36487748d30D940b96/metadata.json b/token-metadata/0x3AeF8e803BD9be47e69b9f36487748d30D940b96/metadata.json "symbol": "VESTA", "address": "0x3AeF8e803BD9be47e69b9f36487748d30D940b96", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED...
3
diff --git a/lib/plugins/create/create.js b/lib/plugins/create/create.js @@ -72,10 +72,24 @@ const validTemplates = [ 'hello-world', ]; -const humanReadableTemplateList = `${validTemplates - .slice(0, -1) - .map(template => `"${template}"`) - .join(', ')} and "${validTemplates.slice(-1)}"`; +const humanReadableTemplate...
7
diff --git a/handlebars/encounters.hbs b/handlebars/encounters.hbs <label class="encounter-config"><input {{#if this.isChecked}}checked{{/if}} type="checkbox" name="encounter-import-policy-{{this.name}}" data-section="{{this.name}}" id="encounter-import-policy-{{this.name}}" - {{#if this.enabled}}enabled{{else}}disable...
7
diff --git a/assets/src/edit-story/components/header/buttons.js b/assets/src/edit-story/components/header/buttons.js @@ -140,7 +140,7 @@ function PreviewButton() { return ( <> <Outline onClick={openPreviewLink} isDisabled={isSaving}> - {__('Preview', 'web-stories')} + {__('Save & Preview', 'web-stories')} </Outline> <D...
10
diff --git a/src/injected.js b/src/injected.js @@ -603,7 +603,11 @@ var comm = { ]; comm.forEach(require, function (key) { var script = data.require[key]; - script && code.push(script + ';'); + if (script) { + code.push(script); + // Add `;` to a new line in case script ends with comment lines + code.push(';'); + } });...
1
diff --git a/package.json b/package.json "node-sass": "^4.5.3", "sass-loader": "^6.0.6", "sequelize-cli": "3", - "sqlite3": "^3.1.13", + "sqlite3": "^4.0.2", "style-loader": "0.19", "webpack": "^3.0.0", "webpack-dev-server": "^2.5.0"
3
diff --git a/polyfills/Intl/ListFormat/config.toml b/polyfills/Intl/ListFormat/config.toml @@ -12,7 +12,7 @@ repo = "https://github.com/formatjs/formatjs/tree/master/packages/intl-listforma docs = "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/listformat" notes = [ "Locales must be sp...
3
diff --git a/.github/ISSUE_TEMPLATE b/.github/ISSUE_TEMPLATE **Organics hook version** _(sails-hook-organics)_: **Grunt hook version** _(sails-hook-grunt)_: **Uploads hook version** _(sails-hook-uploads)_: -**DB adapter & version** _(e.g. sails-mysql@^5.55.5)_: -**Skipper adapter & version** _(e.g. skipper-s3@^5.55.5)_...
4
diff --git a/camera-manager.js b/camera-manager.js @@ -43,7 +43,9 @@ const requestPointerLock = () => new Promise((accept, reject) => { document.removeEventListener('pointerlockerror', _pointerlockerror); }; const renderer = getRenderer(); - renderer.domElement.requestPointerLock(); + renderer.domElement.requestPointer...
0