code
stringlengths
122
4.99k
label
int64
0
14
diff --git a/lib/util/fonts/getTextByFontProperties.js b/lib/util/fonts/getTextByFontProperties.js @@ -206,15 +206,14 @@ function getMemoizedElementStyleResolver(fontPropRules, availableWeights) { if (Object.keys(predicatePermutation).length === 0) { return; } - var recursiveTruePredicates = Object.assign({}, truePredi...
10
diff --git a/commands/id.js b/commands/id.js @@ -23,9 +23,10 @@ command.execute = async (message, args, database, bot) => { let user,[name,discrim] = fullname.split('#'); if (discrim) { user = bot.users.cache.find(u => u.username === name && u.discriminator === discrim); - } - else { + if (!user) { user = bot.users.cac...
8
diff --git a/src/encoded/schemas/award.json b/src/encoded/schemas/award.json "ENCODE2", "ENCODE2-Mouse", "ENCODE3", + "ENCODE4", "GGR", "Roadmap", "modENCODE",
0
diff --git a/js/models/LocalSettings.js b/js/models/LocalSettings.js @@ -19,7 +19,7 @@ export default class extends Model { windowControlStyle: remote.process.platform === 'darwin' ? 'mac' : 'win', showAdvancedVisualEffects: true, saveTransactionMetadata: true, - defaultTransactionFee: 'PRIORITY', + defaultTransactionF...
12
diff --git a/lib/node_modules/@stdlib/string/format/lib/main.js b/lib/node_modules/@stdlib/string/format/lib/main.js @@ -94,7 +94,7 @@ function format( str ) { token.padZeros = false; break; case '0': - token.padZeros = !flags.includes( '-' ); // NOTE: We use built-in `Array.prototype.includes` here instead of `@stdlib...
14
diff --git a/src/components/Text.js b/src/components/Text.js @@ -78,6 +78,8 @@ const textStyles = { }; const markdownStyles = { + // "u" - underline is listed in react-native-easy-markdown + // but doesn't exist in the markdown spec so should be rendered bold u: { fontWeight: "bold" }
0
diff --git a/test/jasmine/tests/click_test.js b/test/jasmine/tests/click_test.js @@ -3,6 +3,7 @@ var Lib = require('@src/lib'); var Drawing = require('@src/components/drawing'); var DBLCLICKDELAY = require('@src/plots/cartesian/constants').DBLCLICKDELAY; +var d3 = require('d3'); var createGraphDiv = require('../assets/...
0
diff --git a/packages/openneuro-app/src/scripts/uploader/uploader.jsx b/packages/openneuro-app/src/scripts/uploader/uploader.jsx @@ -189,6 +189,10 @@ export class UploadClient extends React.Component { * @returns {File[]} - New list of files with a replaced dataset_description.json */ _editName(Name) { + if (!Name) { +...
1
diff --git a/src/scripts/fetchStatsFromGA.js b/src/scripts/fetchStatsFromGA.js @@ -391,11 +391,13 @@ async function main() { loadScript: { default: false, description: 'whether to store upsert script in db', + type: 'boolean', }, useContentGroup: { default: true, description: 'wheter to use ga:contentGroup1 as a dimens...
12
diff --git a/js/webcomponents/bisweb_grapherelement.js b/js/webcomponents/bisweb_grapherelement.js @@ -201,8 +201,6 @@ class GrapherModule extends HTMLElement { let footer = graphWindow.getContent().find('.modal-footer'); $(footer).empty(); - console.log('footer', footer, $(footer).find('.btn')); - let bbar = bis_webut...
2
diff --git a/server/logger.js b/server/logger.js @@ -3,22 +3,21 @@ Meteor.startup(() => { require('winston-zulip'); const fs = require('fs'); - //remove default logger - Winston.remove(Winston.transports.Console); - - const loggerEnable = process.env.LOGGER_ENABLE || false; - console.log('here1'); - console.log(loggerE...
14
diff --git a/token-metadata/0xB62132e35a6c13ee1EE0f84dC5d40bad8d815206/metadata.json b/token-metadata/0xB62132e35a6c13ee1EE0f84dC5d40bad8d815206/metadata.json "symbol": "NEXO", "address": "0xB62132e35a6c13ee1EE0f84dC5d40bad8d815206", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED"...
3
diff --git a/js/bootstrap-select.js b/js/bootstrap-select.js setOptionStatus: function () { var that = this, - $selectOptions = this.$element.find('option'); + selectOptions = this.$element[0].options; that.noScroll = false; if (that.selectpicker.view.visibleElements && that.selectpicker.view.visibleElements.length) { ...
4
diff --git a/src/context/index.js b/src/context/index.js @@ -43,7 +43,7 @@ export default async function(config) { }); const clientCredentials = await authClient.clientCredentialsGrant({ - audience: `https://${config.AUTH0_DOMAIN}/api/v2/` + audience: config.AUTH0_AUDIENCE ?? `https://${config.AUTH0_DOMAIN}/api/v2/` })...
11
diff --git a/README.md b/README.md @@ -352,6 +352,7 @@ You are able to use environment variables to customize identity params in event | SLS_COGNITO_IDENTITY_ID | event.requestContext.identity.cognitoIdentityId | | SLS_CALLER | event.requestContext.identity.caller | | SLS_API_KEY | event.requestContext.identity.apiKey ...
0
diff --git a/src/request_list.js b/src/request_list.js @@ -34,12 +34,10 @@ export const SOURCES_PERSISTENCE_KEY = 'REQUEST_LIST_SOURCES'; * the crawling can continue where it left off. The automated persisting is launched upon receiving the `persistState` * event that is periodically emitted by {@link events|Apify.even...
7
diff --git a/src/client/js/components/Admin/UserGroupDetail/UserGroupUserFormByInput.jsx b/src/client/js/components/Admin/UserGroupDetail/UserGroupUserFormByInput.jsx @@ -16,6 +16,7 @@ class UserGroupUserFormByInput extends React.Component { super(props); this.state = { + keyword: '', inputUser: '', applicableUsers: []...
12
diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/search.js b/packages/node_modules/@node-red/editor-client/src/js/ui/search.js @@ -125,6 +125,14 @@ RED.search = (function() { for (i=0;i<Math.min(results.length,25);i++) { searchResults.editableList('addItem',results[i]) } + if (results.length > 25) {...
11
diff --git a/web/kiri/index.html b/web/kiri/index.html <!-- selected device and print profiles --> <div id="selected" class="control"> <span id="selected-device">???</span> - <span>&nbsp;&nbsp;|&nbsp;&nbsp;</span> + <span>&nbsp;&nbsp;:&nbsp;&nbsp;</span> <span id="selected-process">???</span> </div> <!-- all modal dial...
14
diff --git a/src/createAuthScheme.js b/src/createAuthScheme.js @@ -47,6 +47,8 @@ module.exports = function createAuthScheme(authFun, authorizerOptions, funName, if (authorizerOptions.type === 'request') { event = { type: 'REQUEST', + path: request.path, + httpMethod: request.method.toUpperCase(), headers: request.heade...
0
diff --git a/examples/launcher/src/components/Engine.jsx b/examples/launcher/src/components/Engine.jsx @@ -187,7 +187,7 @@ class Engine extends React.Component { const url = urlInput.value; window.postMessage({ - method: 'reload', + method: 'open', url, d: null, });
13
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md @@ -35,7 +35,7 @@ For example: <!-- This is a checklist for PR authors & reviewers. Please make sure to complete all tasks and check them off once you do, or else Expensify has the right not to merge your PR! --> -#### Contributor (PR Auth...
10
diff --git a/instancing.js b/instancing.js @@ -49,84 +49,110 @@ const _getBoundingSize = boundingType => { } }; -export class FreeListSlot { - constructor(start, count, used) { - // array-relative indexing, not item-relative - // start++ implies attribute.array[start++] - this.start = start; - this.count = count; - thi...
0
diff --git a/packages/config/lib/postcss-necsst.js b/packages/config/lib/postcss-necsst.js var postcss = require('postcss'); var autoprefixer = require('autoprefixer'); var isSupported = require('caniuse-api').isSupported; +var camelize = require('camelize'); var features = [ ['css-variables', 'postcss-custom-propertie...
7
diff --git a/articles/quickstart/spa/aurelia/01-login.md b/articles/quickstart/spa/aurelia/01-login.md @@ -32,7 +32,7 @@ ${snippet(meta.snippets.setup)} We also set the `isAuthenticated` property to false to start with, but this value will be changed later on to reflect the user's authentication status. -## 2. Set Up t...
2
diff --git a/src/discord/MemberWrapper.js b/src/discord/MemberWrapper.js import GuildConfig from '../config/GuildConfig.js'; import util from '../util.js'; -import {EmbedBuilder, RESTJSONErrorCodes} from 'discord.js'; +import {EmbedBuilder, Guild, RESTJSONErrorCodes} from 'discord.js'; import {formatTime, parseTime} fr...
11
diff --git a/rss/translator/Article.js b/rss/translator/Article.js @@ -43,7 +43,7 @@ function escapeRegExp (str) { } function regexReplace (string, searchOptions, replacement) { - const flags = searchOptions.flags ? searchOptions.flags : 'gi' + const flags = searchOptions.flags try { const matchIndex = searchOptions.ma...
11
diff --git a/src/diagrams/git/gitGraphRenderer.js b/src/diagrams/git/gitGraphRenderer.js @@ -15,7 +15,7 @@ const commitType = { CHERRY_PICK: 4, }; -const THEME_SIZE = 8; +const THEME_COLOR_LIMIT = 8; let branchPos = {}; let commitPos = {}; @@ -122,7 +122,7 @@ const drawCommits = (svg, commits, modifyGraph) => { 'commit...
10
diff --git a/__tests__/components/__snapshots__/NetworkSwitch.test.js.snap b/__tests__/components/__snapshots__/NetworkSwitch.test.js.snap @@ -24,6 +24,7 @@ exports[`NetworkSwitch renders without crashing 1`] = ` id="network" > <SelectInput + activeStyles="networkSwitchActive" customChangeEvent={true} getItemValue={[Fu...
3
diff --git a/apps/realworld/views/user/SignUpComponent.mjs b/apps/realworld/views/user/SignUpComponent.mjs @@ -120,7 +120,7 @@ class SignUpComponent extends Component { Object.entries(value || {}).forEach(([key, value]) => { list.cn.push({ tag : 'li', - html: key + ' ' + value[0] // max showing 1 error per field (use v...
7
diff --git a/src/main/resources/public/js/src/newWidgets/widgets/testCasesGrowthTrendChart/TestCasesGrowthTrendChartView.js b/src/main/resources/public/js/src/newWidgets/widgets/testCasesGrowthTrendChart/TestCasesGrowthTrendChartView.js @@ -80,10 +80,10 @@ define(function (require) { _.each(data, function (item) { if (...
1
diff --git a/assets/js/components/setup/SetupUsingProxyViewOnly.js b/assets/js/components/setup/SetupUsingProxyViewOnly.js * WordPress dependencies */ import { __ } from '@wordpress/i18n'; -import { useCallback, Fragment } from '@wordpress/element'; +import { + useCallback, + createInterpolateElement, + Fragment, +} fr...
7
diff --git a/lib/node_modules/@stdlib/math/base/special/sqrt1pm1/docs/repl.txt b/lib/node_modules/@stdlib/math/base/special/sqrt1pm1/docs/repl.txt {{alias}}( x ) - Computes the principal square root of one plus `x` and subtract one. + Computes the principal square root of `1+x` minus one. - This function is more accura...
10
diff --git a/generators/server/templates/src/main/resources/config/application-dev.yml.ejs b/generators/server/templates/src/main/resources/config/application-dev.yml.ejs @@ -157,28 +157,6 @@ spring: database-platform: io.github.jhipster.domain.util.FixedH2Dialect <%_ } _%> show-sql: true - properties: - hibernate.id.n...
2
diff --git a/assets/js/modules/analytics/components/setup/SetupFormGA4.js b/assets/js/modules/analytics/components/setup/SetupFormGA4.js @@ -34,7 +34,7 @@ import Data from 'googlesitekit-data'; import { CORE_FORMS } from '../../../../googlesitekit/datastore/forms/constants'; import { STORE_NAME, PROPERTY_CREATE, FORM_S...
10
diff --git a/src/components/AttachmentPicker/index.native.js b/src/components/AttachmentPicker/index.native.js -import React, {createRef} from 'react'; import PropTypes from 'prop-types'; import AttachmentPickerNative from '../../libs/AttachmentPickerNative'; @@ -6,22 +5,13 @@ const propTypes = { children: PropTypes.fu...
4
diff --git a/src/plots/cartesian/layout_attributes.js b/src/plots/cartesian/layout_attributes.js @@ -287,14 +287,14 @@ module.exports = { 'Determines a pattern on the time line that generates breaks.', 'If *day of week* - Sunday-based weekday as a decimal number [0, 6].', 'If *time of day* - hour (24-hour clock) as a d...
3
diff --git a/app/shared/reducers/app.js b/app/shared/reducers/app.js @@ -26,11 +26,17 @@ const contractBasedFeatures = [ const initialState = { constants: {}, download: undefined, + init: false, features: contractBasedFeatures }; export default function app(state = initialState, action) { switch (action.type) { + case ...
12
diff --git a/devices/tuya.js b/devices/tuya.js @@ -1253,10 +1253,10 @@ module.exports = [ fromZigbee: [tuya.fz.datapoints], toZigbee: [tuya.tz.datapoints], configure: tuya.configureMagicPacket, - exposes: [e.temperature(), e.humidity(), tuya.exposes.temperatureUnit(), e.battery(), tuya.exposes.batteryState()], + expose...
10
diff --git a/src/components/nodes/sequenceFlow/sequenceFlow.vue b/src/components/nodes/sequenceFlow/sequenceFlow.vue @@ -129,13 +129,6 @@ export default { this.shape = new joint.shapes.standard.Link(); this.createLabel(); - this.shape.connector('rounded'); - this.shape.attr('line', { - strokeLinejoin:'round', - strokeW...
2
diff --git a/core/api-server/api/graphql/schemas/pipeline-schema.js b/core/api-server/api/graphql/schemas/pipeline-schema.js @@ -3,14 +3,20 @@ const { gql } = require('apollo-server'); const pipelineTypeDefs = gql` type Cron { enabled: Boolean pattern: String } -type Triggers { cron: Cron } +type Triggers { cron: Cron ...
0
diff --git a/.storybook/config.js b/.storybook/config.js @@ -30,21 +30,11 @@ import '../assets/sass/adminbar.scss'; import '../assets/sass/admin.scss'; import './assets/sass/wp-admin.scss'; import { bootstrapFetchMocks } from './fetch-mocks'; -import { disableFeature } from '../stories/utils/features'; // TODO: Remove ...
2
diff --git a/src/components/nodes/dataObject/dataObject.vue b/src/components/nodes/dataObject/dataObject.vue <template> <crown-config - :highlighted="highlighted" - :paper="paper" + v-bind="$attrs" :graph="graph" :shape="shape" :node="node" - :nodeRegistry="nodeRegistry" - :moddle="moddle" - :collaboration="collaborati...
2
diff --git a/token-metadata/0xC4C2614E694cF534D407Ee49F8E44D125E4681c4/metadata.json b/token-metadata/0xC4C2614E694cF534D407Ee49F8E44D125E4681c4/metadata.json "symbol": "CHAIN", "address": "0xC4C2614E694cF534D407Ee49F8E44D125E4681c4", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED...
3
diff --git a/test/tests.html b/test/tests.html <link rel="stylesheet" type="text/css" href="/rich-text-editor.css"/> <script src="/jquery/dist/jquery.js"></script> <script src="/baconjs/dist/Bacon.js"></script> - <script src="/bacon.jquery/dist/bacon.jquery.js"></script> <script src="/mathquill/build/mathquill.js"></sc...
2
diff --git a/tests/utils/TestDataUtils.js b/tests/utils/TestDataUtils.js @@ -14,7 +14,7 @@ class TestDataUtils { } case 'bitcoin': { - return this.getBitcoinAddress() + return this.getRandomBitcoinAddress() } default: @@ -35,9 +35,11 @@ class TestDataUtils { * Generate bitcoin address. * @returns {*} */ - getBitcoinAdd...
10
diff --git a/app/shell-window/ui/navbar/bookmark-menu.js b/app/shell-window/ui/navbar/bookmark-menu.js @@ -201,8 +201,8 @@ export class BookmarkMenuNavbarBtn { this.values.tags = tagsToString(page.bookmark.tags) this.values.notes = page.bookmark.notes this.values.pinned = page.bookmark.pinned - this.values.saved = page...
9
diff --git a/README.md b/README.md This repository contains all Auth0 documentation content (including Quickstarts). -* If you are looking for the application that *hosts* the Docs content, see [auth0-docs](https://github.com/auth0/auth0-docs) -* If you would like to modify the Management API v2 API docs, see [api2](ht...
3
diff --git a/token-metadata/0xaE697F994Fc5eBC000F8e22EbFfeE04612f98A0d/metadata.json b/token-metadata/0xaE697F994Fc5eBC000F8e22EbFfeE04612f98A0d/metadata.json "symbol": "LGCY", "address": "0xaE697F994Fc5eBC000F8e22EbFfeE04612f98A0d", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED"...
3
diff --git a/new-client/src/plugins/documenthandler/documentWindow/TextArea.js b/new-client/src/plugins/documenthandler/documentWindow/TextArea.js @@ -41,7 +41,7 @@ class TextArea extends React.PureComponent { }; getAttributeValue = (attributes, dataAttributeToFind) => { - return attributes.getNamedItem(dataAttributeTo...
9
diff --git a/scripts/editor/icons/readme.mdx b/scripts/editor/icons/readme.mdx # Editor icons +We createad a bunch of custom icons to make everything look better and to enhance the editing experience. +These icons are designed to be used in different places inside the Block Editor. -We are using a bunch of custom made ...
7
diff --git a/articles/libraries/lock-ios/v2/index.md b/articles/libraries/lock-ios/v2/index.md @@ -217,6 +217,34 @@ Lock You can see the complete set of behavior configuration options to alter the way Lock works for your app in the [Configuration Guide](/libraries/lock-ios/v2/configuration). ::: +## Password Manager Su...
0
diff --git a/src/styles/interactive-video.css b/src/styles/interactive-video.css background: unset; border-color: #a2a2a2; color: #fefefe; - border-right: 1px dashed #a2a2a2; + border-right: 0.042em dashed #a2a2a2; -webkit-transition: background-color 0.2s; -moz-transition: background-color 0.2s; transition: background...
0
diff --git a/bin/oref0-setup.sh b/bin/oref0-setup.sh @@ -328,7 +328,7 @@ if [[ -z "$DIR" || -z "$serial" ]]; then echocolor "Ok, $CGM it is." echo if [[ ${CGM,,} =~ "g4-go" ]]; then - prompt_and_validate BLE_SERIAL "If your G4 has Share, what is your G4 Share Serial Number? (i.e. SM12345678)" validate_g4share_serial + ...
11
diff --git a/src/components/markdownEditor/styles/editorToolbarStyles.ts b/src/components/markdownEditor/styles/editorToolbarStyles.ts +import { Platform } from 'react-native'; import EStyleSheet from 'react-native-extended-stylesheet'; import { getBottomSpace } from 'react-native-iphone-x-helper'; @@ -8,6 +9,11 @@ con...
7
diff --git a/src/inner-slider.js b/src/inner-slider.js 'use strict'; import React from 'react'; +import ReactDOM from 'react-dom' import initialState from './initial-state'; import defaultProps from './default-props'; import createReactClass from 'create-react-class'; @@ -126,6 +127,7 @@ export class InnerSlider extend...
2
diff --git a/conferences/2018/android.json b/conferences/2018/android.json "country": "Korea" }, { - "name": "Mobile", + "name": "Mobile @Scale", "url": "https://atscaleconference.com/events/mobilescale-tel-aviv", "startDate": "2018-11-14", "endDate": "2018-11-14",
10
diff --git a/app/modules/claim.js b/app/modules/claim.js // @flow import { api, type Claims } from '@cityofzion/neon-js' -import { api as apiLatest } from '@cityofzion/neon-js-legacy-latest' +import { api as apiLatest, rpc } from '@cityofzion/neon-js-legacy-latest' import { api as n3Api, wallet as n3Wallet, @@ -31,7 +3...
3
diff --git a/wwwroot/config.json b/wwwroot/config.json "text": "Disclaimer: This map must not be used for navigation or precise spatial analysis", "url": "http://google.com" }, + "enableGeojsonMvt": true, "experimentalFeatures": true, "feedbackUrl": "feedback", "globalDisclaimer": {
12
diff --git a/ios/PrideLondonApp.xcodeproj/project.pbxproj b/ios/PrideLondonApp.xcodeproj/project.pbxproj }; objectVersion = 46; objects = { + /* Begin PBXBuildFile section */ 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a...
2
diff --git a/io-manager.js b/io-manager.js @@ -278,6 +278,21 @@ ioManager.keydown = e => { if (_inputFocused() || e.repeat) { return; } + + if (e.which === 74) { + window.lol -= 0.01; + console.log(window.lol); + } else if (e.which === 75) { + window.lol += 0.01; + console.log(window.lol); + } else if (e.which === 78) ...
0
diff --git a/src/resources/views/crud/filters/select2_ajax.blade.php b/src/resources/views/crud/filters/select2_ajax.blade.php <a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">{{ $filter->label }} <span class="caret"></span></a> <div class="dro...
11
diff --git a/lib/elastic_model/acts_as_elastic_model.rb b/lib/elastic_model/acts_as_elastic_model.rb @@ -111,36 +111,29 @@ module ActsAsElasticModel end end - def elastic_sync(options = {}) + def elastic_sync(start_id, end_id, options) + return if !start_id || !end_id || start_id >= end_id options[:batch_size] ||= defi...
7
diff --git a/src/prf.js b/src/prf.js @@ -182,8 +182,7 @@ D.db = !nodeRequire ? localStorage : (function DB() { // file-backed storage with API similar to that of localStorage const k = []; // keys const v = []; // values - const d = el.app.getPath('userData'); - const f = `${d}/prefs.json`; + const f = el.process.env.R...
11
diff --git a/assets/js/components/dashboard/DashboardApp.js b/assets/js/components/dashboard/DashboardApp.js @@ -27,7 +27,6 @@ import { Fragment } from '@wordpress/element'; import WidgetContextRenderer from '../../googlesitekit/widgets/components/WidgetContextRenderer'; import LegacyDashboardModule from './LegacyDashb...
2
diff --git a/ios/Podfile.lock b/ios/Podfile.lock @@ -547,15 +547,15 @@ PODS: - ReactCommon/turbomodule/core (0.70.4): - DoubleConversion - glog - - RCT-Folly (= 2021.06.28.00-v2) - - React-bridging (= 0.69.4) - - React-callinvoker (= 0.69.4) - - React-Core (= 0.69.4) - - React-cxxreact (= 0.69.4) - - React-jsi (= 0.69....
13
diff --git a/test/cases/resolving/data-uri/index.js b/test/cases/resolving/data-uri/index.js @@ -17,13 +17,13 @@ it("should import js module from base64 data-uri", function() { }); it("should require coffee module from base64 data-uri", function() { - const mod = require('coffee-loader!data:text/javascript;charset=utf-...
3
diff --git a/backend/lib/endpoints/feedback.js b/backend/lib/endpoints/feedback.js @@ -8,7 +8,7 @@ async function routes(app) { app.post("/", { schema: createFeedbackSchema }, async (req, reply) => { const { userId } = req.body; - let ip = "undefined"; + if (userId) { const userFeedback = await Feedback.find({ userId }...
11
diff --git a/core/generator.js b/core/generator.js @@ -159,7 +159,7 @@ Blockly.Generator.prototype.allNestedComments = function(block) { /** * Generate code for the specified block (and attached blocks). - * The generator should be initialized before calling this function. + * The generator must be initialized before c...
3
diff --git a/services/datasources/lib/datasources/url/arcgis.rb b/services/datasources/lib/datasources/url/arcgis.rb @@ -452,7 +452,6 @@ module CartoDB begin body = ::JSON.parse(response.body) - success = true rescue JSON::ParserError begin # HACK: JSON spec does not cover Infinity
2
diff --git a/test/ringo/websocket_test.js b/test/ringo/websocket_test.js @@ -37,7 +37,7 @@ exports.testTextMessage = function() { }, true); if (!semaphore.tryWait(TIMEOUT)) { - assert.fail("web socket text timed out"); + assert.fail("web socket text timed out (async: " + isAsync + ")"); } assert.equal(received, message...
7
diff --git a/webdriver-ts/package.json b/webdriver-ts/package.json "dependencies": { "axios": "^0.19.0", "cross-env": "5.2.1", - "chromedriver": "84.0.1", + "chromedriver": "76.0.1", "dot": "1.1.2", "jstat": "1.9.1", "lighthouse": "5.2.0",
13
diff --git a/articles/libraries/custom-signup.md b/articles/libraries/custom-signup.md @@ -13,7 +13,7 @@ Auth0 offers a [hosted login page](/hosted-pages/login) option that you can use ## Using Lock -Lock 10 supports [custom fields signup](/libraries/lock/v10/customization#additionalsignupfields-array-). +Lock supports...
2
diff --git a/docs/core-tags.md b/docs/core-tags.md @@ -393,8 +393,8 @@ $ var personPromise = new Promise((resolve, reject) => { ``` Advanced implementation: -+ <await> tag signature - * Basic usage: <await(results from dataProvider)>...</await> ++ `<await>` tag signature + * Basic usage: `<await(results from dataProvid...
4
diff --git a/src/resources/views/fields/upload_multiple.blade.php b/src/resources/views/fields/upload_multiple.blade.php @include('crud::inc.field_translatable_icon') {{-- Show the file name and a "Clear" button on EDIT form. --}} - @if (isset($field['value']) && count($field['value'])) + @if (isset($field['value'])) +...
3
diff --git a/packages/common/modules/i18n/index.native.ts b/packages/common/modules/i18n/index.native.ts @@ -11,7 +11,7 @@ const languageDetector = { async: true, // flags below detection to be async detect: async (callback: (lang: string) => string) => { const lng = await Expo.SecureStore.getItemAsync('i18nextLng'); -...
4
diff --git a/assets/js/modules/search-console/index.js b/assets/js/modules/search-console/index.js @@ -96,7 +96,7 @@ domReady( () => { component: DashboardPopularKeywordsWidget, width: Widgets.WIDGET_WIDTHS.HALF, priority: 1, - wrapWidget: false, + wrapWidget: true, }, [ AREA_DASHBOARD_POPULARITY,
12
diff --git a/__performance_tests__/todo.js b/__performance_tests__/todo.js @@ -160,6 +160,20 @@ describe("performance", () => { }) }) + measure("immer (proxy) - w/o autofreeze - with patch listener", () => { + setUseProxies(true) + setAutoFreeze(false) + produce( + frozenBazeState, + draft => { + for (let i = 0; i < MA...
0
diff --git a/src/cli/commands/web.start.js b/src/cli/commands/web.start.js @@ -44,10 +44,15 @@ module.exports = { } else { this.console.error(err.message, err); } + done(); }); - return server.start(args.options.sync).catch(e => { + server.on('destroy', () => done()); + server.on('stopped', () => done()); + + server.st...
14
diff --git a/source/delegate/migrations/1_initial_migration.js b/source/delegate/migrations/1_initial_migration.js @@ -7,6 +7,6 @@ module.exports = (deployer, network) => { const INDEXER_ADDRESS = '' const OWNER_ADDRESS = '' const TRADE_WALLET_ADDRESS = '' - await deployer.deploy(Delegate, SWAP_ADDRESS, INDEXER_ADDRESS...
2
diff --git a/src/js/base/module/VideoDialog.js b/src/js/base/module/VideoDialog.js @@ -49,7 +49,7 @@ export default class VideoDialog { createVideoNode(url) { // video url patterns(youtube, instagram, vimeo, dailymotion, youku, mp4, ogg, webm) - const ytRegExp = /^(?:https?:\/\/)?(?:www\.)?(?:youtu\.be\/|youtube\.com\/...
11
diff --git a/physx.js b/physx.js @@ -1697,6 +1697,35 @@ const physxWorker = (() => { allocator.freeAll() } + w.createShapePhysics = (physics, buffer) => { + const allocator = new Allocator() + const buffer2 = allocator.alloc(Uint8Array, buffer.length) + buffer2.set(buffer) + + const shapeAddress = moduleInstance._creat...
0
diff --git a/token-metadata/0xf51EBf9a26DbC02B13F8B3a9110dac47a4d62D78/metadata.json b/token-metadata/0xf51EBf9a26DbC02B13F8B3a9110dac47a4d62D78/metadata.json "symbol": "APIX", "address": "0xf51EBf9a26DbC02B13F8B3a9110dac47a4d62D78", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED"...
3
diff --git a/userscript.user.js b/userscript.user.js @@ -26437,6 +26437,12 @@ var $$IMU_EXPORT$$; // at edu.illinois.library.cantaloupe.resource.iiif.v2.ImageResource.doGet(ImageResource.java:62) // at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) + // https://gallica.bnf.fr/ark:/12148/bpt6k1510890t/f9.lo...
7
diff --git a/db/import-dump.sh b/db/import-dump.sh @@ -7,15 +7,13 @@ psql -v ON_ERROR_STOP=1 -U postgres -d postgres <<-EOSQL AND pid <> pg_backend_pid(); DROP DATABASE IF EXISTS "$1"; - DROP SCHEMA IF EXISTS $1; - DROP USER IF EXISTS sidewalk; + DROP SCHEMA IF EXISTS sidewalk; - CREATE USER sidewalk WITH PASSWORD 'sid...
1
diff --git a/packages/netlify-cms-widget-list/src/ListControl.js b/packages/netlify-cms-widget-list/src/ListControl.js @@ -18,10 +18,6 @@ import { getErrorMessageForTypedFieldAndValue, } from './typedListHelpers'; -function valueToString(value) { - return value ? value.join(',').replace(/,([^\s]|$)/g, ', $1') : ''; -} ...
1
diff --git a/lib/api/sql/copy-controller.js b/lib/api/sql/copy-controller.js @@ -110,6 +110,10 @@ function handleCopyTo ({ logger: mainLogger }) { pgstream .on('data', data => metrics.addSize(data.length)) + .on('error', err => { + metrics.end(null, err); + return next(err); + }) .on('end', () => { metrics.end(streamCo...
9
diff --git a/unlock-protocol.com/src/components/page/OpenGraphTags.js b/unlock-protocol.com/src/components/page/OpenGraphTags.js @@ -15,6 +15,7 @@ export const OpenGraphTags = ({ title, description, image, canonicalPath }) => { if (!image) image = PAGE_DEFAULT_IMAGE if (!canonicalPath) canonicalPath = '/' + const absol...
4
diff --git a/lib/carto/tracking/formats/pubsub.rb b/lib/carto/tracking/formats/pubsub.rb @@ -54,7 +54,7 @@ module Carto properties = { vis_id: @visualization.id, privacy: @visualization.privacy, - type: @visualization.type, + vis_type: @visualization.type, object_created_at: @visualization.created_at, lifetime: lifetim...
10
diff --git a/articles/quickstart/native/android-vnext/00-login.md b/articles/quickstart/native/android-vnext/00-login.md @@ -47,10 +47,6 @@ implementation 'com.auth0.android:auth0:2.0.0-beta.0' } ``` -::: note -If Android Studio lints the `+` sign, or if you want to use a fixed version, check for the latest in [Maven](...
2
diff --git a/token-metadata/0x4eC2eFb9cBd374786A03261E46ffce1a67756f3B/metadata.json b/token-metadata/0x4eC2eFb9cBd374786A03261E46ffce1a67756f3B/metadata.json "symbol": "DEFL", "address": "0x4eC2eFb9cBd374786A03261E46ffce1a67756f3B", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED"...
3
diff --git a/README.md b/README.md @@ -3,6 +3,14 @@ Pure JavaScript based WYSIWYG web editor **Demo site : <a href="http://suneditor.com" target="_blank">suneditor.com</a>** +[![NPM](https://nodei.co/npm/suneditor.png)](https://nodei.co/npm/suneditor/) + +![GitHub](https://img.shields.io/github/license/mashape/apistatu...
3
diff --git a/package.json b/package.json { "name": "prettier-atom", "main": "./dist/main.js", - "version": "0.57.1", + "version": "0.57.2", "description": "Atom plugin for formatting JavaScript using prettier with (optional) prettier-eslint integration", "keywords": [ "atom",
6
diff --git a/server/processes/sensorContacts.js b/server/processes/sensorContacts.js @@ -12,6 +12,7 @@ function distance3d(coord2, coord1) { const moveSensorContactTimed = () => { let sendUpdate = false; + let targetingUpdate = false; App.systems.filter(sys => sys.type === "Sensors").forEach(sensors => { const { moveme...
1
diff --git a/src/components/Section.js b/src/components/Section.js @@ -24,6 +24,7 @@ const propTypes = { children: PropTypes.node, /** Customize the Section container */ + // eslint-disable-next-line react/forbid-prop-types containerStyles: PropTypes.arrayOf(PropTypes.object), };
8
diff --git a/docs/api/Selection.md b/docs/api/Selection.md @@ -6,8 +6,6 @@ section: Utils ```javascript var selection = document.selectedLayers - -selection.forEach(l => log(l.id)) ``` A utility class to represent the layers selection. Contains some methods to make interacting with a selection easier. All the propertie...
1
diff --git a/preview.js b/preview.js @@ -9,7 +9,7 @@ const next = ()=>{ /** Unshift the queue to generate the next preview */ const {url, ext, type, width, height, resolve, reject} = queue.shift(); generatePreview(url, ext, type, width, height, resolve, reject); -} +}; export const generatePreview = async (url, ext, ty...
0
diff --git a/resources/prosody-plugins/mod_auth_token.lua b/resources/prosody-plugins/mod_auth_token.lua @@ -95,6 +95,7 @@ local function anonymous(self, message) local result, err, msg = self.profile.anonymous(self, username, self.realm); if result == true then + self.username = username; return "success"; else
12
diff --git a/templates/workflow/level1.html b/templates/workflow/level1.html {% extends "base.html" %} {% block content %} - {% include '../shared/level1_modal_form.html' %} <script> $(document).ready(function() { $('#level1Table').DataTable(); -}) + }); </script> <div class="container"> - <div class="panel panel-defau...
0
diff --git a/src/message/displaywindowComponent.js b/src/message/displaywindowComponent.js @@ -190,10 +190,25 @@ export class Controller { this.open = this.open === true; this.height = this.height || '240px'; this.width = this.width || '240px'; - const element = document.getElementsByClassName('ngeo-displaywindow')[0];...
7