code
stringlengths
122
4.99k
label
int64
0
14
diff --git a/userscript.user.js b/userscript.user.js @@ -29479,8 +29479,10 @@ var $$IMU_EXPORT$$; cb: function(){} }; + opts = get_bigimage_extoptions_first(opts); opts = get_bigimage_extoptions(opts); - if (bigimage_recursive(url, opts) !== null) { + var result = bigimage_recursive(url, opts); + if (result !== null) {...
7
diff --git a/microblogPane/microblogPane.js b/microblogPane/microblogPane.js @@ -129,7 +129,7 @@ module.exports = { var theUser = UI.authn.currentUser() if (theUser) { - var theAccount = tabulator.preferences.get('acct') + var theAccount = UI.preferences.get('acct') if (theAccount) { theAccount = kb.sym(theAccount) @@ ...
14
diff --git a/services/governance-service/app/utils/dashboard.js b/services/governance-service/app/utils/dashboard.js @@ -246,6 +246,8 @@ async function checkFlows(token) { totalPages = flowReproResult.meta.totalPages; } + if (!flowReproResult || !('data' in flowReproResult)) return []; + let affectedFlows = getFlowsWit...
9
diff --git a/src/fonts/ploticon.js b/src/fonts/ploticon.js @@ -171,7 +171,7 @@ module.exports = { ' <style>', ' .cls-1{fill:#8c99cd;}', ' .cls-2{fill:url(#linear-gradient);}', - ' .cls-3{fill:#777;}', + ' .cls-3{fill:#777; stroke:#FFF; strokewidth:2;}', ' </style>', ' <linearGradient id=\'linear-gradient\' x1=\'20.32\'...
0
diff --git a/generators/client/templates/angular/src/main/webapp/app/shared/tracker/_tracker.service.ts b/generators/client/templates/angular/src/main/webapp/app/shared/tracker/_tracker.service.ts @@ -46,7 +46,7 @@ export class <%=jhiPrefixCapitalized%>TrackerService { } // building absolute path so that websocket does...
2
diff --git a/client/zone/vacuum-map.js b/client/zone/vacuum-map.js @@ -240,30 +240,47 @@ function VacuumMap(canvasElement) { ctx.scale(initialScalingFactor, initialScalingFactor); ctx.translate(-boundingBox.minX, -boundingBox.minY); - function redraw() { - // Clear the entire canvas - const p1 = ctx.transformedPoint(0,...
7
diff --git a/client/app/components/Users.js b/client/app/components/Users.js @@ -7,9 +7,8 @@ import User from './User'; /** * The list of users (avatars) and their estimations. */ -const Users = ({users, ownUserId}) => { +const Users = ({users}) => { const userArray = Object.values(users); - userArray.sort((uOne, uTwo)...
13
diff --git a/website/src/docs/aws-s3.md b/website/src/docs/aws-s3.md @@ -26,8 +26,6 @@ There are broadly two ways of uploading to S3 in a browser. A server can generat There is also a separate plugin for S3 Multipart uploads. Multipart in this sense refers to Amazon's proprietary chunked, resumable upload mechanism for...
2
diff --git a/README.md b/README.md -![TypeOfNaN JavaScript Quizzes](typeOfNaN-logo.jpg 'TypeOfNaN JavaScript Quizzes') -___ -Learn JavaScript fundamentals through fun and challenging quizzes! +<div align="center"> +<img src="https://raw.githubusercontent.com/nas5w/typeofnan-javascript-quizzes/master/typeOfNaN-logo.jpg"...
0
diff --git a/packages/idyll-document/src/runtime.js b/packages/idyll-document/src/runtime.js @@ -154,28 +154,28 @@ const createWrapper = ({ theme, layout }) => { handleFormatComponent(info) { const allProps = Object.keys(info.props); // TODO -- should we display children prop? Probly not - const valuesOfProps = allProp...
11
diff --git a/src/core/Core.test.js b/src/core/Core.test.js @@ -617,6 +617,23 @@ describe('src/Core', () => { expect(err.message).toEqual('You can only upload: image/gif') } }) + + it('should not allow a file if onBeforeFileAdded returned false', () => { + const core = new Core({ + onBeforeFileAdded: (file, files) => { ...
0
diff --git a/components/Notifications/SubscribeMenu.js b/components/Notifications/SubscribeMenu.js @@ -20,9 +20,13 @@ const styles = { }) } +const checkIfSubscribed = ({ data, subscription }) => + (subscription && subscription.active) || + (data && getSelectedDiscussionPreference(data) !== 'NONE') + const SubscribeMenu...
1
diff --git a/bin/enforcers/SecurityRequirement.js b/bin/enforcers/SecurityRequirement.js @@ -66,7 +66,7 @@ module.exports = { } definition.forEach(scope => { - if (scopes.includes(scope)) { + if (!scopes.includes(scope)) { const name = major === 2 ? 'securityDefinitions' : 'securitySchemes'; exception.at(key).message('...
1
diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md <!--- Provide a general summary of the issue in the Title above --> -<!-- This repository is only for the Franz client. Please use this form ( https://adlk.typeform.com/to/Bj7vGq ) for service requests or check out the guide ( https://github.com/meetfra...
14
diff --git a/packages/2018-disaster-resilience/src/state/tillamook-county-earthquake-casualty-estimates/api.js b/packages/2018-disaster-resilience/src/state/tillamook-county-earthquake-casualty-estimates/api.js @@ -3,7 +3,7 @@ import requestAdapter from "../request-adapter"; const apiConfig = { requestAdapter }; -const...
2
diff --git a/includes/Modules/Analytics_4/Settings.php b/includes/Modules/Analytics_4/Settings.php @@ -94,9 +94,9 @@ class Settings extends Module_Settings implements Setting_With_Owned_Keys_Interf if ( isset( $option['useSnippet'] ) ) { $option['useSnippet'] = (bool) $option['useSnippet']; } - if ( isset( $option['goo...
2
diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/common/popover.js b/packages/node_modules/@node-red/editor-client/src/js/ui/common/popover.js @@ -610,10 +610,13 @@ RED.popover = (function() { var target = options.target; var align = options.align || "right"; var offset = options.offset || [0,0]; + ...
11
diff --git a/commands/plugin_bot.go b/commands/plugin_bot.go @@ -647,6 +647,7 @@ func HandleMessageCreate(evt *eventsystem.EventData) { return } + // ping pong split := strings.Split(m.Content, ";") if split[0] != ":PONG" || len(split) < 2 { return @@ -658,7 +659,12 @@ func HandleMessageCreate(evt *eventsystem.EventDat...
7
diff --git a/src/lib/components/Keyboard.js b/src/lib/components/Keyboard.js @@ -182,6 +182,102 @@ class SimpleKeyboard { }) } + addButtonTheme = (buttons, className) => { + if(!className || !buttons) + return false; + + buttons.split(" ").forEach(button => { + className.split(" ").forEach(classNameItem => { + if(!this...
7
diff --git a/constants.js b/constants.js @@ -39,5 +39,6 @@ export function makePromise() { p.reject = reject; return p; } -const isLocal = false; -export const storageHost = !isLocal ? 'https//storage.exokit.org' : 'https://127.0.0.1:443/storage'; + +export const storageHost = 'https//storage.exokit.org'; +// export co...
2
diff --git a/services/importer/spec/unit/unp_spec.rb b/services/importer/spec/unit/unp_spec.rb @@ -4,7 +4,7 @@ require_relative '../../lib/importer/unp' include CartoDB::Importer2 module FileUtils - class Entry_ + class Entry_ # rubocop:disable ClassAndModuleCamelCase def copy_file(dest) Open3.capture2('cp', path, dest...
8
diff --git a/src/sections/Home/Proud-maintainers/index.js b/src/sections/Home/Proud-maintainers/index.js import React from "react"; -import { Link } from "gatsby"; import { Container, Row, Col } from "../../../reusecore/Layout"; import SectionTitle from "../../../reusecore/SectionTitle"; -import Button from "../../../r...
7
diff --git a/angular/projects/spark-angular/ng-package.json b/angular/projects/spark-angular/ng-package.json "lib": { "umdModuleIds": { "lodash": "lodash", - "lodash/uniqueId": "lodash/uniqueId", + "lodash/uniqueId": "lodash", "tiny-date-picker": "tiny-date-picker", "focus-visible": "focus-visible" },
3
diff --git a/CHANGELOG.md b/CHANGELOG.md @@ -21,10 +21,11 @@ and fixes the following bugs: * Dockerfile was missing EXPOSE $PORT; * Bug when removing user from board that generate activity for all cards of the board. Add check before user is one owner - of the card before adding activity. + of the card before adding ac...
7
diff --git a/smart-contracts/test/Lock/erc721/transferFrom.js b/smart-contracts/test/Lock/erc721/transferFrom.js @@ -76,7 +76,7 @@ contract('Lock ERC721', (accounts) => { it('should abort if the recipient is 0x', () => { return locks['FIRST'] - .transferFrom(from, 0, from, { + .transferFrom(from, Web3Utils.padLeft(0, 4...
4
diff --git a/token-metadata/0x6c972b70c533E2E045F333Ee28b9fFb8D717bE69/metadata.json b/token-metadata/0x6c972b70c533E2E045F333Ee28b9fFb8D717bE69/metadata.json "symbol": "FRY", "address": "0x6c972b70c533E2E045F333Ee28b9fFb8D717bE69", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED" ...
3
diff --git a/docs/content/examples/charts/bar/Combination.js b/docs/content/examples/charts/bar/Combination.js -import { HtmlElement, Grid, Repeater } from 'cx/widgets'; +import { HtmlElement, Grid, Repeater, Content, Tab } from 'cx/widgets'; import { Controller, PropertySelection } from 'cx/ui'; import { Svg, Rectangl...
0
diff --git a/token-metadata/0x0000000000085d4780B73119b644AE5ecd22b376/metadata.json b/token-metadata/0x0000000000085d4780B73119b644AE5ecd22b376/metadata.json "symbol": "TUSD", "address": "0x0000000000085d4780B73119b644AE5ecd22b376", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED"...
3
diff --git a/player/index.html b/player/index.html //elem.style.display = 'none'; var animData = { container: elem, - renderer: 'svg', + renderer: 'canvas', loop: true, - autoplay: false, + autoplay: true, rendererSettings: { progressiveLoad:false, imagePreserveAspectRatio: 'xMidYMid meet' }, - path: 'https://storage.g...
3
diff --git a/src/test/framework/flow.js b/src/test/framework/flow.js @@ -110,6 +110,7 @@ var steps = [ //Test Cloud Pools action: 'node', name: 'Cloud Pools Test', + ignore_failure: true, params: [{ arg: './src/test/system_tests/test_cloud_pools' }],
8
diff --git a/articles/tutorials/sending-events-to-splunk.md b/articles/tutorials/sending-events-to-splunk.md @@ -11,7 +11,7 @@ This example shows how you can very easily connect Auth0 to Splunk and stream `s ## Record a SignUp or Login Event in Splunk -This Auth0 rule uses the [Splunk REST API](http://dev.splunk.com/vi...
0
diff --git a/Courses/intelligence_learning/session7/7_1_color_classifier/sketch.js b/Courses/intelligence_learning/session7/7_1_color_classifier/sketch.js @@ -13,7 +13,11 @@ function setup() { let submit = createButton('submit'); submit.mousePressed(sendData); + + +} + function sendData() { // send this data to somethi...
1
diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/utils.js b/packages/node_modules/@node-red/editor-client/src/js/ui/utils.js @@ -789,7 +789,11 @@ RED.utils = (function() { return RED.settings.apiRootUrl+"icons/"+iconPath.module+"/"+iconPath.file; } } else { - if (def.category === 'subflows') { + // ...
9
diff --git a/src/pages/using-spark/components/divider.mdx b/src/pages/using-spark/components/divider.mdx @@ -8,7 +8,7 @@ import ComponentPreview from '../../../components/ComponentPreview'; Divider is a visual break between content. <ComponentPreview - componentName="divider--as-a-span-element" + componentName="divider...
3
diff --git a/Source/Scene/Cesium3DTilePointFeature.js b/Source/Scene/Cesium3DTilePointFeature.js @@ -463,7 +463,7 @@ define([ return this._polyline.material.uniforms.color; }, set : function(value) { - this._polyline.material.uniforms.color = value; + this._polyline.material.uniforms.color = Color.clone(value, this._po...
1
diff --git a/config/initializers/i18n.rb b/config/initializers/i18n.rb @@ -9,7 +9,7 @@ I18N_SUPPORTED_LOCALES = I18N_LOCALES.reject{|l| l == 'qqq' || l =~ /\-phonetic/ # set up fallbacks require "i18n/backend/fallbacks" I18n::Backend::Simple.send(:include, I18n::Backend::Fallbacks) -Rails.application.config.i18n.fallba...
4
diff --git a/token-metadata/0x83e6f1E41cdd28eAcEB20Cb649155049Fac3D5Aa/metadata.json b/token-metadata/0x83e6f1E41cdd28eAcEB20Cb649155049Fac3D5Aa/metadata.json "symbol": "POLS", "address": "0x83e6f1E41cdd28eAcEB20Cb649155049Fac3D5Aa", "decimals": 18, - "dharmaVerificationStatus": "UNVERIFIED" + "dharmaVerificationStatus...
3
diff --git a/templates/lively-debugger.js b/templates/lively-debugger.js @@ -294,7 +294,7 @@ export default class Debugger extends Morph { scriptableDebuggerButtonClick(evt) { lively.openWorkspace("this.sendCommandToDebugger('Debugger.stepOver', {});",0).then((cmp) => { - cmp.parentElement.setAttribute("title", 'Debugg...
10
diff --git a/src/encoded/types/biosample.py b/src/encoded/types/biosample.py @@ -99,11 +99,6 @@ class Biosample(Item, CalculatedBiosampleSlims, CalculatedBiosampleSynonyms): 'rnais.documents.lab', 'organism', 'references', - 'talens', - 'talens.documents', - 'talens.documents.award', - 'talens.documents.lab', - 'talens...
2
diff --git a/packages/@uppy/core/src/_variables.scss b/packages/@uppy/core/src/_variables.scss // Fonts -$font-family-base: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, +$font-family-base: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica...
2
diff --git a/defaultTheme.js b/defaultTheme.js @@ -169,9 +169,9 @@ module.exports = function() { tighter: '-.05em', tight: '-.025em', normal: '0', - wide: '0.025em', - wider: '0.05em', - widest: '0.1em', + wide: '.025em', + wider: '.05em', + widest: '.1em', }, textColor: theme => theme.colors, backgroundColor: theme =>...
2
diff --git a/lib/classes/PluginManager.test.js b/lib/classes/PluginManager.test.js @@ -391,6 +391,7 @@ describe('PluginManager', () => { ({ restoreEnv } = overrideEnv({ whitelist: ['APPDATA', 'PATH'] })); serverless = new Serverless(); serverless.cli = new CLI(); + serverless.processedInput = { commands: [], options: {...
7
diff --git a/accessibility-checker-engine/src/v2/checker/accessibility/nls/index.ts b/accessibility-checker-engine/src/v2/checker/accessibility/nls/index.ts @@ -500,7 +500,7 @@ let a11yNls = { "WCAG20_Label_RefValid": { 0: "The 'for' attribute must reference a non-empty, unique 'id' attribute of an <input> element", "P...
2
diff --git a/src/server/routes/apiv3/slack-integration-settings.js b/src/server/routes/apiv3/slack-integration-settings.js @@ -359,12 +359,12 @@ module.exports = (crowi) => { * /slack-integration-settings/slack-app-integrations: * put: * tags: [SlackIntegration] - * operationId: putAccessTokens + * operationId: putSlac...
7
diff --git a/package.json b/package.json "lint": "npm run lint:ts && npm run lint:js", "packages:purge": "rimraf node_modules", "packages:reinstall": "npm run packages:purge && npm install", - "postinstall": "lerna bootstrap && lerna exec --no-sort -- node ../../bin/link", + "postinstall": "lerna bootstrap && lerna exe...
12
diff --git a/src/sassdoc.js b/src/sassdoc.js @@ -337,10 +337,7 @@ function srcEnv (documentize, stream) { function onEmpty (data, env) { let message = `SassDoc could not find anything to document.\n * Are you still using \`/**\` comments ? They're no more supported since 2.0. - See <http://sassdoc.com/upgrading/#c-styl...
2
diff --git a/lib/bal/api.js b/lib/bal/api.js @@ -118,6 +118,10 @@ export async function getStats() { return _fetch(`${BACKEND_URL}/datasets/stats`, 'GET') } +export async function getBALStats() { + return _fetch(`https://plateforme.adresse.data.gouv.fr/ban/stats`, 'GET') +} + export async function getReport(id) { const...
0
diff --git a/item-spec/examples/sample-full.json b/item-spec/examples/sample-full.json {"rel": "root", "href": "http://cool-sat.com/catalog/catalog.json"}, {"rel": "parent", "href": "http://cool-sat.com/catalog/CS3-20160503_132130_04/catalog.json"}, {"rel": "collection", "href": "http://cool-sat.com/catalog/CS3-2016050...
0
diff --git a/src/screens/application/index.js b/src/screens/application/index.js @@ -10,7 +10,7 @@ import { PinCode } from '../pinCode'; import ErrorBoundary from './screen/errorBoundary'; const Application = () => { - const [showAnimation, setShowAnimation] = useState(true); //process.env.NODE_ENV !== 'development'); ...
13
diff --git a/lib/node_modules/@stdlib/math/base/blas/dasum/src/Makefile b/lib/node_modules/@stdlib/math/base/blas/dasum/src/Makefile @@ -104,7 +104,11 @@ EMCC_SHARED_FLAGS := \ -s NO_FILESYSTEM=1 \ -s ERROR_ON_UNDEFINED_SYMBOLS=1 \ -s ERROR_ON_MISSING_LIBRARIES=1 \ - -s NODEJS_CATCH_EXIT=0 + -s NODEJS_CATCH_EXIT=0 \ + ...
12
diff --git a/src/post/PostSingleContent.scss b/src/post/PostSingleContent.scss .PostSingleContent__content { font-size: 20px; line-height: 1.6em; - font-family: Georgia, Cambria, "Times New Roman", Times, serif; + font-family: "DroidSerif", Georgia, Cambria, "Times New Roman", Times, serif; overflow: hidden; - p { - te...
7
diff --git a/src/components/molecules/BillboardAlt/index.js b/src/components/molecules/BillboardAlt/index.js @@ -8,7 +8,7 @@ const BillboardAlt = ({ image, heading, subtitle, cta, background, ctaUrl }) => <div className={styles.wrapper} style={{background:`${background}`}}> <Container> <Flex className={styles.container...
12
diff --git a/packages/build/src/plugins/ipc.js b/packages/build/src/plugins/ipc.js @@ -22,16 +22,7 @@ const getEventFromChild = async function(childProcess, expectedEvent) { throw new Error(`Could not receive event '${expectedEvent}' from child process because it already exited`) } - // If the child process exited, we ...
7
diff --git a/generators/php.js b/generators/php.js @@ -92,7 +92,6 @@ Blockly.PHP.ORDER_ASSIGNMENT = 20; // = += -= *= /= %= <<= >>= ... Blockly.PHP.ORDER_LOGICAL_AND_WEAK = 21; // and Blockly.PHP.ORDER_LOGICAL_XOR = 22; // xor Blockly.PHP.ORDER_LOGICAL_OR_WEAK = 23; // or -Blockly.PHP.ORDER_COMMA = 24; // , Blockly.PHP...
2
diff --git a/src/generators/posthtml.js b/src/generators/posthtml.js @@ -29,17 +29,7 @@ module.exports = async (html, config) => { ) return posthtml([ - layouts( - merge( - { - strict: false, - plugins: [ - expressions({...expressionsOptions, locals}) - ] - }, - layoutsOptions - ) - ), + layouts({strict: false, ...layo...
13
diff --git a/src/image.js b/src/image.js @@ -35,6 +35,7 @@ class gltfImage extends GltfObject { if (this.uri !== undefined) { + this.uri = this.uri.replace(/\.\//, ''); // Remove preceding './' from URI this.uri = basePath + this.uri; } }
2
diff --git a/articles/quickstart/native/ios-swift/07-linking-accounts.md b/articles/quickstart/native/ios-swift/07-linking-accounts.md @@ -55,23 +55,6 @@ Auth0 ## Retrieve the Linked Accounts -You can retrieve the linked accounts (user identities). To achieve this, fetch the user's profile as shown in the [User Session...
2
diff --git a/src/libs/actions/Report.js b/src/libs/actions/Report.js @@ -704,29 +704,6 @@ function updateReportWithNewAction( }); } -/** - * Toggles the pinned state of the report. - * - * @param {Object} report - */ -function togglePinnedState(report) { - const pinnedValue = !report.isPinned; - - // Optimistically pin...
10
diff --git a/examples/browser.html b/examples/browser.html @@ -36,9 +36,7 @@ function init() { directionalLight.position.set(1, 1, 1); scene.add(directionalLight); - const gl = renderer.getContext(); - const tex = gl.createTexture(); - brwsr = new Browser(gl, tex, window.innerWidth, window.innerHeight, 'https://google....
4
diff --git a/src/pages/santa.js b/src/pages/santa.js @@ -77,7 +77,7 @@ export default () => ( </Lead> <IconButton is={LargeButton.withComponent(Link)} - to="https://santa.hackclub.com" + href="https://santa.hackclub.com" glyph="freeze" mt={3} >
1
diff --git a/src/service/data-util.service.ts b/src/service/data-util.service.ts @@ -68,7 +68,7 @@ export class JhiDataUtils { const fileURL = `data:${contentType};base64,${data}`; const win = window.open(); win.document.write( - '<iframe src="' + fileURL + '" frameborder="0" style="border:0; top:0px; left:0px; bottom:...
2
diff --git a/deploy/helm/minikube-dev.yml b/deploy/helm/minikube-dev.yml @@ -16,14 +16,16 @@ global: openfaas: # turn off auth over openfass gateway for ease of debugging allowAdminOnly: false - urlProcessors: - # Remove the image section to make url processors pull your test docker images from your local docker regist...
12
diff --git a/package.json b/package.json "name": "find-and-replace", "main": "./lib/find", "description": "Find and replace within buffers and across the project.", - "version": "0.215.9", + "version": "0.215.10", "license": "MIT", "activationCommands": { "atom-workspace": [
6
diff --git a/spec/requests/carto/api/api_keys_controller_spec.rb b/spec/requests/carto/api/api_keys_controller_spec.rb @@ -20,6 +20,7 @@ describe Carto::Api::ApiKeysController do @auth_api_feature_flag = FactoryGirl.create(:feature_flag, name: 'auth_api', restricted: false) @user = FactoryGirl.create(:valid_user) @cart...
1
diff --git a/Source/Renderer/AutomaticUniforms.js b/Source/Renderer/AutomaticUniforms.js @@ -1480,6 +1480,7 @@ define([ /** * An automatic GLSL uniform representing the splitter position to use when rendering imagery layers with a splitter. + * This will be in the range 0.0 to 1.0 with 0.0 being the far left of the vie...
3
diff --git a/src/pages/home/report/ReportActionItemRow/index.js b/src/pages/home/report/ReportActionItemRow/index.js @@ -15,7 +15,7 @@ class ReportActionItemRow extends Component { super(props); this.state = { - isModalVisible: false, + isPopoverVisible: false, }; // The horizontal and vertical position (relative to th...
10
diff --git a/core/algorithm-builder/environments/nodejs/wrapper/package.json b/core/algorithm-builder/environments/nodejs/wrapper/package.json "author": "", "license": "ISC", "dependencies": { - "@hkube/nodejs-wrapper": "^2.0.15" + "@hkube/nodejs-wrapper": "^2.0.16" }, "devDependencies": {} } \ No newline at end of fil...
3
diff --git a/articles/product-lifecycle/migrations.md b/articles/product-lifecycle/migrations.md @@ -38,7 +38,7 @@ We are actively migrating customers to new behaviors for all **Deprecations** li <td><a href="/logs/migrate-logs-v2-v3">Tenant Logs Search v2</a></td> <td>21 May 2019</td> <td> - <strong>Free</strong>: 15 ...
3
diff --git a/components/utilities/dialog/index.jsx b/components/utilities/dialog/index.jsx @@ -207,20 +207,23 @@ const Dialog = createReactClass({ } }, + componentWillUpdate() { + if (this.popper) { + this.popper.scheduleUpdate(); + } + }, + componentDidUpdate(prevProps, prevState) { if ( this.state.triggerPopperJS ===...
3
diff --git a/vis/test/snapshot/list-base.test.js b/vis/test/snapshot/list-base.test.js @@ -8,6 +8,7 @@ import data, { baseContext as context, } from "../data/base"; import { initializeStore, selectPaper } from "../../js/actions"; +import { getInitialState } from "../../js/reducers"; import List from "../../js/component...
1
diff --git a/src/components/Main/Results/DeterministicLinePlot.tsx b/src/components/Main/Results/DeterministicLinePlot.tsx @@ -369,7 +369,7 @@ export function DeterministicLinePlot({ /> ))} {zoomSelectedLeftState && zoomSelectedRightState ? ( - <ReferenceArea x1={zoomSelectedLeftState} x2={zoomSelectedRightState} fill=...
4
diff --git a/src/lib/componentDeclarative/serverless.js b/src/lib/componentDeclarative/serverless.js @@ -66,7 +66,7 @@ class ComponentDeclarative extends Component { // If component instance was not found, the variable is for an invalid instance if (!value) { - throw new Error(`Invalid variable detected. Component inst...
7
diff --git a/.circleci/config.yml b/.circleci/config.yml @@ -7,23 +7,23 @@ jobs: steps: - checkout - restore_cache: - key: dependency-cache-vanilla-v1-{{ checksum "package.json" }} + key: dependency-cache-vanilla-v1-{{ checksum "src/implementations/vanilla/package.json" }} - run: name: npm Install (Vanilla) command: np...
4
diff --git a/karma.conf.js b/karma.conf.js @@ -133,12 +133,6 @@ module.exports = (config) => { browserName: "internet explorer", version: "latest" }, - "Internet Explorer (latest) on Windows 10": { - base: "SauceLabs", - platform: "Windows 10", - browserName: "internet explorer", - version: "latest" - }, "Safari (lates...
1
diff --git a/_data/conferences.yml b/_data/conferences.yml --- -- title: KDD - hindex: 30 - year: 2021 - id: kdd21 - link: https://www.kdd.org/kdd2021/ - deadline: '2021-02-08 23:59:59' - timezone: UTC-12 - date: August 14-18, 2021 - place: Singapore - sub: DM - - title: CVPR hindex: 299 year: 2021 sub: ML note: '<b>NO...
2
diff --git a/src/renderer/wallet/main/sidebar.jsx b/src/renderer/wallet/main/sidebar.jsx @@ -21,9 +21,10 @@ import { const styles = theme => ({ list: { - height: 'inherit', justifyContent: 'space-between', margin: 0, + minHeight: '100%', + overflow: 'scroll', width: 300 },
1
diff --git a/lib/views/login.html b/lib/views/login.html {% if passportGoogleLoginEnabled() %} <form role="form" action="/passport/google" method="get"> <button type="submit" class="fcbtn btn btn-1b btn-login-oauth" id="google"> - <span class="btn-label"><i class="icon-social-google"></i></span> + <span class="btn-labe...
14
diff --git a/lib/util/dom.js b/lib/util/dom.js @@ -194,7 +194,12 @@ function findNodeInParents(node, targetTagName) { * @return {InputElement} */ function createHiddenInput (attributes = {}) { - let hidden = global.document.createElement(attributes.type === 'button' ? 'button' : 'input'); + let inputType = 'input'; + i...
11
diff --git a/app/core/tokenList.json b/app/core/tokenList.json "name": "Novem Gold Token", "hash": "50091057ff12863f1a43266b9786209e399c6ffc", "decimals": 8, - "totalSupply": 0 + "totalSupply": 1 } } },
3
diff --git a/.github/workflows/test-ui.yml b/.github/workflows/test-ui.yml @@ -40,7 +40,7 @@ jobs: # Install apt-transport-https # Use apt to install the Chrome dependencies sudo apt-get install -y apt-transport-https unzip xvfb libxi6 libgconf-2-4 && sudo apt-get install xvfb && sudo apt-get install -y libxcursor1 && ...
2
diff --git a/token-metadata/0x165440036Ce972C5F8EBef667086707e48B2623e/metadata.json b/token-metadata/0x165440036Ce972C5F8EBef667086707e48B2623e/metadata.json "symbol": "GRAPH", "address": "0x165440036Ce972C5F8EBef667086707e48B2623e", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED...
3
diff --git a/src/documentation/Icons-story.js b/src/documentation/Icons-story.js @@ -19,6 +19,7 @@ const IconList = ({ icon }) => { const iconName = icon.name.replace('icon--', ''); return ( <Tooltip + interactive html={ <div style={{ @@ -52,7 +53,7 @@ const IconList = ({ icon }) => { icon="download--glyph" href={`http...
1
diff --git a/defaultConfig.stub.js b/defaultConfig.stub.js @@ -673,7 +673,7 @@ module.exports = { /* |----------------------------------------------------------------------------- - | Padding https://tailwindcss.com/docs/padding + | Padding https://tailwindcss.com/docs/spacing |-----------------------------------------...
3
diff --git a/src/components/Modal/modal.styles.js b/src/components/Modal/modal.styles.js @@ -8,15 +8,20 @@ export const ModalContainer: ComponentType<*> = (() => { return styled.section` display: flex; + position: fixed; + z-index: 999999999; justify-content: center; align-items: center; - position: fixed; - z-index: 9...
7
diff --git a/assets/js/modules/analytics/datastore/accounts.js b/assets/js/modules/analytics/datastore/accounts.js @@ -103,8 +103,8 @@ export const actions = { invariant( timezone, 'timezone is required.' ); try { - const createAccountTicket = yield actions.fetchCreateAccount( { accountName, propertyName, profileName, ...
10
diff --git a/plugins/cindygl/src/js/LinearAlgebra.js b/plugins/cindygl/src/js/LinearAlgebra.js @@ -56,7 +56,7 @@ function generatematmult(t, modifs, codebuilder) { } function generatesum(t, modifs, codebuilder) { - if (isnativeglsl(t)) return; + if (isnativeglsl(t) && depth(t) <= 1) return; let n = t.length; let name =...
11
diff --git a/mailheader.js b/mailheader.js @@ -133,7 +133,7 @@ class Header { } this._add_header(key.toLowerCase(), value, "unshift"); this._add_header_decode(key.toLowerCase(), value, "unshift"); - this.header_list.unshift(key + ': ' + value + '\n'); + this.header_list.unshift(`${key}: ${value}\n`); } _add_header (key...
14
diff --git a/src/core/Utils.js b/src/core/Utils.js @@ -121,7 +121,10 @@ function getFileType (file) { 'markdown': 'text/markdown', 'mp4': 'video/mp4', 'mp3': 'audio/mp3', - 'svg': 'image/svg+xml' + 'svg': 'image/svg+xml', + 'jpg': 'image/jpeg', + 'png': 'image/png', + 'gif': 'image/gif' } const fileExtension = file.nam...
0
diff --git a/src/resources/views/fields/upload.blade.php b/src/resources/views/fields/upload.blade.php @include('crud::inc.field_translatable_icon') {{-- Show the file name and a "Clear" button on EDIT form. --}} - @if (isset($field['value']) && $field['value']!=null) + @if (!empty($field['value'])) <div class="well we...
14
diff --git a/server/game/drawcard.js b/server/game/drawcard.js @@ -68,9 +68,11 @@ class DrawCard extends BaseCard { getPrintedSkill(type) { if(type === 'military') { - return this.cardData.military === null ? NaN : isNaN(parseInt(this.cardData.military)) ? 0 : parseInt(this.cardData.military); + return this.cardData.mi...
9
diff --git a/userscript.user.js b/userscript.user.js @@ -2155,8 +2155,18 @@ var $$IMU_EXPORT$$; var do_progress = !!options.onprogress; + var get_contentrange_length = function(headers) { + if (!("content-range" in headers)) { + return null; + } else { + // todo: improve + var range = headers["content-range"].split("/"...
7
diff --git a/pages/apis/latest/belt/list.mdx b/pages/apis/latest/belt/list.mdx @@ -14,7 +14,7 @@ Collection functions for manipulating the `list` data structures, a singly-linke ## t<'a> -```res sig +```res prelude type t<'a> = list<'a> ``` @@ -397,7 +397,7 @@ let mapReverse: (t<'a>, 'a => 'b) => t<'b> Equivalent to: -...
1
diff --git a/js/base/Exchange.js b/js/base/Exchange.js @@ -11,6 +11,7 @@ const { , values , deepExtend , extend + , clone , flatten , unique , indexBy @@ -455,6 +456,19 @@ module.exports = class Exchange { } } + setSandboxMode (enabled) { + if (!!enabled) { + if ('test' in this.urls) { + this.urls['api_backup'] = clone...
13
diff --git a/api/queries/thread/reactions.js b/api/queries/thread/reactions.js @@ -8,6 +8,14 @@ export default async ( _: any, { user, loaders }: GraphQLContext ) => ({ - count: reactionCount, + count: + typeof reactionCount === 'number' + ? reactionCount + : await loaders.threadReaction + .load(id) + .then( + res => +...
9
diff --git a/token-metadata/0x199c3DdedB0e91dB3897039AF27c23286269F088/metadata.json b/token-metadata/0x199c3DdedB0e91dB3897039AF27c23286269F088/metadata.json "symbol": "DCX", "address": "0x199c3DdedB0e91dB3897039AF27c23286269F088", "decimals": 8, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED" }...
3
diff --git a/src/components/Client.js b/src/components/Client.js @@ -34,13 +34,17 @@ class ClientWrapper extends Component { `, variables: { id: oldClientId } }); - this.props.client.mutate({ + this.props.client + .mutate({ mutation: gql` mutation RegisterClient($client: ID!) { clientConnect(client: $client) } `, varia...
1
diff --git a/index.d.ts b/index.d.ts @@ -244,7 +244,7 @@ declare module 'mongoose' { /** Defines or retrieves a model. */ model<T extends Document>(name: string, schema?: Schema<T>, collection?: string): Model<T>; - model<T extends Document, U extends Model<T, TQueryHelpers>, TQueryHelpers = undefined>( + model<T exten...
1
diff --git a/webaverse.js b/webaverse.js @@ -344,12 +344,12 @@ export default class Webaverse extends EventTarget { } renderer.setAnimationLoop(animate); - _startHacks(); + _startHacks(this); } } // import {MMDLoader} from 'three/examples/jsm/loaders/MMDLoader.js'; -const _startHacks = () => { +const _startHacks = weba...
0
diff --git a/functions/kubernetes/k8sCommand.js b/functions/kubernetes/k8sCommand.js @@ -27,16 +27,10 @@ async function k8sCommand(ins, outs, context, cb) { const kubeconfig = new k8s.KubeConfig(); kubeconfig.loadFromDefault(); // loadFromString(JSON.stringify(kconfig)) - var job = { - name: context.name, - executable:...
7
diff --git a/sirepo/package_data/static/json/srw-schema.json b/sirepo/package_data/static/json/srw-schema.json }, "tabulatedUndulator": { "title": "Undulator (Idealized or Tabulated)", - "basic": [ + "basic": [], + "advanced": [ "undulatorSelector", "name", "undulatorType", "undulator.verticalSymmetry" ]] ] - ], - "adv...
5