code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/src/app.js b/src/app.js @@ -27,10 +27,15 @@ const app = express(feathers());
Sentry.init({
dsn: config.sentryDsn,
- // Set tracesSampleRate to 1.0 to capture 100%
- // of transactions for performance monitoring.
- // We recommend adjusting this value in production
- tracesSampleRate: 1.0,
+ // we want to c... | 12 |
diff --git a/src/technologies/u.json b/src/technologies/u.json 67
],
"description": "Usercentrics is a SaaS enterprise solution for Consent Management (CMP) that helps enterprise customers to obtain, manage and document the user consent.",
+ "dom": "link[href*='app.usercentrics.eu'], script[data-usercentrics]",
"icon":... | 7 |
diff --git a/.github/libs/GithubUtils.js b/.github/libs/GithubUtils.js @@ -487,7 +487,7 @@ class GithubUtils {
* @returns {Promise<String>}
*/
static getActorWhoClosedIssue(issueNumber) {
- return this.octokit.paginate(this.octokit.issues.listEvents, {
+ return this.paginate(this.octokit.issues.listEvents, {
owner: GIT... | 4 |
diff --git a/content/questions/type-coercion/index.md b/content/questions/type-coercion/index.md @@ -23,4 +23,4 @@ Which of the following is an example of implicit coercion in JavaScript?
<!-- explanation -->
-Some programming languages have a concept called type casting. This means that, if you want to convert one typ... | 0 |
diff --git a/src/schema/deserialize.js b/src/schema/deserialize.js @@ -99,17 +99,13 @@ function runDeserialize(exception, map, schema, originalValue, options) {
if (highs.length > 1) {
exception.message('Unable to determine deserialization schema because too many schemas match. Use of a discriminator or making your sch... | 7 |
diff --git a/project/src/system/Locale.mm b/project/src/system/Locale.mm @@ -17,7 +17,16 @@ namespace lime {
#endif
NSString* localeLanguage = [[NSLocale preferredLanguages] firstObject];
- NSString* localeRegion = [[NSLocale currentLocale] countryCode];
+ if (localeLanguage == nil) localeLanguage = @"en";
+
+ NSString... | 7 |
diff --git a/project/src/backend/sdl/SDLWindow.cpp b/project/src/backend/sdl/SDLWindow.cpp @@ -71,10 +71,10 @@ namespace lime {
#endif
#ifndef EMSCRIPTEN
+ SDL_SetHint (SDL_HINT_ANDROID_TRAP_BACK_BUTTON, "0");
SDL_SetHint (SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH, "1");
#endif
-
if (flags & WINDOW_FLAG_HARDWARE) {
sdlWindowFl... | 11 |
diff --git a/.circleci/config.yml b/.circleci/config.yml @@ -79,15 +79,9 @@ workflows:
node-android-ios:
jobs:
- build
- - ios:
+ - android:
requires:
- build
- filters:
- branches:
- ignore: master
- - android:
+ - ios:
requires:
- build
\ No newline at end of file
- filters:
- branches:
- ignore: master
\ No newline ... | 2 |
diff --git a/packages/@ember/-internals/glimmer/tests/integration/components/link-to/query-params-curly-test.js b/packages/@ember/-internals/glimmer/tests/integration/components/link-to/query-params-curly-test.js @@ -41,6 +41,21 @@ moduleFor(
});
}
+ ['@test populates href with fully supplied query param values, but wi... | 7 |
diff --git a/token-metadata/0x19ddC3605052554A1aC2b174aE745c911456841f/metadata.json b/token-metadata/0x19ddC3605052554A1aC2b174aE745c911456841f/metadata.json "symbol": "PON",
"address": "0x19ddC3605052554A1aC2b174aE745c911456841f",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/packages/jaeger-ui/src/components/TracePage/TraceTimelineViewer/SpanDetail/KeyValuesTable.css b/packages/jaeger-ui/src/components/TracePage/TraceTimelineViewer/SpanDetail/KeyValuesTable.css @@ -45,7 +45,7 @@ limitations under the License.
}
.KeyValueTable--row:not(:hover) > .KeyValueTable--copyColumn > .Ke... | 14 |
diff --git a/source/views/controls/ClearSearchButtonView.js b/source/views/controls/ClearSearchButtonView.js @@ -5,7 +5,7 @@ const ClearSearchButtonView = Class({
Extends: ButtonView,
- type: 'v-ClearSearchButton',
+ className: 'v-ClearSearchButton',
positioning: 'absolute',
shortcut: 'Ctrl-/',
});
| 2 |
diff --git a/ts/core/utils.ts b/ts/core/utils.ts @@ -113,9 +113,13 @@ function clean(obj, isArray) {
return obj;
}
if (Array.isArray(obj)) {
- return obj
+ obj = obj
.map(function (value) { return clean(value, true); })
.filter(function (value) { return value; });
+ if (isArray && !obj.length) {
+ return undefined;
+ }... | 2 |
diff --git a/package.json b/package.json "scripts": {
"start": "forever start index.mjs",
"dev": "node index.mjs",
+ "prod": "sudo $(which node) index.mjs -p",
"build": "vite build",
"serve": "vite preview",
"setup:test": "cd test && npm i",
| 0 |
diff --git a/CHANGELOG.md b/CHANGELOG.md All notable changes to this project are documented in this file.
-## Head
+## 13.6.1
- Fixed: `max-empty-lines` TypeError from inline comment with autofix and sugarss syntax ([#4821](https://github.com/stylelint/stylelint/pull/4821)).
- Fixed: `property-no-unknown` false positiv... | 6 |
diff --git a/assets/app/js/app.js b/assets/app/js/app.js reject(url);
};
- script.src = (url.match(/^http/) ? url : App.base(url))+'?v='+App.version;
+ script.src = (url.match(/^(\/\/|http)/) ? url : App.base(url))+'?v='+App.version;
document.getElementsByTagName('head')[0].appendChild(script);
var link = document.crea... | 11 |
diff --git a/components/admin/data/layers/form/layer-preview/component.js b/components/admin/data/layers/form/layer-preview/component.js @@ -109,8 +109,8 @@ class LayerPreviewComponent extends PureComponent {
render() {
const {
adminLayerPreview,
- interactions,
- layers
+ layers,
+ setLayerInteractionSelected
} = this... | 12 |
diff --git a/lib/assets/javascripts/dashboard/views/organization/organization-users/organization-users-view.js b/lib/assets/javascripts/dashboard/views/organization/organization-users/organization-users-view.js @@ -134,11 +134,11 @@ module.exports = CoreView.extend({
msg: ''
}));
- this._panes.addTab('no_results', noRe... | 1 |
diff --git a/userscript.user.js b/userscript.user.js @@ -58908,6 +58908,7 @@ var $$IMU_EXPORT$$;
var setup_mask_el = function(mask) {
set_el_all_initial(mask);
+ set_important_style(mask, "opacity", 1);
if (settings.mouseover_mask_styles)
apply_styles(mask, settings.mouseover_mask_styles, true);
@@ -58925,14 +58926,17 ... | 11 |
diff --git a/src/lib/client.js b/src/lib/client.js @@ -489,7 +489,7 @@ StreamClient.prototype = {
* @return {object} Faye client
*/
if (this.fayeClient === null) {
- this.fayeClient = new Faye.Client(this.fayeUrl);
+ this.fayeClient = new Faye.Client(this.fayeUrl, {timeout: 10});
var authExtension = this.getFayeAuthori... | 4 |
diff --git a/token-metadata/0xC28E27870558cF22ADD83540d2126da2e4b464c2/metadata.json b/token-metadata/0xC28E27870558cF22ADD83540d2126da2e4b464c2/metadata.json "symbol": "SASHIMI",
"address": "0xC28E27870558cF22ADD83540d2126da2e4b464c2",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFI... | 3 |
diff --git a/generators/kubernetes/templates/console/jhipster-logstash.yml.ejs b/generators/kubernetes/templates/console/jhipster-logstash.yml.ejs See the License for the specific language governing permissions and
limitations under the License.
-%>
-<%#
- Copyright 2013-2020 the original author or authors from the JHi... | 2 |
diff --git a/test/unit/service-broker.spec.js b/test/unit/service-broker.spec.js @@ -819,7 +819,7 @@ describe("Test broker.loadService", () => {
let broker = new ServiceBroker({ logger: false, hotReload: true });
broker.createService = jest.fn(svc => svc);
- broker.servicesChanged = jest.fn();
+ broker._restartService ... | 1 |
diff --git a/README.md b/README.md @@ -445,7 +445,7 @@ This is also for default plugin options. If the alias definitions extends on de
```javascript
Inputmask.extendAliases({
- 'numeric':
+ 'numeric': {
autoUnmask: true,
allowPlus: false,
allowMinus: false
| 1 |
diff --git a/lib/assets/core/javascripts/cartodb3/editor/layers/analysis-views/source-layer-analysis-view.tpl b/lib/assets/core/javascripts/cartodb3/editor/layers/analysis-views/source-layer-analysis-view.tpl -<p class="Editor-ListAnalysis-itemInfoTitle CDB-Text CDB-Size-small u-secondaryTextColor u-ellipsis u-flex" ti... | 2 |
diff --git a/src/selection-handler.js b/src/selection-handler.js @@ -36,12 +36,14 @@ Object.assign(SelectionHandler.prototype, require('./function-bind'), require('.
cancelSelectAll: function() {
// Don't select if within an input field
- var editorEl = Dom.getClosest(document.activeElement, 'input');
- if (editorEl !=... | 11 |
diff --git a/packages/hulk-cli/package.json b/packages/hulk-cli/package.json "@baidu/hulk-utils": "^2.1.0",
"@baidu/matrix-loader": "^1.1.1",
"@baidu/sentry-webpack-configext": "^1.0.10",
- "@baidu/upload-file": "^0.0.2",
+ "@baidu/upload-file": "^0.0.3",
"@samverschueren/stream-to-observable": "^0.3.0",
"autoprefixer"... | 1 |
diff --git a/karma.conf.js b/karma.conf.js @@ -7,35 +7,26 @@ module.exports = function (config) {
var customLaunchers = {
sl_chrome_latest: {
browserName: 'chrome',
- browserVersion: 'latest',
platformName: 'Windows 10'
},
sl_firefox_latest: {
browserName: 'firefox',
- browserVersion: 'latest',
platformName: 'Windows 1... | 2 |
diff --git a/fastlane/Fastfile b/fastlane/Fastfile @@ -312,7 +312,7 @@ platform :ios do
end
desc 'Get iOS match profiles'
- lane :match do
+ lane :certs do
if !ENV['MATCH_PASSWORD'].nil? && !ENV['MATCH_PASSWORD'].empty?
api_key = get_apple_api_key()
match(
| 10 |
diff --git a/test/vast_tracker.js b/test/vast_tracker.js @@ -285,11 +285,11 @@ describe('VASTTracker', function() {
});
});
- describe('#errorWithCode', () => {
+ describe('#error', () => {
before(() => {
- util.track = function(URLTemplates, variables, options) {
+ util.track = function(URLTemplates, macros, options) ... | 0 |
diff --git a/package.json b/package.json "start-image_viewer": "node devtools/image_viewer/server.js",
"start": "npm run start-test_dashboard",
"baseline": "node tasks/baseline.js",
- "preversion": "npm-link-check && npm dedupe && npm ls",
+ "preversion": "npm-link-check && npm dedupe",
"version": "npm run build && git... | 2 |
diff --git a/generators/server/templates/_README.md b/generators/server/templates/_README.md @@ -126,7 +126,7 @@ To optimize the <%= baseName %> application for production, run:
./gradlew -Pprod clean bootRepackage<% } %>
<%_ if(!skipClient) { _%>
-This will concatenate and minify the client CSS and JavaScript files. I... | 2 |
diff --git a/editor.js b/editor.js @@ -321,6 +321,59 @@ const _makeUiMesh = () => {
});
return m;
};
+const _makeContextMenuMesh = uiMesh => {
+ const geometry = new THREE.PlaneBufferGeometry(1, 1)
+ .applyMatrix4(
+ localMatrix.compose(
+ localVector.set(1/2, -1/2, 0),
+ localQuaternion.set(0, 0, 0, 1),
+ localVector2... | 0 |
diff --git a/articles/speech-command-recognition-with-tensorflow-and-react/index.md b/articles/speech-command-recognition-with-tensorflow-and-react/index.md @@ -14,9 +14,9 @@ images:
- url: /engineering-education/speech-command-recognition-with-tensorflow-and-react/hero.png
alt: Speech Command Recognition in a React Pr... | 1 |
diff --git a/package.json b/package.json "eslint": "^4.19.1",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-plugin-import": "^2.14.0",
- "mocha": "^5.2.0",
+ "mocha": "^6.0.2",
"nyc": "^13.3.0",
"icrdk": "git://github.com/f5devcentral/f5-icontrollx-dev-kit#master"
}
| 1 |
diff --git a/assets/sass/components/global/_googlesitekit-entity-header.scss b/assets/sass/components/global/_googlesitekit-entity-header.scss -webkit-position: sticky;
position: sticky;
top: 132px;
- z-index: 9; // should be under _googlesitekit-dashboard-navigation
+ z-index: 9; // Should be below _googlesitekit-dash... | 7 |
diff --git a/src/core/FlowControl.js b/src/core/FlowControl.js @@ -127,14 +127,13 @@ const FlowControl = {
*/
function replaceRegister(str) {
// Replace references to registers ($Rn) with contents of registers
- str = str ? str.replace(/((?:^|[^\\])(?:\\.|[^\\])*?)\$R(\d{1,2})/g, (match, pre, regNum) => {
+ return str.... | 7 |
diff --git a/src/encoded/tests/data/inserts/user.json b/src/encoded/tests/data/inserts/user.json "community"
],
"uuid": "af989110-67d2-4c8b-87f0-38d9d6d31868"
+ },
+ {
+ "email": "jenjou168@gmail.com",
+ "first_name": "Jennifer",
+ "groups": [
+ "admin"
+ ],
+ "job_title": "Associate Data Wrangler",
+ "lab": "/labs/j-m... | 0 |
diff --git a/pages/countries.js b/pages/countries.js @@ -206,7 +206,7 @@ class Countries extends React.Component {
<RegionLink href="#Americas" label='Americas' />
<RegionLink href="#Asia" label='Asia' />
<RegionLink href="#Europe" label='Europe' />
- <RegionLink href="#Antartica" label='Antarctica' />
+ <RegionLink hr... | 14 |
diff --git a/stories/NumericInput.stories.js b/stories/NumericInput.stories.js @@ -132,7 +132,7 @@ storiesOf('NumericInput', module)
))
)
.add(
- 'allowSigns = false',
+ 'allowSigns = false | allowOnlyIntegers = false',
withState({ value: null }, (store) => (
<NumericInput
value={store.state.value}
@@ -142,7 +142,17 @@... | 7 |
diff --git a/src/components/Explorer/queryTemplate.js b/src/components/Explorer/queryTemplate.js @@ -25,7 +25,7 @@ function validate(p) {
const queryTemplate = (props) => {
const {
select,
- group = select && select.groupValue ? { value: select.groupKey, groupKeySelect: select.groupKeySelect, alias: select.alias } : nu... | 11 |
diff --git a/src/helpers/sentry.js b/src/helpers/sentry.js @@ -10,10 +10,7 @@ if (process.env.NODE_ENV === "production") {
release: `react@${version}`,
dsn: "https://c71a50635f9b42f4a70880cce6a7ff0e@sentry.io/1323903",
beforeSend(event) {
- if (
- event.exception.mechanism.data &&
- invalidMessages.includes(event.excep... | 1 |
diff --git a/package.json b/package.json "scripts": {
"lint": "./node_modules/.bin/eslint lib/",
"test": "mocha test/ --no-timeouts",
- "testdapp_1": "cd test_apps/test_app/ && npm install && \"../../bin/embark\" test",
- "testdapp_2": "cd test_apps/contracts_app/ && npm install && \"../../bin/embark\" test",
+ "testda... | 4 |
diff --git a/js/pages/configuration/roles/role-details.js b/js/pages/configuration/roles/role-details.js @@ -4,6 +4,7 @@ define([
'appConfig',
'assets/ohdsi.util',
'services/User',
+ 'webapi/AuthAPI',
'databindings',
'components/ac-access-denied',
'less!./role-details.less',
@@ -12,7 +13,8 @@ define([
view,
config,
ohd... | 1 |
diff --git a/test/e2e/beta/helpers.js b/test/e2e/beta/helpers.js @@ -122,12 +122,14 @@ async function closeAllWindowHandlesExcept (driver, exceptions, windowHandles) {
}
async function assertElementNotPresent (webdriver, driver, by) {
+ let dataTab
try {
- const dataTab = await findElement(driver, by, 4000)
+ dataTab =... | 7 |
diff --git a/avatars/util.mjs b/avatars/util.mjs @@ -37,7 +37,7 @@ export const getEyePosition = (() => {
// const localVector2 = new THREE.Vector3();
return function(modelBones) {
// const vrmExtension = object?.parser?.json?.extensions?.VRM;
- return modelBones.Head.getWorldPosition(localVector)
+ return localVector.... | 2 |
diff --git a/.travis.yml b/.travis.yml @@ -6,6 +6,13 @@ sudo: false
addons:
code_climate:
repo_token: $CODECLIMATE_REPO_TOKEN
+install:
+ - npm install
+ - npm run build
+script:
+ - npm run test:client -- --coverage
+ - npm run test:server -- --coverage
+ - npm run lint
after_success:
- npm install -g codeclimate-test... | 1 |
diff --git a/tests/e2e/plugins/module-setup-analytics-no-account.php b/tests/e2e/plugins/module-setup-analytics-no-account.php namespace Google\Site_Kit\Tests\E2E\Modules\AnalyticsNoAccount;
use Google\Site_Kit\Core\REST_API\REST_Routes;
-use WP_Error;
add_action( 'rest_api_init', function () {
@@ -24,16 +23,10 @@ add_... | 3 |
diff --git a/mocha_spec/unit/ferryman.spec.js b/mocha_spec/unit/ferryman.spec.js @@ -61,7 +61,12 @@ describe('Ferryman', () => {
nock(`https://localhost:2345/snapshots/flows/${flowId}/steps`)
.get(`/${stepId}`)
- .reply(200, { data: { snapshot: 'blubb' } });
+ .reply(200, { data: {
+ snapshot: {
+ id: '123456789',
+ va... | 9 |
diff --git a/src/scene/layer.js b/src/scene/layer.js @@ -158,6 +158,7 @@ Object.assign(pc, function () {
* Can be used in {@link pc.LayerComposition#getLayerById}.
*/
var Layer = function (options) {
+ options = options || {};
if (options.id !== undefined) {
this.id = options.id;
| 11 |
diff --git a/app/api/ada/adaTransactions/adaNewTransactions.js b/app/api/ada/adaTransactions/adaNewTransactions.js @@ -27,6 +27,7 @@ import type {
AdaAddresses,
AdaTransactionFee,
} from '../adaTypes';
+import { NotEnoughMoneyToSendError } from '../errors';
export const getAdaTransactionFee = (
receiver: string,
@@ -39... | 7 |
diff --git a/src/trait_manager/model/Trait.js b/src/trait_manager/model/Trait.js @@ -62,6 +62,18 @@ module.exports = require('backbone').Model.extend({
},
+ setValueFromInput(value, final = 1, opts = {}) {
+ const toSet = { value };
+ this.set(toSet, { ...opts, avoidStore: 1});
+
+ // Have to trigger the change
+ if (f... | 1 |
diff --git a/1-getting-started-lessons/2-github-basics/README.md b/1-getting-started-lessons/2-github-basics/README.md @@ -6,7 +6,7 @@ This lesson covers the basics of GitHub, a platform to host and manage changes t
> Sketchnote by [Tomomi Imura](https://twitter.com/girlie_mac)
## Pre-Lecture Quiz
-[Pre-lecture quiz](1... | 14 |
diff --git a/sample-apps/appsensor-ws-rest-server-with-websocket-mysql-boot/create.sql b/sample-apps/appsensor-ws-rest-server-with-websocket-mysql-boot/create.sql @@ -7,7 +7,7 @@ create table event_metadata (event_id integer not null, metadata_id integer not
create table geo_location (id integer not null auto_increment... | 1 |
diff --git a/articles/quickstart/spa/angularjs/_includes/_centralized_login.md b/articles/quickstart/spa/angularjs/_includes/_centralized_login.md +<!-- markdownlint-disable MD002 MD041 -->
-<%= include('../../_includes/_login_preamble', { library: 'AngularJS', embeddedLoginLink: 'https://github.com/auth0-samples/auth0... | 2 |
diff --git a/appveyor.yml b/appveyor.yml environment:
matrix:
- nodejs_version: 0.10
+ npm_version: 3
- nodejs_version: 0.12
+ npm_version: 3
+ - nodejs_version: 4
+ npm_version: 'latest'
+ - nodejs_version: 6
+ npm_version: 'latest'
+ - nodejs_version: 8
+ npm_version: 'latest'
# Get the latest stable version of Node ... | 12 |
diff --git a/src/pages/home/report/ReportActionCompose.js b/src/pages/home/report/ReportActionCompose.js @@ -190,7 +190,7 @@ class ReportActionCompose extends React.Component {
ReportActionComposeFocusManager.clear();
}
- isNewChat() {
+ isEmptyChat() {
return _.size(this.props.reportActions) === 1;
}
@@ -250,7 +250,7 ... | 10 |
diff --git a/src/domain/navigation/index.js b/src/domain/navigation/index.js @@ -37,7 +37,7 @@ function allowsChild(parent, child) {
// downside of the approach: both of these will control which tile is selected
return type === "room" || type === "empty-grid-tile";
case "room":
- return type === "lightbox";
+ return ty... | 11 |
diff --git a/articles/migrations/index.md b/articles/migrations/index.md ---
toc: true
-description: Occasionally, Auth0 engineers must make breaking changes to the Auth0 platform.
+title: Auth0 Migrations
+description: List of all the changes made on Auth0 platform that might affect customers.
---
+
# Migrations
Occas... | 3 |
diff --git a/README.md b/README.md @@ -82,16 +82,8 @@ higher level API on top of Mineflayer.
## Installation
-### Linux / OSX
-
`npm install mineflayer`
-### Windows
-
-1. Follow the Windows instructions from
- [node-minecraft-protocol](https://github.com/PrismarineJS/node-minecraft-protocol#windows)
-2. `npm install m... | 2 |
diff --git a/website/js/components/designer/input.vue b/website/js/components/designer/input.vue v-btn.delete(icon @click.native='remove(index)'
:id="path+'-remove-'+index"
tabindex='-1')
- v-icon Delete
+ v-icon delete
v-btn.block(@click.native='add' tabindex='-1'
:id="path+'-add'"
) Add Item
| 1 |
diff --git a/token-metadata/0xBA11D00c5f74255f56a5E366F4F77f5A186d7f55/metadata.json b/token-metadata/0xBA11D00c5f74255f56a5E366F4F77f5A186d7f55/metadata.json "symbol": "BAND",
"address": "0xBA11D00c5f74255f56a5E366F4F77f5A186d7f55",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/components/carousel/index.jsx b/components/carousel/index.jsx @@ -143,13 +143,7 @@ class Carousel extends React.Component {
if (this.props.hasAutoplay) {
this.startAutoplay();
}
- if (
- this.stageItem &&
- this.stageItem.current &&
- this.stageItem.offsetWidth
- ) {
this.stageWidth = this.stageItem.curren... | 13 |
diff --git a/exampleSite/content/docs/installation/content.md b/exampleSite/content/docs/installation/content.md @@ -17,7 +17,7 @@ This way whenever you want to update the theme you can just pull the updates and
git submodule init # If you haven't initialized before
git submodule add https://git.okkur.org/syna themes/s... | 3 |
diff --git a/js/web-server.js b/js/web-server.js @@ -1050,7 +1050,8 @@ function loadModule(dir) {
lastmod("mod") && fs.readdirSync(currentDir + "/mod").forEach(dir => {
const fullpath = currentDir + "/mod/" + dir;
if (dir.charAt(0) === '.') return;
- if (!fs.lstatSync(fullpath).isDirectory()) return;
+ const stats = fs... | 11 |
diff --git a/src/models/marker.js b/src/models/marker.js @@ -104,7 +104,9 @@ const Marker = Model.extend({
// just first dataModel, can lead to problems if first data source doesn't contain dim-concept
const firstDataModel = this._root.dataManager.getDataModels().values().next().value;
- dimensions.forEach(dim => data.... | 8 |
diff --git a/lib/node_modules/@stdlib/strided/common/examples/addon/addon.cpp b/lib/node_modules/@stdlib/strided/common/examples/addon/addon.cpp #include <nan.h>
#include "stdlib/strided_binary.h"
-/**
-* Macro for determining the number of bytes per typed array element.
-*
-* @param x V8 value wrapper
-* @param ctor t... | 14 |
diff --git a/packages/bitcore-node/test/integration/wallet-benchmark.integration.ts b/packages/bitcore-node/test/integration/wallet-benchmark.integration.ts @@ -84,7 +84,10 @@ async function checkWalletReceived(wallet: IWallet, txid: string, address: strin
const broadcastedTransaction = await TransactionStorage.collect... | 3 |
diff --git a/app/shared/components/Producers/Table.js b/app/shared/components/Producers/Table.js @@ -102,7 +102,6 @@ export default class ProducersTable extends Component<Props> {
const isSelected = (selected.indexOf(producer.owner) !== -1);
return (
<ProducersTableRow
- key={idx}
addProducer={this.props.addProducer}
f... | 13 |
diff --git a/src/server/node_services/nodes_monitor.js b/src/server/node_services/nodes_monitor.js @@ -2078,9 +2078,11 @@ class NodesMonitor extends EventEmitter {
}
dbg.log1('_update_data_activity: reason', reason, item.node.name);
const now = Date.now();
- const act = item.data_activity || {};
- item.data_activity = ... | 3 |
diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml @@ -21,7 +21,8 @@ jobs:
- run: npm run build
- run: git config --global user.name "GitHub CD bot"
- run: git config --global user.email "james.hrisho@gmail.com"
- - run: npm version ${{ github.event.release.tag_name }}
+ - run: npm versi... | 9 |
diff --git a/guides/install.md b/guides/install.md @@ -7,15 +7,9 @@ heroImagePath: "https://cdn.astronomer.io/website/img/guides/TheAirflowUI_previe
tags: ["Astronomer Platform", "Airflow", "Getting Started"]
---
-For the purpose of this doc, our installation domain is
+*For the purpose of this doc, our application dom... | 7 |
diff --git a/src/MagicMenu.jsx b/src/MagicMenu.jsx @@ -13,19 +13,10 @@ function parseQueryString(queryString) {
}
return query;
}
-const openAiKey = (() => {
- const q = parseQueryString(window.location.search);
- if (q.openAiKey) {
- localStorage.setItem('openAiKey', q.openAiKey);
- window.location.search = '';
- }
- ... | 2 |
diff --git a/articles/quickstart/backend/ruby/01-authorization.md b/articles/quickstart/backend/ruby/01-authorization.md @@ -72,7 +72,7 @@ class JsonWebToken
end
```
-## Define an `authentincate!` method
+## Define an `authenticate!` method
Create an `authenticate!` method to run before each endpoint which looks for th... | 1 |
diff --git a/packages/cx/src/data/ops/removeTreeNodes.js b/packages/cx/src/data/ops/removeTreeNodes.js -import {updateTree} from './updateTree';
+import { updateTree } from "./updateTree";
-export function removeTreeNodes(array, criteria, childrenField) {
- return updateTree(array, null, item => false, childrenField, c... | 0 |
diff --git a/src/pages/ReimbursementAccount/Enable2FAPrompt.js b/src/pages/ReimbursementAccount/Enable2FAPrompt.js @@ -9,6 +9,7 @@ import Section from '../../components/Section';
import * as Link from '../../libs/actions/Link';
import CONFIG from '../../CONFIG';
import ROUTES from '../../ROUTES';
+import themeColors fr... | 4 |
diff --git a/src/components/Hoverable/index.js b/src/components/Hoverable/index.js @@ -16,13 +16,9 @@ class Hoverable extends Component {
};
this.wrapperView = null;
-
- this.resetHoverStateOnOutsideClick = this.resetHoverStateOnOutsideClick.bind(this);
}
componentDidMount() {
- document.addEventListener('mousedown', t... | 12 |
diff --git a/detox/ios/Detox/Next/Actions/UIView+DetoxActions.m b/detox/ios/Detox/Next/Actions/UIView+DetoxActions.m @@ -349,7 +349,7 @@ static void _DTXTypeText(NSString* text)
- (void)dtx_clearText
{
- [self dtx_assertHittable];
+// [self dtx_assertHittable];
UIView<UITextInput>* firstResponder = (id)_ensureFirstResp... | 2 |
diff --git a/website/src/docs/dashboard.md b/website/src/docs/dashboard.md @@ -129,6 +129,8 @@ By default, when a file upload has completed, the file icon in the Dashboard tur
### `showProgressDetails: false`
+Passed to the Status Bar plugin used in the Dashboard.
+
By default, progress in Status Bar is shown as a simp... | 3 |
diff --git a/src/scripts/browser/managers/auto-update-manager.js b/src/scripts/browser/managers/auto-update-manager.js @@ -129,7 +129,7 @@ class AutoUpdateManager extends EventEmitter {
}, function (response) {
if (response === 1) {
log('user clicked Download, opening url', downloadUrl);
- shell.openExternal(downloadUr... | 12 |
diff --git a/lib/less/source-map-output.js b/lib/less/source-map-output.js @@ -69,6 +69,12 @@ module.exports = function (environment) {
// adjust the source
inputSource = inputSource.slice(this._contentsIgnoredCharsMap[fileInfo.filename]);
}
+
+ // ignore empty content
+ if (inputSource === undefined) {
+ return;
+ }
+... | 8 |
diff --git a/config/vars.yml b/config/vars.yml -lock_url: 'https://cdn.auth0.com/js/lock/11.2.0/lock.min.js'
+lock_url: 'https://cdn.auth0.com/js/lock/11.2.2/lock.min.js'
lock_urlv10: 'https://cdn.auth0.com/js/lock/10.24.1/lock.min.js'
-lock_urlv11: 'https://cdn.auth0.com/js/lock/11.2.0/lock.min.js'
+lock_urlv11: 'http... | 3 |
diff --git a/runtime.js b/runtime.js @@ -25,6 +25,8 @@ const localVector2 = new THREE.Vector3();
const localBox = new THREE.Box3();
const boxGeometry = new THREE.BoxBufferGeometry(1, 1, 1);
+const gcFiles = true;
+
const runtime = {};
let geometryManager = null;
@@ -191,7 +193,7 @@ const _loadGltf = async (file, {optim... | 0 |
diff --git a/src/web/index.jsx b/src/web/index.jsx @@ -10,6 +10,7 @@ import {
import i18next from 'i18next';
import LanguageDetector from 'i18next-browser-languagedetector';
import XHR from 'i18next-xhr-backend';
+import { TRACE, DEBUG, INFO, WARN, ERROR } from 'universal-logger';
import settings from './config/setting... | 1 |
diff --git a/PostBanDeletedPosts.user.js b/PostBanDeletedPosts.user.js // @description When user posts on SO Meta regarding a post ban, fetch and display deleted posts (must be mod) and provide easy way to copy the results into a comment
// @homepage https://github.com/samliew/SO-mod-userscripts
// @author @samliew
-//... | 8 |
diff --git a/src/Services/Air/AirParser.js b/src/Services/Air/AirParser.js @@ -448,6 +448,7 @@ function extractBookings(obj) {
const resKey = `common_${this.uapi_version}:ProviderReservationInfoRef`;
const providerInfo = reservationInfo[booking[resKey]];
const ticketingModifiers = booking['air:TicketingModifiers'];
+ c... | 0 |
diff --git a/lib/base/connection-pool.js b/lib/base/connection-pool.js @@ -7,7 +7,7 @@ const tarn = require('tarn')
const { IDS } = require('../utils')
const ConnectionError = require('../error/connection-error')
const shared = require('../shared')
-const deepclone = require('rfdc/default')
+const clone = require('rfdc... | 10 |
diff --git a/app/models/label/LabelValidationTable.scala b/app/models/label/LabelValidationTable.scala @@ -138,18 +138,18 @@ object LabelValidationTable {
}
/**
- * Calculates and returns the user accuracy for the supplied userId. The accuracy calculation is performed
- * if and only if the users' labels have been vali... | 1 |
diff --git a/packages/@snowpack/plugin-babel/plugin.js b/packages/@snowpack/plugin-babel/plugin.js @@ -25,6 +25,7 @@ module.exports = function plugin(_, options) {
cwd: process.cwd(),
ast: false,
compact: false,
+ ...(options.transformOptions || {}),
});
let code = result.code;
if (code) {
| 0 |
diff --git a/packages/app/src/components/Sidebar/PageTree/Item.tsx b/packages/app/src/components/Sidebar/PageTree/Item.tsx @@ -197,21 +197,27 @@ const Item: FC<ItemProps> = (props: ItemProps) => {
}, []);
const onPressEnterForRenameHandler = async(inputText: string) => {
+ if (inputText == null || inputText === '' || i... | 7 |
diff --git a/src/plugins/Informer.js b/src/plugins/Informer.js @@ -48,12 +48,15 @@ module.exports = class Informer extends Plugin {
const {isHidden, type, message, details} = state.info
const style = `background-color: ${this.opts.typeColors[type].bg}; color: ${this.opts.typeColors[type].text};`
- // @TODO add aria-liv... | 0 |
diff --git a/packages/neutrine/src/core/jumbotron/index.js b/packages/neutrine/src/core/jumbotron/index.js @@ -32,16 +32,22 @@ Jumbotron.defaultProps = {
//Jumbotron title
export const JumbotronTitle = function (props) {
- return helpers.createMergedElement("div", props, "siimple-jumbotron-title");
+ return helpers.cre... | 1 |
diff --git a/packages/component-library/stories/index.js b/packages/component-library/stories/index.js @@ -26,8 +26,6 @@ import pullQuoteStory from './PullQuote.story';
import screenGridMapStory from './ScreenGridMap.story';
import pathMapStory from './PathMap.story';
import iconMapStory from './IconMap.story';
-import... | 2 |
diff --git a/admin-base/materialize/custom/_component-explorer.scss b/admin-base/materialize/custom/_component-explorer.scss position: relative;
.toggle-content-explorer {
- width: 40px;
+ width: 2rem;
height: 40px;
position: absolute;
- left: -40px;
- top: 50px;
+ left: -2rem;
+ top: 1rem;
+ border: 1px solid #cfd8dc;... | 7 |
diff --git a/src/api.js b/src/api.js @@ -79,17 +79,18 @@ module.exports = (app, db) => {
const petLevel = Object.assign({}, pet.level);
delete pet.level;
+ delete pet.tier;
for(const key in petLevel)
pet[key] = petLevel[key];
-
- delete pet.emoji;
- delete pet.tier;
- delete pet.stats;
}
if('html' in req.query)
- res.s... | 12 |
diff --git a/tests/phpunit/integration/Modules/Thank_With_GoogleTest.php b/tests/phpunit/integration/Modules/Thank_With_GoogleTest.php @@ -18,7 +18,6 @@ use Google\Site_Kit\Tests\TestCase;
/**
* @group Modules
- * @group Thank_With_Google
*/
class Thank_With_GoogleTest extends TestCase {
@@ -144,6 +143,7 @@ class Thank... | 2 |
diff --git a/assets/js/components/settings/settings-admin.js b/assets/js/components/settings/settings-admin.js @@ -91,7 +91,6 @@ class SettingsAdmin extends Component {
const {
clientID,
clientSecret,
- apikey,
projectId,
projectUrl,
} = googlesitekit.admin;
@@ -171,23 +170,6 @@ class SettingsAdmin extends Component {
... | 2 |
diff --git a/packages/inertia-vue/src/link.js b/packages/inertia-vue/src/link.js @@ -25,7 +25,7 @@ export default {
},
preserveState: {
type: Boolean,
- default: false,
+ default: null,
},
only: {
type: Array,
@@ -67,7 +67,7 @@ export default {
method: props.method,
replace: props.replace,
preserveScroll: props.preserv... | 7 |
diff --git a/src/utils/staking.js b/src/utils/staking.js @@ -67,7 +67,7 @@ export class Staking {
const lockupState = await (new nearApiJs.Account(this.wallet.connection, account_id)).state()
// add 1 N to storage cost to always leave 1 N in lockup
- const lockupStorage = this.NEAR_PER_BYTE.mul(new BN(lockupState.stora... | 14 |
diff --git a/index.d.ts b/index.d.ts @@ -68,6 +68,12 @@ declare namespace nerdamer {
*/
export function convertToLaTeX(expression: string): string
+ /**
+ * Attempts to import a LaTeX string.
+ * @param TeX The expression being converted.
+ */
+ export function convertFromLaTeX(TeX: string): Expression
+
/**
* Each tim... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.