code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/src/Button.js b/src/Button.js @@ -91,12 +91,11 @@ class Button extends Component {
}
renderFab(className, mode, clickOnly) {
- const classes = cx(this.getFabClasses(mode), clickOnly);
+ const classes = cx(mode, clickOnly);
return (
<div
ref={el => (this._floatingActionBtn = el)}
className={cx('fixed-action... | 13 |
diff --git a/articles/metadata/lock.md b/articles/metadata/lock.md @@ -6,30 +6,11 @@ description: How to read and update user metadata with Lock.
When using Auth0's [Lock](/libraries/lock) library, you can define and update the user's `user_metadata` field.
-**NOTE**: For an overview on implementing Lock, see the [Java... | 2 |
diff --git a/app/models/search_tweet.rb b/app/models/search_tweet.rb @@ -21,7 +21,7 @@ class SearchTweet < Sequel::Model
def self.get_twitter_imports_count(dataset, date_from, date_to)
dataset
- .where(state: ::SearchTweet::STATE_COMPLETE)
+ .where('search_tweets.state = ?', ::SearchTweet::STATE_COMPLETE)
.where('searc... | 2 |
diff --git a/package.json b/package.json "Shaun (https://github.com/starsprung)",
"Shine Li (https://github.com/shineli)",
"Stefan Siegl (https://github.com/stesie)",
+ "Stewart Gleadow (https://github.com/sgleadow)",
"Tuan Minh Huynh (https://github.com/tuanmh)",
"Utku Turunc (https://github.com/utkuturunc)",
"Vasiliy... | 0 |
diff --git a/token-metadata/0x6F3009663470475F0749A6b76195375f95495fcB/metadata.json b/token-metadata/0x6F3009663470475F0749A6b76195375f95495fcB/metadata.json "symbol": "HATCH",
"address": "0x6F3009663470475F0749A6b76195375f95495fcB",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED... | 3 |
diff --git a/server/game/cards/01 - Core/WarriorPoet.js b/server/game/cards/01 - Core/WarriorPoet.js -const _ = require('underscore');
-
const DrawCard = require('../../drawcard.js');
class WarriorPoet extends DrawCard {
setupCardAbilities() {
this.action({
- title: 'Reduced skill of characters',
- target: {
- cardType... | 3 |
diff --git a/src/components/util/svg.js b/src/components/util/svg.js -export const TEMP = 'TEMP';
-
export function domElementToSvgString(domIdOrElement) {
let elem;
if (typeof domIdOrElement === 'string') {
@@ -17,6 +15,6 @@ export function domElementToSvgString(domIdOrElement) {
return downloadStr;
}
-export function... | 11 |
diff --git a/src/js/components/Meter/Bar.js b/src/js/components/Meter/Bar.js @@ -55,7 +55,7 @@ export default class Bar extends Component {
preserveAspectRatio='none'
width={size === 'full' ? '100%' : width}
height={height}
- round={round ? { size } : undefined}
+ round={round ? { size: thickness } : undefined}
theme={... | 1 |
diff --git a/userscript.user.js b/userscript.user.js @@ -18568,6 +18568,19 @@ var $$IMU_EXPORT$$;
// https://p16-tiktokcdn-com.akamaized.net/obj/v0201/a4d90921ec0947ed959b757497367d9e.jpg -- 720x1080
// https://p16-tiktokcdn-com.akamaized.net/origin/v0201/a4d90921ec0947ed959b757497367d9e.jpg -- 720x1080
domain === "p16... | 7 |
diff --git a/.github/workflows/azure-static-web-apps-wonderful-grass-0354ce803.yml b/.github/workflows/azure-static-web-apps-wonderful-grass-0354ce803.yml @@ -16,8 +16,21 @@ jobs:
name: Build and Deploy Job
steps:
- uses: actions/checkout@v2
+
+ - name: Setup Node.js environment (v14)
+ uses: actions/setup-node@v2
with... | 12 |
diff --git a/browser/lib/transport/jsonptransport.js b/browser/lib/transport/jsonptransport.js @@ -26,6 +26,8 @@ var JSONPTransport = (function() {
};
if(JSONPTransport.isAvailable()) {
ConnectionManager.supportedTransports[shortName] = JSONPTransport;
+ }
+ if(Platform.jsonpSupported) {
head = document.getElementsByTa... | 11 |
diff --git a/scripts/docs.js b/scripts/docs.js @@ -59,8 +59,14 @@ const config = {
},
}
+const rootDir = path.join(__dirname, '..')
+const markdownFiles = [
+ path.join(rootDir, 'README.md'),
+ path.join(rootDir, 'docs/**/**.md')
+]
+
// Generate docs
-markdownMagic(['README.md', 'docs/**/**.md'], config, () => {
+mark... | 12 |
diff --git a/docs/get-started/using-with-react.md b/docs/get-started/using-with-react.md @@ -50,7 +50,7 @@ An important companion to deck.gl is `react-map-gl`. It is a React wrapper for [
import React from 'react';
import DeckGL from '@deck.gl/react';
import {LineLayer} from '@deck.gl/layers';
-import {StaticMap} from ... | 14 |
diff --git a/Dockerfile b/Dockerfile -FROM alpine:3.8
+FROM nginx:1.15-alpine
LABEL maintainer="fehguy"
@@ -16,9 +16,6 @@ ENV SWAGGER_JSON "/app/swagger.json"
ENV PORT 8080
ENV BASE_URL ""
-RUN apk add --no-cache nginx
-RUN mkdir -p /run/nginx
-
COPY nginx.conf /etc/nginx/
# copy swagger files to the `/js` folder
| 7 |
diff --git a/test/e2e/preferences.js b/test/e2e/preferences.js let test = require(`tape-promise/tape`)
let { getApp, restart } = require(`./launch.js`)
-let {
- navigateToPreferences,
- sleep,
- login,
- selectOption
-} = require(`./common.js`)
+let { navigateToPreferences, login } = require(`./common.js`)
/*
* NOTE: d... | 3 |
diff --git a/app/controllers/sessions_controller.rb b/app/controllers/sessions_controller.rb @@ -42,8 +42,7 @@ class SessionsController < ApplicationController
before_filter :load_organization
before_filter :initialize_oauth_config
before_filter :api_authorization_required, only: :show
- after_action :set_last_mfa_acti... | 1 |
diff --git a/resources/js/MusicKitInterop.js b/resources/js/MusicKitInterop.js @@ -21,6 +21,10 @@ const MusicKitInterop = {
document.querySelector(`#MVLyricsBox`).style.display = 'block';
} else {
document.querySelector(`.web-chrome`).setAttribute('style', 'height: 55px !important');
+ if (nowPlayingItem["type"] !== "s... | 1 |
diff --git a/README.md b/README.md @@ -77,12 +77,17 @@ brew install postgresql@9.3
brew link --force postgresql@9.3
brew install --force node@6
brew link node@6 --force
-brew cask install java
+brew cask install java8
brew tap garrow/homebrew-elasticsearch17
brew install elasticsearch@1.7
```
>:star: _Note_: Elasticsea... | 0 |
diff --git a/ui-manager.js b/ui-manager.js @@ -410,6 +410,33 @@ geometryManager.addEventListener('load', () => {
scene.add(detailsMesh);
uiManager.detailsMesh = detailsMesh;
+ const tradeMesh = makeDetailsMesh(weaponsManager.cubeMesh, function onrun(anchorSpec) {
+ meshComposer.run();
+ }, async function onbake(anchorS... | 0 |
diff --git a/lib/jsonwp-proxy/proxy.js b/lib/jsonwp-proxy/proxy.js @@ -2,7 +2,7 @@ import _ from 'lodash';
import { logger, util } from 'appium-support';
import request from 'request-promise';
import { getSummaryByCode } from '../jsonwp-status/status';
-import { errors, errorFromMJSONWPStatusCode, errorFromW3CJsonCode ... | 4 |
diff --git a/lib/NoModeWarning.js b/lib/NoModeWarning.js @@ -13,8 +13,10 @@ module.exports = class NoModeWarning extends WebpackError {
this.name = "NoModeWarning";
this.message =
"configuration\n" +
- "The 'mode' option has not been set. " +
- "Set 'mode' option to 'development' or 'production' to enable defaults for ... | 1 |
diff --git a/docs-www/package.json b/docs-www/package.json "lint:autofix": "eslint --ext .jsx,.js . --fix"
},
"dependencies": {
- "@brainhubeu/gatsby-docs-kit": "https://github.com/RobertHebel/gatsby-docs-kit.git#92e075bfb43c347d11b5420238a402399d1a78a9",
+ "@brainhubeu/gatsby-docs-kit": "https://github.com/RobertHebel... | 4 |
diff --git a/src/traces/bar/plot.js b/src/traces/bar/plot.js @@ -157,6 +157,7 @@ function plot(gd, plotinfo, cdModule, traceLayer, opts, makeOnCompleteCallback)
}
di.isBlank = isBlank;
+ // for empty bars, ensure start and end positions are equal when having transition
if(isBlank && withTransition) {
if(isHorizontal) {... | 0 |
diff --git a/packages/mjml-core/src/createComponent.js b/packages/mjml-core/src/createComponent.js -import { get, forEach, identity, reduce, kebabCase } from 'lodash'
+import { get, forEach, identity, reduce, kebabCase, isNil } from 'lodash'
import MJMLParser from 'mjml-parser-xml'
@@ -98,7 +98,7 @@ export class BodyCo... | 11 |
diff --git a/src/components/DashboardHeader/DashboardHeader.js b/src/components/DashboardHeader/DashboardHeader.js // @flow
// React
-import React, { useState } from "react";
+import React, { useState, useEffect } from "react";
import { withRouter } from 'react-router';
+import { useHistory } from "react-router";
// Th... | 14 |
diff --git a/exportutils/export to Foundry VTT.gce b/exportutils/export to Foundry VTT.gce 'By Brian Ronnle, enhanced for Foundry VTT by Chris Normand/Nose66
'Based on the original export filter by Graham Brand (Spyke)
'
-Const LastUpdated = 20210609
-' Last Updated: June 9, 2021
+Const LastUpdated = 20211129
+' Last U... | 3 |
diff --git a/lib/Compiler.js b/lib/Compiler.js @@ -204,7 +204,7 @@ class Compiler extends Tapable {
const args = arguments;
this.plugin("compilation", (compilation, data) => {
data.normalModuleFactory.plugin("parser", parser => {
- parser.apply(parser, args);
+ parser.apply.apply(parser, args);
});
});
},
| 1 |
diff --git a/src/encoded/upgrade/characterization.py b/src/encoded/upgrade/characterization.py @@ -138,7 +138,6 @@ def characterization_4_5(value, system):
value['references'] = new_references
-@upgrade_step('antibody_characterization', '5', '6')
@upgrade_step('biosample_characterization', '5', '6')
@upgrade_step('dono... | 2 |
diff --git a/CHANGELOG.md b/CHANGELOG.md ## 6.2.1 (unreleased)
-### Breaking
-
### Feature
-- Added italian translations and translated array, token and select widget. @giuliaghisini
+- Added Italian translations and translated array, token and select widget. @giuliaghisini
- Added internationalization for French langu... | 6 |
diff --git a/README.md b/README.md <p align="center">
- <img src="website/static/img/isomorphic-git-logo.svg" alt="" height="150"/>
+ <img src="https://raw.githubusercontent.com/isomorphic-git/isomorphic-git/master/website/static/img/isomorphic-git-logo.svg?sanitize=true" alt="" height="150"/>
</p>
# isomorphic-git
@@ ... | 1 |
diff --git a/src/core/operations/Bzip2Compress.mjs b/src/core/operations/Bzip2Compress.mjs @@ -24,7 +24,7 @@ class Bzip2Compress extends Operation {
this.description = "Bzip2 is a compression library developed by Julian Seward (of GHC fame) that uses the Burrows-Wheeler algorithm. It only supports compressing single fi... | 4 |
diff --git a/src/components/lazy/lazy.js b/src/components/lazy/lazy.js @@ -2,7 +2,7 @@ import $ from '../../utils/dom';
import Utils from '../../utils/utils';
const Lazy = {
- loadImagesInSlide(index, loadInDuplicate = true) {
+ loadInSlide(index, loadInDuplicate = true) {
const swiper = this;
const params = swiper.par... | 10 |
diff --git a/weapons-manager.js b/weapons-manager.js +/*
+this file contains the main game logic tying together the managers.
+general game logic goes here.
+*/
+
import * as THREE from 'three';
// import {GLTFLoader} from 'three/examples/jsm/loaders/GLTFLoader.js';
import * as BufferGeometryUtils from 'three/examples/... | 0 |
diff --git a/src/components/core/slide/slideToClickedSlide.js b/src/components/core/slide/slideToClickedSlide.js @@ -5,7 +5,7 @@ export default function () {
const swiper = this;
const { params, $wrapperEl } = swiper;
- const slidesPerView = params.slidesPerView === 'auto' ? swiper.slidesPerView() : params.slidesPerVie... | 10 |
diff --git a/docs/pages/careers.tsx b/docs/pages/careers.tsx @@ -144,17 +144,6 @@ const faqData = [
];
const openRolesData = [
- {
- title: 'Product',
- roles: [
- {
- title: 'Designer',
- description:
- 'Design is critical to the success of our mission. We are looking for skills that complement our Lead Designer. You ... | 2 |
diff --git a/src/pages/LogInWithShortLivedTokenPage.js b/src/pages/LogInWithShortLivedTokenPage.js @@ -53,24 +53,11 @@ const defaultProps = {
class LogInWithShortLivedTokenPage extends Component {
componentDidMount() {
- const accountID = parseInt(lodashGet(this.props.route.params, 'accountID', ''), 10);
- const email ... | 9 |
diff --git a/docs/rule/no-route-action.md b/docs/rule/no-route-action.md @@ -10,6 +10,14 @@ Most route actions should either be sent to the controller first or encapsulated
This rule **forbids** the following:
+```hbs
+<CustomComponent @onUpdate={{route-action 'updateFoo'}} />
+```
+
+```hbs
+<CustomComponent @onUpdate... | 7 |
diff --git a/server/classes/softwarePanels.js b/server/classes/softwarePanels.js @@ -35,6 +35,9 @@ export default class SoftwarePanel {
this.class = "SoftwarePanel";
this.simulatorId = params.simulatorId || null;
this.name = params.name || "Panel";
+ this.cables = [];
+ this.components = [];
+ this.connections = [];
th... | 1 |
diff --git a/test/webserver.js b/test/webserver.js @@ -80,10 +80,19 @@ WebServer.prototype = {
_handler: function (req, res) {
var url = req.url.replace(/\/\//g, '/');
var urlParts = /([^?]*)((?:\?(.*))?)/.exec(url);
- // guard against directory traversal attacks,
- // e.g. /../../../../../../../etc/passwd
- // which l... | 9 |
diff --git a/js/models/trackerlist-top-blocked.es6.js b/js/models/trackerlist-top-blocked.es6.js const Parent = window.DDG.base.Model;
const backgroundPage = chrome.extension.getBackgroundPage();
-function TrackerList (attrs) {
+function TrackerListTopBlocked (attrs) {
Parent.call(this, attrs);
@@ -25,15 +25,15 @@ func... | 3 |
diff --git a/ThirdParty.json b/ThirdParty.json "license": [
"BSD-3-Clause"
],
- "version": "2.4.10",
+ "version": "2.4.12",
"url": "https://www.npmjs.com/package/@zip.js/zip.js"
},
{
"license": [
"MIT"
],
- "version": "1.0.3",
+ "version": "1.0.4",
"url": "https://www.npmjs.com/package/bitmap-sdf"
},
{
"license": [
"Ap... | 3 |
diff --git a/docs/src/examples/QTable/PopupEditing.vue b/docs/src/examples/QTable/PopupEditing.vue </template>
<script>
+import { ref } from 'vue'
+
const columns = [
{
name: 'name',
@@ -170,7 +172,7 @@ export default {
setup () {
return {
columns,
- rows
+ rows: ref(rows)
}
}
}
| 3 |
diff --git a/src/components/Heroes/index.jsx b/src/components/Heroes/index.jsx @@ -75,18 +75,17 @@ class RequestLayer extends React.Component {
}
const json = this.props.data;
- const { strings } = this.props;
// Assemble the result data array
const matchCountPro = json.map(heroStat => heroStat.pro_pick || 0).reduce(su... | 1 |
diff --git a/packages/ui/src/components/SearchPage/FootstampIcon.jsx b/packages/ui/src/components/SearchPage/FootstampIcon.jsx @@ -3,6 +3,8 @@ import React from 'react';
export const FootstampIcon = () => (
<svg
xmlns="http://www.w3.org/2000/svg"
+ width={16}
+ height={16}
viewBox="0 0 16 16"
>
<path d="M7.34,8,3.31,9a... | 13 |
diff --git a/netlify.toml b/netlify.toml @@ -5,6 +5,7 @@ command = "npm run build-production"
[functions]
directory = "netlify/functions/"
node_bundler = "esbuild"
+external_node_modules = ["uglify-js", "@11ty/eleventy", "@11ty/dependency-tree", "@11ty/eleventy-fetch", "prismjs", "pug-filters", "any-promise"]
[function... | 4 |
diff --git a/packages/node_modules/@node-red/runtime/lib/nodes/context/localfilesystem.js b/packages/node_modules/@node-red/runtime/lib/nodes/context/localfilesystem.js @@ -137,6 +137,16 @@ function stringify(value) {
return { json: result, circular: hasCircular };
}
+
+function writeFileAtomic(storagePath, content) {
... | 4 |
diff --git a/src/components/ActivityCollector/createLinkClick.js b/src/components/ActivityCollector/createLinkClick.js @@ -54,7 +54,7 @@ export default (window, config) => {
event.mergeXdm({
eventType: "web.webinteraction.linkClicks",
web: {
- webinteraction: {
+ webInteraction: {
name: linkName,
type: linkType,
URL: l... | 3 |
diff --git a/app/actions/ledgerActions.js b/app/actions/ledgerActions.js // @flow
import createBatchActions from '../util/api/createBatchActions'
import createRequestActions from '../util/api/createRequestActions'
-import getDeviceInfo from '../ledger/getDeviceInfo'
-import getPublicKey from '../ledger/getPublicKey'
+i... | 3 |
diff --git a/src/Model.js b/src/Model.js @@ -373,7 +373,7 @@ export class Model {
let properties = expression.properties
items.start = this.table.unmarshall(result.LastEvaluatedKey)
items.next = async () => {
- params = Object.assign({}, params, {start: result.LastEvaluatedKey})
+ params = Object.assign({}, params, {st... | 1 |
diff --git a/editor/js/toolbox.js b/editor/js/toolbox.js @@ -2155,7 +2155,7 @@ var EDITOR = (function ($, parent) {
while (newText.indexOf("<math", mathNum) != -1) {
var text1 = newText.substring(mathNum, newText.indexOf("<math", mathNum)),
tableNum = 0;
- while (text1.indexOf("<table", tableNum) != -1) { // check for ... | 1 |
diff --git a/generators/entity-client/templates/common/src/main/webapp/app/entities/enumerations/enum.model.ts.ejs b/generators/entity-client/templates/common/src/main/webapp/app/entities/enumerations/enum.model.ts.ejs See the License for the specific language governing permissions and
limitations under the License.
-%... | 2 |
diff --git a/token-metadata/0x0947b0e6D821378805c9598291385CE7c791A6B2/metadata.json b/token-metadata/0x0947b0e6D821378805c9598291385CE7c791A6B2/metadata.json "symbol": "LND",
"address": "0x0947b0e6D821378805c9598291385CE7c791A6B2",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/OurUmbraco/Documentation/DocumentationUpdater.cs b/OurUmbraco/Documentation/DocumentationUpdater.cs @@ -206,6 +206,24 @@ namespace OurUmbraco.Documentation
return 10;
case "common-pitfalls":
return 11;
+ case "angular":
+ return 12;
+ case "api-documentation":
+ return 13;
+ case "debugging":
+ return 14;
... | 3 |
diff --git a/src/components/pagination/pagination.js b/src/components/pagination/pagination.js @@ -103,8 +103,8 @@ const Pagination = {
}
}
if (params.type === 'fraction') {
- $el.find(`.${params.currentClass}`).text(current + 1);
- $el.find(`.${params.totalClass}`).text(total);
+ $el.find(`.${params.currentClass}`).te... | 0 |
diff --git a/character-controller.js b/character-controller.js @@ -155,18 +155,24 @@ class PlayerBase extends THREE.Object3D {
this.rightHand,
];
+ this.detached = false;
+
this.avatar = null;
this.appManager = new AppManager({
appsMap: null,
});
this.appManager.addEventListener('appadd', e => {
+ if (!this.detached) {... | 0 |
diff --git a/src/js/services/correspondentListService.js b/src/js/services/correspondentListService.js @@ -54,8 +54,10 @@ angular.module('copayApp.services').factory('correspondentListService', function
$rootScope.newMessagesCount[peer_address] = 1;
}
if ($state.is('walletHome') && $rootScope.tab == 'walletHome') {
+ s... | 12 |
diff --git a/item-spec/README.md b/item-spec/README.md @@ -21,4 +21,3 @@ schemas validate additional fields defined in *[Common Metadata](common-metadata
**Common Metadata:** A set of commonly-used fields for STAC Items is listed in
*[common-metadata.md](common-metadata.md)*.
-
| 2 |
diff --git a/packages/siimple-helpers/scss/all.scss b/packages/siimple-helpers/scss/all.scss @use "./vertical-align.scss" as valign;
// @description: include all helpers generators
-@mixin all-helpers () {
+@mixin all () {
@include themed.color();
@include themed.font();
@include themed.font-weight();
| 10 |
diff --git a/bin/serverless.js b/bin/serverless.js @@ -29,14 +29,14 @@ if (process.env.SLS_DEBUG) {
}
process.on('unhandledRejection', e => {
+ process.exitCode = 1;
logError(e);
});
process.noDeprecation = true;
const invocationId = uuid.v4();
-initializeErrorReporter(invocationId)
- .then(() => {
+initializeErrorRepo... | 7 |
diff --git a/shared/data/constants.js b/shared/data/constants.js @@ -85,7 +85,7 @@ module.exports = {
},
{
"name": "tds",
- "url": "https://staticcdn.duckduckgo.com/trackerblocking/tds.json",
+ "url": "https://staticcdn.duckduckgo.com/trackerblocking/v2/tds.json",
"format": "json"
},
{
| 3 |
diff --git a/src/containers/order/withOrders.js b/src/containers/order/withOrders.js import React from "react";
import PropTypes from "prop-types";
import { Query, withApollo } from "react-apollo";
+import { toJS } from "mobx";
import { inject, observer } from "mobx-react";
import hoistNonReactStatic from "hoist-non-re... | 4 |
diff --git a/docs/FAQ.md b/docs/FAQ.md @@ -56,18 +56,15 @@ function getLore(item) {
const ChatMessage = require('prismarine-chat')(bot.version)
const data = nbt.simplify(item.nbt)
- const display = data['display']
+ const display = data.display
if (display == null) return message
- const lore = display['Lore']
+ const ... | 2 |
diff --git a/exampleSite/content/docs/development/content.md b/exampleSite/content/docs/development/content.md @@ -25,6 +25,18 @@ You can change these colors by editing them in `config.toml`.
Change other Bootstrap variables using `assets/styles/bootstrap/_variables.scss`.
Syna customizes some parts of the theme via cu... | 0 |
diff --git a/README.md b/README.md @@ -34,10 +34,16 @@ GET https://api.spacexdata.com/v1/launches/latest
"launch_year": "2017",
"launch_date_utc": "2017-07-05T23:35:00Z",
"launch_date_local": "2017-07-05T19:35:00-04:00",
- "rocket": "Falcon 9",
+ "rocket": {
+ "rocket_id": "falcon9",
+ "rocket_name": "Falcon 9",
"rocke... | 3 |
diff --git a/articles/sso/current/setup.md b/articles/sso/current/setup.md @@ -58,8 +58,8 @@ Auth0 Enterprise subscribers can set session limits to the following levels:
| **Setting** | **Description** | Recommended | Enterprise |
| - | - | - | - |
- | **Inactivity timeout** | The maximum session session lifetime witho... | 2 |
diff --git a/src/encoded/types/assay_data.py b/src/encoded/types/assay_data.py @@ -46,5 +46,6 @@ assay_terms = {
'BruChase-seq': 'OBI:0002114',
'genetic modification followed by DNase-seq': 'NTR:0004774',
'CRISPRi followed by RNA-seq': 'NTR:0004619',
- 'genotyping by Hi-C': 'NTR:0004875'
+ 'genotyping by Hi-C': 'NTR:00... | 0 |
diff --git a/src/parsers/linter/GmlLinter.hx b/src/parsers/linter/GmlLinter.hx @@ -644,7 +644,7 @@ class GmlLinter {
if (minArgs == maxArgs) {
addError('Too many arguments for $currName (expected $maxArgs, got $argc)');
} else {
- addError('Not enough arguments for $currName (expected $minArgs..$maxArgs, got $argc)');
... | 1 |
diff --git a/docs/request.md b/docs/request.md @@ -27,7 +27,8 @@ Makes XHR (aka AJAX) requests, and returns a [promise](promise.md)
m.request({
method: "PUT",
url: "/api/v1/users/:id",
- params: {id: 1, name: "test"}
+ params: {id: 1},
+ body: {name: "test"}
})
.then(function(result) {
console.log(result)
| 7 |
diff --git a/src/dom_components/model/ComponentFrame.js b/src/dom_components/model/ComponentFrame.js import Component from './Component';
+import { toLowerCase } from 'utils/mixins';
const type = 'iframe';
@@ -17,6 +18,6 @@ export default Component.extend(
}
},
{
- isComponent: el => el.tagName === 'IFRAME'
+ isCompone... | 7 |
diff --git a/wallet.js b/wallet.js @@ -1898,8 +1898,20 @@ function sendMultiPayment(opts, handleResult)
if (err)
throw Error(err);
- if (outputs_by_asset && (objAsset.is_private || objAsset.fixed_denominations))
- throw Error("outputs_by_asset cannot be used for private payments and indivisible assets");
+ if (outputs_... | 11 |
diff --git a/userscript.user.js b/userscript.user.js @@ -1050,6 +1050,7 @@ var $$IMU_EXPORT$$;
// thanks to decembre on github for the idea: https://github.com/qsniyg/maxurl/issues/14#issuecomment-531080061
mouseover_zoom_custom_percent: 100,
mouseover_pan_behavior: "drag",
+ mouseover_drag_min: 5,
mouseover_scroll_beh... | 11 |
diff --git a/src/pipeline/index.js b/src/pipeline/index.js @@ -2,7 +2,6 @@ const fs = require('fs');
const Promise = require('bluebird');
const writeFile = Promise.promisify(fs.writeFile);
const UglifyJS = require('uglify-js');
-const compile = require('./compile');
const {
getASTJSON,
getComponentsJS,
@@ -12,7 +11,7 @... | 10 |
diff --git a/test/index.js b/test/index.js @@ -66,6 +66,15 @@ function handleTestResult(testResult) {
}
+/**
+ * Fail if the process takes longer than 10 seconds.
+ */
+setTimeout(function() {
+ console.log("Tests took longer than 10 seconds to run, returning.");
+ process.exit(1);
+}, 1 * 1000);
+
+
TestRegister.runTe... | 0 |
diff --git a/src/components/DateRangePicker.js b/src/components/DateRangePicker.js @@ -165,7 +165,7 @@ class DateRangePicker extends React.Component {
selectedDefaultRange: '',
selectedBox: isLargeOrMediumWindowSize ? this._getToggledSelectBox(state.selectedBox) : state.selectedBox,
selectedStartDate: modifiedRangeComp... | 12 |
diff --git a/userscript.user.js b/userscript.user.js @@ -68067,8 +68067,7 @@ var $$IMU_EXPORT$$;
};
}
- if (domain === "content.ray-web.jp" && options && options.cb && options.do_request && options.element &&
- host_domain_nowww === "ray-web.jp") {
+ if (domain_nowww === "ray-web.jp") {
// thanks to vick2 on greasyfork... | 7 |
diff --git a/test/resources/reftest-analyzer.js b/test/resources/reftest-analyzer.js @@ -147,20 +147,17 @@ window.onload = function () {
}
}
- function loadFromWeb(url) {
+ async function loadFromWeb(url) {
const lastSlash = url.lastIndexOf("/");
if (lastSlash) {
gPath = url.substring(0, lastSlash + 1);
}
- const r = n... | 14 |
diff --git a/packages/components/src/components/as-stacked-bar-widget/as-stacked-bar-widget.tsx b/packages/components/src/components/as-stacked-bar-widget/as-stacked-bar-widget.tsx @@ -130,8 +130,7 @@ export class StackedBarWidget {
private _renderLegend() {
if (this.showLegend && this.colorMap) {
- const data = this._... | 4 |
diff --git a/demos/zoom-wheel.html b/demos/zoom-wheel.html let nxMax = nxMin + nxRange;
[nxMin, nxMax] = clamp(nxRange, nxMin, nxMax, xRange, xMin, xMax);
+ if (u.scales.x.distr == 2) {
+ nxMin = u.valToIdx(nxMin);
+ nxMax = u.valToIdx(nxMax);
+ }
+
let nyRange = e.deltaY < 0 ? oyRange * factor : oyRange / factor;
let ... | 9 |
diff --git a/src/pages/StrategyEditor/StrategyEditor.container.js b/src/pages/StrategyEditor/StrategyEditor.container.js @@ -2,7 +2,9 @@ import { connect } from 'react-redux'
import StrategyEditor from './StrategyEditor'
-const mapStateToProps = state => ({}) // eslint-disable-line
+const mapStateToProps = state => ({
... | 3 |
diff --git a/packages/live-server/test/cli.js b/packages/live-server/test/cli.js @@ -6,31 +6,37 @@ var opts = {
timeout: 2000,
maxBuffer: 1024
};
+function exec_test(args, callback) {
+ if (process.platform === 'win32')
+ exec(process.execPath, [ cmd ].concat(args), opts, callback);
+ else
+ exec(cmd, args, opts, callb... | 11 |
diff --git a/token-metadata/0x667088b212ce3d06a1b553a7221E1fD19000d9aF/metadata.json b/token-metadata/0x667088b212ce3d06a1b553a7221E1fD19000d9aF/metadata.json "symbol": "WINGS",
"address": "0x667088b212ce3d06a1b553a7221E1fD19000d9aF",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED... | 3 |
diff --git a/src/lib/wallet/__tests__/GoodWallet.js b/src/lib/wallet/__tests__/GoodWallet.js +import { BN } from 'web3-utils'
import goodWallet from '../GoodWallet'
const httpProviderMock = jest.fn().mockImplementation(() => {
@@ -13,15 +14,100 @@ beforeAll(() => {
jest.resetAllMocks()
})
-describe('Wallet Creation', (... | 0 |
diff --git a/assets/js/googlesitekit/datastore/user/feature-tours.test.js b/assets/js/googlesitekit/datastore/user/feature-tours.test.js @@ -367,8 +367,7 @@ describe( 'core/user feature-tours', () => {
it( 'uses a resolver to set lastDismissedAt in the store if there is a value in the cache', async () => {
const timest... | 2 |
diff --git a/NewCommentsLayout.user.js b/NewCommentsLayout.user.js // @description Better comments layout for easier readability and moderation
// @homepage https://github.com/samliew/SO-mod-userscripts
// @author @samliew
-// @version 1.1.1
+// @version 1.2
//
// @include https://*stackoverflow.com/*
// @include https... | 1 |
diff --git a/src/models/marker.js b/src/models/marker.js @@ -30,7 +30,11 @@ const Marker = Model.extend({
this._super(name, value, parent, binds, persistent);
this.on("change", "space", this.updateSpaceReferences.bind(this));
- utils.defer(() => _this.updateSpaceReferences());
+ },
+
+ setInterModelListeners() {
+ this... | 12 |
diff --git a/package.json b/package.json "dat-encoding": "^5.0.1",
"dat-json": "^1.0.0",
"dat-link-resolve": "^2.2.0",
- "dat-log": "^1.1.0",
+ "dat-log": "^1.2.0",
"dat-node": "^3.5.5",
"dat-registry": "^4.0.0",
"debug": "^3.0.0",
| 4 |
diff --git a/lib/reducers/cosmosV0-reducers.js b/lib/reducers/cosmosV0-reducers.js @@ -401,18 +401,18 @@ function formatTransactionsReducer(txs, reducers) {
const sortedTxs = sortBy(duplicateFreeTxs, ['timestamp'])
const reversedTxs = reverse(sortedTxs)
// here we filter out all transactions related to validators
- let... | 1 |
diff --git a/userscript.user.js b/userscript.user.js @@ -92888,7 +92888,10 @@ var $$IMU_EXPORT$$;
if (domain === "matrix-client.matrix.org") {
// https://matrix-client.matrix.org/_matrix/media/r0/thumbnail/matrix.org/...?width=200&height=573&method=scale
// https://matrix-client.matrix.org/_matrix/media/r0/download/mat... | 7 |
diff --git a/devices.js b/devices.js @@ -3715,7 +3715,7 @@ const devices = [
vendor: 'Innr',
description: 'Smart plug',
supports: 'on/off',
- fromZigbee: [fz.on_off],
+ fromZigbee: [fz.on_off, fz.ignore_basic_report],
toZigbee: [tz.on_off],
meta: {configureKey: 1},
configure: async (device, coordinatorEndpoint) => {
| 8 |
diff --git a/site/download.xml b/site/download.xml @@ -136,7 +136,7 @@ limitations under the License.
<li><a href="https://github.com/rabbitmq/signing-keys/releases/download/2.0/rabbitmq-release-signing-key.asc">Release Signing Key</a> <code>0x6B73A36E6026DFCA</code> (on GitHub)</li>
<li><a href="/signatures.html">How ... | 4 |
diff --git a/lib/modules/blockchain_connector/provider.js b/lib/modules/blockchain_connector/provider.js @@ -47,7 +47,6 @@ class Provider {
}
});
self.web3.eth.defaultAccount = self.addresses[0];
- console.dir(self.addresses);
const realSend = self.provider.send.bind(self.provider);
self.provider.send = function (paylo... | 2 |
diff --git a/website_code/scripts/properties_tab.js b/website_code/scripts/properties_tab.js @@ -790,7 +790,6 @@ function change_notes(template_id, form_tag){
var i = document.getElementById(form_tag).childNodes[0].nodeName.toLowerCase() == 'textarea' ? 0 : 1;
new_notes = document.getElementById(form_tag).childNodes[i]... | 11 |
diff --git a/projects/ngx-extended-pdf-viewer/src/lib/ngx-extended-pdf-viewer.component.ts b/projects/ngx-extended-pdf-viewer/src/lib/ngx-extended-pdf-viewer.component.ts @@ -864,7 +864,11 @@ export class NgxExtendedPdfViewerComponent implements OnInit, AfterViewInit, OnC
const PDFViewerApplicationOptions: IPDFViewerAp... | 4 |
diff --git a/src/data/image.js b/src/data/image.js @@ -18,11 +18,13 @@ export const getImageDetails = (images: Images) => (
id: string,
dimensions: ?{ width: number, height: number }
): ?ImageDetails => {
- if (!dimensions) {
- return images[id];
+ const imageDetails = images[id];
+
+ // Image details might be undefine... | 9 |
diff --git a/brands/amenity/fast_food.json b/brands/amenity/fast_food.json "takeaway": "yes"
}
},
+ "amenity/fast_food|Greggs": {
+ "countryCodes": ["gb"],
+ "tags": {
+ "amenity": "fast_food",
+ "brand": "Greggs",
+ "brand:wikidata": "Q3403981",
+ "brand:wikipedia": "en:Greggs",
+ "cuisine": "sandwich;bakery",
+ "name... | 5 |
diff --git a/accessibility-checker/test/mocha/aChecker.Slow1/aChecker.ObjectStructure/aChecker.getCompliance.JSONObjectVerificationSelenium.test.js b/accessibility-checker/test/mocha/aChecker.Slow1/aChecker.ObjectStructure/aChecker.getCompliance.JSONObjectVerificationSelenium.test.js @@ -180,7 +180,7 @@ describe("JSON ... | 3 |
diff --git a/src/discord_commands/translate.js b/src/discord_commands/translate.js @@ -28,6 +28,17 @@ function throwPublicError(publicMessage, logMessage) {
return throwPublicErrorInfo('Translate', publicMessage, logMessage);
}
+function replaceMentionsWithUsernames(str, msg) {
+ const mentions = msg.mentions;
+ let re... | 14 |
diff --git a/packages/app/src/components/Admin/SlackIntegration/ManageCommandsProcess.jsx b/packages/app/src/components/Admin/SlackIntegration/ManageCommandsProcess.jsx @@ -71,10 +71,10 @@ const ManageCommandsProcess = ({
const updatePermittedChannelsForEachCommand = (e) => {
const commandName = e.target.name;
const al... | 14 |
diff --git a/articles/hosted-pages/login/index.md b/articles/hosted-pages/login/index.md @@ -40,16 +40,7 @@ Additionally, Universal Login is the best (and often only) way to implement Sing
### Single Sign-On (SSO)
-If you want to use single sign-on, you should use Universal Login rather than an embedded login solution.... | 2 |
diff --git a/packages/idyll-components/src/graphic.js b/packages/idyll-components/src/graphic.js @@ -3,15 +3,13 @@ const React = require('react');
class Graphic extends React.Component {
render() {
const { idyll, updateProps, hasError, ...props } = this.props;
- return (
- <div {...props} />
- );
+ return <div classNam... | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.