code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/packages/bitcore-node/src/models/walletAddress.ts b/packages/bitcore-node/src/models/walletAddress.ts @@ -39,9 +39,7 @@ export class WalletAddressModel extends BaseModel<IWalletAddress> {
const { chain, network } = wallet;
const unprocessedAddresses: Array<string> = [];
- return new Promise(async (resolve,... | 5 |
diff --git a/lib/node_modules/@stdlib/random/base/mt19937/lib/factory.js b/lib/node_modules/@stdlib/random/base/mt19937/lib/factory.js @@ -82,7 +82,7 @@ var MAX_SEED = UINT32_MAX >>> 0; // asm type annotation
// For seed arrays, define an initial state (magic) constant: 19650218 => 00000001001010111101011010101010
var ... | 10 |
diff --git a/react/src/components/masthead/components/SprkMastheadMenuIcon/SprkMastheadMenuIcon.js b/react/src/components/masthead/components/SprkMastheadMenuIcon/SprkMastheadMenuIcon.js @@ -84,7 +84,7 @@ SprkMastheadMenuIcon.propTypes = {
*/
isOpen: PropTypes.bool,
/**
- * Function to run when the Menu is clicked.
+ *... | 7 |
diff --git a/includes/Modules/Thank_With_Google/Web_Tag.php b/includes/Modules/Thank_With_Google/Web_Tag.php @@ -181,7 +181,10 @@ class Web_Tag extends Module_Web_Tag {
return $content;
}
- $cta_placeholder = '<div><div counter-button style="height: 34px; visibility: hidden; box-sizing: content-box; padding: 12px 0; di... | 7 |
diff --git a/src/js/core/TableRegistry.js b/src/js/core/TableRegistry.js @@ -2,11 +2,11 @@ import Tabulator from './Tabulator.js';
class TableRegistry {
- register(table){
+ static register(table){
TableRegistry.tables.push(table);
}
- deregister(table){
+ static deregister(table){
var index = TableRegistry.tables.inde... | 3 |
diff --git a/app/components/DepositWithdraw/gdex/GdexGatewayInfo.jsx b/app/components/DepositWithdraw/gdex/GdexGatewayInfo.jsx @@ -12,6 +12,7 @@ import {requestDepositAddress} from "../../../lib/common/gdexMethods";
import QRCode from "qrcode.react";
import GdexWithdrawModal from "./GdexWithdrawModal";
import counterpa... | 14 |
diff --git a/bin/local-env/env-check.sh b/bin/local-env/env-check.sh #!/bin/bash
-# Exit if any command fails
-set -e
+# Fail on unset variables.
+set -u
# Include useful functions
. "$(dirname "$0")/includes.sh"
-# Get the host port for the WordPress container.
-HOST_PORT=$(dc port $CONTAINER 80 | awk -F : '{printf $2... | 1 |
diff --git a/packages/gestalt-codemods/0.85.0-0.86.0/deprecate-tooltip.js b/packages/gestalt-codemods/0.85.0-0.86.0/deprecate-tooltip.js * </Tooltip>
* to
* import { Box, Flyout } from "gestalt";
- * <Flyout {...props} color="darkGray" shouldFocus={false}>
+ * <Flyout {...props} color="darkGray" shouldFocus={false} siz... | 1 |
diff --git a/src/markdown/lexicon/core-components/list.md b/src/markdown/lexicon/core-components/list.md @@ -7,11 +7,10 @@ layout: 'guide'
order: 290
---
+
### Usage
-
-
A list is a visu... | 5 |
diff --git a/apigateway.go b/apigateway.go @@ -758,6 +758,12 @@ func (resource *Resource) NewMethod(httpMethod string,
defaultHTTPStatusCode int,
possibleHTTPStatusCodeResponses ...int) (*Method, error) {
+ if OptionsGlobal.Logger != nil && len(possibleHTTPStatusCodeResponses) != 0 {
+ OptionsGlobal.Logger.WithFields(l... | 0 |
diff --git a/docs/data_preparation.rst b/docs/data_preparation.rst @@ -44,6 +44,37 @@ And then imported into higlass after copying to the docker temp directory (``cp
--datatype bedlike \
--coordSystem b37
+A note about assemblies and coordinate systems
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+HiGlass doesn't ... | 3 |
diff --git a/dist/index.html b/dist/index.html <h3>Create HTML elements easily</h3>
<pre><code class="language-js">import { el } from 'redom';
-el('h1', 'Hello world!');
+el('h1', 'Hello RE:DOM!');
</code></pre>
- <pre><code class="language-markup"><h1>Hello world!</h1></code></pre>
+ <pre><code class="lang... | 0 |
diff --git a/src/diagrams/state/stateRenderer.js b/src/diagrams/state/stateRenderer.js @@ -278,8 +278,8 @@ const renderDoc = (doc, diagram, parentId) => {
pShift = 0;
}
}
- divider.setAttribute('x1', 0 - pShift);
- divider.setAttribute('x2', pWidth - pShift);
+ divider.setAttribute('x1', 0 - pShift + 8);
+ divider.setA... | 9 |
diff --git a/lib/util/fonts/getTextByFontProperties.js b/lib/util/fonts/getTextByFontProperties.js @@ -117,8 +117,8 @@ function getMemoizedElementStyleResolver(fontPropRules, availableWeights) {
var nonInheritingTags = ['BUTTON', 'INPUT', 'OPTION', 'TEXTAREA'];
var getComputedStyle = memoizeSync(function (node, idArray... | 4 |
diff --git a/assets/js/googlesitekit/widgets/register-defaults.js b/assets/js/googlesitekit/widgets/register-defaults.js @@ -28,7 +28,6 @@ import * as WIDGET_CONTEXTS from './default-contexts';
import * as WIDGET_AREAS from './default-areas';
import { WIDGET_AREA_STYLES } from './datastore/constants';
import {
- Adsens... | 2 |
diff --git a/src/layer/ImageLayer.js b/src/layer/ImageLayer.js @@ -36,7 +36,7 @@ const options = {
class ImageLayer extends Layer {
constructor(id, images, options) {
- if (!Array.isArray(images) && !images.url) {
+ if (images && !Array.isArray(images) && !images.url) {
options = images;
images = null;
}
| 1 |
diff --git a/src/sdk/p2p/peerconnection-channel.js b/src/sdk/p2p/peerconnection-channel.js @@ -328,7 +328,7 @@ class P2PPeerConnectionChannel extends EventDispatcher {
this._config);
this._pc.setRemoteDescription(sessionDescription).then(() => {
this._createAndSendAnswer();
- }, function(error) {
+ }, (error) => {
Logg... | 1 |
diff --git a/embark-ui/src/components/Console.js b/embark-ui/src/components/Console.js @@ -66,6 +66,14 @@ class Console extends Component {
}
}
+ logClassName(item) {
+ return classnames('m-0', {
+ 'text-info': item.logLevel === 'debug',
+ 'text-danger': item.logLevel === 'error',
+ 'text-warning': item.logLevel === 'w... | 2 |
diff --git a/README.md b/README.md [![JOIN OFFICIAL WEKAN CHAT][gitter_badge]][gitter_chat]
-2017-02-03 News: All Wekan fork/Wefork code and pull requests has been
-merged back to official Wekan. Wefork will not accept new pull requests
-and issues to Wefork. All development happens on Wekan.
+2017-02-04 News: All Weka... | 5 |
diff --git a/src/components/Timeseries.js b/src/components/Timeseries.js @@ -21,7 +21,6 @@ import {select, mouse} from 'd3-selection';
import {line, curveMonotoneX} from 'd3-shape';
// eslint-disable-next-line
import {transition} from 'd3-transition';
-import {formatISO, subDays} from 'date-fns';
import equal from 'fas... | 1 |
diff --git a/scripts/build/schema-to-rst.js b/scripts/build/schema-to-rst.js @@ -189,14 +189,14 @@ function objectTable(props, rstArray, defName, propName, type) {
getProperties(props.items, itemProps, defName);
if (Object.keys(itemProps).length > 0) {
table += `${defName} ${propName} possible properties when object ty... | 7 |
diff --git a/lib/plugins/aws/provider/awsProvider.js b/lib/plugins/aws/provider/awsProvider.js @@ -212,7 +212,7 @@ class AwsProvider {
*/
request(service, method, params, options) {
const that = this;
- const credentials = _.cloneDeep(that.getCredentials());
+ const credentials = Object.assign({}, that.getCredentials()... | 1 |
diff --git a/webpack.config.js b/webpack.config.js @@ -113,7 +113,7 @@ const webpackConfig = ( mode ) => {
'googlesitekit-admin': './assets/js/googlesitekit-admin.js',
'googlesitekit-module': './assets/js/googlesitekit-module.js',
// Needed to test if a browser extension blocks this by naming convention.
- ads: './asse... | 10 |
diff --git a/package.json b/package.json "redux-logger": "2.6.1",
"redux-thunk": "2.1.0",
"simplemde": "1.11.2",
- "slug": "0.9.1",
+ "slug": "git+https://git@github.com/180-g/node-slug",
"sortablejs": "1.4.2",
"underscore": "1.8.3"
},
| 14 |
diff --git a/userscript.user.js b/userscript.user.js @@ -49751,6 +49751,10 @@ var $$IMU_EXPORT$$;
return null;
var find_from_el = function() {
+ if (options.host_url.match(/\/a\/+[^/]+\/+embed/)) {
+ return "default";
+ }
+
var current = el;
while ((current = current.parentElement)) {
if (current.tagName === "DIV" &&
@... | 7 |
diff --git a/portal/src/components/UploadCSV/UploadCSV.js b/portal/src/components/UploadCSV/UploadCSV.js @@ -30,6 +30,11 @@ function UploadCSV({sampleCSV, fileUploadAPI, onUploadComplete}) {
alert("Successfully uploaded CSV");
}, 500);
onUploadComplete();
+ }).catch((error) => {
+ if (error.response && error.response.s... | 9 |
diff --git a/lib/node_modules/@stdlib/random/base/mt19937/lib/factory.js b/lib/node_modules/@stdlib/random/base/mt19937/lib/factory.js @@ -70,7 +70,7 @@ var randuint32 = require( './rand_uint32.js' );
// VARIABLES //
-// Define the size of the state array (see paper):
+// Define the size of the state array (see refs):
... | 5 |
diff --git a/upgrade.php b/upgrade.php @@ -951,6 +951,14 @@ function upgrade_21()
}
return "Creating dashboard_allowed_links field in templatedetails - ok ? " . ($error1_returned && $error2_returned ? 'true' : 'false') . "<br>";
}
+ if (! _db_field_exists('sitedetails', 'dashboard_allowed_links')) {
+ $error2 = _db_add... | 1 |
diff --git a/angular/projects/spark-angular/src/lib/directives/sprk-text/sprk-text.stories.ts b/angular/projects/spark-angular/src/lib/directives/sprk-text/sprk-text.stories.ts @@ -50,7 +50,7 @@ const modules = {
export const bodyOne = () => ({
moduleMetadata: modules,
template: `
- <p sprkText variant="one">
+ <p sprk... | 3 |
diff --git a/token-metadata/0x4bD70556ae3F8a6eC6C4080A0C327B24325438f3/metadata.json b/token-metadata/0x4bD70556ae3F8a6eC6C4080A0C327B24325438f3/metadata.json "symbol": "HXRO",
"address": "0x4bD70556ae3F8a6eC6C4080A0C327B24325438f3",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/StackExchangeDarkMode.user.js b/StackExchangeDarkMode.user.js // @description Dark theme for sites and chat on the Stack Exchange Network
// @homepage https://github.com/samliew/SO-mod-userscripts
// @author @samliew
-// @version 2.15.1
+// @version 2.15.2
//
// @include https://*stackexchange.com/*
// @in... | 7 |
diff --git a/test/model.populate.test.js b/test/model.populate.test.js @@ -6224,6 +6224,7 @@ describe('model: populate:', function() {
var officeSchema = new Schema({
managerId: { type: Schema.ObjectId, ref: 'gh6414User' },
supervisorId: { type: Schema.ObjectId, ref: 'gh6414User' },
+ janitorId: { type: Schema.ObjectId... | 1 |
diff --git a/tools/make/lib/notes/Makefile b/tools/make/lib/notes/Makefile @@ -25,6 +25,8 @@ notes:
--exclude-dir "$(NODE_MODULES)/*" \
--exclude-dir "$(BUILD_DIR)/*" \
--exclude-dir "$(REPORTS_DIR)/*" \
+ --exclude-dir "$(DEPS_TMP_DIR)/*" \
+ --exclude-dir "$(DEPS_BUILD_DIR)/*" \
--exclude "$(this_file)" \
--exclude "... | 8 |
diff --git a/token-metadata/0x3E9BC21C9b189C09dF3eF1B824798658d5011937/metadata.json b/token-metadata/0x3E9BC21C9b189C09dF3eF1B824798658d5011937/metadata.json "symbol": "LINA",
"address": "0x3E9BC21C9b189C09dF3eF1B824798658d5011937",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/articles/_includes/_package.html b/articles/_includes/_package.html <h3 class="package-header">Sample Project</h3>
<% if (account.userName) { %>
<p class="package-description configured">
- Download this sample project configured with your Auth0 API Keys.
+ Download a sample project specific to this tutori... | 3 |
diff --git a/test/core/test_task_launcher.py b/test/core/test_task_launcher.py @@ -65,7 +65,7 @@ class TestTaskLauncher(unittest.TestCase):
self.assertEqual(len(launcher.units), 0)
self.assertEqual(launcher.provider_type, MockProvider.PROVIDER_TYPE)
- def test_create_expire_assignments(self):
+ def test_create_launch_e... | 7 |
diff --git a/t/lib/login_with_user.js b/t/lib/login_with_user.js @@ -102,7 +102,7 @@ var login_with_user_func = Promise.promisify(function(args, callback){
// Make sure login was successful, check that we landed on user account page
driver.getTitle()
.then(function(title){
- expect(title).to.be.equal('Calendar');
+ exp... | 1 |
diff --git a/unlock-app/src/components/creator/LockMakerForm.js b/unlock-app/src/components/creator/LockMakerForm.js @@ -10,7 +10,8 @@ class LockMakerForm extends React.Component {
super(props)
this.state = {
keyReleaseMechanism: 0, // Public
- expirationDuration: 60 * 60 * 24 * 10, // 10 days (in seconds!)
+ expiratio... | 11 |
diff --git a/src/sass/buttons.scss b/src/sass/buttons.scss }
.button {
- border-radius: 6px;
+ border-radius: 3px;
&.button-full {
border-radius: 0;
display: block;
}
&-green {
- @include button-style(#719561, #FFF, #606060, #FFF, #FFF);
- @include button-clear(#FFF);
- @include button-outline(#C1C1C1);
- border: 0px;
... | 3 |
diff --git a/lib/logger.js b/lib/logger.js @@ -43,9 +43,12 @@ Logger.prototype.log = function (type, libName, err, libSource) {
var message = makeMsg(err)
- if (this.last == 'progress')
- process.stdout.write('\033[1F\033[0K')
if (type !== SUCCESS || this.verbose) {
+ if (this.last == 'progress') {
+ process.stdout.cur... | 1 |
diff --git a/modules/decision/play.php b/modules/decision/play.php @@ -56,7 +56,7 @@ function show_template($row_play)
$page_content = str_replace("%TEMPLATEPATH%", $template_path_string, $page_content);
$page_content = str_replace("%XMLPATH%", $string_for_flash, $page_content);
$page_content = str_replace("%XMLFILE%",... | 1 |
diff --git a/source/core/String.js b/source/core/String.js @@ -543,5 +543,5 @@ Object.assign(String.prototype, {
});
// TODO(cmorgan/modulify): do something about these exports: String#format,
-// String#repeat, String#escapeHTML, String#escapeRegExp, String#capitalise,
+// String#escapeHTML, String#escapeRegExp, Strin... | 2 |
diff --git a/includes/Modules/Tag_Manager.php b/includes/Modules/Tag_Manager.php @@ -432,7 +432,6 @@ final class Tag_Manager extends Module
'POST:connection' => array( 'service' => '' ),
'POST:account-id' => array( 'service' => '' ),
'POST:container-id' => array( 'service' => '' ),
- 'POST:settings' => array( 'service'... | 2 |
diff --git a/packages/storybook/index.js b/packages/storybook/index.js -import { html as litHtml } from 'lit-html';
+export { html } from 'lit-html';
export { storiesOf, addParameters } from '@storybook/polymer';
export { action } from '@storybook/addon-actions';
@@ -18,59 +18,3 @@ export { document } from 'global';
//... | 1 |
diff --git a/spec/widgets/formula/content-view.spec.js b/spec/widgets/formula/content-view.spec.js @@ -26,7 +26,7 @@ describe('widgets/formula/content-view', function () {
title: 'Max population',
hasInitialState: true
}, {
- dataviewModel,
+ dataviewModel: dataviewModel,
layerModel: layerModel
});
| 2 |
diff --git a/content/en/guide/v10/progressive-web-apps.md b/content/en/guide/v10/progressive-web-apps.md @@ -64,7 +64,7 @@ While Preact is a drop-in that should work well for your PWA, it can also be use
<div class="_bubble" style="background-image: url(../../assets/pwa-guide/code-splitting.svg);"></div>
</div>
<div cl... | 1 |
diff --git a/layout/explore-detail/explore-detail-header/explore-detail-header-component.js b/layout/explore-detail/explore-detail-header/explore-detail-header-component.js @@ -128,7 +128,7 @@ class ExploreDetailHeader extends PureComponent {
name={starIconName}
className={starIconClass}
/>
- <span>Favorite</span>
+ <s... | 10 |
diff --git a/server/src/input/pdfminer/pdfminer.ts b/server/src/input/pdfminer/pdfminer.ts @@ -368,8 +368,13 @@ function repairPdf(filePath: string) {
const qpdfPath = utils.getCommandLocationOnSystem('qpdf');
if (qpdfPath) {
const pdfOutputFile = utils.getTemporaryFile('.pdf');
- spawnSync('qpdf', ['--decrypt', filePa... | 0 |
diff --git a/src/hooks/renderJournalSheet/adventure.js b/src/hooks/renderJournalSheet/adventure.js import { DDBAdventureFlags } from "../../lib/adventureFlags.js";
import buildNotes from "./buildNotes.js";
+import { DDB_CONFIG } from "../../ddbConfig.js";
const POPUPS = {
json: null,
@@ -36,7 +37,8 @@ function adventur... | 7 |
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml @@ -38,7 +38,8 @@ jobs:
with:
mongodb-version: ${{ matrix.mongodb-version }}
- - run: (node --version | grep v14) && npm install -g npm@8
+ # Exit status must be succesful in the end
+ - run: ( ( node --version | grep v14 ) && npm install -g npm@8 ) |... | 9 |
diff --git a/src/serverlessLog.js b/src/serverlessLog.js @@ -15,12 +15,6 @@ module.exports.setLog = function setLog(serverlessLogRef) {
// logs based on:
// https://github.com/serverless/serverless/blob/master/lib/classes/CLI.js
-module.exports.errorLog = function errorLog(msg) {
- console.log()
- console.log(`offline:... | 2 |
diff --git a/lib/assets/core/javascripts/cartodb3/components/modals/add-widgets/tablestats.js b/lib/assets/core/javascripts/cartodb3/components/modals/add-widgets/tablestats.js @@ -316,7 +316,7 @@ ColumnGraph.prototype = {
return [];
}
- var histogram = new Array(bins).fill(0);
+ var histogram = new Array(bins + 1).joi... | 14 |
diff --git a/src/index.js b/src/index.js @@ -19,7 +19,7 @@ bugsnagConfiguration.releaseStage = Config.RELEASE_STAGE
? Config.RELEASE_STAGE
: "dev";
// Only send reports for releases from master branch
-bugsnagConfiguration.notifyReleaseStages = ["beta", "release"];
+bugsnagConfiguration.notifyReleaseStages = ["alpha", ... | 11 |
diff --git a/src/content/developers/docs/programming-languages/golang/index.md b/src/content/developers/docs/programming-languages/golang/index.md @@ -34,7 +34,7 @@ Need a more basic primer first? Check out [ethereum.org/learn](/learn/) or [ethe
## Intermediate articles and docs {#intermediate-articles-and-docs}
- [Go ... | 10 |
diff --git a/includes/Core/Assets/Assets.php b/includes/Core/Assets/Assets.php @@ -347,7 +347,10 @@ final class Assets {
array(
'src' => false,
'before_print' => function( $handle ) {
- wp_localize_script( $handle, 'googlesitekit', $this->get_inline_data() );
+ $data = wp_scripts()->get_data( $handle, 'data' ) ?: '';
+... | 14 |
diff --git a/packages/react-jsx-highstock/test/components/FlagSeries/FlagSeries.spec.js b/packages/react-jsx-highstock/test/components/FlagSeries/FlagSeries.spec.js @@ -9,9 +9,9 @@ describe('<FlagSeries />', function () {
expect(wrapper).to.have.type(Series);
});
- it('renders a <Series type="flag" />', function () {
+... | 1 |
diff --git a/js/utils/responsive.js b/js/utils/responsive.js @@ -18,9 +18,9 @@ function getBackgroundImage(imageHashes = {}, standardSize, responsiveSize, defa
let imageHash = '';
let bgImageProperty = '';
- if (isHiRez() && imageHashes[responsiveSize]) {
+ if (isHiRez() && imageHashes && imageHashes[responsiveSize]) {... | 9 |
diff --git a/scripts/utils.js b/scripts/utils.js @@ -4,7 +4,7 @@ const _ = require('lodash');
const childProcess = require('child_process');
const fs = require('fs-extra');
const glob = require('glob');
-const { parse: parseUrl } = require('url');
+const { URL } = require('url');
// This disables ES6+ template delimite... | 14 |
diff --git a/token-metadata/0x2d9765a94FF22e0CA3AfC3E3F4B116dE2b67582a/metadata.json b/token-metadata/0x2d9765a94FF22e0CA3AfC3E3F4B116dE2b67582a/metadata.json "symbol": "CGC",
"address": "0x2d9765a94FF22e0CA3AfC3E3F4B116dE2b67582a",
"decimals": 16,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/src/plugins/modules/fileBrowser.js b/src/plugins/modules/fileBrowser.js let tagsHTML = '';
let listHTML = '<div class="se-file-item-column">';
let columns = 1;
- for (let i = 0, item, tag; i < len; i++) {
+ for (let i = 0, item, tags; i < len; i++) {
item = items[i];
+ tags = !item.tag ? [] : typeof item.t... | 3 |
diff --git a/.travis.yml b/.travis.yml -matrix:
- include:
- - os: osx
+os:
+ - linux
+ - osx
+
osx_image: xcode10.2
language: node_js
node_js: "12"
- env:
- - ELECTRON_CACHE=$HOME/.cache/electron
- - ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
-
- - os: linux
- services: docker
- node_js:
- - 12
- dist: trust... | 1 |
diff --git a/test/src/test/java/com/composum/sling/test/util/JcrTestUtils.java b/test/src/test/java/com/composum/sling/test/util/JcrTestUtils.java @@ -118,6 +118,7 @@ public class JcrTestUtils {
Thread writer = new Thread() {
@Override
public void run() {
+ try {
ZipOutputStream zip = new ZipOutputStream(out);
File jcr... | 7 |
diff --git a/scripts/orbits.js b/scripts/orbits.js @@ -34,7 +34,7 @@ async function asyncForEach(array, callback) {
await request.post('https://www.space-track.org/ajaxauth/login', {
form: {
- identity: process.env.USERNAME,
+ identity: process.env.LOGIN,
password: process.env.PASSWORD,
},
json: true,
| 3 |
diff --git a/app/postgresql/error_handler.js b/app/postgresql/error_handler.js @@ -16,7 +16,10 @@ ErrorHandler.prototype.getMessage = function() {
// `57014: query_canceled` includes other queries than `statement timeout`, otherwise we could do something more
// straightforward like:
// return conditionToMessage[this.e... | 9 |
diff --git a/package.json b/package.json },
"devDependencies": {
"@11ty/eleventy-plugin-syntaxhighlight": "^2.0.1",
- "ava": "^1.3.1",
+ "ava": "^1.4.1",
"husky": "^1.3.1",
- "lint-staged": "^8.1.0",
+ "lint-staged": "^8.1.5",
"markdown-it-emoji": "^1.4.0",
"nyc": "^13.3.0",
- "prettier": "^1.15.3",
+ "prettier": "^1.1... | 3 |
diff --git a/lib/waterline/utils/query/forge-stage-three-query.js b/lib/waterline/utils/query/forge-stage-three-query.js @@ -312,6 +312,11 @@ module.exports = function forgeStageThreeQuery(options) {
singularAssocAttrNames.push(populateAttribute);
}
+ if (parentAttr.collection && schemaAttribute.columnName) {
+ console... | 8 |
diff --git a/package.json b/package.json "grunt": "^1.0.1",
"json-honey": "^0.4.1",
"merge": "^1.2.0",
- "meteor-build-client": "^0.4.1",
"mkdirp": "^0.5.1",
- "read-yaml": "^1.0.0",
"request": "^2.75.0",
"serve-static": "^1.11.1",
"shelljs": "^0.5.0",
| 2 |
diff --git a/src/components/routes/checkout/CreditCard.vue b/src/components/routes/checkout/CreditCard.vue <template>
<el-form ref="form" :model="form" :rules="rules" class="_credit-card __form-sm">
<el-form-item :label="$t('card.number')" prop="number">
- <el-input v-model="form.number" v-mask="cardMask"></el-input>
+... | 9 |
diff --git a/plugins/AutoScroll/README.md b/plugins/AutoScroll/README.md @@ -49,9 +49,11 @@ Demo:
#### `scrollFn` option
-Defines function that will be used for autoscrolling. el.scrollTop/el.scrollLeft is used by default.
Useful when you have custom scrollbar with dedicated scroll function.
-This function should retur... | 7 |
diff --git a/source/agent/video/videoMixer/VideoMixer.cpp b/source/agent/video/videoMixer/VideoMixer.cpp @@ -215,7 +215,8 @@ void VideoMixer::closeAll()
auto it = m_inputs.begin();
while (it != m_inputs.end()) {
- m_frameMixer->removeInput(*it++);
+ m_frameMixer->removeInput(*it);
+ it++;
}
m_inputs.clear();
| 5 |
diff --git a/.github/workflows/createNewVersion.yml b/.github/workflows/createNewVersion.yml @@ -35,7 +35,7 @@ jobs:
- uses: Expensify/App/.github/actions/composite/setupGitForOSBotify@main
with:
- GPG_PASSPHRASE: ${{ secrets.LARGE_SECRET_PASSPHRASE }}
+ GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
- name: Create new ... | 10 |
diff --git a/source/converter/contracts/Converter.sol b/source/converter/contracts/Converter.sol @@ -128,7 +128,7 @@ contract Converter is Ownable, ReentrancyGuard, TokenPaymentSplitter {
path = getTokenPath(_swapFromToken);
}
// Approve token for AMM usage.
- IERC20(_swapFromToken).safeIncreaseAllowance(address(uniRou... | 2 |
diff --git a/lambda/fulfillment/lib/middleware/lexRouter.js b/lambda/fulfillment/lib/middleware/lexRouter.js @@ -107,18 +107,19 @@ async function processResponse(req, res, hook, msg) {
let botResp = await handleRequest(req, res, hook, "$LATEST");
console.log("botResp: " + JSON.stringify(botResp,null,2));
- var plainMes... | 1 |
diff --git a/src/pages/signin/PasswordForm.js b/src/pages/signin/PasswordForm.js @@ -118,8 +118,6 @@ PasswordForm.defaultProps = defaultProps;
export default compose(
withRouter,
withOnyx({
- account: {
- key: ({match}) => `${ONYXKEYS.COLLECTION.REPORT}${match.params.reportID}`,
- },
+ account: {key: ONYXKEYS.ACCOUNT},... | 4 |
diff --git a/app/views/taxa/_form.html.erb b/app/views/taxa/_form.html.erb <%= f.text_field :parent_id, value: taxon.parent_id, class: "text", disabled: !@protected_attributes_editable %><br/>
<%= label_tag t(:parent_name) %><br/>
- <%= text_field_tag :parent_name, ( parent = taxon.parent ) ? parent.name : "", id: "par... | 1 |
diff --git a/lib/assets/core/test/spec/cartodb3/deep-insights-integration/widgets-integration.spec.js b/lib/assets/core/test/spec/cartodb3/deep-insights-integration/widgets-integration.spec.js @@ -64,6 +64,11 @@ describe('deep-insights-integrations/widgets-integration', function () {
this.integration._widgetDefinitions... | 2 |
diff --git a/gulpfile.js b/gulpfile.js @@ -943,7 +943,7 @@ function searchDescriptionForUnlinkedReference(description, regularExpression) {
function isSourceValid(source) {
// NOTE: One day this should be changed if they publish further Core books (Galaxy Exploration Manual included for posterity)
- const CoreBooksSour... | 3 |
diff --git a/src/api/nw_window_api.cc b/src/api/nw_window_api.cc @@ -354,8 +354,10 @@ bool NwCurrentWindowInternalClearMenuFunction::RunAsync() {
browser_view_layout->set_menu_bar(NULL);
native_app_window_views->layout_();
native_app_window_views->SchedulePaint();
+ if (window->menu_) {
window->menu_->RemoveKeys();
win... | 1 |
diff --git a/src/server/routes/attachment.js b/src/server/routes/attachment.js @@ -47,21 +47,32 @@ module.exports = function(crowi, app) {
/**
* Common method to response
*
+ * @param {Request} req
* @param {Response} res
* @param {User} user
* @param {Attachment} attachment
* @param {boolean} forceDownload
*/
- async ... | 7 |
diff --git a/assets/js/components/ErrorHandler/index.js b/assets/js/components/ErrorHandler/index.js @@ -25,8 +25,8 @@ import PropTypes from 'prop-types';
* WordPress dependencies
*/
import { Component, createRef } from '@wordpress/element';
-import { Dashicon } from '@wordpress/components';
import { __ } from '@wordpr... | 14 |
diff --git a/articles/connections/enterprise/adfs.md b/articles/connections/enterprise/adfs.md @@ -119,4 +119,8 @@ Yes, running the script is definitely easier.
## Next steps
-After you configure the connection, you have to configure your application to use it. You can initiate login using [Lock](/libraries/lock), [Aut... | 0 |
diff --git a/package.json b/package.json "docker-build-image": "docker build -t js-framework-benchmark-ubuntu -f Dockerfile .",
"docker-start": "cross-env-shell docker run --rm -d -p 8080:8080 --name js-framework-benchmark --volume ${INIT_CWD}:/src --volume js-framework-benchmark:/build js-framework-benchmark-ubuntu",
... | 7 |
diff --git a/vr-ui.js b/vr-ui.js @@ -1276,6 +1276,37 @@ p {
</div>
`;
};
+const _makeMenuString = () => {
+ const w = uiSize;
+ const h = uiSize;
+ return `\
+<style>
+* {
+ box-sizing: border-box;
+}
+.body {
+ display: flex;
+ width: ${w}px;
+ height: ${h}px;
+ background-color: #CCC;
+ font-family: 'Bangers';
+ font... | 0 |
diff --git a/src/lib/blocks.js b/src/lib/blocks.js @@ -126,16 +126,9 @@ export default function (vm) {
};
ScratchBlocks.Blocks.sensing_of_object_menu.init = function () {
- const start = [
+ const json = jsonForMenuBlock('OBJECT', spriteMenu, sensingColors, [
['Stage', '_stage_']
- ];
- if (vm.editingTarget) {
- start.... | 13 |
diff --git a/components/StatementsDiscussion/StatementDiscussion.js b/components/StatementsDiscussion/StatementDiscussion.js @@ -9,6 +9,7 @@ import CommentsOptions from '../Discussion/CommentsOptions'
import { useRouter } from 'next/router'
import StatementNodeWrapper from './StatementNodeWrapper'
import DiscussionComp... | 14 |
diff --git a/ChatImprovements.user.js b/ChatImprovements.user.js // @description New responsive userlist with usernames and total count, more timestamps, use small signatures only, mods with diamonds, message parser (smart links), timestamps on every message, collapse room description and room tags, mobile improvements... | 11 |
diff --git a/platform_services/index.js b/platform_services/index.js @@ -59,13 +59,13 @@ module.exports.handler = (event, context, cb) => {
global.services_table = config.services_table;
global.userId = event.principalId;
- var getAllRecords;
- if(event.query && event.query.limit && event.query.limit == 10){
+ var getA... | 12 |
diff --git a/templates/master/cognito/invite.txt b/templates/master/cognito/invite.txt <p>Welcome to QnABot! Your temporary password is:
<p> {####}
<p>
-<p>When the CloudFormation stack is COMPLETE (in approxmately 30 minutes), use the link below to log in to QnABot Content Designer, set your permanent password, and st... | 2 |
diff --git a/src/plugins/notify.js b/src/plugins/notify.js @@ -149,24 +149,13 @@ function init ({ $q, Vue }) {
})
this.__vm.$mount(node)
- $q.notify = this.create.bind(this)
}
export default {
create (opts) {
- if (isSSR) {
- return
- }
-
- if (this.__vm !== void 0) {
- return this.__vm.add(opts)
+ if (!isSSR) {
+ this... | 1 |
diff --git a/README.md b/README.md @@ -15,8 +15,7 @@ but also from various other fields.
Examples on the web can be seen [here](http://science-to-touch.com/CJS/).
-There is also [an `examples` directory]
-(https://github.com/CindyJS/CindyJS/tree/master/examples)
+There is also [an `examples` directory](https://github.c... | 1 |
diff --git a/src/components/MenuItem.js b/src/components/MenuItem.js @@ -110,7 +110,9 @@ const MenuItem = props => (
</View>
<View style={[styles.flexRow, styles.menuItemTextContainer]}>
{props.badgeText && <Badge text={props.badgeText} badgeStyles={[styles.alignSelfCenter]} />}
- {props.subtitle && (
+
+ {/* Since pro... | 11 |
diff --git a/src/lambda/handler-runner/in-process-runner/InProcessRunner.js b/src/lambda/handler-runner/in-process-runner/InProcessRunner.js @@ -34,8 +34,11 @@ const clearModule = (fP, opts) => {
const cld = require.cache[filePath].children
delete require.cache[filePath]
for (const c of cld) {
- // Unload any non node_... | 0 |
diff --git a/.circleci/config.yml b/.circleci/config.yml @@ -7,14 +7,14 @@ jobs:
- checkout
- restore_cache:
keys:
- - 'v1.0-dependencies-{{ checksum "package.json" }}'
+ - 'v1.0-dependencies-{{ checksum "package-lock.json" }}'
- v1.0-dependencies-
- run: npm install
- run: npm run lint
- save_cache:
paths:
- node_modu... | 3 |
diff --git a/docs/track_types.rst b/docs/track_types.rst @@ -73,11 +73,7 @@ Gene annotations display the locations of genes and their exons and introns.
The tracks displayed on HiGlass show a transcript consisting of the union of
all annotated exons in refseq. There are separate tracks for the different
available speci... | 3 |
diff --git a/docs/API.md b/docs/API.md # API and Configuration
## Available imports
-- `Router`
-- `Scene`
-- `Tabs`
-- `Tabbed Scene`
-- `Drawer`
-- `Modal`
-- `Lightbox`
-- `Actions`
-- `ActionConst`
+- [`Router`](#router)
+- [`Scene`](#scene)
+- [`Tabs`](#tabs-tabs-or-scene-tabs)
+- [`Stack`](#stack)
+- [`Tabbed Sce... | 7 |
diff --git a/app/src/pages/common/settingsPage/ruleList/movableRuleList.jsx b/app/src/pages/common/settingsPage/ruleList/movableRuleList.jsx @@ -61,6 +61,7 @@ export const MovableRuleList = ({ data, onMove, ...rest }) => {
isDraggable
isResizable={false}
onDragStop={updateItemsOrder}
+ onLayoutChange={setLayout}
cols={... | 4 |
diff --git a/app/reducers/channels.js b/app/reducers/channels.js @@ -28,7 +28,7 @@ export const UPDATE_SEARCH_QUERY = 'UPDATE_SEARCH_QUERY'
export const SET_VIEW_TYPE = 'SET_VIEW_TYPE'
export const TOGGLE_PULLDOWN = 'TOGGLE_PULLDOWN'
-export const CHANGE_FILTER = 'CHANGE_FILTER'
+export const CHANGE_CHANNEL_FILTER = 'C... | 1 |
diff --git a/src/reducers/staking/index.js b/src/reducers/staking/index.js @@ -2,6 +2,7 @@ import { handleActions } from 'redux-actions'
import reduceReducers from 'reduce-reducers'
import { updateStaking, switchAccount, ACCOUNT_DEFAULTS } from '../../actions/staking'
+import { selectAccount } from '../../actions/accou... | 9 |
diff --git a/src/@chakra-ui/gatsby-plugin/components/Link.ts b/src/@chakra-ui/gatsby-plugin/components/Link.ts @@ -6,9 +6,10 @@ export const Link: ComponentStyleConfig = {
textDecoration: "underline",
_focus: {
boxShadow: "none",
- outline: "1px solid",
- outlineColor: "primary",
- outlineOffset: "2px",
+ },
+ _focusVi... | 12 |
diff --git a/core/worker/lib/helpers/kubernetes.js b/core/worker/lib/helpers/kubernetes.js @@ -57,16 +57,21 @@ class KubernetesApi extends EventEmitter {
}
}
- async waitForTerminatedState(podName, containerName, timeout = 10000) {
+ async waitForTerminatedState(podName, containerName, timeout = 20000) {
const start = ... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.