code
stringlengths
122
4.99k
label
int64
0
14
diff --git a/src/scss/tippy.scss b/src/scss/tippy.scss &[data-inertia] { &[data-state='visible'] { - transition-timing-function: cubic-bezier(0.53, 2, 0.36, 0.85); + transition-timing-function: cubic-bezier(0.54, 1.5, 0.38, 1.11); } &[data-state='hidden'] { transition-timing-function: ease;
7
diff --git a/README.md b/README.md @@ -61,7 +61,7 @@ Or you can use the hosted version on [jsDelivr](https://www.jsdelivr.com/project <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/siimple@VERSION/dist/siimple.min.css"> ``` -Guides and reference are published in [https://www.siimple.xyz/documentation](https:...
1
diff --git a/src/encoded/schemas/library.json b/src/encoded/schemas/library.json "XXXenum": [ "gel", "see document", - "SPRI beads" + "SPRI beads", + "Agencourt AMPure XP" ], "format": "semi-controlled" },
0
diff --git a/generators/server/templates/build.gradle.ejs b/generators/server/templates/build.gradle.ejs @@ -576,14 +576,10 @@ task webapp_test(type: NpmTask, dependsOn: "npm_install") { } if (project.hasProperty("nodeInstall")) { - // Workaround node grade plugin not working on apple silicon https://github.com/node-gr...
14
diff --git a/packages/component-library/src/LineChart/LineChart.js b/packages/component-library/src/LineChart/LineChart.js @@ -166,9 +166,9 @@ LineChart.propTypes = { PropTypes.shape({ x: PropTypes.number, y: PropTypes.number }) ), dataKey: PropTypes.string, - dataKeyLabel: PropTypes.arrayOf(PropTypes.string), + dataKe...
3
diff --git a/src/Powercord/plugins/pc-spotify/style.scss b/src/Powercord/plugins/pc-spotify/style.scss -.pc-channels .pc-flex + .pc-container { - position: relative; - bottom: -9px; -} - -.pc-container .pc-container:last-of-type { - bottom: 0; -} - .pc-app .pc-listeningAlong { - background-color: #2b2c31; margin: 0; pa...
7
diff --git a/userscript.user.js b/userscript.user.js @@ -96020,7 +96020,12 @@ var $$IMU_EXPORT$$; // https://zozo.jp/shop/zozomarket/goods/54947341/?did=91253776&rid=1523 // https://c.imgz.jp/341/55947341/55947341b_b_68_35.jpg // https://c.imgz.jp/341/55947341/55947341b_b_68_500.jpg - return src.replace(/_[1-4]?[0-9]{2...
7
diff --git a/src/ApiGateway.js b/src/ApiGateway.js @@ -215,7 +215,13 @@ module.exports = class ApiGateway { vision, { plugin: hapiSwagger, - // options: swaggerOptions, + options: { + info: { + title: 'API Gateway documentation', + // TODO file bug, version information can't be omitted + version: '0.0.0', // TEMP + }, ...
0
diff --git a/token-metadata/0xfc82bb4ba86045Af6F327323a46E80412b91b27d/metadata.json b/token-metadata/0xfc82bb4ba86045Af6F327323a46E80412b91b27d/metadata.json "symbol": "PROM", "address": "0xfc82bb4ba86045Af6F327323a46E80412b91b27d", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED"...
3
diff --git a/native/calendar/calendar.react.js b/native/calendar/calendar.react.js @@ -504,17 +504,6 @@ class InnerCalendar extends React.PureComponent { return [curItemIndex, curSectionIndex, currentScrollPosition - curPosition]; } - initialScrollIndex = () => { - const data = this.state.sectionListDataWithHeights; - ...
2
diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt @@ -61,9 +61,6 @@ SET (BISWEB_PYTHON_REQUIREMENTS ${BISWEBPYTHON_SOURCE_DIR}/config/requirements.t SET (BISWEB_PYTHON_MANIFEST ${BISWEBPYTHON_SOURCE_DIR}/config/MANIFEST.in) SET (BISWEBPYTHON_MODULE_LIST_FILENAME ${BISWEBPYTHON_SOURCE_DIR}/modules/PythonModuleList.tx...
2
diff --git a/config/initializers/mime_types.rb b/config/initializers/mime_types.rb @@ -8,4 +8,3 @@ Mime::Type.register "application/vnd.google-earth.kml+xml", :kmz Mime::Type.register "application/octet-stream", :shp #sent as zip Mime::Type.register "application/octet-stream", :sql #sent as zip Mime::Type.register "ima...
2
diff --git a/admin-base/ui.apps/src/main/js/stateActions/deleteAsset.js b/admin-base/ui.apps/src/main/js/stateActions/deleteAsset.js @@ -30,6 +30,7 @@ import {set} from '../utils' export default function(me, target) { log.fine('deleteAsset',target) + me.getNodeFromView('/state/tools').asset = null var api = me.getApi()...
12
diff --git a/plugins/plugin-vue/plugin.js b/plugins/plugin-vue/plugin.js @@ -48,6 +48,7 @@ module.exports = function plugin(snowpackConfig, pluginOptions = {}) { const {optionsApi = true, prodDevtools = false} = pluginOptions; packageOptions.rollup.plugins.push( replace({ + preventAssignment: false, values: { __VUE_OPT...
12
diff --git a/js/gateio.js b/js/gateio.js @@ -90,7 +90,6 @@ module.exports = class gateio extends Exchange { '{settle}/insurance': 1.5, '{settle}/contract_stats': 1.5, '{settle}/liq_orders': 1.5, - '{settle}/price_orders/{order_id}': 1.5, }, }, 'delivery': { @@ -102,13 +101,6 @@ module.exports = class gateio extends Exc...
1
diff --git a/www/Common.js b/www/Common.js @@ -219,7 +219,7 @@ function getAllChildren(root) { } var ignoreTags = ["pre", "textarea", - "p", "form", "input", "table", "caption", "canvas", + "p", "form", "input", "table", "caption", "canvas", "svg", "ion-content", "ion-app", "ion-nav"]; var list;
8
diff --git a/appveyor.yml b/appveyor.yml @@ -8,8 +8,9 @@ environment: - nodejs_version: "8" - nodejs_version: "10" - nodejs_version: "11" + - nodejs_version: "12" install: - - ps: Install-Product node $env:nodejs_version x64 + - ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version) x64 - npm install...
0
diff --git a/server/game/cards/04.5-GoH/ThePrincesPass.js b/server/game/cards/04.5-GoH/ThePrincesPass.js @@ -22,6 +22,8 @@ class ThePrincesPass extends DrawCard { this.game.addMessage('{0} kneels {1} to remove {2} {3} icon from {4}', this.controller, this, icon === 'intrigue' ? 'an' : 'a', icon, this.targetCharacter); ...
1
diff --git a/test/service-broker.spec.js b/test/service-broker.spec.js @@ -653,7 +653,7 @@ describe("Test middleware system with SYNC break", () => { }); let master = jest.fn(() => { - return new Promise((resolve, reject) => { + return new Promise((resolve) => { flow.push("MASTER"); resolve({ user: "icebob" }); }); @@ ...
9
diff --git a/packages/sync-actions/src/utils/copy-empty-array-props.js b/packages/sync-actions/src/utils/copy-empty-array-props.js /** * @function copyEmptyArrayProps - * @description Takes two objects and if there is Array props in oldObj which doesnt exist in newObj then it Copy name with empty value + * @description...
1
diff --git a/src/js/core.js b/src/js/core.js @@ -2165,7 +2165,7 @@ Tabulator.prototype.helpers = { }, deepClone: function(obj){ - var clone = Array.isArray(obj) ? [] : {}; + var clone = Object.assign(Array.isArray(obj) ? [] : {}, obj); for(var i in obj) { if(obj[i] != null && typeof(obj[i]) === "object"){ @@ -2175,9 +2...
7
diff --git a/test-complete/nodejs-documents-metadata-values.js b/test-complete/nodejs-documents-metadata-values.js @@ -281,6 +281,58 @@ describe('Document Metadata values test', function() { }, done); }); + it('TEST 17 - write and read xml formatted properties in json', function(done) { + var docuri = '/test/query/matc...
0
diff --git a/package.json b/package.json { "name": "cytoscape", - "version": "3.0.0", + "version": "3.2.0-unstable", "license": "MIT", "description": "Graph theory (a.k.a. network) library for analysis and visualisation", "homepage": "http://js.cytoscape.org",
12
diff --git a/docs/docs.md b/docs/docs.md @@ -477,10 +477,10 @@ Any files stored in `/images` by the app inside the docker container will persis ### Private Docker Registry -Mup uploads the app's bundle and builds a docker image (when prepare bundle is enabled) on each server, which is slow when there are many servers. ...
7
diff --git a/src/pages/strategy/tabs/expcalc/expcalc.js b/src/pages/strategy/tabs/expcalc/expcalc.js // figure out a list of possible goal levels in ascending order. // a goal level might be remodel level or 99 (can be married) / 165 (full exp) var possibleNextLevels = RemodelDb.nextLevels( masterId ); - setAdd(possibl...
14
diff --git a/Readme.md b/Readme.md # OONI Probe Desktop -**Attention** This is under heavy development and should only be run and used -by OONI developers. Use at your own risk and if you do use it, you may have to -do some cleanup when we release the first public release of OONI Probe. - This is the desktop implementa...
2
diff --git a/src/components/dashboard/Rewards.js b/src/components/dashboard/Rewards.js @@ -5,7 +5,7 @@ import { isNil } from 'lodash' import { Iframe } from '../webView/iframe' -import { useDialog } from '../../lib/undux/utils/dialog' +import { useDialog, useErrorDialog } from '../../lib/undux/utils/dialog' import useL...
0
diff --git a/test/routes/v2-launchpad.test.js b/test/routes/v2-launchpad.test.js @@ -12,8 +12,8 @@ beforeAll((done) => { // Launchpads V2 //------------------------------------------------------------ -test('It should return all launchpads', () => { - return request(app).get('/v2/launchpads').then((response) => { +test...
3
diff --git a/src/reducers/account/index.js b/src/reducers/account/index.js @@ -7,13 +7,14 @@ import { clearCode, promptTwoFactor, refreshUrl, - refreshAccount, + refreshAccountOwner, resetAccounts, checkCanEnableTwoFactor, get2faMethod, getLedgerKey, updateStakingAccount, - updateStakingLockup + updateStakingLockup, + ...
9
diff --git a/Source/Scene/Camera.js b/Source/Scene/Camera.js @@ -2985,10 +2985,12 @@ Camera.prototype.getPickRay = function (windowPosition, result) { } const canvas = this._scene.canvas; - const frustum = this.frustum; if (canvas.clientWidth <= 0 || canvas.clientHeight <= 0) { return undefined; - } else if ( + } + + c...
3
diff --git a/js/background.js b/js/background.js @@ -242,7 +242,7 @@ function blockTrackers(tabId, url) { function get_json() { var xobj = new XMLHttpRequest(); xobj.overrideMimeType("application/json"); - xobj.open('GET', 'trackers.json', true); + xobj.open('GET', 'js/trackers.json', true); xobj.onreadystatechange = f...
3
diff --git a/src/pipeline.cc b/src/pipeline.cc #elif defined(__APPLE__) #define STAT64_STRUCT stat #define STAT64_FUNCTION stat +#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__DragonFly__) +#define STAT64_STRUCT stat +#define STAT64_FUNCTION stat #else #define STAT64_STRUCT stat6...
11
diff --git a/packages/cx/src/widgets/form/LookupField.js b/packages/cx/src/widgets/form/LookupField.js @@ -53,6 +53,7 @@ export class LookupField extends Field { icon: undefined, autoOpen: undefined, readOnly: undefined, + filterParams: { structured: true }, }, additionalAttributes, ...arguments @@ -130,6 +131,12 @@ ex...
0
diff --git a/closure/goog/locale/locale.js b/closure/goog/locale/locale.js @@ -81,8 +81,8 @@ goog.locale.Resource = { // e.g. en-Latn-GB // // NOTICE: -// No special format checking is performed. If you pass a none valid -// language code as parameter to the following functions, +// No special format checking is perfor...
1
diff --git a/src/react/projects/spark-core-react/src/index.js b/src/react/projects/spark-core-react/src/index.js export { default as SparkButton } from './SparkButton/SparkButton'; export { default as SprkLink } from './SprkLink/SprkLink'; +export { default as SprkDividers } from './SprkDividers/SprkDividers';
3
diff --git a/assets/js/components/wp-dashboard/WPDashboardPopularPages.js b/assets/js/components/wp-dashboard/WPDashboardPopularPages.js @@ -113,12 +113,8 @@ export default function WPDashboardPopularPages( props ) { return <WidgetReportZero moduleSlug="analytics" />; } - // Skip rendering the table if there are no row...
14
diff --git a/src/pages/TargetPage/ClassicAssociationsTable.js b/src/pages/TargetPage/ClassicAssociationsTable.js @@ -11,13 +11,18 @@ const TARGET_ASSOCIATIONS_QUERY = gql` query TargetAssociationsQuery($ensemblId: String!, $page: Pagination!) { target(ensemblId: $ensemblId) { associatedDiseases(page: $page) { - score -...
4
diff --git a/source/setup/components/ArchiveTypeChooser.js b/source/setup/components/ArchiveTypeChooser.js @@ -19,16 +19,6 @@ export const ARCHIVE_TYPES = [ title: "Google Drive", image: require("../../../resources/providers/googledrive-256.png") }, - { - type: "owncloud", - title: "ownCloud", - image: require("../../....
2
diff --git a/components/Search/index.js b/components/Search/index.js @@ -52,7 +52,10 @@ class Search extends Component { this.loadFilters = debounce(() => { this.setState({ - filters: DEFAULT_FILTERS, + filters: + this.state.filterQuery !== this.state.searchQuery + ? DEFAULT_FILTERS + : this.state.filters, filterQuery:...
1
diff --git a/io-manager.js b/io-manager.js @@ -591,11 +591,21 @@ ioManager.bindInput = () => { const result = geometryManager.geometryWorker.raycastPhysics(geometryManager.physics, position, quaternion); + let htmlHover; if (result) { const object = world.getObjectFromPhysicsId(result.objectId); if (object.isHtml) { - ...
0
diff --git a/js/bybit.js b/js/bybit.js @@ -6036,6 +6036,13 @@ module.exports = class bybit extends Exchange { async fetchDerivativesPositions (symbols = undefined, params = {}) { await this.loadMarkets (); + if (Array.isArray (symbols)) { + if (symbols.length > 1) { + throw new ArgumentsRequired (this.id + ' fetchPosit...
7
diff --git a/_data/navigation.yml b/_data/navigation.yml @@ -10908,7 +10908,7 @@ op3: url: /platform/op3/recovery/ children: - title: "Manual Installation" - url: /platform/op3/recovery/#manual-installation + url: /platform/op3/recovery/#op3-manual-installation - title: "Recovery of ROBOTIS-OP3" url: /platform/op3/reco...
1
diff --git a/token-list/tokenlist.json b/token-list/tokenlist.json "symbol": "ARI", "address": "0x8A8b5318d3A59fa6D1d0A83A1B0506f2796b5670", "decimals": 8, - "logoURI": "ipfs://QmaZ2oLuukCaTt9JzkKJ4zy4KLXU84x6pwQ8k7p4ztDimS", - "tags": {} + "logoURI": "ipfs://QmaZ2oLuukCaTt9JzkKJ4zy4KLXU84x6pwQ8k7p4ztDimS" }, { "chainI...
2
diff --git a/source/Overture/views/controls/RichTextView.js b/source/Overture/views/controls/RichTextView.js @@ -51,6 +51,7 @@ var RichTextView = NS.Class({ Mixin: NS.DropTarget, isFocussed: false, + isDisabled: false, allowTextSelection: true, @@ -160,8 +161,10 @@ var RichTextView = NS.Class({ className: function () {...
0
diff --git a/src/extensions/renderer/base/coord-ele-math.js b/src/extensions/renderer/base/coord-ele-math.js @@ -1459,6 +1459,9 @@ BRp.findEdgeControlPoints = function( edges ){ } + rs.srcIntn = srcOutside; + rs.tgtIntn = tgtOutside; + if( src === tgt ){ // Self-edge @@ -2140,6 +2143,8 @@ BRp.findEndpoints = function( ...
7
diff --git a/src/components/fx/hover.js b/src/components/fx/hover.js @@ -813,7 +813,10 @@ function hoverDataKey(d) { var EXTRA_STRING_REGEX = /<extra>([\s\S]*)<\/extra>/; -function createHoverText(hoverData, opts, gd) { +function createHoverText(allHoverData, opts, gd) { + var hoverData = allHoverData.filter(function(d...
7
diff --git a/token-metadata/0x0d438F3b5175Bebc262bF23753C1E53d03432bDE/metadata.json b/token-metadata/0x0d438F3b5175Bebc262bF23753C1E53d03432bDE/metadata.json "symbol": "WNXM", "address": "0x0d438F3b5175Bebc262bF23753C1E53d03432bDE", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED"...
3
diff --git a/README.textile b/README.textile @@ -2,6 +2,6 @@ h2. iNaturalist "!https://travis-ci.org/inaturalist/inaturalist.png!":https://t Open source Rails app behind "iNaturalist.org":https://www.inaturalist.org/ -Want to help out? Fork the project and check out the "Development Setup Guide":http://wiki.github.com/...
1
diff --git a/src/docs/deployment.md b/src/docs/deployment.md @@ -36,7 +36,7 @@ hosts: url: https://begin.com/ screenshotSize: medium clis: - - name: Netlify Command Line + - name: Netlify CLI url: https://www.netlify.com/products/cli/ screenshotSize: medium - name: Vercel CLI
4
diff --git a/src/logEvents.js b/src/logEvents.js @@ -20,7 +20,7 @@ export default function(enable) { var string = ''; string += 'Event '; string += format(' >2')(i) + ' '; - string += (eventType + ' ').slice(0, maxEventTypeLength + 1) + ' '; + string += eventType + ' '.repeat(maxEventTypeLength - eventType.length); str...
9
diff --git a/Dockerfile b/Dockerfile @@ -55,7 +55,7 @@ LABEL maintainer="Reaction Commerce <engineering@reactioncommerce.com>" \ com.reactioncommerce.docker.license=$LICENSE # Needed in build npm command. -RUN apk add --no-cache rsync python build-base +RUN apk add --no-cache rsync WORKDIR $APP_SOURCE_DIR/.. COPY packa...
2
diff --git a/src/botPage/view/TradeInfoPanel/TradeTable.js b/src/botPage/view/TradeInfoPanel/TradeTable.js @@ -175,7 +175,6 @@ export default class TradeTable extends Component { } const { accountID } = this.props; - const { id } = this.state[accountID]; const rows = this.state[accountID].rows.slice(); const updatedRow...
3
diff --git a/contribs/gmf/src/query/gridComponent.js b/contribs/gmf/src/query/gridComponent.js @@ -254,9 +254,9 @@ export function QueryGridController($injector, $scope, ngeoQueryResult, ngeoMapQ this.removeEmptyColumns_ = false; /** - * @type {?number} + * @type {number} */ - this.maxRecenterZoom = null; + this.maxRec...
12
diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js @@ -444,7 +444,7 @@ module.exports = class MetamaskController extends EventEmitter { // create filter polyfill middleware const filterMiddleware = createFilterMiddleware({ provider: this.provider, - blockTracker: this.blockTracker, + b...
4
diff --git a/ui/component/channelStakedIndicator/view.jsx b/ui/component/channelStakedIndicator/view.jsx @@ -17,16 +17,16 @@ function getChannelLevel(amount: number): number { let level = 1; switch (true) { - case amount >= 10 && amount < 1000: + case amount >= 1 && amount < 50: level = 2; break; - case amount >= 1000 ...
12
diff --git a/Changelog.md b/Changelog.md and mysql_native_password as default plugins. Added tests for mysql 8 and ssl. Mysql 8 server now supported with default settings. #1021, #906, #991 - - MAJOR: LOCAL INFILE does not write to local + - MAJOR: LOCAL INFILE does read from to local #1034 fs now and requires `infileS...
3
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.3 +// @version 1.17.4 // // @include https://*stackoverflow.com/* // @include https://...
8
diff --git a/rig.js b/rig.js @@ -3,7 +3,7 @@ import {GLTFLoader} from './GLTFLoader.js'; import cameraManager from './camera-manager.js'; import {makeTextMesh, makeRigCapsule} from './vr-ui.js'; import {makePromise, /*WaitQueue, */downloadFile} from './util.js'; -import {renderer, scene, appManager} from './app-object....
0
diff --git a/content/components/direction-links/default.md b/content/components/direction-links/default.md @@ -10,7 +10,7 @@ code: --> <a class="au-direction-link" href="#"> - Back<span class="au-direction-link__arrow au-direction-link__arrow--left" aria-hidden="true"></span> + <span class="au-direction-link__arrow au-...
5
diff --git a/OurUmbraco.Site/config/YouTubePlaylists.json b/OurUmbraco.Site/config/YouTubePlaylists.json "title": "uHangout", "members": [ 1175 ] }, - { - "id": "PL9uZoG6lhmR1ZZ7lKjINyYEAviZb40vLI", - "title": "Kevin Giszewski", - "members": [ 51046 ] - }, { "id": "PLBhJTkSetty35s_17snA-a5d6dHiW--2y", "title": "Umbraco...
2
diff --git a/packages/table-core/src/features/Pinning.ts b/packages/table-core/src/features/Pinning.ts @@ -202,7 +202,7 @@ export const Pinning: TableFeature = { columnId => allCells.find(cell => cell.column.id === columnId)! ) .filter(Boolean) - .map(d => ({ ...d, position: 'left' } as Cell<TData, unknown>)) + .map(d ...
1
diff --git a/editor.js b/editor.js @@ -33,6 +33,38 @@ const ghDownload = ghDownloadDirectory.default; // window.ghDownload = ghDownload; const htmlRenderer = new HtmlRenderer(); +class GlobalState { + constructor() { + this.specs = {}; + } + useState(key, initialValue) { + const result = useState(initialValue); + const...
0
diff --git a/src/core/Core.test.js b/src/core/Core.test.js @@ -21,11 +21,6 @@ describe('src/Core', () => { jest.spyOn(utils, 'findDOMElement').mockImplementation(path => { return 'some config...' }) - jest.spyOn(utils, 'createThumbnail').mockImplementation(path => { - return Promise.resolve(`data:image/jpeg;base64,${sa...
2
diff --git a/server/game/game.js b/server/game/game.js @@ -27,7 +27,7 @@ const EventWindow = require('./gamesteps/EventWindow.js'); const AtomicEventWindow = require('./gamesteps/atomiceventwindow.js'); const SimultaneousEventWindow = require('./gamesteps/simultaneouseventwindow.js'); const CardLeavesPlayEventWindow = ...
10
diff --git a/src/renderer/layer/CanvasRenderer.js b/src/renderer/layer/CanvasRenderer.js @@ -5,67 +5,6 @@ import Promise from 'core/Promise'; import Canvas2D from 'core/Canvas'; import Point from 'geo/Point'; -export class ResourceCache { - constructor() { - this.resources = {}; - this._errors = {}; - } - - addResource...
5
diff --git a/Specs/Scene/GltfBufferViewLoaderSpec.js b/Specs/Scene/GltfBufferViewLoaderSpec.js @@ -39,34 +39,34 @@ describe("Scene/GltfBufferViewLoader", function () { }; var meshoptGltfEmbedded = { - buffers: [{ byteLength: 108 }, { byteLength: 136 }], + buffers: [{ byteLength: 29 }, { byteLength: 360 }], bufferViews:...
1
diff --git a/accessibility-checker-engine/src/v2/checker/accessibility/util/legacy.ts b/accessibility-checker-engine/src/v2/checker/accessibility/util/legacy.ts @@ -2717,23 +2717,12 @@ export class RPTUtil { const id = walkNode.getAttribute("id"); if (id) { const aria_owns_elem = walkNode.ownerDocument.querySelector('[...
3
diff --git a/lib/plugins/package/lib/packageService.js b/lib/plugins/package/lib/packageService.js @@ -207,7 +207,7 @@ module.exports = { params.include.forEach((pattern) => { patterns.push(pattern); }); - return globby(params.include.concat(['**']), { + return globby(['**'].concat(params.include), { cwd: path.join(thi...
11
diff --git a/ui/js/lbry.js b/ui/js/lbry.js @@ -318,7 +318,7 @@ lbry._balanceSubscribeInterval = 5000; lbry._balanceUpdateInterval = null; lbry._updateBalanceSubscribers = function() { - lbry.get_balance().then(function(balance) { + lbry.wallet_balance().then(function(balance) { for (let callback of Object.values(lbry._...
10
diff --git a/src/components/ContentBody/Image.js b/src/components/ContentBody/Image.js @@ -9,19 +9,11 @@ const Image = ({ data }) => ( <Img fluid={data.relationships.field_image.localFile.childImageSharp.fluid} css={css` - margin-bottom: 70px; + margin: 0 20px 70px; ${mediaQueries.phoneLarge} { ${container.min}; - marg...
14
diff --git a/assets/lib/fuc.js.php b/assets/lib/fuc.js.php @@ -18,7 +18,18 @@ if (isset($_REQUEST['url'])) { } $url = $_REQUEST['url']; - $content = ''; + $content = null; + + if (!filter_var($url, FILTER_VALIDATE_URL)) { + header('HTTP/1.0 400 Bad Request'); + return; + } + + // allow only http requests + if (!preg_ma...
1
diff --git a/src/js/player.js b/src/js/player.js @@ -574,7 +574,7 @@ class MediaElementPlayer { t = this, autoplayAttr = domNode.getAttribute('autoplay'), autoplay = !(autoplayAttr === undefined || autoplayAttr === null || autoplayAttr === 'false'), - isNative = media.rendererName !== null && /(native|html5)/i.test(t.m...
4
diff --git a/packages/http-json-body-parser/index.js b/packages/http-json-body-parser/index.js @@ -10,7 +10,11 @@ module.exports = (opts) => ({ const { type } = contentType.parse(contentTypeHeader) if (type === 'application/json') { try { - handler.event.body = JSON.parse(handler.event.body, opts.reviver) + const data ...
9
diff --git a/js/base/Exchange.js b/js/base/Exchange.js @@ -2361,9 +2361,9 @@ module.exports = class Exchange { } checkOrderTypeAndPrice (type, price) { - if (type === 'limit') { if (price === undefined) { - throw new ArgumentRequired (this.id + ' createOrder() requires a price argument for a limit order'); + if (type =...
14
diff --git a/webpack.config.js b/webpack.config.js @@ -32,7 +32,6 @@ const WebpackBar = require( 'webpackbar' ); const { DefinePlugin, ProvidePlugin } = require( 'webpack' ); const CreateFileWebpack = require( 'create-file-webpack' ); const ManifestPlugin = require( 'webpack-manifest-plugin' ); -const ImageminPlugin = ...
2
diff --git a/node_common/link-utilities.js b/node_common/link-utilities.js @@ -11,7 +11,7 @@ import multihashing from "multihashing-async"; export const fetchLinkData = async (url) => { try { const { status, data, response } = await microlink(url, { - screenshot: true, + // screenshot: true, apiKey: Environment.MICROLI...
2
diff --git a/src/components/core/update/updateSize.js b/src/components/core/update/updateSize.js @@ -10,7 +10,7 @@ export default function updateSize() { } else { width = $el[0].clientWidth; } - if (typeof swiper.params.height !== 'undefined' && swiper.params.width !== null) { + if (typeof swiper.params.height !== 'und...
1
diff --git a/articles/connector/install-other-platforms.md b/articles/connector/install-other-platforms.md @@ -27,7 +27,7 @@ For most platforms, you will need to run the required commands with root privile > npm install ``` -3. Start your server: +3. Start your server. ```text > node server.js @@ -67,6 +67,8 @@ For mos...
0
diff --git a/README.md b/README.md @@ -10,6 +10,8 @@ View the app: :point_right: [https://quiz.typeofnan.dev](https://quiz.typeofnan. [![GitHub issues](https://img.shields.io/github/issues/nas5w/typeofnan-javascript-quizzes)](https://github.com/nas5w/typeofnan-javascript-quizzes/issues) [![GitHub forks](https://img.shi...
0
diff --git a/components/head.js b/components/head.js @@ -4,9 +4,8 @@ import PropTypes from 'prop-types' import theme from '../styles/theme' import Container from './container' -import BetaRibbon from './beta-ribbon' -const Head = ({title, icon, isBeta}) => ( +const Head = ({title, icon}) => ( <div> <div className='head...
2
diff --git a/app/components/layout/Navigation/index.js b/app/components/layout/Navigation/index.js @@ -212,7 +212,7 @@ class Navigation extends React.Component { any: true, render: () => { return [ - <NavigationButton key={1} className="py0" href={`/organizations/${organization.slug}/users`}>Users</NavigationButton>, +...
4
diff --git a/README.md b/README.md Agoric's Cosmic SwingSet enables developers to test smart contracts build with [ERTP](https://github.com/Agoric/ERTP) in various blockchain setup environments This repository currently hosts various pieces: -- Code to set up a "solo node" (a client program which purpose is to discuss ...
7
diff --git a/src/pages/ReimbursementAccount/RequestorStep.js b/src/pages/ReimbursementAccount/RequestorStep.js @@ -154,7 +154,9 @@ class RequestorStep extends React.Component { onCloseButtonPress={Navigation.dismissModal} /> {shouldShowOnfido ? ( - <RequestorOnfidoStep onComplete={this.setOnfidoAsComplete} /> + <Reques...
13
diff --git a/packages/turf-point-to-line-distance/index.d.ts b/packages/turf-point-to-line-distance/index.d.ts /// <reference types="geojson" /> -type Feature = GeoJSON.Feature<any> | GeoJSON.GeometryObject; +import {Units} from '@turf/helpers' + +type Point = GeoJSON.Feature<GeoJSON.Point> | GeoJSON.Point | number[]; ...
12
diff --git a/userscript.user.js b/userscript.user.js @@ -58977,7 +58977,41 @@ var $$IMU_EXPORT$$; return src.replace(/\/preview_(slide_[0-9]+\.[^/.]+)(?:[?#].*)?$/, "/$1"); } - if (domain === "peertube.linuxrocks.online") { + if (domain === "peertube.linuxrocks.online" || + // https://peertube.live/static/thumbnails/bc...
7
diff --git a/src/plots/mapbox/mapbox.js b/src/plots/mapbox/mapbox.js @@ -600,7 +600,8 @@ proto.updateFx = function(fullLayout) { map.dragPan.enable(); map.off('zoomstart', self.clearSelect); self.div.onmousedown = null; - + self.div.ontouchstart = null; + self.div.removeEventListener('touchstart', self.div._ontouchstar...
2
diff --git a/stories/index.js b/stories/index.js @@ -204,6 +204,8 @@ storiesOf('Griddle main', module) return ( <Griddle data={fakeData} plugins={[LocalPlugin, PositionPlugin({ tableHeight: 300 })]}> <RowDefinition> + <ColumnDefinition id="name" order={2} customHeadingComponent={GreenLeftSortIconComponent} width={300} ...
0
diff --git a/app/src/components/Controls/ButtonControlBar.js b/app/src/components/Controls/ButtonControlBar.js @@ -54,6 +54,31 @@ const styles = (theme) => { opacity : 0, transition : 'opacity .5s' + }, + move : + { + left : '30vw', + top : '50%', + transform : 'translate(0%, -50%)', + flexDirection : 'column', + justi...
5
diff --git a/js/digifinex.js b/js/digifinex.js @@ -776,10 +776,13 @@ module.exports = class digifinex extends Exchange { */ await this.loadMarkets (); symbols = this.marketSymbols (symbols); - const defaultType = this.safeString (this.options, 'defaultType'); + const first = this.safeString (symbols, 0); + const market...
7
diff --git a/renderer/components/nettests/circumvention/Psiphon.js b/renderer/components/nettests/circumvention/Psiphon.js @@ -10,9 +10,6 @@ import colorMap from '../../colorMap' const Psiphon = ({measurement, isAnomaly, render}) => { const testKeys = JSON.parse(measurement.test_keys) - // TODO Remove this when actual ...
2
diff --git a/node_common/managers/viewer.js b/node_common/managers/viewer.js @@ -502,7 +502,7 @@ export const getDealHistory = async ({ id }) => { user, message: e.message, code: e.code, - functionName: `power.listStorageDealRecords`, + functionName: `power.storageDealRecords`, }); }
3
diff --git a/refs/biblio.json b/refs/biblio.json "CSS-EXCLUSIONS-1": { "aliasOf": "css3-exclusions" }, - "CSS-IMAGES-3": { - "aliasOf": "css3-images" - }, "CSS-MARQUEE-3": { "aliasOf": "css3-marquee" },
1
diff --git a/lib/messages/status.js b/lib/messages/status.js @@ -55,7 +55,7 @@ class Status extends Message { author_name: summary, author_icon: this.avatar_url, author_link: this.target_url, - color: this.constructor.getStatusColor(this.status), + color: this.constructor.getStatusColor(this.overallStatus), mrkdwn_in: ...
1
diff --git a/src/botPage/view/react-components/LimitsPanel.js b/src/botPage/view/react-components/LimitsPanel.js @@ -3,18 +3,25 @@ import ReactDOM from 'react-dom' import { translate } from '../../../common/i18n' import { Panel } from './Panel' +const contentStyle = { + width: '18em', +} + const errorStyle = { color: '...
1
diff --git a/components/Questionnaire/Page.js b/components/Questionnaire/Page.js @@ -160,7 +160,11 @@ class Page extends Component { <Headline>{t('questionnaire/title')}</Headline> <div {...styles.thankyou}> <P> - {t('questionnaire/thankyou')} + {t.elements('questionnaire/thankyou', { + metaLink: <Link key='meta' route...
7
diff --git a/src/modules/import/wmsgetcap.js b/src/modules/import/wmsgetcap.js @@ -67,7 +67,7 @@ exports = function($window, gettext, gettextCatalog, ngeoWmsGetCapTemplateUrl) { } if (!layer['isInvalid']) { - layer['wmsUrl'] = getCap['Service']['OnlineResource']; + layer['wmsUrl'] = getCap['Capability']['Request']['Get...
4
diff --git a/server/preprocessing/other-scripts/linkedcat.R b/server/preprocessing/other-scripts/linkedcat.R @@ -196,8 +196,8 @@ build_authorfield_query <- function(field, query) { build_queryfield_query <- function(field, query) { if (length(unlist(strsplit(query, " "))) > 1) { - query <- paste0(unlist(strsplit(query,...
7
diff --git a/package.json b/package.json "proxy": "node ./tasks/local-testnet/proxy.js", "release": "git checkout develop & git pull & git push origin develop:release", "test:coverage": "live-server ./coverage/lcov-report", - "test:coverage-branch": "npm run test:unit --coverage && git diff origin/develop | diff-test-c...
1
diff --git a/js/tabManager.js b/js/tabManager.js @@ -46,3 +46,12 @@ chrome.tabs.onUpdated.addListener( (id, info) => { } }); +// update tab url after the request is finished. This makes +// sure we have the correct url after any https rewrites +chrome.webRequest.onCompleted.addListener( (request) => { + let tab = tabMa...
3
diff --git a/assets/js/modules/thank-with-google/index.js b/assets/js/modules/thank-with-google/index.js @@ -39,7 +39,6 @@ export const registerModule = ifTwgIsEnabled( ( modules ) => { SettingsEditComponent: SettingsEdit, SettingsViewComponent: SettingsView, SetupComponent: SetupMain, - // TODO: Replace with another i...
2