code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/app/features/measurements.js b/app/features/measurements.js -let distances = []
+const state = {
+ distances: [],
+ target: null,
+}
export function createMeasurements({$anchor, $target}) {
- const observer = new IntersectionObserver(([anchor, target], observer) => {
- if (!target || !target.boundingClient... | 7 |
diff --git a/notes.md b/notes.md * `F` 2D image import
* `P` bail on decimation if it's proving ineffective
* `P` improve decimation speed by avoiding in/out of Point?
-* `P` server-side processing (determine protocol and storage)
* `P` duplicate objects should share same slice data unless rotated or scaled
# FDM
* `B`... | 3 |
diff --git a/doc/Client-Portal Protocol.md b/doc/Client-Portal Protocol.md @@ -570,7 +570,7 @@ This a format for client reconnects.
object(P2PQuicParametersMessage)::
{
- type: "p2p-quic-parameters",
+ type: "quic-p2p-parameters",
clientTransportParameters: object(P2PQuicClientParametersMessage) | undefined,
serverTran... | 10 |
diff --git a/magda-authorization-api/src/createOpaRouter.ts b/magda-authorization-api/src/createOpaRouter.ts @@ -278,28 +278,28 @@ export default function createOpaRouter(options: OpaRouterOptions): Router {
* > - `input.user`
* > - `input.timestamp`
*
- * @apiSuccess (Success JSON Response Body) {bool} partialEvaluati... | 10 |
diff --git a/modules/mapbox/src/deck-utils.js b/modules/mapbox/src/deck-utils.js @@ -40,6 +40,7 @@ export function getDeckInstance({map, gl, deck}) {
gl,
width: false,
height: false,
+ touchAction: 'unset',
viewState: getViewState(map)
});
deck = new Deck(deckProps);
| 0 |
diff --git a/src/components/Histogram/histogram.js b/src/components/Histogram/histogram.js @@ -230,7 +230,7 @@ class Histogram extends Component {
select(this.tooltipNode)
.style('opacity', 1)
.style('left', `${x + 10}px`)
- .style('top', `${y + 5}px`);
+ .style('top', `${y + 20}px`);
}
renderTooltip() {
| 7 |
diff --git a/scripts/collect_all.js b/scripts/collect_all.js @@ -74,7 +74,7 @@ function collect(tag, fromKeys, threshold) {
if (!n) return;
// 'ncn','rcn','lcn', etc.. these are special and not actual networks - ignore them.
- if (tag === 'network' && /^[nrl][cw]n$/.test(n)) return;
+ if (tag === 'network' && /^[inrl][... | 8 |
diff --git a/src/commands/mention.js b/src/commands/mention.js @@ -102,7 +102,8 @@ async function deleteSubscription (message, profile, feeds, role, user) {
const userID = user ? user.id : undefined
const matchID = roleID || userID
const prefix = profile && profile.prefix ? profile.prefix : config.bot.prefix
- const tr... | 1 |
diff --git a/articles/universal-login/text-customization.md b/articles/universal-login/text-customization.md @@ -18,7 +18,7 @@ Auth0 provides an API that you can use to customize all the text displayed in th
The API is defined with the following structure:
```
-PUT '/api/v2/prompts/PROMPT/custom-texts',
+PUT '/api/v2/p... | 10 |
diff --git a/app/models/carto/user.rb b/app/models/carto/user.rb @@ -786,6 +786,6 @@ class Carto::User < ActiveRecord::Base
date_from = (options[:from] ? options[:from].to_date : last_billing_cycle)
date_to = (options[:to] ? options[:to].to_date : Date.today)
orgwise = options.fetch(:orgwise, true)
- return date_from, ... | 4 |
diff --git a/src/init.js b/src/init.js @@ -5,18 +5,26 @@ import goodWallet from './lib/wallet/GoodWallet'
import userStorage from './lib/gundb/UserStorage'
import Config from './config/config'
declare var amplitude
+
+declare var __insp
+declare var FS
export const init = () => {
- return Promise.all([goodWallet.ready,... | 0 |
diff --git a/src/Tracker.js b/src/Tracker.js @@ -5,7 +5,7 @@ const request = require('request-promise');
const carbonToken = process.env.DISCORD_CARBON_TOKEN;
const botsDiscordPwToken = process.env.DISCORD_BOTS_WEB_TOKEN;
const botsDiscordPwUser = process.env.DISCORD_BOTS_WEB_USER;
-const updateInterval = process.env.T... | 1 |
diff --git a/sirepo/pkcli/service.py b/sirepo/pkcli/service.py @@ -13,8 +13,9 @@ from pykern import pkconfig
from pykern import pkio
from pykern import pkjinja
from pykern import pksubprocess
+from pykern.pkcollections import PKDict
from pykern.pkdebug import pkdc, pkdexc, pkdp, pkdlog
-import errno
+import contextlib
... | 12 |
diff --git a/src/common/mining-pools/pool/pool-management/pool-work/rewards/Payout/Pool-Payouts.js b/src/common/mining-pools/pool/pool-management/pool-work/rewards/Payout/Pool-Payouts.js @@ -199,9 +199,9 @@ class PoolPayouts{
//add rewardConfirmedOther
this.poolData.miners.forEach((miner)=>{
- if ( (miner.__tempRewardC... | 13 |
diff --git a/src/plugin-api.js b/src/plugin-api.js @@ -508,6 +508,14 @@ export default class PluginAPI {
async dockerServiceInfo(serviceName) {
const manager = await this.getManagerSession();
+
+ if (!manager) {
+ const error = new Error('no-manager');
+
+ error.solution = 'Enable swarm in your config and run "mup setu... | 7 |
diff --git a/character-controller.js b/character-controller.js +/*
+character controller is responisible for maintaining player state that is network-replicated.
+*/
+
import * as THREE from 'three';
import {getRenderer, camera, dolly} from './renderer.js';
import physicsManager from './physics-manager.js';
| 0 |
diff --git a/src/framework/components/element/text-element.js b/src/framework/components/element/text-element.js @@ -751,7 +751,8 @@ class TextElement {
const isLineBreak = LINE_BREAK_CHAR.test(char);
if (isLineBreak) {
numBreaksThisLine++;
- if (this._maxLines < 0 || lines < this._maxLines) {
+ // If we are not line w... | 8 |
diff --git a/js/templates/modals/wallet/transaction.html b/js/templates/modals/wallet/transaction.html fiatBtcPairing: `<span class="txB">${priceFrag}</span>`,
});
} else {
+ const fiatBtcPairing = `<span class="txB">${priceFrag}</span>`;
+
+ if (ob.address) {
infoLine = ob.polyT('wallet.transactions.transaction.outgoi... | 9 |
diff --git a/includes/Modules/AdSense.php b/includes/Modules/AdSense.php @@ -441,8 +441,16 @@ tag_partner: "site_kit"
return true;
};
case 'GET:clients':
+ if ( ! isset( $data['accountID'] ) ) {
+ return new WP_Error(
+ 'missing_required_param',
+ /* translators: %s: Missing parameter name */
+ sprintf( __( 'Request pa... | 4 |
diff --git a/.github/VISION.md b/.github/VISION.md @@ -77,5 +77,9 @@ Thanks for your support!
* Finish the implementation for Tooltips; Rectangle utility class (see <a href="https://github.com/neomjs/neo/issues/51">#51</a>)
* Finish the implementation for form.field.Chip (see <a href="https://github.com/neomjs/neo/issu... | 12 |
diff --git a/src/plots/layout_attributes.js b/src/plots/layout_attributes.js @@ -233,14 +233,14 @@ module.exports = {
min: 0,
dflt: 64,
editType: 'plot',
- description: 'TODO'
+ description: 'Minimum width of the plot with automargin applied.'
},
minreducedheight: {
valType: 'number',
min: 0,
dflt: 64,
editType: 'plot'... | 0 |
diff --git a/configs/celo.json b/configs/celo.json "sitemap_urls": [
"https://docs.celo.org/sitemap.xml"
],
- "stop_urls": [],
+ "exclusionPatterns": [
+ "https://docs.celo.org/es/**"
+ ],
"selectors": {
"lvl0": {
"selector": "(//ul[contains(@class,'menu__list')]//a[contains(@class, 'menu__link menu__link--sublist menu... | 8 |
diff --git a/frontend/src/app/components/node/node-summary/node-summary.js b/frontend/src/app/components/node/node-summary/node-summary.js @@ -181,7 +181,7 @@ class NodeSummaryViewModel extends BaseViewModel {
);
this.trust = ko.pureComputed(
- () => trustMapping[node().trusted ? 'TRUSTED' : 'UNTRESTED']
+ () => trustM... | 1 |
diff --git a/accessibility-checker-engine/src/v2/aria/ARIAMapper.ts b/accessibility-checker-engine/src/v2/aria/ARIAMapper.ts @@ -564,15 +564,18 @@ export class ARIAMapper extends CommonMapper {
// to that text alternative.
// Append the result to the accumulated text.
if (elem.nodeName.toUpperCase() === "SLOT") {
- //f... | 3 |
diff --git a/module/modifier-bucket/tooltip-window.js b/module/modifier-bucket/tooltip-window.js @@ -65,7 +65,8 @@ export default class ModifierBucketEditor extends Application {
data.isTooltip = !this.options.popOut
data.gmod = this
data.tabIndex = this.tabIndex
- data.journals = this.journals
+ data.journals = game.d... | 11 |
diff --git a/components/Header.js b/components/Header.js @@ -2,7 +2,7 @@ import React from 'react'
import Head from 'next/head'
-const description = 'OONI Explorer is an open data resource on internet censorship around the world. Consisting of millions of network measurements collected from more than 200 countries sinc... | 7 |
diff --git a/src/utils/order.js b/src/utils/order.js @@ -48,6 +48,10 @@ export function encodeForPrinter(order) {
.codepage(CODEPAGE)
.line(hr)
.align('center')
+ // Set double height text size
+ // @see https://github.com/mike42/escpos-php/blob/dcb569a123d75f9f6a4a927aae7625ca6b7fdcf3/src/Mike42/Escpos/Printer.php#L95... | 12 |
diff --git a/lib/ModuleTemplate.js b/lib/ModuleTemplate.js @@ -126,7 +126,7 @@ class ModuleTemplate {
(options, fn) => {
compilation.hooks.fullHash.tap(options, fn);
},
- "ModuleTemplate.hooks.package is deprecated (use Compilation.hooks.fullHash instead)",
+ "ModuleTemplate.hooks.hash is deprecated (use Compilation.ho... | 1 |
diff --git a/avatars/microphone-worker.js b/avatars/microphone-worker.js class MicrophoneWorker extends EventTarget {
- constructor(mediaStream, options = {}) {
+ constructor(o, options = {}) {
super();
this.live = true;
+ if (o instanceof MediaStream) {
const audio = document.createElement('audio');
- audio.srcObject ... | 0 |
diff --git a/config/sidebar.yml b/config/sidebar.yml @@ -330,6 +330,45 @@ articles:
- title: "Professional Services"
url: "/services"
+ children:
+ - title: "Overview"
+ url: "/services"
+
+ - title: "Architectural Design Sessions"
+ url: "/services/architectural-design"
+
+ - title: "Performance and Scalability"
+ url... | 0 |
diff --git a/src/collections/landscape/tools-data.js b/src/collections/landscape/tools-data.js @@ -113,7 +113,7 @@ export const tools_data = [
},
{
tool: "Nighthawk",
- link: "https://github.com/layer5io/nighthawk",
+ link: "https://github.com/layer5io/getnighthawk",
language: "C++",
written_for: "L7 (HTTP/HTTPS/HTTP2)... | 1 |
diff --git a/CHANGES.md b/CHANGES.md @@ -3,7 +3,7 @@ Change Log
### 1.40 - 2017-12-01
-* Added a reverse geocoder to the Custom Geocoder in Sandcastle, as well as a Reverse Geocoder based on the Bing Maps API as a separate demo. [#5976](https://github.com/AnalyticalGraphicsInc/cesium/pull/5976)
+* Added a Reverse Geoco... | 3 |
diff --git a/content/troubleshooting/common-issues.md b/content/troubleshooting/common-issues.md @@ -20,7 +20,7 @@ When building for iOS, the build gets stuck after showing `Xcode build done` in
Running Xcode build...
Xcode build done. 203.6s
-**Flutter**: 1.7.8+hotfix.3, 1.7.8+hotfix.4
+**Flutter**: 1.7.8+hotfix.3, 1.... | 3 |
diff --git a/app-manager.js b/app-manager.js @@ -237,14 +237,14 @@ class AppManager extends EventTarget {
if (!live) return _bailout(null);
const app = metaversefile.createApp({
name: contentId,
- type: (() => {
+ /* type: (() => {
const match = contentId.match(/\.([a-z0-9]+)$/i);
if (match) {
return match[1];
} else {... | 2 |
diff --git a/README.md b/README.md # Webaverse client app
Uses NodeJS, with vite.js on the backend, serving up index.js and index.html and other types of imports to the end-client. We also have [Totum](https://github.com/webaverse/Totum/) which accepts requests to decode or load various types of files and represent it ... | 0 |
diff --git a/src/libs/actions/Policy.js b/src/libs/actions/Policy.js @@ -279,7 +279,7 @@ function invite(logins, welcomeNote, policyID) {
}
/**
- * Uploads the image of Avatar to S3 bucket and sets the url locally
+ * Uploads the avatar image to S3 bucket and sets the url locally
*
* @param {String} policyID
* @param {... | 7 |
diff --git a/src/readonly.js b/src/readonly.js @@ -4,7 +4,7 @@ import dotProp from 'dot-prop';
const readOnly = {
connections: [
'provisioning_ticket_url',
- 'realms'
+ 'realms',
],
tenant: [
'sandbox_versions_available',
@@ -16,7 +16,8 @@ const readOnly = {
'signing_keys',
'global',
'tenant',
- 'custom_login_page_prev... | 8 |
diff --git a/src/generators/textStyle.js b/src/generators/textStyle.js @@ -3,17 +3,24 @@ import defineClasses from '../util/defineClasses'
export default function() {
return defineClasses({
'italic': { 'font-style': 'italic' },
- 'normal': { 'font-style': 'normal' },
+ 'not-italic': { 'font-style': 'normal' },
+
'upper... | 4 |
diff --git a/aura-components/src/main/components/ui/listSorter/listSorterHelper.js b/aura-components/src/main/components/ui/listSorter/listSorterHelper.js handleOnOpen : function(cmp, force) {
var items = cmp.get('v.items');
- //changed to OR !force to make sure component is rendered before doing
- //dom calculations, ... | 13 |
diff --git a/src/components/mdx/youtube.js b/src/components/mdx/youtube.js @@ -13,7 +13,7 @@ export default props => {
<iframe
className="AspectRatio--content"
src={`https://www.youtube.com/embed/${props.id}`}
- title={`YouTube video with ID ${props.id}`} /* TODO: do better here */
+ title={props.title || `YouTube vide... | 11 |
diff --git a/package.json b/package.json "README.md"
],
"peerDependencies": {
- "apollo-client": "^0.4.21 || ^0.5.1 || ^0.6.0",
+ "apollo-client": "^0.6.0",
"react": "0.14.x || 15.* || ^15.0.0",
"react-dom": "0.14.x || 15.* || ^15.0.0",
"redux": "^2.0.0 || ^3.0.0"
| 11 |
diff --git a/app/views/stats/project_slideshow.html.haml b/app/views/stats/project_slideshow.html.haml UMBRELLA_SUB_PROJECTS = #{ @sub_projects.to_json };
ALL_SUB_PROJECTS = #{ @all_sub_projects.to_json };
LOGO_PATHS = #{ @logo_paths.to_json };
+ TILESERVER = "#{ CONFIG.tile_servers.elasticsearch }";
#app
- content_for... | 1 |
diff --git a/assets/js/components/PostSearcher.js b/assets/js/components/PostSearcher.js @@ -49,11 +49,9 @@ function PostSearcher() {
if ( match && match.ID ) {
const {
- ID: id,
permalink: permaLink,
} = match;
- args.id = id;
args.permaLink = permaLink;
}
| 2 |
diff --git a/lib/cartodb/central.rb b/lib/cartodb/central.rb @@ -4,8 +4,8 @@ module Cartodb
class Central
def self.sync_data_with_cartodb_central?
- Cartodb.get_config(:cartodb_central_api, 'username').present? &&
- Cartodb.get_config(:cartodb_central_api, 'password').present?
+ Cartodb.get_config(:message_broker, 'pro... | 14 |
diff --git a/docs/source/examples/alerts.blade.md b/docs/source/examples/alerts.blade.md @@ -5,11 +5,11 @@ title: "Alerts"
# Alerts
-We don't ship alert components because every app has it's own visual style, and they are so easy to build out of utilities.
+We don't ship alert components because every app has it's own ... | 10 |
diff --git a/src/workingtitle-vcockpits-instruments-cj4/html_ui/Pages/VCockpit/Instruments/Airliners/CJ4/Shared/Autopilot/WT_VnavAutopilot.js b/src/workingtitle-vcockpits-instruments-cj4/html_ui/Pages/VCockpit/Instruments/Airliners/CJ4/Shared/Autopilot/WT_VnavAutopilot.js @@ -96,6 +96,10 @@ class WT_VerticalAutopilot {... | 9 |
diff --git a/src/views/dashboard/components/inboxThread/header/timestamp.js b/src/views/dashboard/components/inboxThread/header/timestamp.js @@ -35,7 +35,7 @@ class ThreadTimestamp extends React.Component<Props> {
if (
!isAuthor &&
!thread.currentUserLastSeen &&
- !createdWithinLastDay &&
+ createdWithinLastDay &&
!act... | 1 |
diff --git a/src/mapping.js b/src/mapping.js import { Ok } from 'lemons';
-import { makeErr } from './error';
+import DecodeError, { isDecodeError, makeErr } from './error';
import { pojo } from './object';
import type { Decoder } from './types';
import { compose } from './utils';
@@ -18,17 +18,35 @@ import { compose }... | 7 |
diff --git a/src/commands/test/run/manifest.ts b/src/commands/test/run/manifest.ts @@ -59,7 +59,7 @@ export default class RunManifestTestsCommand extends RunTestsCommand {
});
if (!xmlUtil) {
- throw new Error("Arficats folder doesn't contain an archive with test results");
+ throw new Error("\"test-output-dir\" doesn'... | 1 |
diff --git a/src/providers/queries/notificationQueries.ts b/src/providers/queries/notificationQueries.ts @@ -52,7 +52,13 @@ export const useNotificationsQuery = (filter: NotificationFilters) => {
};
const _fetchNextPage = () => {
- const lastId = _getNextPageParam(notificationQueries.lastItem.data);
+ const lastPage = ... | 8 |
diff --git a/assets/js/modules/analytics/dashboard/dashboard-widget-popular-pages-table.js b/assets/js/modules/analytics/dashboard/dashboard-widget-popular-pages-table.js @@ -57,6 +57,7 @@ class AnalyticsDashboardWidgetPopularPagesTable extends Component {
render() {
const { data } = this.props;
+ const { siteURL: site... | 3 |
diff --git a/app/models/synchronization/adapter.rb b/app/models/synchronization/adapter.rb @@ -37,7 +37,7 @@ module CartoDB
overwrite(table_name, result)
setup_table(table_name, geo_type)
run_index_statements(index_statements)
- recreate_overviews(result)
+ recreate_overviews(table_name)
end
self
rescue => exception
@@... | 1 |
diff --git a/renderer/reducers/transaction.js b/renderer/reducers/transaction.js @@ -57,6 +57,7 @@ const decorateTransaction = transaction => {
const decoration = {
type: 'transaction',
isReceived,
+ isSent,
isToSelf,
}
return {
@@ -110,7 +111,10 @@ export const fetchTransactions = updateOnly => async dispatch => {
* (... | 1 |
diff --git a/src/Components/Navigation/NavChild.js b/src/Components/Navigation/NavChild.js @@ -104,14 +104,10 @@ const Dropdown = Scrivito.connect(
);
function isActive(page) {
- if (!Scrivito.currentPage()) return false;
+ const currentPage = Scrivito.currentPage();
+ if (!currentPage) return false;
- const currentPat... | 4 |
diff --git a/package.json b/package.json "types": "./types/index.d.ts",
"scripts": {
"test": "make lint test",
- "prepublishOnly": "make build",
- "postinstall": "node scripts/support-fetch-mock.js"
+ "prepublishOnly": "make build"
+ },
+ "funding": {
+ "type": "charity",
+ "url": "https://www.justgiving.com/refugee-su... | 4 |
diff --git a/lib/webdav.js b/lib/webdav.js @@ -148,13 +148,24 @@ function deployCodeCLI(instance, archive, sync) {
}
}
+ // by default we do not ignore local file paths for code upload
+ // this will acknowledge any dirs and sub dirs and will retain them
+ // when deploying code onto the server (e.g. it will create tho... | 8 |
diff --git a/src/_data/community/global-data-tannerdolby.js b/src/_data/community/global-data-tannerdolby.js @@ -2,5 +2,5 @@ module.exports = {
url: "https://tannerdolby.com/writing/generate-page-content-from-a-global-data-file-using-eleventy/",
author: "tannerdolby",
title: "Generate Page Content from a Global Data Fi... | 4 |
diff --git a/activity/views.py b/activity/views.py @@ -727,7 +727,7 @@ def update_user_access(request, pk, status):
if user_grp is None:
activity_user = ActivityUser.objects.get(pk=int(pk))
group = Group.objects.filter(name='Editor').first()
- ActivityUserOrganizationGroup.objects.create(
+ user_grp = ActivityUserOrgan... | 1 |
diff --git a/login.js b/login.js @@ -54,7 +54,7 @@ async function pullUserObject() {
}),
});
const response = await res.json();
- const name = response.encodedData.value[0].value;
+ const name = response.encodedData.value[0].value || 'Anonymous';
const avatarHash = response.encodedData.value[1].value;
userObject = {
na... | 0 |
diff --git a/packages/material-ui-shell/src/containers/Menu/Menu.js b/packages/material-ui-shell/src/containers/Menu/Menu.js @@ -54,15 +54,15 @@ const Menu = (props) => {
return (
<ResponsiveMenu>
{/*James- this seems redundant with the div below, check later */}
- <div style={{direction: isRTL ? 'rtl' : 'ltr'}}>
+ {/*... | 2 |
diff --git a/package.json b/package.json "build": "npm run build:babel && cp ./package.json ./dist/package.json",
"build:babel": "NODE_ENV=production babel ./src --out-dir=./dist",
"build:app": "react-scripts build",
- "dist": "npm run build && cd dist && npm publish",
+ "release": "npm run build && cd dist && npm publ... | 10 |
diff --git a/src/client/js/components/PageComment/CommentEditor.jsx b/src/client/js/components/PageComment/CommentEditor.jsx @@ -253,12 +253,12 @@ class CommentEditor extends React.Component {
<div className="comment-write">
<Nav tabs>
<NavItem>
- <NavLink className={activeTab === 1 ? 'active' : ''} onClick={() => this... | 12 |
diff --git a/bin/publish b/bin/publish @@ -15,11 +15,15 @@ function publish() {
popd > /dev/null
}
+if [[ -n "$1" ]]; then
+ package="$1"
+else
ls -1 packages
echo ''
read -p 'Which package would you like to publish? ' package
+fi
package_dir="packages/$package"
if [[ ! -d "$package_dir" ]]; then
@@ -27,6 +31,9 @@ if [... | 11 |
diff --git a/packages/react/src/playground/fixtures/sideNavFixtures.js b/packages/react/src/playground/fixtures/sideNavFixtures.js @@ -93,6 +93,20 @@ export const modules = [
groupId: "4",
icon: "project-management",
title: "Project Admin"
+ },
+ {
+ id: "1-17",
+ groupId: "5",
+ icon: "help",
+ title: "Knowledge Base"... | 12 |
diff --git a/src/make/cards.js b/src/make/cards.js @@ -391,7 +391,7 @@ function doCard(rawCard, cards, code, set) {
&& rawCard.number.indexOf('b') > -1)
return
- if (rawCard.layout === 'split')
+ if (rawCard.layout === 'split' || rawCard.layout === 'aftermath')
name = rawCard.names.join(' // ')
name = _.ascii(name)
| 9 |
diff --git a/tasks/gulp/generate-readme.js b/tasks/gulp/generate-readme.js const configPath = require('../../config/paths.json')
const gulp = require('gulp')
-const nunjucksRender = require('gulp-nunjucks-render')
const rename = require('gulp-rename')
const data = require('gulp-data')
const vinylPaths = require('vinyl-... | 14 |
diff --git a/lighthouse-cli/chrome-finder.ts b/lighthouse-cli/chrome-finder.ts @@ -106,6 +106,7 @@ export function linux() {
'google-chrome',
];
executables.forEach((executable: string) => {
+ try {
const chromePath = execFileSync('which', [executable])
.toString()
.split(newLineRegex)[0];
@@ -113,6 +114,9 @@ export fu... | 8 |
diff --git a/CHANGELOG.md b/CHANGELOG.md ## Recurly.js CHANGELOG
-### Version 4.8.1 (Jan 5,2018)
+### Version 4.8.1 (Jan 16,2018)
-* Adds support for tabbing between hosted fields on mobile devices [#396][396]
+* Adds support for setting PayPal logo in Express Checkout flow [#418][418]
### Version 4.8.0 (Nov 28, 2017)
... | 3 |
diff --git a/bin/util.js b/bin/util.js @@ -137,14 +137,14 @@ exports.schemaFormat = function(schema) {
};
/**
- * Wrap with quotations in the value is a string.
+ * Wrap with quotations if the value is a string.
* @param value
* @returns {*}
*/
exports.smart = function(value) {
if (typeof value === 'string') return "'"... | 7 |
diff --git a/README.md b/README.md @@ -1584,7 +1584,6 @@ binance.withdraw("BTC", "1C5gqLRs96Xq4V2ZZAR1347yUCpHie7sa", 0.2);
[newOrderRespType example](https://github.com/jaggedsoft/node-binance-api/blob/master/examples/advanced.md#neworderresptype-example-when-placing-orders)\
[Recent Trades (historicalTrades, recentTr... | 1 |
diff --git a/src/styles/interactive-video.css b/src/styles/interactive-video.css .h5p-interactive-video .h5p-table {
font-size: 0.875em;
border-collapse: collapse;
+ width: max-content;
}
.h5p-interactive-video .h5p-table th {
border-bottom: 2px solid #191919;
| 2 |
diff --git a/includes/Modules/Search_Console/Settings.php b/includes/Modules/Search_Console/Settings.php @@ -23,6 +23,25 @@ class Settings extends Module_Settings {
const OPTION = 'googlesitekit_search-console_settings';
+ /**
+ * Registers the setting in WordPress.
+ *
+ * @since n.e.x.t
+ */
+ public function registe... | 14 |
diff --git a/app/components/Wallet/ImportKeys.jsx b/app/components/Wallet/ImportKeys.jsx @@ -20,6 +20,8 @@ import {Notification} from "bitshares-ui-style-guide";
import GenesisFilter from "chain/GenesisFilter";
+import {Button, Input} from "bitshares-ui-style-guide";
+
require("./ImportKeys.scss");
let import_keys_asse... | 14 |
diff --git a/docs/example-react-router.mdx b/docs/example-react-router.mdx @@ -169,7 +169,7 @@ In React Router v5, you need to pass the history object as a whole to the Route
test('full app rendering/navigating', () => {
const history = createMemoryHistory()
render(
- <Router history={history} />
+ <Router history={his... | 1 |
diff --git a/lib/slack/renderer/deployment-status.js b/lib/slack/renderer/deployment-status.js @@ -27,25 +27,31 @@ class DeploymentStatus extends Message {
}
getCore() {
+ let center = `${this.shortSha}`;
+ let centerWithLink = `<${this.commitLink}|\`${this.shortSha}\`>`;
+ if (this.deployment.environment) {
+ center +... | 7 |
diff --git a/src/application/Component.mjs b/src/application/Component.mjs @@ -488,6 +488,58 @@ export default class Component extends Element {
return Component.getComponent(element.parent);
}
+ toJSON() {
+ let ref = [`${this.constructor.name}`];
+ const tree = {[ref]: {}};
+
+ if (this.hasChildren()) {
+ Component.c... | 0 |
diff --git a/src/connection.js b/src/connection.js 'use strict'
let Connection = function(props, options) {
- this.from
- this.to
- this.weight = Math.random()
- this.forward = {
+ let self = this
+
+ self.from = props ? (props.from || undefined) : undefined
+ self.to = props ? (props.to || undefined) : undefined
+ sel... | 7 |
diff --git a/src/components/topic/words/InfluentialWordsContainer.js b/src/components/topic/words/InfluentialWordsContainer.js @@ -22,8 +22,8 @@ const localMessages = {
class InfluentialWordsContainer extends React.Component {
componentWillReceiveProps(nextProps) {
- const { fetchData, filters } = this.props;
- if (nex... | 9 |
diff --git a/app/addons/documents/routes-doc-editor.js b/app/addons/documents/routes-doc-editor.js @@ -41,8 +41,8 @@ const DocEditorRouteObject = FauxtonAPI.RouteObject.extend({
'database/:database/_design/:ddoc': 'showDesignDoc',
'database/:database/_local/:doc': 'showLocalDoc',
'database/:database/:doc': 'codeEditor'... | 1 |
diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md @@ -16,7 +16,7 @@ The objective of these tests is to know automatically what works and what doesn'
In order to add an external test now you only need to create a file in [test/externalTests](test/externalTests)
-An example : [test/externalTests/digAndBuild.js](te... | 1 |
diff --git a/docs/documentation/plugins/index.html b/docs/documentation/plugins/index.html @@ -764,19 +764,27 @@ $('#my-editor').trumbowyg({
<script src="node_modules/trumbowyg/dist/plugins/template/trumbowyg.template.min.js"></script>
</code></pre>
<p>
- Then you can use the new button definition <code>template<... | 7 |
diff --git a/src/components/views/CommInternal/core.js b/src/components/views/CommInternal/core.js @@ -113,7 +113,8 @@ class InternalCommCore extends Component {
style={{
background: "lightgray",
height: "16px",
- padding: "0 5px"
+ padding: "0 5px",
+ color: "black"
}}
>
{internalComm.outgoing}
| 7 |
diff --git a/server/libs/aws/batch.js b/server/libs/aws/batch.js @@ -265,13 +265,13 @@ export default aws => {
analysisLevels,
parallelSubmit,
singleSubmit,
- (err, batchJobIds) => {
+ (err, submitLevelIds) => {
if (err) {
return callback(err)
} else {
- // When all jobs are submitted, update job state with the last se... | 1 |
diff --git a/src/core/lib/FileSignatures.mjs b/src/core/lib/FileSignatures.mjs @@ -736,7 +736,7 @@ export const FILE_SIGNATURES = {
10: 0x56,
11: 0x45
},
- extractor: null
+ extractor: extractWAV
},
{
name: "OGG audio",
@@ -2642,6 +2642,22 @@ export function extractBMP(bytes, offset) {
return stream.carve();
}
+/**
+ *... | 0 |
diff --git a/generators/client/templates/angular/src/main/webapp/app/admin/admin-routing.module.ts.ejs b/generators/client/templates/angular/src/main/webapp/app/admin/admin-routing.module.ts.ejs -%>
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
-import { <%=angularXAppName%>S... | 2 |
diff --git a/test/image/mocks/z-new_tickmode_sync.json b/test/image/mocks/z-new_tickmode_sync.json "width": 700,
"showlegend": false,
"xaxis": {
+ "showgrid": true,
"ticklen": 10,
"tickwidth": 3,
"ticklabelmode": "period"
| 0 |
diff --git a/components/hero.js b/components/hero.js import PropTypes from 'prop-types'
import dynamic from 'next/dynamic'
-import {Download, Edit3, Database} from 'react-feather'
+import {Download, MapPin, Database} from 'react-feather'
import theme from '@/styles/theme'
@@ -33,7 +33,7 @@ function Hero({title, tagline... | 14 |
diff --git a/lib/cartodb/models/dataview/date-histogram.js b/lib/cartodb/models/dataview/date-histogram.js @@ -218,7 +218,7 @@ module.exports = class DateHistogram extends BaseDataview {
return this._columnType === 'date' && (this.aggregation !== undefined || override.aggregation !== undefined);
}
- _buildDateHistogram... | 10 |
diff --git a/packages/material-ui-shell/src/components/MenuHeader/MenuHeader.js b/packages/material-ui-shell/src/components/MenuHeader/MenuHeader.js @@ -112,8 +112,9 @@ const MenuHeader = () => {
<BrightnessHighIcon classes={{ root: classes.icon }} />
)}
</IconButton>
- {isDesktop && useMiniMode && (
+ {isDesktop && (
... | 1 |
diff --git a/packages/app/src/server/routes/apiv3/in-app-notification.ts b/packages/app/src/server/routes/apiv3/in-app-notification.ts @@ -30,7 +30,7 @@ module.exports = (crowi) => {
};
// set in-app-notification status to categorize
- if (req.query.status) {
+ if (req.query.status != null) {
Object.assign(queryOptions... | 7 |
diff --git a/src/web/App.js b/src/web/App.js @@ -124,14 +124,14 @@ App.prototype.bake = async function(step) {
this.handleError(err);
}
+ this.setBakingStatus(false);
+
if (!response) return;
if (response.error) {
this.handleError(response.error);
}
- this.setBakingStatus(false);
-
this.options = response.options;
this... | 1 |
diff --git a/public/angular/js/config.js b/public/angular/js/config.js angular.module('Aggie')
-.value('mediaOptions', ['twitter', 'facebook', 'rss', 'elmo', 'smsgh', 'whatsapp', 'crowdtangle'])
+.value('mediaOptions', ['twitter', 'rss', 'elmo', 'smsgh', 'whatsapp', 'crowdtangle'])
-.value('apiSettingsOptions', ['twitt... | 14 |
diff --git a/assets/js/modules/analytics/common/account-create.js b/assets/js/modules/analytics/common/account-create.js @@ -74,9 +74,11 @@ const AccountCreate = () => {
} );
} );
+ const url = new URL( siteURL );
+
const [ isSubmitting, setIsSubmitting ] = useState( false );
const [ accountName, setAccountName ] = use... | 4 |
diff --git a/helpers/10015-tools.json b/helpers/10015-tools.json "desc": "10015 Tools is an all-in-one toolbox offering web tools from different categories including text, image, CSS, code, color, social media tools and so on.",
"url": "https://10015.io",
"tags": [
- "Tool Collection"
+ "Tool Collections"
],
"maintaine... | 10 |
diff --git a/src/style/apply.js b/src/style/apply.js @@ -277,7 +277,7 @@ styfn.updateStyleHints = function(ele){
// - raise up small numbers so more significant digits are seen by hashing
// - make small numbers larger than a normal value to avoid collisions
// - works in practice and it's relatively cheap
- let N = 21... | 4 |
diff --git a/README.md b/README.md @@ -437,7 +437,7 @@ Then the route uses the connection pool in the `app.locals` object:
const sql = require('mssql');
module.exports = function(req, res) {
- req.locals.db.query('SELECT TOP 10 * FROM table_name', function(err, recordset) {
+ req.app.locals.db.query('SELECT TOP 10 * FR... | 1 |
diff --git a/src/components/_classes/component/Component.js b/src/components/_classes/component/Component.js @@ -1649,7 +1649,8 @@ export default class Component extends Element {
toolbar: ['imageTextAlternative', '|', 'imageStyle:full', 'imageStyle:alignLeft', 'imageStyle:alignCenter', 'imageStyle:alignRight'],
styles... | 11 |
diff --git a/protocols/types/README.md b/protocols/types/README.md | wallet | `address` | Wallet address of the party |
| token | `address` | Contract address of the token |
| param | `uint256` | Value (ERC-20) or ID (ERC-721) |
+| kind | `bytes4` | Interface ID of the token |
### Order Struct
| 3 |
diff --git a/content/intro-to-storybook/react/en/screen.md b/content/intro-to-storybook/react/en/screen.md @@ -321,7 +321,7 @@ const Mockstore = configureStore({
export default {
component: PureInboxScreen,
- decorators: [story => <Provider store={store}>{Mockstore()}</Provider>],
+ decorators: [story => <Provider stor... | 3 |
diff --git a/lib/assets/core/javascripts/cartodb3/editor/widgets/widgets-form/schema/widgets-form-time-series-schema-model.js b/lib/assets/core/javascripts/cartodb3/editor/widgets/widgets-form/schema/widgets-form-time-series-schema-model.js @@ -36,7 +36,6 @@ var AGGREGATION_OPTIONS = [
module.exports = WidgetsFormBaseS... | 2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.