code
stringlengths
122
4.99k
label
int64
0
14
diff --git a/docs/guides/01-quickstart.md b/docs/guides/01-quickstart.md @@ -6,7 +6,7 @@ Welcome to the CARTO.js documentation. CARTO.js is a JavaScript library that ena This guide describes how to create a Leaflet map and display data from CARTO over the map. This demonstrates how CARTO.js can be used to -1. Overlay D...
14
diff --git a/workbench/settings.py b/workbench/settings.py @@ -9,7 +9,6 @@ DJFS = {'type': 'osfs', 'url_root': '/static/djpyfs'} DEBUG = True -TEMPLATE_DEBUG = DEBUG TEMPLATES = [ { @@ -29,6 +28,7 @@ TEMPLATES = [ 'django.template.context_processors.tz', 'django.contrib.messages.context_processors.messages', ], + 'debu...
1
diff --git a/README.md b/README.md @@ -38,8 +38,8 @@ $ git clone git@github.com:username/developer-community-stats.git $ npm install # Create a new branch for you. -$ git pull origin master # Pull the latest master -$ git checkout new-branch # Checkout to your new branch +$ git pull origin main # Pull the latest main b...
3
diff --git a/src/encoded/audit/experiment.py b/src/encoded/audit/experiment.py @@ -3831,10 +3831,10 @@ def audit_missing_modification(value, system, excluded_types): } if not (ab_tags & tags): detail = ( - '{} uses antibody {} targeting {} yet its biosample {} has no ' + '{} specifies antibody {} targeting {} yet its b...
3
diff --git a/test/jasmine/tests/range_slider_test.js b/test/jasmine/tests/range_slider_test.js @@ -559,6 +559,69 @@ describe('the range slider', function() { }); }); + fdescribe('yaxis options', function() { + + it('should be set one yaxis is present', function() { + var mock = { + layout: { + xaxis: { rangeslider: {} ...
0
diff --git a/OpenRobertaServer/staticResources/js/app/simulation/simulationLogic/simulation.js b/OpenRobertaServer/staticResources/js/app/simulation/simulationLogic/simulation.js @@ -597,10 +597,16 @@ define(['exports', 'simulation.scene', 'simulation.math', 'program.controller', var keyName = e.key; switch (keyName) {...
11
diff --git a/components/Search/Results.js b/components/Search/Results.js @@ -89,10 +89,13 @@ query getSearchResults( ... on Comment { id content + text createdAt displayAuthor { - profilePicture + id name + username + profilePicture credential { description verified @@ -297,11 +300,13 @@ class Results extends Component...
1
diff --git a/src/containers/ProjectLoader.jsx b/src/containers/ProjectLoader.jsx import '../components/NavBar/styles.css' -import React, { useContext, useState } from 'react'; +import React, { useContext } from 'react'; import { FileTreeContext, LoadedContext } from '../App'; let remote = window.require('electron').rem...
13
diff --git a/framer/SVG.coffee b/framer/SVG.coffee {_} = require "./Underscore" {Color} = require "./Color" -class SVG +class exports.SVG @validFill = (value) -> Color.validColorValue(value) or _.startsWith(value, "url(") @@ -60,5 +60,3 @@ class SVG return {targets, children} - -exports.SVG = SVG
5
diff --git a/src/main/transformers.js b/src/main/transformers.js @@ -100,7 +100,7 @@ export function getErrorTransformer(response) { headerInfo.amzBucketRegion = response.headersSent ? response.getHeader('x-amz-bucket-region') : null return getConcater(xmlString => { - if (!xmlString) { + let getError = () => { // Mess...
9
diff --git a/token-metadata/0xDD436a0Dce9244B36599AE7b22f0373b4e33992d/metadata.json b/token-metadata/0xDD436a0Dce9244B36599AE7b22f0373b4e33992d/metadata.json "symbol": "TRUSD", "address": "0xDD436a0Dce9244B36599AE7b22f0373b4e33992d", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED...
3
diff --git a/userscript.user.js b/userscript.user.js @@ -5939,7 +5939,7 @@ var $$IMU_EXPORT$$; }; } - if (el.tagName !== "VIDEO") + if (el.tagName !== "VIDEO" && el.tagName !== "IMG") return null; var current = el; @@ -54667,6 +54667,23 @@ var $$IMU_EXPORT$$; return full; } + + // https://s.sc-cdn.net/1d/NTegWFoU9mC8cY...
7
diff --git a/db/helpers/aspectUtils.js b/db/helpers/aspectUtils.js @@ -110,6 +110,7 @@ function validateStatusRange(arr) { */ function removeAspectRelatedSamples(aspect, seq) { debugRemoveAspectRelatedSamples(aspect.name, 'Start'); + const now = new Date().toISOString(); let samples = []; return redisOps.deleteSampleKe...
12
diff --git a/src/menelaus_web_rbac.erl b/src/menelaus_web_rbac.erl @@ -180,10 +180,17 @@ filter_roles(Config, RawPermission, Roles) -> end, Roles) end. +assert_api_can_be_used() -> + menelaus_web:assert_is_45(), + case cluster_compat_mode:is_cluster_spock() of + true -> + ok; + false -> + menelaus_web:assert_is_enterpr...
11
diff --git a/deps/exokit-bindings/magicleap/src/magicleap.cc b/deps/exokit-bindings/magicleap/src/magicleap.cc @@ -41,7 +41,7 @@ std::mutex reqMutex; std::mutex resMutex; std::deque<std::function<void()>> reqCbs; std::deque<std::function<void()>> resCbs; -std::thread reqThead; +std::thread frameThread; Nan::Persistent<...
10
diff --git a/apps/settings-init.js b/apps/settings-init.js @@ -15,8 +15,8 @@ Bangle.HID = E.toUint8Array(atob("BQEJBqEBhQIFBxngKecVACUBdQGVCIEClQF1CIEBlQV1AQ } setTimeout(function() { NRF.setServices({}, adv); - if (s.ble) NRF.wake(); - else NRF.sleep(); + // we just reset, so BLE should be on + if (!s.ble) NRF.sleep()...
1
diff --git a/packages/component-library/src/VectorTilesMap/VectorTilesMap.js b/packages/component-library/src/VectorTilesMap/VectorTilesMap.js @@ -24,6 +24,14 @@ const VectorTilesMap = props => { }); React.useEffect(() => { + if (mapboxMap.getLayer(layerID)) { + mapboxMap.removeLayer(layerID); + } + + if (mapboxMap.get...
2
diff --git a/src/plot_api/to_image.js b/src/plot_api/to_image.js @@ -128,10 +128,7 @@ function toImage(gd, opts) { // extend config for static plot var configImage = Lib.extendFlat({}, config, { staticPlot: true, - plotGlPixelRatio: 2, - displaylogo: false, - showLink: false, - showTips: false, + plotGlPixelRatio: conf...
11
diff --git a/home.scn b/home.scn "scale": [1, 1, 1], "filename": "h.url", "content": "https://h.webaverse.com/" + }, + { + "name": "camera", + "position": [0, 0, 0], + "quaternion": [0, 0, 0, 1], + "scale": [1, 1, 1], + "start_url": "https://avaer.github.io/camera/index.js" } ] } \ No newline at end of file
0
diff --git a/setup/webpack.config.js b/setup/webpack.config.js @@ -113,7 +113,8 @@ module.exports.module = { test: /\.(woff2?|ttf|eot|svg|otf)$/, loader: 'file-loader', options: { - name: '/fonts/[name].[ext]?[hash]' + name: 'fonts/[name].[ext]?[hash]', + publicPath: '/' } } ]
12
diff --git a/src/content/en/updates/2019/02/model-viewer.md b/src/content/en/updates/2019/02/model-viewer.md @@ -43,7 +43,7 @@ use it. In this article, I will show you some things that are particular to ## What can &lt;model-viewer> do? More specifically, what can it do now? I'll show you its current capabilities. -You...
1
diff --git a/package.json b/package.json "redux-logger": "2.6.1", "redux-thunk": "2.1.0", "simplemde": "1.11.2", - "slug": "git+https://git@github.com/180-g/node-slug", "sortablejs": "1.4.2", "underscore": "1.8.3" },
14
diff --git a/token-metadata/0x1763aD73694d4D64FB71732B068E32ac72A345b1/metadata.json b/token-metadata/0x1763aD73694d4D64FB71732B068E32ac72A345b1/metadata.json "symbol": "BEE", "address": "0x1763aD73694d4D64FB71732B068E32ac72A345b1", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED" ...
3
diff --git a/src/components/invest/index.js b/src/components/invest/index.js @@ -209,7 +209,13 @@ export class Invest extends React.Component { } console.log(opts) - sendTXToContract(web3, crowdsaleContract.methods.buy().send(opts)) + crowdsaleContract.methods.buy().estimateGas(opts) + .then(estimatedGas => { + const e...
1
diff --git a/sirepo/exporter.py b/sirepo/exporter.py @@ -94,7 +94,8 @@ def _create_zip(sim, want_python, out_dir): data.pkdel("report") files = sim_data.get_class(data).lib_files_for_export(data) if want_python: - files.append(_python(data)) + for f in _python(data, sim): + files.append(f) with zipfile.ZipFile( str(pat...
11
diff --git a/module/chat.js b/module/chat.js @@ -71,8 +71,8 @@ export default function addChatHooks() { msgs.priv.push(text); } - let prnt = (text, msgs) => { - if (game.user.isGM) + let prnt = (text, msgs, p = false) => { + if (game.user.isGM || p) priv(text, msgs) else pub(text, msgs) @@ -300,19 +300,24 @@ export def...
11
diff --git a/generators/server/templates/build.gradle.ejs b/generators/server/templates/build.gradle.ejs @@ -215,7 +215,7 @@ liquibase { username "<% if (devDatabaseType === 'mysql') { %>root<% } else if (devDatabaseType === 'postgresql' || devDatabaseType === 'h2Disk' || devDatabaseType === 'h2Memory') { %><%= baseNam...
2
diff --git a/packages/app/src/server/models/obsolete-page.js b/packages/app/src/server/models/obsolete-page.js @@ -664,6 +664,7 @@ export const getPageSchema = (crowi) => { pageData.revision = newRevision; pageData.lastUpdateUser = user; + pageData.updatedAt = Date.now(); return pageData.save(); }
13
diff --git a/articles/appliance/infrastructure/security.md b/articles/appliance/infrastructure/security.md @@ -44,7 +44,7 @@ PARENT If you are behind a transparent proxy, you will need to: -* obtain certificate(s) for your proxy; +* obtain certificate(s) for your proxy created by a public certificate authority. * add a...
0
diff --git a/tools/subgraph/src/PoolMapping.ts b/tools/subgraph/src/PoolMapping.ts @@ -3,7 +3,7 @@ import { PoolClaim, EnabledRoot } from "../generated/schema" import { getUser, getPool, getToken } from "./EntityHelper" export function handleEnable(event: Enable): void { - let identifier = event.address.toHex() + event...
1
diff --git a/src/features/serviceLimit/components/LimitReachedInfobox.js b/src/features/serviceLimit/components/LimitReachedInfobox.js @@ -21,8 +21,8 @@ const messages = defineMessages({ const styles = theme => ({ container: { height: 'auto', - background: theme.styleTypes.primary.accent, - color: theme.styleTypes.prim...
12
diff --git a/src/apps.json b/src/apps.json "^priceDisplayMethod$\\;confidence:25", "^priceDisplayPrecision$\\;confidence:25" ], - "html": "Powered by <a\\s+[^>]+>PrestaShop", + "html": [ + "Powered by <a\\s+[^>]+>PrestaShop", + "<!-- /Block permanent links module HEADER -->" + ], "icon": "PrestaShop.png", "implies": "P...
7
diff --git a/src/lib/analytics/analytics.js b/src/lib/analytics/analytics.js @@ -121,6 +121,7 @@ export const initAnalytics = async () => { Sentry.configureScope(scope => { scope.setTag('appVersion', version) scope.setTag('networkUsed', network) + scope.setTag('phase', phase) }) } @@ -174,6 +175,7 @@ export const ident...
0
diff --git a/admin/admin.js b/admin/admin.js @@ -1699,6 +1699,9 @@ function prepareBindingDialog(bindObj){ } ); } + + const unbind_fom_coordinator = bindObj ? bindObj.unbind_from_coordinator : false; + $('#unbind_from_coordinator').prop('checked', unbind_fom_coordinator); } function addBindingDialog() {
11
diff --git a/vm.interpreter.js b/vm.interpreter.js @@ -913,6 +913,7 @@ Object.subclass('Squeak.Interpreter', this.executeNewMethod(rcvr, method, argCount, 0); }, findSelectorInClass: function(selector, argCount, startingClass) { + this.currentSelector = selector; // for primitiveInvokeObjectAsMethod var cacheEntry = th...
1
diff --git a/data/brands/shop/confectionery.json b/data/brands/shop/confectionery.json "shop": "confectionery" } }, - { - "displayName": "Skyline", - "id": "skyline-479882", - "locationSet": {"include": ["bg"]}, - "tags": { - "brand": "Skyline", - "brand:wikidata": "Q110399888", - "name": "Skyline", - "shop": "confecti...
5
diff --git a/src/components/apply/EmailLoginForm.js b/src/components/apply/EmailLoginForm.js import React from 'react' -import { api } from 'data.json' +import { url as apiUrl } from 'api' import { Heading, Label, Input, Text, cx } from '@hackclub/design-system' import { withFormik } from 'formik' import yup from 'yup'...
1
diff --git a/tests/cli/test/src/integration.test.js b/tests/cli/test/src/integration.test.js @@ -21,32 +21,32 @@ const network = getNetwork(); function runIntegrationTest({ lightweight }) { registerProjectHooks(network); - it('initialize zos', function () { + it('initialize openzeppelin', function () { const flags = li...
10
diff --git a/src/editor/components/BodyComponent.js b/src/editor/components/BodyComponent.js @@ -13,6 +13,7 @@ export default class BodyComponent extends Component { let contentEl if (content) { contentEl = $$(this.getComponent('container'), { + placeholder: 'Enter Text', name: 'bodyEditor', node: content, disabled: th...
4
diff --git a/packages/fela/src/createRenderer.js b/packages/fela/src/createRenderer.js @@ -59,6 +59,7 @@ export default function createRenderer( // to achieve maximal lookup performance and memoization speed cache: {}, styleNodes: {}, + precompiled: {}, renderRule(rule: Function, props: Object = {}): string { const pro...
6
diff --git a/ratings.js b/ratings.js @@ -12,12 +12,13 @@ const program = require('commander'); function _initXvfb() { execSync('export DISPLAY=:99.0'); - fs.exists('/tmp/.X99-lock', (exists) => { - if (!exists) { + try { + fs.accessSync('/tmp/.X99-lock'); + } catch (e) { log(chalk.green.bold('Creating Xvfb...')); execS...
2
diff --git a/avatars/avatars.js b/avatars/avatars.js @@ -2753,6 +2753,70 @@ class Avatar { .add(localVector2.fromArray(v2)); } }; + } else if (this.unuseAnimation && this.unuseTime >= 0 && this.used) { + return spec => { + const { + animationTrackName: k, + dst, + lerpFn, + // isTop, + isPosition, + } = spec; + + _hand...
0
diff --git a/src/Api.js b/src/Api.js @@ -229,6 +229,12 @@ class Api { * @param {string|Array} src */ minify(src) { + if (Array.isArray(src)) { + src.forEach(file => this.minify(file)); + + return this; + } + let output = src.replace(/\.([a-z]{2,})$/i, '.min.$1'); return this.combine(src, output);
11
diff --git a/src/Widgets/FormTextInputWidget/FormTextInputWidgetEditingConfig.js b/src/Widgets/FormTextInputWidget/FormTextInputWidgetEditingConfig.js @@ -20,5 +20,5 @@ Scrivito.provideEditingConfig("FormTextInputWidget", { placeholder: "Your email address", type: "email", }, - properties: ["required", "label", "placeh...
7
diff --git a/src/lib/gundb/__tests__/UserStorage.js b/src/lib/gundb/__tests__/UserStorage.js @@ -5,7 +5,6 @@ import { getUserModel } from '../UserModel' import { addUser } from './__util__/index' import { GoodWallet } from '../../wallet/GoodWallet' import { deleteMnemonics } from '../../wallet/SoftwareWalletProvider' -...
2
diff --git a/app/src/components/MeetingDrawer/Chat/Menu/Input.js b/app/src/components/MeetingDrawer/Chat/Menu/Input.js @@ -170,6 +170,7 @@ const ChatInput = (props) => blockRenderMap={singleLinePlugin.blockRenderMap} /> </div> + {/* /Input field */} {/* Button send message */} <IconButton size='small' @@ -188,9 +189,9 ...
7
diff --git a/spec/models/carto/api_key_spec.rb b/spec/models/carto/api_key_spec.rb @@ -519,7 +519,7 @@ describe Carto::ApiKey do user2.in_database.run("GRANT SELECT ON #{schema_and_table_user2} TO \"#{api_key.db_role}\"") - api_key.destroy + expect { api_key.destroy! }.to_not raise_error table_user1.destroy table_user2...
7
diff --git a/includes/Modules/Analytics.php b/includes/Modules/Analytics.php @@ -390,9 +390,9 @@ final class Analytics extends Module 'domains' => array( $this->get_home_domain() ), ), ), - 'optoutElementId' => '__gaOptOutExtension', ), ), + 'optoutElementId' => '__gaOptOutExtension', ); /**
12
diff --git a/modules/keyboard.js b/modules/keyboard.js @@ -250,7 +250,7 @@ Keyboard.DEFAULTS = { key: ' ', collapsed: true, format: { list: false }, - prefix: /^\s*?(1\.|-|\[ ?\]|\[x\])$/, + prefix: /^\s*?(\d+\.|-|\[ ?\]|\[x\])$/, handler: function(range, context) { let length = context.prefix.length; let [line, offset...
11
diff --git a/lib/service/util.js b/lib/service/util.js @@ -164,7 +164,8 @@ function parseRawData(raw, callback, isRes) { if (!name) { return; } - var value = headers[name]; + var key = name.toLowerCase(); + var value = headers[key]; var val = line.substring(index + 1).trim(); if (value != null) { if (Array.isArray(valu...
1
diff --git a/_src/admin/config.yml b/_src/admin/config.yml @@ -11,7 +11,7 @@ collections: - name: "posts" label: "Pages" folder: "_src/" - create: false # Change to true to allow editors to create new pages + create: true # Change to true to allow editors to create new pages slug: "{{slug}}" fields: - { label: "Title",...
11
diff --git a/README.md b/README.md @@ -25,9 +25,6 @@ If you do not agree to letting Genesis, Oratoris, or any other bot there do so, [![Try Genesis on Discord!](https://discordapp.com/api/guilds/146691885363232769/embed.png?style=banner2)](https://discord.gg/DuFunUv "Try Genesis on Discord!") -[![Get Genesis on Discord...
2
diff --git a/exampleSite/content/fragments/pricing/pricing/plan-1.md b/exampleSite/content/fragments/pricing/pricing/plan-1.md @@ -9,7 +9,7 @@ price_text = "Free" # highlight = true button_text = "Start for free" -button_url = "/dev/events/payment?event=pricing:change&plan=Starting plan&price=0&price_text=Free&currency...
2
diff --git a/libpy/durable/engine.py b/libpy/durable/engine.py @@ -372,6 +372,36 @@ class Ruleset(object): rules.renew_action_lease(self._handle, sid) + def set_store_message_callback(self, func): + rules.set_store_message_callback(self._handle, func) + + def set_delete_message_callback(self, func): + rules.set_delete_...
0
diff --git a/docker/parsr-base/Dockerfile b/docker/parsr-base/Dockerfile @@ -8,7 +8,7 @@ RUN apt-get update && \ WORKDIR /opt/app-root/src RUN chown 1001:0 /opt/app-root/src -ENV PATH $PATH:/opt/app-root/src/node_modules/.bin:/opt/pdf2json/bin +ENV PATH $PATH:/opt/app-root/src/node_modules/.bin ENV HOME /opt/app-root/s...
2
diff --git a/assets/js/modules/analytics/common/profile-select.js b/assets/js/modules/analytics/common/profile-select.js @@ -31,8 +31,14 @@ import { isValidPropertyID } from '../util'; export const PROFILE_CREATE = 'profile_create'; export default function ProfileSelect( { useSelect, useDispatch } ) { - const accountID...
12
diff --git a/runtime/opensbp/commands/setting.js b/runtime/opensbp/commands/setting.js @@ -9,14 +9,14 @@ var openSBP = require('../opensbp.js'); // Set to Absolute coordinates exports.SA = function(args) { this.emit_gcode("G90"); - this.emit_gcode("M0"); + //this.emit_gcode("M0"); }; // Set to Relative coordinates expo...
1
diff --git a/stories/index.tsx b/stories/index.tsx @@ -105,6 +105,28 @@ storiesOf('Griddle main', module) </Griddle> ) }) + .add('with local with extra prop change', () => { + class Stateful extends React.Component<{}, { n: number }> { + constructor(props) { + super(props); + this.state = { n: 0 }; + } + + render() { +...
0
diff --git a/src/context/testCaseReducer.js b/src/context/testCaseReducer.js @@ -36,6 +36,8 @@ let renderPropsId = 0; const createMiddleware = () => ({ /* renders the action card when the "action" button is clicked */ id: statementId++, type: 'middleware', + middlewaresFileName: '', + middlewaresFilePath: '', queryType...
3
diff --git a/assets/js/modules/search-console/components/module/ModuleOverviewWidget/Stats.js b/assets/js/modules/search-console/components/module/ModuleOverviewWidget/Stats.js @@ -55,8 +55,7 @@ const Stats = ( { data, metrics, selectedStats } ) => { width: '100%', chartArea: { height: '77%', - left: 60, - width: '100%...
12
diff --git a/articles/libraries/lock/v10/configuration.md b/articles/libraries/lock/v10/configuration.md @@ -17,6 +17,7 @@ var lock = new Auth0Lock('clientID', 'account.auth0.com', options); | Option | Description | | --- | --- | +| [allowAutoComplete](#allowautocomplete-boolean-) | Whether or not to allow autocomplete...
0
diff --git a/src/client/js/components/Page.jsx b/src/client/js/components/Page.jsx @@ -134,7 +134,7 @@ class Page extends React.Component { return ( <div className={isMobile ? 'page-mobile' : ''}> <RevisionRenderer growiRenderer={this.growiRenderer} markdown={markdown} /> - <LinkEditModal ref={this.LinkEditModal} /> + ...
12
diff --git a/check-markdown.js b/check-markdown.js @@ -5,12 +5,30 @@ const options = { files: process.argv.slice(2), config: { default: false, - // resultVersion: 1, + resultVersion: 1, MD001: true, MD002: true, MD003: true, + MD005: true, + MD006: true, + MD011: true, + MD012: true, + MD018: true, + MD019: true, + MD0...
0
diff --git a/components/styles/inventory.css b/components/styles/inventory.css } .twoD-inventory .twoD-inventoryList .twoD-inventoryCard { - height: 240px; + /* height: 240px; */ + height: 320px; width: 250px; background-color: #e6e8ef; margin: 10px; cursor: pointer; } -.twoD-inventory .twoD-inventoryList .twoD-invento...
2
diff --git a/lib/responder.js b/lib/responder.js @@ -412,8 +412,6 @@ MultipartDispatcher.prototype.chunkedStream = function dispatchMultipartChunkedS partReadStream.pipe(outputStream, {end: false}); } else if (hasParsed) { responseFinisher(); - } else if (!hasEnded) { - parser.emit('drain'); } };
2
diff --git a/src/components/common/connectionDialog/internetConnection.js b/src/components/common/connectionDialog/internetConnection.js @@ -24,11 +24,27 @@ const InternetConnection = props => { isConnectionWeb3 === false || isConnectionGun === false ) { - log.debug('connection issue showing dialog') + log.error('conne...
0
diff --git a/package.json b/package.json "karma-jasmine": "^1.1.1", "karma-jasmine-ajax": "^0.1.13", "karma-safari-launcher": "^1.0.0", - "karma-sauce-launcher": "^4.3.5", + "karma-sauce-launcher": "^4.3.6", "karma-sinon": "^1.0.5", "karma-sourcemap-loader": "^0.3.8", "karma-webpack": "^4.0.2",
1
diff --git a/lib/assets/core/javascripts/cartodb3/editor/export-image-pane/export-image-widget.js b/lib/assets/core/javascripts/cartodb3/editor/export-image-pane/export-image-widget.js @@ -49,34 +49,11 @@ module.exports = CoreView.extend({ _initBinds: function () { this.listenTo(this.model, 'change:x change:y change:wi...
2
diff --git a/lib/component.js b/lib/component.js @@ -80,7 +80,7 @@ function build ( string, opts, readFile ) { } else if ( item.e === 'template' ) { const id = getAttr( 'id', item ) || getAttr( 'name', item ); if ( id ) { - partials[id] = item.f[0]; + partials[id] = item.f ? item.f[0] : ''; } i = drop( i, tpl.t );
9
diff --git a/assets/js/modules/pagespeed-insights/components/dashboard/DashboardPageSpeedWidget.js b/assets/js/modules/pagespeed-insights/components/dashboard/DashboardPageSpeedWidget.js @@ -33,10 +33,4 @@ function DashboardPageSpeedWidget( { Widget } ) { export default whenActive( { moduleName: 'pagespeed-insights', -...
2
diff --git a/generators/client/templates/angular/src/main/webapp/app/app.module.ts.ejs b/generators/client/templates/angular/src/main/webapp/app/app.module.ts.ejs @@ -34,7 +34,6 @@ import { <%=angularXAppName%>SharedModule } from 'app/shared'; import { <%=angularXAppName%>CoreModule } from 'app/core'; import { <%=angul...
2
diff --git a/content/articles/createJS-guide/index.md b/content/articles/createJS-guide/index.md @@ -28,7 +28,7 @@ To follow along with this guide, you should have intermediate Javascript knowled ### What Does Each of The Libraries Do? -As we mentioned earlier, CreateJS is comprised of four libraries, EaselJS, TweenJS,...
1
diff --git a/deepfence_ui/app/scripts/components/settings-view/global-settings/global-settings.js b/deepfence_ui/app/scripts/components/settings-view/global-settings/global-settings.js /* eslint-disable */ import React, { useEffect } from 'react'; import { useDispatch, useSelector } from 'react-redux'; +import ReactToo...
3
diff --git a/articles/metadata/lock.md b/articles/metadata/lock.md @@ -31,18 +31,14 @@ if (hash) { ## Reading User Metadata Properties -You can read the user's `user_metadata` properties the same way you would for any user profile property. This example retrieves the value associated with `user.metadata.hobby`: +You ca...
14
diff --git a/lib/taiko.js b/lib/taiko.js @@ -2970,11 +2970,11 @@ getPlugins().forEach((pluginName) => { * @example * getConfig("retryInterval"); * - * @param {string} optionName - Specifies the name of the configuration option/paramter you want to get (optional). If not specified, returns a shallow copy of the full glo...
1
diff --git a/blockchain.js b/blockchain.js @@ -65,6 +65,11 @@ const contracts = { const getNetworkName = () => networkName; const getOtherNetworkName = () => networkName === 'mainnet' ? 'rinkeby' : 'mainnet'; +const getMainnetAddress = async () => { + const [address] = await window.ethereum.enable(); + return address |...
0
diff --git a/web/biscommon.css b/web/biscommon.css @@ -480,4 +480,14 @@ tspan { background-color : rgba(29, 224, 150, 0.4); } +.bisweb-customelement-widget { + margin: 0 auto; + width: 50%; +} + +.bisweb-customelement-footer { + margin: 0 auto; + width: 50%; +} +
3
diff --git a/test/jasmine/tests/scattergeo_test.js b/test/jasmine/tests/scattergeo_test.js @@ -26,18 +26,21 @@ describe('Test scattergeo defaults', function() { traceOut = {}; }); - it('should slice lat if it it longer than lon', function() { + it('should not slice lat if it it longer than lon', function() { + // this ...
3
diff --git a/assets/js/modules/analytics/common/account-create.js b/assets/js/modules/analytics/common/account-create.js @@ -42,11 +42,20 @@ const AccountCreate = () => { let tz = directSelect( 'core/site' ).getTimezone(); const url = new URL( siteURL ); const { createAccount } = useDispatch( STORE_NAME ); + + // Conne...
7
diff --git a/CHANGES.md b/CHANGES.md @@ -4,7 +4,7 @@ Change Log ### 1.40 - 2017-12-01 * Added ability to support touch event in Imagery Layers Split demo application. [#5948](https://github.com/AnalyticalGraphicsInc/cesium/pull/5948) -* Added function that removes duplicate namespace declarations while loading a KML. [...
3
diff --git a/lib/cartodb/models/dataview/histogram.js b/lib/cartodb/models/dataview/histogram.js @@ -11,7 +11,7 @@ module.exports = class Histogram { this.options = options || {}; this.queries = queries; - this.dataview = this._getHistogramImplementation(); + this.histogramImplementation = this._getHistogramImplementat...
10
diff --git a/test/jasmine/tests/plot_api_react_test.js b/test/jasmine/tests/plot_api_react_test.js @@ -1832,9 +1832,17 @@ describe('Test Plotly.react + interactions under uirevision:', function() { }); } - // mocking panning/scrolling is brittle, + // mocking panning/scrolling with mouse events is brittle, // this here...
7
diff --git a/tests/e2e/specs/modules/tagmanager/setup.test.js b/tests/e2e/specs/modules/tagmanager/setup.test.js @@ -184,13 +184,13 @@ describe( 'Tag Manager module setup', () => { beforeEach( async () => { await activatePlugin( 'amp' ); await activatePlugin( 'e2e-tests-module-setup-tagmanager-api-mock' ); - await proc...
12
diff --git a/lib/node_modules/@stdlib/streams/node/from-array/lib/main.js b/lib/node_modules/@stdlib/streams/node/from-array/lib/main.js @@ -57,8 +57,12 @@ function read() { while ( FLG ) { err = null; - v = this._src[ this._idx ]; this._i += 1; + if ( this._i > this._src.length ) { + debug( 'Finished iteration.' ); + ...
9
diff --git a/build/install-linux-prereqs.sh b/build/install-linux-prereqs.sh @@ -77,6 +77,7 @@ else # Remove any old packaged copy of nodejs/npm. Some of these commands may # fail, for example if a package does not exist. Ignore errors here. sudo apt -y remove --purge nodejs || true + sudo apt -y remove --purge nodejs-...
7
diff --git a/components/maplibre/ban-map/popups.js b/components/maplibre/ban-map/popups.js @@ -41,16 +41,25 @@ PopupLanguagePreview.propTypes = { languages: PropTypes.object.isRequired } -function PopupNumero({numero, suffixe, parcelles, lieuDitComplementNom, nomVoie, nomAlt, nomCommune, codeCommune, sourcePosition}) {...
0
diff --git a/articles/client-platforms/angularjs/02-custom-login.md b/articles/client-platforms/angularjs/02-custom-login.md @@ -27,7 +27,7 @@ bower install angular-auth0#2.0.0-beta.1 angular-jwt ```html <!-- auth0.js --> -<script type="text/javascript" src="node_modules/auth0-js/build/auth0.js"></script> +<script type...
3
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md @@ -125,9 +125,9 @@ Kitematic is es6 ready. Please use es6 constructs where possible, they are power - Semicolons - 2 spaces (no tabs) -#### Checking Javascript code standards with JSHint +#### Checking Javascript code standards with ESlint -Run `npm run lint` before commi...
3
diff --git a/views/layouts/main.handlebars b/views/layouts/main.handlebars <script src="/assets/js/dropzoneFunctions.js"></script> <script src="/assets/js/createChannelFunctions.js"></script> <script src="/assets/js/navBarFunctions.js"></script> - + {{> releaseBanner}} {{> navBar}} {{{ body }}} </body>
14
diff --git a/utils/order-utils/test/orders.js b/utils/order-utils/test/orders.js @@ -14,7 +14,7 @@ describe('Orders', async () => { const signerWallet = '0x9d2fb0bcc90c6f3fa3a98d2c760623a4f6ee59b4' // Owns a crypto kitty - const kittyWallet = '0x155862c29632E402d4068099B701891741221C25' + const kittyWallet = '0x7F18BB4...
3
diff --git a/lib/network/modules/components/nodes/util/CircleImageBase.js b/lib/network/modules/components/nodes/util/CircleImageBase.js @@ -26,14 +26,14 @@ class CircleImageBase extends NodeBase { } setImages(imageObj, imageObjAlt) { - if (imageObj) { + if (imageObjAlt && this.selected) { + this.imageObj = imageObjAlt...
12
diff --git a/articles/connections/database/mysql.md b/articles/connections/database/mysql.md @@ -10,7 +10,7 @@ description: How to authenticate users with username and password using a Custom Applications often rely on user databases for authentication. Auth0 enables you to easily connect to these repositories and use ...
0
diff --git a/src/components/CustomChart/index.js b/src/components/CustomChart/index.js @@ -13,7 +13,8 @@ const FormItem = Form.Item; // eslint-disable-next-line react/no-multi-comp @connect(({ user, appControl }) => ({ currUser: user.currentUser, - appDetail: appControl.appDetail + appDetail: appControl.appDetail, + ba...
1
diff --git a/assets/svg/graphics/thank-with-google.svg b/assets/svg/graphics/thank-with-google.svg -<svg width="41" height="41" fill="none" xmlns="http://www.w3.org/2000/svg"> - <path fill="#E5E5E5" d="M0 0h41v41H0z"/> - <g clip-path="url(#a)"> - <rect x="-48" y="-527" width="1180" height="1719" rx="32" fill="#EBEEF0"/...
1
diff --git a/packages/select/index.js b/packages/select/index.js const { createPrompt } = require('@inquirer/core'); -const { isUpKey, isDownKey } = require('@inquirer/core/lib/key'); +const { isUpKey } = require('@inquirer/core/lib/key'); const Paginator = require('@inquirer/core/lib/Paginator'); const chalk = require...
9
diff --git a/packages/app/src/components/Admin/SlackIntegration/WithProxyAccordions.jsx b/packages/app/src/components/Admin/SlackIntegration/WithProxyAccordions.jsx @@ -86,17 +86,27 @@ const RegisteringProxyUrlProcess = () => { const { t } = useTranslation(); return ( <div className="container w-75 py-5"> + <ol> + <li>...
7
diff --git a/docs/upgrade-guide.md b/docs/upgrade-guide.md @@ -41,11 +41,12 @@ The module entry point is now only lightly transpiled for the most commonly used #### Breaking changes -- A bug is fixed in projecting sizes in billboard mode. Pixel sizes now match their CSS counterparts. This change affects the following l...
7
diff --git a/server/services/searchPubmed.php b/server/services/searchPubmed.php @@ -11,9 +11,7 @@ $dirty_query = library\CommUtils::getParameter($_POST, "q"); $post_params = $_POST; -#HOTFIX - article_types cause a 414 with PubMed -#$result = search("pubmed", $dirty_query, $post_params, array("article_types", "from", ...
13
diff --git a/components/bases-locales/charte/search.js b/components/bases-locales/charte/search.js @@ -83,7 +83,12 @@ function PartnersSearchbar() { getItemValue={commune => commune.nom} /> - {commune && <Tags onSelectTags={handleSelectedTags} selectedTags={selectedTags} filteredPartners={filteredPartners} allPartners=...
0
diff --git a/src/encoded/static/components/award.js b/src/encoded/static/components/award.js @@ -45,6 +45,7 @@ function drawDonutCenter(chart) { const width = chart.chart.width; const height = chart.chart.height; const ctx = chart.chart.ctx; + // Undraws donut centers for Cumulative Line Chart and Status Stacked Bar Ch...
2