code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/client/src/components/views/Status/components/dilithiumStress.js b/client/src/components/views/Status/components/dilithiumStress.js @@ -20,27 +20,32 @@ const SUB = gql`
class DilithiumStress extends Component {
// This calculation came from client/src/components/views/DilithiumStress/dilithiumStress.js
- c... | 1 |
diff --git a/test/browser/http.test.js b/test/browser/http.test.js @@ -6,7 +6,10 @@ define(['ably', 'shared_helper', 'chai'], function (Ably, helper, chai) {
describe('rest/http/fetch', function () {
this.timeout(60 * 1000);
+ let initialXhrSupported, initialJsonpSupported;
before(function (done) {
+ initialXhrSupporte... | 12 |
diff --git a/publish/src/commands/remove-synths.js b/publish/src/commands/remove-synths.js 'use strict';
const fs = require('fs');
-const { gray, yellow, red, cyan } = require('chalk');
-const Web3 = require('web3');
-const w3utils = require('web3-utils');
+const { gray, yellow, red, cyan, green } = require('chalk');
+... | 2 |
diff --git a/README.md b/README.md @@ -57,9 +57,7 @@ Built on top of [node-postgres], this library adds the following:
# Support & Sponsorship
-<a href='https://lisk.io' alt='LISK' style='outline : none;' target='_blank'>
- `.
You can access the default connection using `mongoose.connection`.
- <h3 id="connection_pools"><a href="connection_pools">Connection pools</a></h3>
+ <... | 1 |
diff --git a/src/OpenCloseMixin.js b/src/OpenCloseMixin.js @@ -37,7 +37,7 @@ export default function OpenCloseMixin(Base) {
* @type {boolean}
*/
get closed() {
- return !this.state.opened;
+ return this.state && !this.state.opened;
}
set closed(closed) {
const parsed = String(closed) === 'true';
@@ -121,7 +121,7 @@ exp... | 11 |
diff --git a/test/sol5/networkHelper.js b/test/sol5/networkHelper.js @@ -309,7 +309,7 @@ module.exports.removeReservesFromNetwork = async function (networkInstance, rese
module.exports.genReserveID = genReserveID;
function genReserveID(reserveID, reserveAddress) {
- return reserveID + reserveAddress.substring(2,20) + "... | 13 |
diff --git a/lib/assets/test/spec/cartodb/common/dialogs/change_privacy/change_privacy_view.spec.js b/lib/assets/test/spec/cartodb/common/dialogs/change_privacy/change_privacy_view.spec.js @@ -126,20 +126,6 @@ describe('dashboard/dialogs/change_privacy/change_privacy_view', function() {
});
});
- describe('_checkPrivac... | 2 |
diff --git a/scenes/classroom.scn b/scenes/classroom.scn 0
],
"start_url": "https://webaverse.github.io/classroom/"
+ },
+ {
+ "position": [1, 2, -4.5],
+ "quaternion": [0, 0, 0, 1],
+ "scale": [3, 3, 3],
+ "start_url": "https://https-vrchat-com.proxy.webaverse.com/"
}
]
}
\ No newline at end of file
| 0 |
diff --git a/assets/js/components/surveys/SurveyQuestionOpenText.js b/assets/js/components/surveys/SurveyQuestionOpenText.js @@ -34,6 +34,8 @@ import SurveyHeader from './SurveyHeader';
import { TextField, Input, HelperText } from '../../material-components';
import Button from '../Button';
+const MAXIMUM_CHARACTER_LIM... | 12 |
diff --git a/modules/xerte/parent_templates/Nottingham/models_html5/opinion.html b/modules/xerte/parent_templates/Nottingham/models_html5/opinion.html }
}
- this.weighting = x_currentPageXML.getAttribute("trackingWeight") != undefined ? x_currentPageXML.getAttribute("trackingWeight") != undefined : 1.0;
+ this.weightin... | 1 |
diff --git a/packages/node_modules/@node-red/editor-client/src/js/nodes.js b/packages/node_modules/@node-red/editor-client/src/js/nodes.js @@ -1235,6 +1235,9 @@ RED.nodes = (function() {
if (defaultWorkspace == null) {
defaultWorkspace = n;
}
+ if (activeWorkspace === 0) {
+ activeWorkspace = n.id;
+ }
if (createNewIds... | 2 |
diff --git a/website/src/_posts/2016-09-0.10.md b/website/src/_posts/2016-09-0.10.md @@ -15,7 +15,7 @@ We have done a lot of research. We created [prototypes of Uppy React components]
<!-- more -->
-Finally, we are also discussing using [Redux](https://github.com/reactjs/redux) as the internal state management store wi... | 2 |
diff --git a/_labs/Genspace/Genspace.md b/_labs/Genspace/Genspace.md @@ -7,7 +7,7 @@ promotions:
- button: Take a Class
text: Genspace instructors come from top institutions around the New York
City area to teach advanced biology in an easy-to-understand, hands-on way.
- URL: https://www.genspace.org/classes-alt
+ URL:... | 1 |
diff --git a/src/services/verifiedProjectsGiversReport/verifiedPerojectsGiversReport.service.js b/src/services/verifiedProjectsGiversReport/verifiedPerojectsGiversReport.service.js @@ -8,7 +8,7 @@ const { findVerifiedTraces } = require('../../repositories/traceRepository');
const { getTokenByAddress } = require('../../... | 10 |
diff --git a/geometry-tool.js b/geometry-tool.js @@ -304,6 +304,7 @@ const shapeMaterial = (() => {
const map = new THREE.Texture();
map.wrapS = THREE.RepeatWrapping;
map.wrapT = THREE.RepeatWrapping;
+ map.anisotropy = 16;
{
const img = new Image();
img.onload = () => {
@@ -319,6 +320,7 @@ const shapeMaterial = (() =>... | 0 |
diff --git a/addon/components/base/bs-dropdown.js b/addon/components/base/bs-dropdown.js @@ -41,9 +41,10 @@ import layout from 'ember-bootstrap/templates/components/bs-dropdown';
contextual component rather than a standalone dropdown to ensure the correct styling
regardless of your Bootstrap version.
- > Note: the use ... | 7 |
diff --git a/package.json b/package.json "main": "dist/mo.js",
"unpkg": "dist/mo.umd.js",
"scripts": {
+ "lint": "eslint \"**/*.js\"",
"dev": "webpack-dev-server --config webpack.dev.js",
"build": "webpack --config webpack.umd.js --progress",
"pretest": "webpack --config webpack.umd.js",
| 0 |
diff --git a/public/index.html b/public/index.html name="viewport"
content="width=device-width, height=device-height, initial-scale=1, shrink-to-fit=no, maximum-scale=1"
/>
- <meta name="theme-color" content="#000000" />
+ <meta name="theme-color" content="#00AFFF" />
<link rel="manifest" href="%PUBLIC_URL%/manifest.js... | 0 |
diff --git a/includes/Core/Util/Entity_Factory.php b/includes/Core/Util/Entity_Factory.php namespace Google\Site_Kit\Core\Util;
use Google\Site_Kit\Context;
+use Google\Site_Kit\Plugin;
use WP_Query;
use WP_Post;
use WP_Term;
@@ -62,11 +63,8 @@ final class Entity_Factory {
if ( $wp_the_query instanceof WP_Query ) {
$en... | 7 |
diff --git a/Block/Menu.php b/Block/Menu.php @@ -133,18 +133,19 @@ class Menu extends Template implements IdentityInterface
* @param NodeRepositoryInterface|null $parent
* @return array
*/
- public function getNodesData($level = 0, $parent = null)
+ public function getNodesTree($level = 0, $parent = null)
{
- $nodesDat... | 14 |
diff --git a/assets/js/modules/analytics/components/dashboard/DashboardSearchVisitorsWidget.js b/assets/js/modules/analytics/components/dashboard/DashboardSearchVisitorsWidget.js @@ -171,18 +171,6 @@ function DashboardSearchVisitorsWidget( {
{ type: 'number', label: 'Unique Visitors from Search' },
],
];
- sparkData[ 0... | 2 |
diff --git a/html/components/dropdown.stories.js b/html/components/dropdown.stories.js @@ -162,7 +162,7 @@ export const informational = () => {
<div
class="sprk-c-Dropdown__footer sprk-u-TextAlign--center"
>
- <a class="sprk-c-Button sprk-c-Button--tertiary" href="#nogo">
+ <a class="sprk-c-Button sprk-c-Button--second... | 3 |
diff --git a/test/jasmine/tests/dragelement_test.js b/test/jasmine/tests/dragelement_test.js @@ -4,6 +4,7 @@ var d3 = require('d3');
var createGraphDiv = require('../assets/create_graph_div');
var destroyGraphDiv = require('../assets/destroy_graph_div');
var mouseEvent = require('../assets/mouse_event');
+var touchEven... | 0 |
diff --git a/js/bam/htsgetReader.js b/js/bam/htsgetReader.js import AlignmentContainer from "./alignmentContainer.js";
import BamUtils from "./bamUtils.js";
import {igvxhr, BGZip} from "../../node_modules/igv-utils/src/index.js";
+import {buildOptions} from "../util/igvUtils.js";
class HtsgetReader {
@@ -63,7 +64,7 @@ ... | 4 |
diff --git a/main/windows/windowURL.js b/main/windows/windowURL.js @@ -11,7 +11,7 @@ const windowURL = page => {
}
const devPath = `http://localhost:8000/${page}`
let prodPath = format({
- pathname: resolve(`renderer/out/${page}/index.html`),
+ pathname: resolve(`renderer/out/${page}.html`),
protocol: 'file:',
slashes:... | 4 |
diff --git a/__tests__/applyAtRule.test.js b/__tests__/applyAtRule.test.js @@ -206,7 +206,6 @@ test('you can apply utility classes without using the given prefix', () => {
...defaultConfig.options,
prefix: 'tw-',
},
- experiments: { shadowLookup: true },
}
return run(input, config, processPlugins(defaultPlugins(default... | 2 |
diff --git a/plugins/compute/app/views/compute/instances/index.html.haml b/plugins/compute/app/views/compute/instances/index.html.haml = render "intro"
-
-.toolbar
- / / seach form
%form
+ .toolbar.toolbar-controlcenter
+ / / seach form
.inputwrapper
- = select_tag 'searchfor', options_for_select(['Name', 'ID', 'IP', '... | 1 |
diff --git a/src/platform/web/ui/general/utils.ts b/src/platform/web/ui/general/utils.ts @@ -14,10 +14,10 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
-import {UIView, IMountArgs} from "./types";
+import {UIView, IMountArgs, ViewNode} from "./types";
import {t... | 7 |
diff --git a/src/scripts/interaction.js b/src/scripts/interaction.js @@ -54,6 +54,22 @@ const isStaticLibrary = function (library, parameters) {
return staticLibraryTitles.indexOf(library) !== -1 || isGotoType(parameters, gotoType.TIME_CODE);
};
+/**
+ * @const {string[]}
+ */
+const scrollableLibraries = ['H5P.Text', ... | 12 |
diff --git a/src/components/EditableTextarea/EditableTextarea.tsx b/src/components/EditableTextarea/EditableTextarea.tsx @@ -229,6 +229,37 @@ export class EditableTextarea extends React.PureComponent<
}
}
+ handleOnKeyUp = e => {
+ const code = e.key
+
+ /* istanbul ignore next */
+ const stop = () => e.preventDefault(... | 9 |
diff --git a/bin/browsertimeWebPageReplay.js b/bin/browsertimeWebPageReplay.js @@ -7,12 +7,31 @@ const browsertime = require('browsertime');
const merge = require('lodash.merge');
const getURLs = require('../lib/cli/util').getURLs;
const get = require('lodash.get');
+const findUp = require('find-up');
+const fs = requi... | 4 |
diff --git a/test/template.js b/test/template.js @@ -15,37 +15,37 @@ describe('TemplateGenerator', function () {
it('return correct zip filename for https link', function () {
let result = templateGenerator.getExternalProject("https://github.com/embark-framework/embark");
assert.strictEqual(result.url, "https://github.... | 3 |
diff --git a/.codeclimate.yml b/.codeclimate.yml @@ -141,11 +141,13 @@ exclude_patterns:
- "test/"
- "tmp/"
- "workshops/"
+ - "**/_tools/"
- "**/benchmark/"
- "**/build/"
- "**/docs/"
- "**/etc/"
- "**/examples/"
+ - "**/namespace/lib/"
- "**/scripts/"
- "**/test/"
- "**/tmp/"
| 8 |
diff --git a/helpers/PrerequisiteChecker.php b/helpers/PrerequisiteChecker.php @@ -4,7 +4,7 @@ class ERequirementNotMet extends Exception
{
}
-const REQUIRED_PHP_EXTENSIONS = ['fileinfo', 'pdo_sqlite', 'gd', 'ctype', 'json', 'intl', 'zlib',
+const REQUIRED_PHP_EXTENSIONS = ['fileinfo', 'pdo_sqlite', 'gd', 'ctype', 'jso... | 0 |
diff --git a/assets/src/libraries/Library.js b/assets/src/libraries/Library.js @@ -65,9 +65,7 @@ class Library extends Component {
</div>
)}
>
- <div className="book-list">
<BookList books={this.state.books} />
- </div>
</InfiniteScroll>
</React.Fragment>
);
| 2 |
diff --git a/docs/articles/documentation/using-testcafe/using-testcafe-docker-image.md b/docs/articles/documentation/using-testcafe/using-testcafe-docker-image.md @@ -8,6 +8,15 @@ permalink: /documentation/using-testcafe/using-testcafe-docker-image.html
TestCafe provides a preconfigured Docker image with Chromium and F... | 0 |
diff --git a/css/main.css b/css/main.css }
.bd-pfbtn {
- position: absolute;
- top: 60px;
- left: 120px;
+ position: relative;
+ top: -40px;
+ left: 80px;
+ margin-bottom: -19px;
background: #7289da;
color: #FFF;
border-radius: 5px;
| 1 |
diff --git a/src/utilities/text.less b/src/utilities/text.less .text-no-wrap { white-space: nowrap; }
.text-force-wrap { word-wrap: break-word; }
.text-smooth { -webkit-font-smoothing: antialiased; }
-.text-spaced { letter-spacing: 0.05em; }
.text-strike { text-decoration: line-through; }
.text-shadow-solid { text-shad... | 2 |
diff --git a/lib/Backend/EmitBuffer.cpp b/lib/Backend/EmitBuffer.cpp @@ -234,7 +234,11 @@ EmitBufferManager<TAlloc, TPreReservedAlloc, SyncObject>::FreeAllocation(void* a
{
if (!JITManager::GetJITManager()->IsJITServer() || CONFIG_FLAG(OOPCFGRegistration))
{
- threadContext->SetValidCallTargetForCFG(address, false);
+ ... | 12 |
diff --git a/admin-base/materialize/custom/_vue-form-generator.scss b/admin-base/materialize/custom/_vue-form-generator.scss .preview-list {
> li.preview-item {
clear: both;
- padding-bottom: 0;
.singlefield {
float: left;
padding-bottom: 0;
| 7 |
diff --git a/src/server/util/search.js b/src/server/util/search.js @@ -107,15 +107,16 @@ SearchClient.prototype.shouldIndexed = function(page) {
return page.creator != null && page.revision != null && page.redirectTo == null;
};
-// SEARCHBOX_SSL_URL is following format:
-// => https://{ID}:{PASSWORD}@{HOST}
SearchClie... | 7 |
diff --git a/src/extras/config.js b/src/extras/config.js @@ -27,15 +27,24 @@ if(process.argv[2].endsWith('.json')){
//Try to load configuration
//TODO: create a lock file to prevent starting twice the same config file?
+let rawFile = null;
+try {
+ rawFile = fs.readFileSync(`data/${configName}.json`, 'utf8');
+} catch ... | 7 |
diff --git a/accessibility-checker-engine/help/WCAG20_Label_RefValid.mdx b/accessibility-checker-engine/help/WCAG20_Label_RefValid.mdx @@ -8,7 +8,7 @@ import { CodeSnippet, Tag } from "carbon-components-react";
<Row>
<Column colLg={16} colMd={8} colSm={4} className="toolHead">
-### The value of the `<label>` `for` attr... | 2 |
diff --git a/lib/Client.js b/lib/Client.js @@ -346,6 +346,7 @@ class Client extends EventEmitter {
* @arg {String} [options.icon] The icon of the channel as a base64 data URI (group channels only). Note: base64 strings alone are not base64 data URI strings
* @arg {String} [options.ownerID] The ID of the channel owner (... | 11 |
diff --git a/articles/connections/calling-an-external-idp-api.md b/articles/connections/calling-an-external-idp-api.md @@ -203,38 +203,3 @@ Your client will invoke the webtask with a simple HTTP request and manipulate th
:::note
You can find a sample [in this GitHub repository](https://github.com/vikasjayaram/ext-idp-a... | 2 |
diff --git a/_data/conferences.yml b/_data/conferences.yml place: Online
sub: NLP
-- title: INLG
- year: 2020
- id: inlg20
- link: https://www.inlg2020.org/
- deadline: '2020-08-15 23:59:00'
- timezone: UTC-12
- date: December 15-18, 2020
- place: Dublin, Ireland
- sub: NLP
-
- title: EACL
hindex: 36
year: 2021
| 2 |
diff --git a/packages/core/__tests__/interpreter/put.js b/packages/core/__tests__/interpreter/put.js import { createStore, applyMiddleware } from 'redux'
import * as io from '../../src/effects'
import deferred from '@redux-saga/deferred'
-import createSagaMiddleware, { channel, END } from '../../src'
+import createSaga... | 1 |
diff --git a/src/windshaft/response.js b/src/windshaft/response.js @@ -12,7 +12,7 @@ function Response (windshaftSettings, serverResponse) {
this._layerGroupId = serverResponse.layergroupid;
this._layers = serverResponse.metadata.layers;
this._dataviews = serverResponse.metadata.dataviews;
- this._analyses = serverResp... | 1 |
diff --git a/generators/heroku/index.js b/generators/heroku/index.js @@ -778,7 +778,7 @@ module.exports = class extends BaseBlueprintGenerator {
this.log(chalk.yellow('After you have installed jq execute ./provision-okta-addon.sh manually.'));
}
if (curlAvailable && jqAvailable) {
- this.log(chalk.green('Running ./prov... | 3 |
diff --git a/store/buildMatch.js b/store/buildMatch.js @@ -102,7 +102,7 @@ async function getMatch(matchId) {
}
} catch (e) {
console.error(e);
- if (e.message.startsWith('Server failure during read query') || e.message.startsWith('no players found') || e.message.startsWith('Unexpected end of JSON input')) {
+ if (e.me... | 9 |
diff --git a/src/components/Region.js b/src/components/Region.js @@ -20,7 +20,7 @@ const Region = ({ region, countries, search, onSearchChange, flagList }) => {
<ul className="list">{countryNames}</ul>
<a
className="f6 link dim br-pill ph4 pv2 mb2 dib white bg-purple"
- href="/"
+ href="/travel-guide"
>
BACK
</a>
| 1 |
diff --git a/articles/api-auth/tutorials/implicit-grant.md b/articles/api-auth/tutorials/implicit-grant.md @@ -26,10 +26,10 @@ Where:
In order to improve compatibility for client applications, Auth0 will now return profile information in a [structured claim format as defined by the OIDC specification](https://openid.ne... | 14 |
diff --git a/aura-integration-test/src/test/java/org/auraframework/integration/test/util/WebDriverTestCase.java b/aura-integration-test/src/test/java/org/auraframework/integration/test/util/WebDriverTestCase.java @@ -163,6 +163,14 @@ public abstract class WebDriverTestCase extends IntegrationTestCase {
needsFreshBrowse... | 9 |
diff --git a/packages/@lwc/template-compiler/src/shared/types.ts b/packages/@lwc/template-compiler/src/shared/types.ts @@ -41,7 +41,7 @@ export interface SourceLocation {
export interface ElementSourceLocation extends SourceLocation {
startTag: SourceLocation;
- endTag?: SourceLocation;
+ endTag: SourceLocation;
}
expo... | 1 |
diff --git a/assets/js/modules/analytics/components/setup/SetupFormUA.stories.js b/assets/js/modules/analytics/components/setup/SetupFormUA.stories.js import { STORE_NAME } from '../../datastore/constants';
import { MODULES_ANALYTICS_4 } from '../../../analytics-4/datastore/constants';
import { provideModules, provideM... | 2 |
diff --git a/src/sdk/conference/streamutils.js b/src/sdk/conference/streamutils.js @@ -117,7 +117,8 @@ export function convertToSubscriptionCapabilities(mediaInfo) {
frameRates.sort(sortNumbers);
const keyFrameIntervals = JSON.parse(
JSON.stringify(mediaInfo.video.optional.parameters.keyFrameInterval));
- if (mediaInfo... | 8 |
diff --git a/src/js/components/Search.js b/src/js/components/Search.js @@ -26,6 +26,7 @@ export default class Search extends Component {
this._onRemoveDrop = this._onRemoveDrop.bind(this);
this._onFocusInput = this._onFocusInput.bind(this);
this._onChangeInput = this._onChangeInput.bind(this);
+ this._onClickBody = thi... | 1 |
diff --git a/fluent/src/bundle.js b/fluent/src/bundle.js @@ -199,19 +199,16 @@ export default class FluentBundle {
* const hello = bundle.getMessage('hello');
* if (hello.value) {
* bundle.formatPattern(hello.value, { name: 'Jane' }, errors);
- * }
- *
* // Returns 'Hello, Jane!' and `errors` is empty.
*
* bundle.forma... | 7 |
diff --git a/data/networks.js b/data/networks.js @@ -218,7 +218,7 @@ module.exports = [
action_proposal: false,
default: false,
stakingDenom: 'KSM',
- enabled: true,
+ enabled: false,
icon: 'https://app.lunie.io/img/networks/polkadot-testnet.png',
slug: 'kusama'
}
| 12 |
diff --git a/policykit/policyengine/views.py b/policykit/policyengine/views.py @@ -8,8 +8,6 @@ from actstream.models import Action
from policyengine.filter import *
from policykit.settings import SERVER_URL, METAGOV_ENABLED
import integrations.metagov.api as MetagovAPI
-from pylint.lint import Run
-from pylint.reporter... | 2 |
diff --git a/articles/getting-started/the-basics.md b/articles/getting-started/the-basics.md @@ -23,7 +23,7 @@ The term is borrowed from "software multitenancy". This refers to an architectur
Some characteristics:
-- It has to be unique (we will see in the next paragraph that it is used to create you own personal domai... | 1 |
diff --git a/locales/pt.json b/locales/pt.json "webserver available at": "servidor web disponivel em",
"Webserver": "Servidor Web",
" already deployed at ": " already deployed at ",
- "Deployed": "Deployed",
+ "Deployed": "Publicado",
"Name must be only letters, spaces, or dashes": "Name must be only letters, spaces, o... | 3 |
diff --git a/packages/vue/src/components/atoms/SfButton/SfButton.stories.js b/packages/vue/src/components/atoms/SfButton/SfButton.stories.js @@ -223,7 +223,7 @@ export const WithDefaultSlot = (args, { argTypes }) => ({
<SfButton
:class="classes"
:disabled="disabled"
- @click="onClick"
+ @click="click"
:link="link">
<te... | 1 |
diff --git a/public/src/game/Chat.jsx b/public/src/game/Chat.jsx @@ -22,7 +22,7 @@ export default class Chat extends Component{
// must be mounted to receive messages
return (
<div className={`chat-container ${App.state.chat ? "" : "chat-container-hidden"}`}>
- <div className='chat'>
+ <div className='chat' onClick={th... | 11 |
diff --git a/src/components/signin/MnemonicInput.js b/src/components/signin/MnemonicInput.js @@ -6,6 +6,7 @@ import { View, StyleSheet } from 'react-native'
import logger from '../../lib/logger/pino-logger'
const log = logger.child({ from: 'MnemonicInput' })
+const MAX_WORDS = 12
type Props = {
onChange: Function
@@ -1... | 0 |
diff --git a/test/jasmine/tests/select_test.js b/test/jasmine/tests/select_test.js @@ -2121,7 +2121,7 @@ describe('Test select box and lasso per trace:', function() {
.then(done);
}, LONG_TIMEOUT_INTERVAL);
- it('@flaky should work for waterfall traces', function(done) {
+ it('@noCI @flaky should work for waterfall tra... | 12 |
diff --git a/core/connection.js b/core/connection.js @@ -628,8 +628,7 @@ Blockly.Connection.prototype.targetBlock = function() {
* Returns whether type expression on the two connections can be unified with
* each other and also variables on both of connection's block can be resolved
* when they are connected.
- * @para... | 2 |
diff --git a/scripts/avalanchego-installer.sh b/scripts/avalanchego-installer.sh @@ -94,7 +94,7 @@ then
echo "Available versions:"
wget -q -O - https://api.github.com/repos/ava-labs/avalanchego/releases \
| grep tag_name \
- | sed 's/.*: "(.*)".*/\1/' \
+ | sed 's/.*: "\(.*\)".*/\1/' \
| head
exit 0
;;
@@ -155,7 +155,7... | 13 |
diff --git a/src/ui/treeview/TreeViewDnD.hx b/src/ui/treeview/TreeViewDnD.hx @@ -42,7 +42,7 @@ class TreeViewDnD {
static var rxCanDrag = new RegExp(rsCanDrop + ".+", "i");
static function hasType(e:DragEvent, t:String):Bool {
var dtTypes = e.dataTransfer.types;
- return untyped (dtTypes.indexOf)
+ return untyped (dtTy... | 1 |
diff --git a/package.json b/package.json "create-secrets": "create-secrets",
"start-opa": "opa run deploy/helm/internal-charts/opa/policies",
"test-opa": "opa test deploy/helm/internal-charts/opa/policies -v",
- "cleanup": "rm -rf pancake magda-web-client/src/pancake; for dir in magda-*; do echo \"Removing node_modules... | 10 |
diff --git a/magda-csw-connector/src/Csw.ts b/magda-csw-connector/src/Csw.ts @@ -8,6 +8,7 @@ import formatServiceError from "@magda/typescript-common/dist/formatServiceError
import * as xmldom from "xmldom";
import * as xml2js from "xml2js";
import * as jsonpath from "jsonpath";
+import { groupBy } from "lodash";
expor... | 7 |
diff --git a/package.json b/package.json "name": "find-and-replace",
"main": "./lib/find",
"description": "Find and replace within buffers and across the project.",
- "version": "0.208.3",
+ "version": "0.209.0",
"license": "MIT",
"activationCommands": {
"atom-workspace": [
| 6 |
diff --git a/test/jasmine/tests/select_test.js b/test/jasmine/tests/select_test.js @@ -1279,6 +1279,147 @@ describe('Test select box and lasso per trace:', function() {
});
});
+describe('Test that selections persist:', function() {
+ var gd;
+
+ beforeEach(function() {
+ gd = createGraphDiv();
+ });
+
+ afterEach(dest... | 0 |
diff --git a/README.md b/README.md @@ -358,7 +358,7 @@ Also check out [No Whiteboards](https://nowhiteboards.io) to search for jobs at
- [InfoSum](https://www.infosum.com) | Basingstoke, UK | On-site unsupervised exercise & discussion.
- [inKind Capital](https://inkindcapital.com) | Boulder, CO | Discussing real-world ... | 1 |
diff --git a/src/index.js b/src/index.js @@ -214,6 +214,9 @@ function drawTrendChart(sheetTrend) {
}
},
y: {
+ padding: {
+ bottom: 0
+ },
tick: {
values: [0, 100, 500, 1000, 1500, 2000, 2500, 3000, 3500, 4000, 4500, 5000]
}
| 12 |
diff --git a/aleph/logic/graph.py b/aleph/logic/graph.py @@ -5,8 +5,10 @@ from followthemoney import model
from followthemoney.graph import Graph
from followthemoney.types import registry
-from aleph.index import entities as index
+# from aleph.index import entities as index
from aleph.logic.entities import entity_expa... | 4 |
diff --git a/server/views/topics/stories.py b/server/views/topics/stories.py @@ -385,6 +385,8 @@ def _topic_story_page_with_media(user_key, topics_id, link_id, **kwargs):
story_page = apicache.topic_story_list_by_page(user_key, topics_id, link_id=link_id, **kwargs)
+ if len(story_page['stories']) > 0: # be careful to n... | 9 |
diff --git a/README.md b/README.md @@ -140,3 +140,6 @@ On non Okta based deployments, you should run either `dokku run kamu /bin/bash`
```shell
python manage.py createsuperuser
```
+See #74
+
+
| 0 |
diff --git a/components/Article/PayNote.js b/components/Article/PayNote.js @@ -314,6 +314,7 @@ const withCounts = (text, replacements) => {
const BuyButton = ({ payNote, payload, darkMode }) => (
<Button
primary
+ href={payNote.button.link}
white={darkMode}
onClick={trackEventOnClick(
['PayNote', `pledge ${payload.posi... | 12 |
diff --git a/server/preprocessing/other-scripts/postprocess.R b/server/preprocessing/other-scripts/postprocess.R @@ -22,27 +22,6 @@ create_overview_output <- function(named_clusters, layout, metadata) {
output_json = toJSON(output)
- if(exists("DEBUG") && DEBUG == TRUE) {
- library(ggplot2)
- # Plot results from multid... | 2 |
diff --git a/ui/page/show/index.js b/ui/page/show/index.js +import { DOMAIN } from 'config';
import { connect } from 'react-redux';
import { PAGE_SIZE } from 'constants/claim';
import {
@@ -15,10 +16,25 @@ import { selectBlackListedOutpoints } from 'lbryinc';
import ShowPage from './view';
const select = (state, props)... | 9 |
diff --git a/packages/@uppy/dashboard/src/index.js b/packages/@uppy/dashboard/src/index.js @@ -8,7 +8,7 @@ const ThumbnailGenerator = require('@uppy/thumbnail-generator')
const findAllDOMElements = require('@uppy/utils/lib/findAllDOMElements')
const toArray = require('@uppy/utils/lib/toArray')
const prettyBytes = requi... | 14 |
diff --git a/src/registry/domain/nested-renderer.ts b/src/registry/domain/nested-renderer.ts @@ -15,7 +15,7 @@ interface Options {
}
export default function nestedRenderer(
- rendererCb: (
+ rendererWithCallback: (
options: RendererOptions,
cb: (result: GetComponentResult) => void
) => void,
@@ -23,7 +23,7 @@ export de... | 10 |
diff --git a/src/client/js/components/Admin/Security/OidcSecuritySetting.jsx b/src/client/js/components/Admin/Security/OidcSecuritySetting.jsx @@ -61,6 +61,7 @@ class OidcSecurityManagement extends React.Component {
)}
</div>
</div>
+
{adminGeneralSecurityContainer.state.isOidcEnabled && (
<React.Fragment>
@@ -193,6 +1... | 12 |
diff --git a/aleph/search/parser.py b/aleph/search/parser.py @@ -3,7 +3,7 @@ from normality import stringify
from werkzeug.datastructures import MultiDict, OrderedMultiDict
# cf. https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-from-size.html # noqa
-MAX_RESULT_WINDOW = 1000
+MAX_RESULT_WI... | 11 |
diff --git a/app/controllers/api/avatars.php b/app/controllers/api/avatars.php @@ -364,10 +364,10 @@ App::get('/v1/avatars/qr')
$download = ($download === '1' || $download === 'true' || $download === 1 || $download === true);
$qropts = new QROptions([
- 'quietzone' => $size
+ 'quietzone' => $size,
+ 'outputType' => QRC... | 12 |
diff --git a/avatars/avatars.js b/avatars/avatars.js @@ -15,6 +15,8 @@ import CBOR from '../cbor.js';
import Simplex from '../simplex-noise.js';
import {crouchMaxTime, useMaxTime, aimMaxTime, avatarInterpolationFrameRate, avatarInterpolationTimeDelay, avatarInterpolationNumFrames} from '../constants.js';
import {FixedT... | 0 |
diff --git a/test/test.js b/test/test.js @@ -224,31 +224,6 @@ module.exports = function (redom) {
onunmount: 2
});
});
- t.test('lifecycle with shadow root', function (t) {
- t.plan(2);
- var div = document.createElement('div');
- var root = div.createShadowRoot();
- var eventsFired = {};
-
- function Test () {
- this.... | 2 |
diff --git a/components/bases-locales/validator/file-handler.js b/components/bases-locales/validator/file-handler.js @@ -15,14 +15,15 @@ class FileHandler extends React.Component {
]),
isLoading: PropTypes.bool,
onFileDrop: PropTypes.func.isRequired,
- onSubmit: PropTypes.func.isRequired
+ onSubmit: PropTypes.func
}
st... | 2 |
diff --git a/lib/app/reload-actions.js b/lib/app/reload-actions.js @@ -40,11 +40,11 @@ module.exports = function reloadActions(options, cb) {
sails._actions = {};
// Reload the actions.
- async.each(hooksToReload, function(hookIdentity, cb) {
+ async.each(hooksToReload, function(hookIdentity, next) {
if (_.isFunction(s... | 10 |
diff --git a/articles/quickstart/backend/golang/01-authorization.md b/articles/quickstart/backend/golang/01-authorization.md @@ -38,8 +38,8 @@ Configure the **checkJwt** middleware to use the remote JWKS for your Auth0 acco
```go
// main.go
-const JWKS_URI = "https://{DOMAIN}/.well-known/jwks.json"
-const AUTH0_API_ISS... | 4 |
diff --git a/articles/connections/database/password-options.md b/articles/connections/database/password-options.md @@ -31,6 +31,8 @@ The Password Dictionary option, when enabled, allows the use of a password dicti
Additionally, you can use the text area here and add your own prohibited passwords, one per line. These ca... | 0 |
diff --git a/app/hotels/src/navigation/NavigationStack.js b/app/hotels/src/navigation/NavigationStack.js @@ -85,6 +85,7 @@ export default StackNavigator(
screen: withMappedProps(Payment),
navigationOptions: {
mode: 'modal',
+ headerTitle: 'Hotel',
},
},
},
| 0 |
diff --git a/modules/@apostrophecms/ui/ui/apos/components/AposTreeRows.vue b/modules/@apostrophecms/ui/ui/apos/components/AposTreeRows.vue <div class="apos-tree__row-data">
<button
v-if="row.children && row.children.length > 0"
- class="apos-tree__row__toggle"
+ class="apos-tree__row__toggle" data-apos-tree-toggle
aria... | 9 |
diff --git a/lib/assertions.js b/lib/assertions.js @@ -1800,18 +1800,6 @@ module.exports = expect => {
const keys = valueType.getKeys(value);
const subjectKeys = subjectType.getKeys(subject);
- if (!subjectIsArrayLike) {
- // Find all non-enumerable subject keys present in value, but not returned by subjectType.getKeys... | 2 |
diff --git a/src/UserConfig.js b/src/UserConfig.js @@ -610,7 +610,7 @@ class UserConfig {
addExtension(fileExtension, options = {}) {
console.log(
chalk.yellow(
- "Warning: Configuration API `addExtension` is an undocumented experimental feature of Eleventy with an unstable API. Be careful!"
+ "Warning: Configuration A... | 3 |
diff --git a/test/unit/modules/tableEmbed.js b/test/unit/modules/tableEmbed.js @@ -454,7 +454,7 @@ describe('Delta', () => {
{
retain: {
table: {
- rows: [{ remove: { id: '22222222' } }],
+ rows: [{ delete: 1 }],
columns: [{ retain: 1 }, { delete: 1 }],
},
},
@@ -466,6 +466,7 @@ describe('Delta', () => {
{
retain: {
ta... | 1 |
diff --git a/src/map/handler/Map.Drag.js b/src/map/handler/Map.Drag.js -import { now, sign } from '../../core/util';
+import { now } from '../../core/util';
import { preventDefault, getEventContainerPoint } from '../../core/util/dom';
import Handler from '../../handler/Handler';
import DragHandler from '../../handler/D... | 7 |
diff --git a/docs/SETUP.md b/docs/SETUP.md If you are using module bundlers such as Webpack, Rollup, Laravel elixir/mix, etc you may prefer directly include package
into your project. To get started use yarn or npm to get latest version.
+1- Download dependencies:
-1. Download dependencies:
```bash
# Using YARN
yarn ad... | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.