code
stringlengths
122
4.99k
label
int64
0
14
diff --git a/controllers/BaseController.php b/controllers/BaseController.php @@ -203,6 +203,7 @@ class BaseController if (self::$htmlPurifierInstance == null) { $htmlPurifierConfig = \HTMLPurifier_Config::createDefault(); + $htmlPurifierConfig->set('Cache.SerializerPath', GROCY_DATAPATH . '/viewcache'); $htmlPurifierCo...
12
diff --git a/server/tests/interpreter_test.js b/server/tests/interpreter_test.js @@ -75,11 +75,11 @@ function runTest(t, name, src, expected) { * native functions into the interpreter. initFunc is called * with the interpreter instance to be configured as its * parameter. - * @param {Function(Interpreter)=} asyncFunc O...
10
diff --git a/src/update-views.js b/src/update-views.js @@ -14,7 +14,6 @@ async function main(){ async function updateViews(){ for(const uuid of await db.collection('views').distinct('uuid')){ - const profiles = await db.collection('views').distinct('profile_id', { uuid }); const { username } = await db.collection('user...
8
diff --git a/modules/command/common/keep-alive-command.js b/modules/command/common/keep-alive-command.js @@ -54,7 +54,7 @@ class KeepAliveCommand extends Command { const config = { method: 'post', - url: 'http://localhost:3000/signal', + url: 'https://signum.origintrail.io:3000/signal', headers: { 'Content-Type': 'appl...
3
diff --git a/src/sdk/p2p/peerconnection-channel.js b/src/sdk/p2p/peerconnection-channel.js @@ -342,6 +342,13 @@ class P2PPeerConnectionChannel extends EventDispatcher { Logger.debug('About to set remote description. Signaling state: ' + this._pc.signalingState); sdp.sdp = this._setRtpSenderOptions(sdp.sdp, this._config...
12
diff --git a/app/controllers/data_library_controller.rb b/app/controllers/data_library_controller.rb @@ -10,7 +10,7 @@ class DataLibraryController < ApplicationController render_404 and return if @viewed_user.nil? || (Cartodb.get_config(:data_library, 'username') && (Cartodb.config[:data_library]['username'] != @viewed...
4
diff --git a/src/utils/innerSliderUtils.js b/src/utils/innerSliderUtils.js @@ -121,8 +121,9 @@ export const initializedState = spec => { ReactDOM.findDOMNode(spec.listRef).querySelector('[data-index="0"]') ) let listHeight = slideHeight * spec.slidesToShow - let currentSlide = spec.currentSlide || spec.initialSlide - i...
1
diff --git a/requirements.txt b/requirements.txt @@ -26,7 +26,7 @@ networkx==1.9.1 XlsxWriter==0.6.6 krauler>=0.2.2 polyglot==16.7.4 -langid==1.1.5 +langid==1.1.6 blinker==1.4 Babel==2.3.4 xlrd==0.9.3 @@ -49,6 +49,10 @@ countrynames>=1.4 dalet>=1.1 ingestors>=0.3.7 +# Workarounds +cryptography>=1.9 +cffi>=1.10.0 + # Py...
12
diff --git a/packages/idyll-cli/bin/cmds/build.js b/packages/idyll-cli/bin/cmds/build.js @@ -105,6 +105,10 @@ function buildOptions (yargs) { .describe('theme', 'Name of (or path to) the theme to use') .default('theme', 'github') .describe('alias', 'A list of component aliases') + .describe('outputCSS', 'Name of CSS fi...
1
diff --git a/articles/troubleshoot/concepts/auth-issues.md b/articles/troubleshoot/concepts/auth-issues.md @@ -14,7 +14,6 @@ useCase: # Troubleshoot Authentication Issues <%= include('../../_includes/_topic-links', { links: [ - 'monitoring/guides/test-testall-endpoints', 'troubleshoot/guides/check-api-calls', 'troubles...
2
diff --git a/assets/js/modules/analytics/components/dashboard-details/AnalyticsDashboardDetailsWidgetTopAcquisitionSources.js b/assets/js/modules/analytics/components/dashboard-details/AnalyticsDashboardDetailsWidgetTopAcquisitionSources.js * WordPress dependencies */ import { Fragment } from '@wordpress/element'; -imp...
2
diff --git a/articles/appliance/dashboard/index.md b/articles/appliance/dashboard/index.md @@ -39,8 +39,6 @@ For additional information about the pages contained in the PSaaS Appliance conf [Activity](/appliance/dashboard/activity) -[Instrumentation](/appliance/dashboard/instrumentation) - [Rate Limiting](/appliance/da...
2
diff --git a/.travis.yml b/.travis.yml @@ -72,6 +72,7 @@ before_install: - sudo add-apt-repository ppa:openjdk-r/ppa -y - sudo apt-get update - sudo apt-get install -y openjdk-11-jdk + - sudo update-java-alternatives -s java-1.11.0-openjdk-amd64 - java -version - export TZ=Australia/Canberra - date
4
diff --git a/packages/titus-components/src/navigation/navigation.js b/packages/titus-components/src/navigation/navigation.js @@ -91,7 +91,8 @@ class Navigation extends Component { classes: PropTypes.object.isRequired, theme: PropTypes.object.isRequired, items: PropTypes.func, - main: PropTypes.func.isRequired + main: P...
11
diff --git a/src/views/enterprise/components/enterpriseCta.js b/src/views/enterprise/components/enterpriseCta.js @@ -22,26 +22,24 @@ const EnterpriseCTA = ({toggleBookMeetingModal}) => ( <style jsx>{` /* = SECTION * ==================================================================== */ - .Section { - margin-top: 60px;...
7
diff --git a/lib/parselink.js b/lib/parselink.js @@ -113,7 +113,7 @@ export default function parselink(str, htmldesc, clrdmods = false) { // Straight roll 4d, 2d-1, etc. Is "damage" if it includes a damage type. Allows "!" suffix to indicate minimum of 1. // Supports: 2d+1x3(5), 4dX2(0.5), etc - parse = str.replace(/^(...
11
diff --git a/src/react/projects/spark-core-react/src/SprkTable/SprkTable.js b/src/react/projects/spark-core-react/src/SprkTable/SprkTable.js @@ -23,10 +23,8 @@ const SprkTable = (props) => { } SprkTable.propTypes = { - // The children that will be rendered inside the link + // The children that will be rendered inside ...
3
diff --git a/edit.js b/edit.js @@ -316,9 +316,11 @@ scene.add(floorMesh); */ scene.add(mesh); })(); */ +let rayMesh = null; { - const rayMesh = makeRayMesh(); + rayMesh = makeRayMesh(); rayMesh.visible = false; + rayMesh.target = new THREE.Vector3(); scene.add(rayMesh); window.addEventListener('mousedown', e => { @@ -3...
0
diff --git a/src/components/container.js b/src/components/container.js @@ -44,11 +44,15 @@ module.exports = function(app) { $templateCache.put('formio/formbuilder/container.html', '<fieldset>' + - '<label ng-if="component.label" class="control-label">' + + '<label ng-if="component.label && component.labelPosition !== \...
7
diff --git a/core/src/modules/configLoaders/destination.ts b/core/src/modules/configLoaders/destination.ts @@ -68,7 +68,7 @@ export async function loadDestination( } await destination.setDestinationGroupMemberships(destinationGroupMemberships); - if (destination.groupGuid !== group.guid) { + if (group && destination.gr...
11
diff --git a/app/scripts/HiGlassComponent.js b/app/scripts/HiGlassComponent.js @@ -2681,6 +2681,9 @@ class HiGlassComponent extends React.Component { } } + if ('created' in track) { delete track.created; } + if ('project' in track) { delete track.project; } + if ('project_name' in track) { delete.track.project_name; } ...
2
diff --git a/website/lexonomy.py b/website/lexonomy.py @@ -173,7 +173,8 @@ def entrydelete(dictID: str, user: User, dictDB: Connection, configs: Configs): @authDict([]) def entryread(dictID: str, user: User, dictDB: Connection, configs: Configs): entryID = int(request.forms.id) - entry = ops.readEntries(dictDB, configs...
1
diff --git a/shared/data/constants.js b/shared/data/constants.js @@ -5,7 +5,7 @@ module.exports = { ], "entityList": "https://duckduckgo.com/contentblocking.js?l=entitylist2", "entityMap": "data/tracker_lists/entityMap.json", - "easylists": ["privacy", "general"], + "easylists": [], "blocking": ["Advertising", "Analyti...
2
diff --git a/vaadin-date-picker.html b/vaadin-date-picker.html @@ -165,6 +165,10 @@ If you want to replace the default input field with a custom implementation, you display: none; } + :host [slot=suffix] { + display: flex; + } + /* The same code than paper-input and combo-box */ input { position: relative; /* to make a...
12
diff --git a/token-metadata/0x7031AB87DCC46818806EC07aF46fa8c2aD2A2BFC/metadata.json b/token-metadata/0x7031AB87DCC46818806EC07aF46fa8c2aD2A2BFC/metadata.json "symbol": "TRBT", "address": "0x7031AB87DCC46818806EC07aF46fa8c2aD2A2BFC", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED"...
3
diff --git a/build.html b/build.html <input type=file id=bake-file> <input type=submit> </form> + <form> + <h1>Bake mesh</h1> + <pre><code>TOKTX_PATH=./bin/toktx ./bin/gltfpack -v -kn -cc -tb -i assets/model.glb -o assets/model2.glb</code></pre> + </form> <script src="./bin/geometry.js"></script> <script type=module> i...
0
diff --git a/docs/content/examples/charts/bar/Timeline.js b/docs/content/examples/charts/bar/Timeline.js -import { HtmlElement, DetachedScope } from 'cx/widgets'; +import { HtmlElement, DetachedScope, Content, Tab } from 'cx/widgets'; import { Controller } from 'cx/ui'; import { Svg, Rectangle, ClipRect } from 'cx/svg'...
0
diff --git a/src/backends/backend.js b/src/backends/backend.js @@ -51,9 +51,9 @@ const slugFormatter = (template = "{{slug}}", entryData) => { case "day": return (`0${ date.getDate() }`).slice(-2); case "slug": - return sanitize(getIdentifier(entryData).trim().toLowerCase(), {replacement: "-"}); + return sanitize(getId...
2
diff --git a/src/reducers/ledger/index.js b/src/reducers/ledger/index.js @@ -132,7 +132,16 @@ const ledger = handleActions({ signInWithLedgerStatus: undefined, signInWithLedger: undefined } + }, + [showLedgerModal]: (state, { payload }) => { + return { + ...state, + modal: { + ...state.modal, + show: !state.signInWithL...
9
diff --git a/public/javascripts/Admin/src/Admin.js b/public/javascripts/Admin/src/Admin.js @@ -5,7 +5,7 @@ function Admin(_, $, difficultRegionIds) { var mapData = InitializeMapLayerContainer(); var map; var auditedStreetLayer; - var params = { + var analyticsTabMapParams = { regionColors: [ '#08306b', '#08519c', '#087...
3
diff --git a/packages/composer-cli/lib/cmds/network/lib/loglevel.js b/packages/composer-cli/lib/cmds/network/lib/loglevel.js @@ -32,7 +32,6 @@ class LogLevel { */ static handler(argv) { let adminConnection; - let businessNetworkName; let newlevel = argv.newlevel; let cardName = argv.card; @@ -47,7 +46,7 @@ class LogLev...
1
diff --git a/src/components/NavigationDesktop/NavigationItemDesktop.js b/src/components/NavigationDesktop/NavigationItemDesktop.js @@ -120,7 +120,7 @@ class NavigationItemDesktop extends Component { <Grid item key={index}> <MenuList disablePadding> <MenuItem> - <Link onClick={this.onClose} href={`${this.linkPath(item)}...
2
diff --git a/OurUmbraco.Client/src/scss/elements/_markdown-syntax.scss b/OurUmbraco.Client/src/scss/elements/_markdown-syntax.scss } -.highlight { +.markdown-syntax .highlight { &.csharp { color: #333; color: #333; font-size: 12px; line-height: 16px; - .cdata { color: #df5000; } - .cdatavalue { color: #df5000; } - .ele...
7
diff --git a/public/pocketsphinx.js/webapp/js/recognizer.js b/public/pocketsphinx.js/webapp/js/recognizer.js @@ -366,7 +366,7 @@ const _getLastWord = function(hyp, pred = () => true) { }; const result = new Float32Array(VOWELS.length); function _updateResult(hyp) { - const lastWord = _getLastWord(hyp); + const lastWord...
8
diff --git a/src/module.d.ts b/src/module.d.ts @@ -41,11 +41,9 @@ export interface ColumnDefinitionProps { //Determines whether or not the user can disable this column from the settings. locked?: boolean, - // TODO: Unused? Rename to headingCssClassName? //The css class name to apply to the header for the column header...
2
diff --git a/packages/spark-core/components/_alerts.scss b/packages/spark-core/components/_alerts.scss border: $sprk-alert-border-info; color: $sprk-alert-text-color-info; - .sprk-c-Alert__icon { + .sprk-c-Alert__icon:first-child { color: $sprk-alert-icon-color-info; } border: $sprk-alert-border-success; color: $sprk-a...
3
diff --git a/_data/conferences.yml b/_data/conferences.yml - title: AAMAS hindex: 25 - year: 2020 - id: aamas20 - link: https://aamas2020.conference.auckland.ac.nz/ - deadline: '2019-11-15 23:59:59' - abstract_deadline: '2019-11-12 23:59:59' + year: 2021 + id: aamas21 + link: https://aamas2021.soton.ac.uk/ + deadline: ...
3
diff --git a/runtime.js b/runtime.js @@ -70,6 +70,9 @@ const startMonetization = (instanceId, monetizationPointer, ownerAddress) => { const _importMapUrl = u => new URL(u, location.protocol + '//' + location.host).href; const importMap = { three: _importMapUrl('./three.module.js'), + BufferGeometryUtils: _importMapUrl(...
0
diff --git a/editor/js/vendor/ckeditor/plugins/xotrecorder/dialogs/xotrecorder.js b/editor/js/vendor/ckeditor/plugins/xotrecorder/dialogs/xotrecorder.js //input.connect(audioContext.destination) //stop the input from playing back through the speakers //disable controls - getElementById('recordingDevicesSelect').disable...
1
diff --git a/templates/docs/getting-started.md b/templates/docs/getting-started.md <%= title("Installation", {}) %> +Before installing make sure you have the required dependecies installed: + - gcc for [mattn/go-sqlite3](https://github.com/mattn/go-sqlite3). + - [node](https://github.com/nodejs/node) and [npm](https://...
7
diff --git a/lib/v2/zhihu/utils.js b/lib/v2/zhihu/utils.js @@ -14,7 +14,7 @@ module.exports = { $('a').each((_, elem) => { const href = $(elem).attr('href'); - if (href.startsWith('https://link.zhihu.com/?target=')) { + if (href?.startsWith('https://link.zhihu.com/?target=')) { const url = new URL(href); const target =...
1
diff --git a/package.json b/package.json "author": "Khronos Group Inc.", "license": "Apache-2.0", "dependencies": { - "argparse": "^1.0.10", - "gl-matrix": "^3.2.1", - "open": "7.0.2" + "gl-matrix": "^3.2.1" }, "devDependencies": { - "acorn": "^7.1.0", "concurrently": "^5.1.0", "eslint": "^6.8.0", "rollup": "^1.31.1",
2
diff --git a/src/QuickMenu.jsx b/src/QuickMenu.jsx @@ -177,6 +177,7 @@ export default function QuickMenu() { /* const emote = _getSelectedEmote(); emote && _triggerEmote(emote); */ setOpen(false); + setDown(false); } } registerIoEventHandler('keyup', keyup);
0
diff --git a/apps/landing/landing.html b/apps/landing/landing.html </div> </section> <section class="post"> - <a target="_blank" href="https://github.com/camicroscope/" class="image"><img src="./code.jpg" alt=""/></a> + <a target="_blank" href="https://camicroscope.github.io/docs/" class="image"><img src="./code.jpg" a...
14
diff --git a/src/layer/VectorLayer.js b/src/layer/VectorLayer.js @@ -152,7 +152,7 @@ class VectorLayer extends OverlayLayer { identify(coordinate, options = {}) { const renderer = this._getRenderer(); // only iterate drawn geometries when onlyVisible is true. - if (options['onlyVisible'] && renderer) { + if (options['o...
1
diff --git a/lib/build/tasks/jasmine.js b/lib/build/tasks/jasmine.js @@ -13,11 +13,6 @@ module.exports = { summary: true, display: 'short', specs: js_files.specs, - tempDir: '.grunt/grunt-contrib-jasmine', - vendor: [ - 'node_modules/jasmine-ajax/lib/mock-ajax.js', - 'node_modules/underscore/underscore-min.js' - ], hel...
2
diff --git a/src/pages/Component/resource.js b/src/pages/Component/resource.js @@ -77,11 +77,13 @@ export default class Index extends PureComponent { rainbondUtil.OauthEnterpriseEnable(enterprise) ) { enterprise.oauth_services.value.map(item => { - const { oauth_type, service_id } = item; + const { oauth_type, service_...
1
diff --git a/src/services/location.js b/src/services/location.js @@ -83,6 +83,20 @@ ngeo.Location = function(location, history) { }; +/** + * @param {History} history History. + * @param {string} state State. + */ +ngeo.Location.replaceState = function(history, state) { + try { + history.replaceState(null, '', state); ...
8
diff --git a/assets/js/googlesitekit/modules/datastore/settings.test.js b/assets/js/googlesitekit/modules/datastore/settings.test.js @@ -84,7 +84,7 @@ describe( 'core/modules settings', () => { describe( 'selectors', () => { describe( 'isDoingSubmitChanges', () => { - it( 'it proxies the selector call to the module wit...
2
diff --git a/accessibility-checker-extension/src/ts/usingAC/UsingACApp.tsx b/accessibility-checker-extension/src/ts/usingAC/UsingACApp.tsx @@ -550,7 +550,6 @@ class UsingACApp extends React.Component<{}, UsingACAppState> { violations, items that need review or recommendations, deselect the checkbox by the issue type in...
2
diff --git a/features/step_definitions/tx-history-steps.js b/features/step_definitions/tx-history-steps.js @@ -4,6 +4,7 @@ import chai from 'chai'; import moment from 'moment'; import { getLovefieldTxs, getMockData } from '../support/mockDataBuilder'; import i18n from '../support/helpers/i18n-helpers'; +import { awaitE...
7
diff --git a/icons.js b/icons.js @@ -3,3 +3,6 @@ const _svg2Url = s => `data:image/svg+xml;base64,${btoa(s.replace(/currentColor/ export const code = _svg2Url(`<svg aria-hidden="true" focusable="false" data-prefix="far" data-icon="code" class="svg-inline--fa fa-code fa-w-18" role="img" xmlns="http://www.w3.org/2000/svg...
0
diff --git a/src/items/vehicles/ultimate_hover_carrier.json b/src/items/vehicles/ultimate_hover_carrier.json "special": [] } }, - - "flags": { - - }, + "flags": {}, "token": { "flags": {}, "name": "Motorcycle", }, "items": [ { - "name": "Collision (Ram)", "type": "vehicleAttack", "data": { "parts": [] } }, - "flags": {...
2
diff --git a/experimental/adaptive-tool/README.md b/experimental/adaptive-tool/README.md @@ -82,7 +82,7 @@ This is an example of a typical `launch.json`: ### Start bot runtime and complete initialization -Start a bot runtime. For example, start a bot project: `todobot` in [SampleBots](https://github.com/microsoft/botbu...
1
diff --git a/buildroot-external/package/neoserver/overlay/opt/mediola/www/bin/hmFunc.cgi b/buildroot-external/package/neoserver/overlay/opt/mediola/www/bin/hmFunc.cgi @@ -6,11 +6,6 @@ source session.tcl if {[session_requestisvalid 0] < 0 } { exit } +puts "Content-Type: application/json\r" +puts "\r" puts "{\"session\":...
12
diff --git a/.travis.yml b/.travis.yml @@ -6,3 +6,11 @@ notifications: sudo: false script: - npm test +deploy: + # Deploy to a review app, with a nodejs buildpack - to preview PRs before they are merged. + - script: echo "Deploying to govuk-frontend-review.herokuapp.com ..." + - provider: heroku + app: govuk-frontend-r...
12
diff --git a/server/game/cards/07-WotW/ShinjoTrailblazer.js b/server/game/cards/07-WotW/ShinjoTrailblazer.js @@ -8,8 +8,7 @@ class ShinjoTrailblazer extends DrawCard { onCardRevealed: (event, context) => event.card.isProvince && event.card.controller === context.source.controller.opponent && this.game.isDuringConflict(...
2
diff --git a/packages/@uppy/aws-s3/src/index.js b/packages/@uppy/aws-s3/src/index.js @@ -97,8 +97,8 @@ module.exports = class AwsS3 extends Plugin { throw new Error('Expected a `companionUrl` option containing a Companion address.') } - const filename = encodeURIComponent(file.meta.name) - const type = encodeURICompone...
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 +// @version 2.8.1 // // @...
2
diff --git a/src/utils/gh-auth.js b/src/utils/gh-auth.js @@ -60,7 +60,7 @@ async function getGitHubToken(opts) { const parameters = querystring.parse(req.url.slice(req.url.indexOf('?') + 1)) if (parameters.token) { deferredResolve(parameters) - res.end("<html><head><style>html{font-family:sans-serif;background:#0e1e25}...
2
diff --git a/lib/routes/prototype-admin-routes.js b/lib/routes/prototype-admin-routes.js @@ -311,8 +311,7 @@ router.post('/templates/install', async (req, res) => { renderError('exists') return } - - if (!chosenUrl.match(/^(\/[a-zA-Z0-9-_]+)?$/)) { + if (`!#$&'()*+,:;=?@[].% `.split('').some((char) => chosenUrl.include...
14
diff --git a/examples/babel-webpack-4/.vscode/launch.json b/examples/babel-webpack-4/.vscode/launch.json { "type": "node", "request": "launch", - "name": "Launch Dev Offline", + "name": "Launch Serverless Offline", "program": "${workspaceRoot}/node_modules/serverless/bin/serverless", "args": [ "offline", "--noTimeout",...
7
diff --git a/src/parser/templateStrings.js b/src/parser/templateStrings.js @@ -35,14 +35,24 @@ const getScalingValue = (feature) => { * @param {*} match * @param {*} feature */ +// eslint-disable-next-line complexity let parseMatch = (ddb, character, match, feature) => { const splitMatchAt = match.split("@"); let resul...
7
diff --git a/js/inputmask.js b/js/inputmask.js } resetMaskSet(); - getMaskSet().p = seekNext(-1); - // if (writeOut) input.inputmask._valueSet(""); //initial clear + while (inputValue[0] === getPlaceholder(initialNdx)) { + inputValue.shift(); + initialNdx++; + } + getMaskSet().p = initialNdx; if (!strict) { if (opts.au...
9
diff --git a/rollup.config.js b/rollup.config.js @@ -10,7 +10,11 @@ import nodeResolve from "@rollup/plugin-node-resolve"; */ const umd_config = { onwarn(message) { - if (message.code === "EVAL") { return; } + // Avoid this warning: "Use of eval is strongly discouraged, as it poses + // security risks and may cause iss...
8
diff --git a/assets/src/edit-story/components/library/panes/text/karma/textPane.karma.js b/assets/src/edit-story/components/library/panes/text/karma/textPane.karma.js @@ -54,6 +54,8 @@ describe('CUJ: Creator can Add and Write Text: Consecutive text presets', () => 'Lorem ipsum dolor sit amet, consectetur adipiscing eli...
7
diff --git a/_layouts/home.html b/_layouts/home.html @@ -23,15 +23,16 @@ layout: default <div class="u-textCenter u-padding-r-all u-textCenter"> <h3 class="u-text-r-m u-textWeight-300 u-color-white u-margin-top-l u-lineHeight-l"> {{ t.home_newsletter_title }}</h3> - <form class="Form u-padding-r-top u-md-size7of12 u-lg...
14
diff --git a/History.md b/History.md [4.0.3 / 2017-01-30](https://github.com/jakubpawlowicz/clean-css/compare/v4.0.2...v4.0.3) ================== -* Fixed issue [#875](https://github.com/jakubpawlowicz/clean-css/issues/875) - invalid traversing in semanting merging. +* Fixed issue [#875](https://github.com/jakubpawlowi...
1
diff --git a/src/index.js b/src/index.js @@ -160,7 +160,7 @@ class Dayjs { default: break } - this.init() + this.init(this.$L) return this } @@ -287,6 +287,11 @@ class Dayjs { return this.endOf(C.M).$D } + setLocale (l) { + Object.assign(this.$L, l) + return this + } + clone() { return new Dayjs(this) }
0
diff --git a/packages/@vue/cli-service/generator/template/src/components/HelloWorld.vue b/packages/@vue/cli-service/generator/template/src/components/HelloWorld.vue <li><a href="https://router.vuejs.org/en/essentials/getting-started.html" target="_blank">vue-router</a></li> <li><a href="https://vuex.vuejs.org/en/intro....
1
diff --git a/src/actor.js b/src/actor.js @@ -90,6 +90,7 @@ const getDefaultSequentialStoreIdOrThrow = () => { * environment variable, or `application/json` if not set. * This feature is useful for local development and debugging of your acts. * </p> + * @param {String} key Key of the record. * @param {Function} callbac...
1
diff --git a/source/Table/Table.js b/source/Table/Table.js @@ -406,11 +406,11 @@ export default class Table extends React.PureComponent { className: cn('ReactVirtualized__Table__headerRow', rowClass), columns: this._getHeaderColumns(), style: { - ...rowStyleObject, height: headerHeight, overflow: 'hidden', paddingRight...
11
diff --git a/token-metadata/0x12f649A9E821F90BB143089a6e56846945892ffB/metadata.json b/token-metadata/0x12f649A9E821F90BB143089a6e56846945892ffB/metadata.json "symbol": "UDOO", "address": "0x12f649A9E821F90BB143089a6e56846945892ffB", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED"...
3
diff --git a/README.md b/README.md <br /> -<img src="https://swap.tech/images/airswap-high-res.png" width="500"/> +<img src="https://www.airswap.io/airswap-blue-transparent.png" width="500"/> <br /> [AirSwap](https://www.airswap.io/) is a peer-to-peer trading network for Ethereum tokens, initially built on the [Swap Pr...
3
diff --git a/package.json b/package.json { "name": "kuzzle", "author": "The Kuzzle Team <support@kuzzle.io>", - "version": "1.0.0-RC9.6", + "version": "1.0.0-RC10", "description": "Kuzzle is an open-source solution that handles all the data management through a secured API, with a large choice of protocols.", "main": "...
13
diff --git a/src/encoded/types/experiment.py b/src/encoded/types/experiment.py @@ -331,11 +331,11 @@ class Experiment(Dataset, break elif 'depleted_in_term_name' in library_object and \ 'polyadenylated mRNA' in library_object['depleted_in_term_name']: - preferred_name = 'polyA depleted RNA-seq' + preferred_name = 'poly...
3
diff --git a/userscript.user.js b/userscript.user.js @@ -15048,7 +15048,7 @@ var $$IMU_EXPORT$$; return options.cb({ url: decode_entities(match[1]), headers: { - Referer: null + Referer: result.finalUrl }, extra: { page: result.finalUrl
7
diff --git a/token-metadata/0xC9cE70A381910D0a90B30d408CC9C7705ee882de/metadata.json b/token-metadata/0xC9cE70A381910D0a90B30d408CC9C7705ee882de/metadata.json "symbol": "NYAN", "address": "0xC9cE70A381910D0a90B30d408CC9C7705ee882de", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED"...
3
diff --git a/assets/js/googlesitekit/data/create-settings-store.js b/assets/js/googlesitekit/data/create-settings-store.js @@ -396,18 +396,15 @@ export const createSettingsStore = ( type, identifier, datapoint, { }; }; - resolvers[ `get${ pascalCaseSlug }` ] = resolvers.getSettings; - /** * Gets the current value for t...
14
diff --git a/packages/openneuro-app/src/scripts/refactor_2021/dataset/files/file-view.jsx b/packages/openneuro-app/src/scripts/refactor_2021/dataset/files/file-view.jsx import React, { useState, useEffect } from 'react' -import Spinner from '../../../common/partials/spinner.jsx' +import { Loading } from '@openneuro/com...
14
diff --git a/src/functional.js b/src/functional.js @@ -341,6 +341,22 @@ function insertAt(state, listId, index, value) { return setField(newState, listId, newElem, value) } +function setListIndex(state, listId, index, value) { + const obj = state.getIn(['objects', listId]) + let i = -1, elem = obj.getIn(['_head', 'next...
11
diff --git a/src/middleware/packages/triplestore/index.js b/src/middleware/packages/triplestore/index.js @@ -39,7 +39,8 @@ const TripleStoreService = { }); } - const response = await fetch(this.settings.sparqlEndpoint + this.settings.mainDataset + '/update', { + const url = this.settings.sparqlEndpoint + this.settings....
7
diff --git a/src/traces/parcoords/lines.js b/src/traces/parcoords/lines.js @@ -168,6 +168,59 @@ function emptyAttributes(regl) { return attributes; } +function makeItem(model, leftmost, rightmost, itemNumber, i0, i1, x, y, panelSizeX, panelSizeY, crossfilterDimensionIndex, constraints, drwLayer) { + var dims = [[], []]...
5
diff --git a/features/cooldown.js b/features/cooldown.js @@ -2,7 +2,7 @@ const util = require('../lib/util'); //cooldown automod exports.message = async (message, channels, database) => { - if (!message.guild || message.author.bot) + if (!message.guild || message.author.bot || message.member.hasPermission('MANAGE_MESSA...
8
diff --git a/src/legacy.js b/src/legacy.js @@ -31,7 +31,10 @@ const runningComponents = () => { // load components if user runs a keyword command, or "sls --all" or "sls --target" (that last one for china) if ( componentKeywords.has(process.argv[2]) || - (process.argv[2] === 'deploy' && utils.runningTemplate(process.cw...
11
diff --git a/components/base-adresse-nationale/languages-preview.js b/components/base-adresse-nationale/languages-preview.js @@ -19,7 +19,15 @@ function LanguagesPreview({nomAlt}) { message={ <ul> {altNames.map(voieName => ( - <li color='white' key={voieName}>{nomAlt[voieName]}</li> + <li color='white' key={voieName}> ...
0
diff --git a/contracts/contracts/RaidenMicroTransferChannels.sol b/contracts/contracts/RaidenMicroTransferChannels.sol @@ -34,12 +34,34 @@ contract RaidenMicroTransferChannels { * Events */ - event ChannelCreated(address indexed _sender, address indexed _receiver, uint192 _deposit); - event ChannelToppedUp (address ind...
7
diff --git a/src/plots/cartesian/set_convert.js b/src/plots/cartesian/set_convert.js @@ -99,19 +99,18 @@ module.exports = function setConvert(ax, fullLayout) { if(ms === BADNUM) { if(isNumeric(v)) { v = +v; - // keep track of tenths of ms, that `new Date` will drop - // same logic as in Lib.ms2DateTime - var msecTenths...
0
diff --git a/stubs/defaultConfig.stub.js b/stubs/defaultConfig.stub.js -const _ = require('lodash') - module.exports = { prefix: '', important: false, @@ -310,9 +308,10 @@ module.exports = { margin: theme => { const negativeSpacing = Object.keys(theme('spacing')) .filter(key => theme('spacing')[key] !== '0') - .reduce(...
2
diff --git a/src/pipeline/bundle-js.js b/src/pipeline/bundle-js.js @@ -14,7 +14,7 @@ const getTransform = (opts, paths) => { return (opts[name] || []).map(d => require(d)); }; - return [[ babelify, { presets: [ reactPreset, es2015Preset ], ignore: ['node_modules/!(idyll)/**/*'] } ]] + return [[ babelify, { presets: [ r...
13
diff --git a/javascript/components/MapView.js b/javascript/components/MapView.js @@ -225,7 +225,6 @@ class MapView extends NativeBridgeComponent { regionDidChangeDebounceTime: 500, }; - _mounted = false; constructor(props) { super(props); @@ -258,12 +257,12 @@ class MapView extends NativeBridgeComponent { } componentDi...
2
diff --git a/README.md b/README.md @@ -75,7 +75,7 @@ Head over to the **interactive playground** at [codesandbox](https://codesandbox ### Why i18next? - **Simplicity:** no need to change your webpack configuration or add additional babel transpilers, just use create-react-app and go. -- **Production ready** we know the...
1
diff --git a/game.js b/game.js @@ -1024,6 +1024,18 @@ _setFirstPersonAction(lastFirstPerson); _setFirstPersonAction(firstPerson); }); */ +const _listenLocalPlayerPickupAction = () => { + const localPlayer = getLocalPlayer(); + localPlayer.addEventListener('actionadd', e => { + const {action} = e; + const {type} = actio...
0
diff --git a/config/app_config.yml.sample b/config/app_config.yml.sample @@ -764,7 +764,7 @@ defaults: &defaults isolines: false routing: false data_observatory: false - disable_email_mx_check: # true / false (default). Disables MX DNS record check and just performs syntax validation. + disable_email_mx_check: false # ...
7
diff --git a/modules/Cockpit/Controller/Assets.php b/modules/Cockpit/Controller/Assets.php @@ -81,12 +81,17 @@ class Assets extends \Cockpit\AuthController { $info = getimagesize($target); $asset['width'] = $info[0]; $asset['height'] = $info[1]; - $asset['colors'] = \ColorThief\ColorThief::getPalette($target, 5); + $as...
7
diff --git a/angular/projects/spark-angular/src/lib/components/sprk-card/sprk-card.stories.ts b/angular/projects/spark-angular/src/lib/components/sprk-card/sprk-card.stories.ts @@ -161,6 +161,11 @@ export const teaser = () => ({ invenirevix te. Facilisi perpetua. </p> + <sprk-stack + splitAt="tiny" + additionalClasses=...
3
diff --git a/README.md b/README.md <p align="center"> + <img src="https://raw.githubusercontent.com/hopsoft/stimulus_reflex/master/assets/stimulus-reflex-logo.svg?sanitize=true" height="100" /> <a href="https://codefund.io/properties/525/visit-sponsor"> <img src="https://codefund.io/properties/525/sponsor" /> </a> ![St...
5
diff --git a/src/components/appSwitch/AppSwitch.js b/src/components/appSwitch/AppSwitch.js @@ -10,6 +10,7 @@ import GDStore from '../../lib/undux/GDStore' import { checkAuthStatus } from '../../lib/login/checkAuthStatus' import { CustomDialog } from '../common' import LoadingIndicator from '../common/LoadingIndicator' ...
0
diff --git a/activity/settings/production.py b/activity/settings/production.py @@ -74,7 +74,10 @@ GOOGLE_MAP_API_KEY = environ.get('ACTIVITY_GOOGLE_MAP_API_KEY', '') # CACHE CONFIGURATION # See: https://docs.djangoproject.com/en/dev/ref/settings/#caches -CACHES = {} +CACHES = { + "default": + {"BACKEND": "django.core.c...
12
diff --git a/routes/serve-routes.js b/routes/serve-routes.js const errorHandlers = require('../helpers/libraries/errorHandlers.js') const serveController = require('../controllers/serveController.js') -function serveFile ({ fileType, filePath }, res) { +function serveFile ({ file_type, file_path }, res) { // set defaul...
1