code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/lib/node_modules/@stdlib/_tools/scripts/publish_packages.js b/lib/node_modules/@stdlib/_tools/scripts/publish_packages.js @@ -652,6 +652,10 @@ function publish( pkg, clbk ) {
pkgJSON.homepage = 'https://stdlib.io';
pkgJSON.repository.url = 'git://github.com/stdlib-js/'+distPkg+'.git';
+ // Ensure `npm inst... | 12 |
diff --git a/articles/compliance/gdpr/features-aiding-compliance.md b/articles/compliance/gdpr/features-aiding-compliance.md @@ -31,9 +31,10 @@ See [signUpTerms](https://github.com/auth0/lock/blob/master/src/i18n/en.js) for
You can:
-* [Delete the end user from Auth0 using the Management API](/api/management/v2#!/Users... | 0 |
diff --git a/app/components/DepositWithdraw/gdex/GdexGateway.jsx b/app/components/DepositWithdraw/gdex/GdexGateway.jsx @@ -9,8 +9,8 @@ import SettingsActions from "actions/SettingsActions";
import GdexCache from "../../../lib/common/GdexCache";
import GdexHistory from "./GdexHistory";
import GdexAgreementModal from "./... | 14 |
diff --git a/modules/geo-layers/src/tile-3d-layer/tile-3d-layer.js b/modules/geo-layers/src/tile-3d-layer/tile-3d-layer.js @@ -231,8 +231,8 @@ export default class Tile3DLayer extends CompositeLayer {
coordinateSystem: COORDINATE_SYSTEM.METER_OFFSETS,
coordinateOrigin: cartographicOrigin,
modelMatrix,
-
- getColor: con... | 0 |
diff --git a/src/server/service/bolt.js b/src/server/service/bolt.js @@ -217,10 +217,10 @@ class BoltService {
};
}
- async showEphemeralSearchResults(command, args, offset) {
+ async showEphemeralSearchResults(command, args, offsetNum) {
const {
resultPaths, offset, keywords,
- } = await this.getSearchResultPaths(comm... | 10 |
diff --git a/dashboard/apps/configuration.fma/index.html b/dashboard/apps/configuration.fma/index.html <option value="handibot">Handibot 1 (Developer Edition)</option>
<option value="handibot2">Handibot 2 (Adventure Edition)</option>
<option value="handibot-lst">Handibot Long Sheet Tool</option>
+ <option value="dt">De... | 0 |
diff --git a/src/commands/filters.js b/src/commands/filters.js @@ -9,6 +9,9 @@ const Translator = require('../structs/Translator.js')
const GuildProfile = require('../structs/db/GuildProfile.js')
const Feed = require('../structs/db/Feed.js')
const FailCounter = require('../structs/db/FailCounter.js')
+const Format = re... | 1 |
diff --git a/articles/tokens/jwt.md b/articles/tokens/jwt.md @@ -128,6 +128,12 @@ The following diagram shows this process:

+## How to implement JWT
+
+The safest way to implement JWT-based authentication, is to use one of the existing open source libra... | 0 |
diff --git a/articles/libraries/auth0js/v9/migration-react.md b/articles/libraries/auth0js/v9/migration-react.md section: libraries
title: Migrating React Applications to Auth0.js v9
description: How to migrate React applications to Auth0.js v9
-toc: true
---
-
# Migrating React Applications to Auth0.js v9
React applic... | 1 |
diff --git a/generators/client/templates/react/src/main/webapp/app/modules/administration/metrics/metrics.tsx.ejs b/generators/client/templates/react/src/main/webapp/app/modules/administration/metrics/metrics.tsx.ejs @@ -513,7 +513,7 @@ export class MetricsPage extends React.Component<any, IMetricsPageState> {
</Row>
:... | 2 |
diff --git a/CHANGELOG.md b/CHANGELOG.md @@ -9,6 +9,30 @@ To see all merged commits on the master branch that will be part of the next plo
where X.Y.Z is the semver of most recent plotly.js release.
+## [1.56.0] -- 2020-09-30
+
+### Added
+ - Introduce period positioning attributes on date axes in various cartesian tra... | 0 |
diff --git a/assets/js/components/EntityHeader.js b/assets/js/components/EntityHeader.js @@ -39,7 +39,6 @@ import { CORE_SITE } from '../googlesitekit/datastore/site/constants';
import BackspaceIcon from '../../svg/keyboard-backspace.svg';
import { CORE_LOCATION } from '../googlesitekit/datastore/location/constants';
i... | 2 |
diff --git a/src/views/directMessages/containers/newThread.js b/src/views/directMessages/containers/newThread.js @@ -173,6 +173,9 @@ class NewThread extends Component {
};
handleKeyPress = (e: any) => {
+ // if the thread slider is open, we shouldn't be doing anything in DMs
+ if (this.props.threadSliderIsOpen) return;... | 8 |
diff --git a/stories/index.tsx b/stories/index.tsx @@ -484,16 +484,31 @@ storiesOf('Griddle main', module)
.add('with extra re-render', () => {
let data = fakeData;
- class customComponent extends React.PureComponent<any, any> {
+ class customComponent extends React.Component<any, any> {
+ state = {
+ timesRendered: 1,... | 3 |
diff --git a/src/userscript.ts b/src/userscript.ts @@ -99318,6 +99318,9 @@ var $$IMU_EXPORT$$;
// https://upload.wikimedia.org/wikipedia/commons/8/83/Bundesarchiv_-_Wikimedia_Deutschland_-_Pressekonferenz_%285999%29.jpg
// https://upload.wikimedia.org/wikipedia/commons/thumb/archive/a/a0/20131028161436%21Pumpkipedia-47... | 7 |
diff --git a/layouts/partials/helpers/section-header.html b/layouts/partials/helpers/section-header.html {{- $align := .params.title_align | default "center" -}}
{{- with .params.title }}
<div class="row mx-0">
- <div class="col
+ <div class="col px-0
{{- printf " text-%s" $align -}}
{{- partial "helpers/text-color.htm... | 2 |
diff --git a/src/data-structures/tree/red-black-tree/__test__/RedBlackTree.test.js b/src/data-structures/tree/red-black-tree/__test__/RedBlackTree.test.js @@ -285,4 +285,30 @@ describe('RedBlackTree', () => {
expect(tree.isNodeRed(node3)).toBeTruthy();
expect(tree.isNodeRed(node6)).toBeTruthy();
});
+
+ it('should do l... | 7 |
diff --git a/static/parse-hosting/index.html b/static/parse-hosting/index.html As you all know Facebook's Parse developer platform has been shut down as mentioned on <a href="https://techcrunch.com/2017/01/30/facebooks-parse-developer-platform-is-shutting-down-today/" target="_blank">Techcrunch</a>.
</p>
<p>
- We want ... | 14 |
diff --git a/assets/js/modules/analytics/components/module/ModuleAcquisitionChannelsWidget/index.js b/assets/js/modules/analytics/components/module/ModuleAcquisitionChannelsWidget/index.js @@ -56,7 +56,6 @@ export default function ModuleAcquisitionChannelsWidget( { Widget, WidgetReportZ
const reportDateRange = select( ... | 2 |
diff --git a/app/commands/central_user_commands.rb b/app/commands/central_user_commands.rb @@ -14,7 +14,12 @@ class CentralUserCommands
def update_user(message)
payload = message.payload
Carto::Common::CurrentRequest.with_request_id(message.request_id) do
- logger.info(message: 'Processing :update_user', class_name: se... | 7 |
diff --git a/test/nodes/core/function/89-trigger_spec.js b/test/nodes/core/function/89-trigger_spec.js @@ -645,30 +645,39 @@ describe('trigger node', function() {
});
it('should be able to reset correctly having not output anything on second edge', function(done) {
- var flow = [{"id":"n1", "type":"trigger", "name":"tr... | 7 |
diff --git a/server/game/drawcard.js b/server/game/drawcard.js @@ -24,6 +24,8 @@ class DrawCard extends BaseCard {
this.contributesToFavor = true;
this.bowed = false;
this.inConflict = false;
+ this.isConflict = false;
+ this.isDynasty = false;
this.readysDuringReadying = true;
this.challengeOptions = {
doesNotBowAs: {... | 12 |
diff --git a/generators/entity-client/templates/react/src/main/webapp/app/entities/react_validators.ejs b/generators/entity-client/templates/react/src/main/webapp/app/entities/react_validators.ejs @@ -47,12 +47,12 @@ if (field.fieldValidate === true) {
if (['Integer', 'Long', 'Float', 'Double', 'BigDecimal'].includes(f... | 2 |
diff --git a/packages/insomnia-app/app/network/o-auth-2/misc.js b/packages/insomnia-app/app/network/o-auth-2/misc.js @@ -45,25 +45,25 @@ export function authorizeUserInWindow(
return new Promise((resolve, reject) => {
let finalUrl = null;
- function _parseUrl(currentUrl) {
+ function _parseUrl(currentUrl, source) {
if ... | 9 |
diff --git a/src/agent/index.js b/src/agent/index.js @@ -163,6 +163,7 @@ const commandHandlers = {
'T-': traceLogClear,
'T*': traceLog,
'dtS': stalkTraceEverything,
+ 'dtS?': stalkTraceEverythingHelp,
'dtSj': stalkTraceEverythingJson,
'dtS*': stalkTraceEverythingR2,
'dtSf': stalkTraceFunction,
@@ -2596,12 +2597,19 @@ f... | 9 |
diff --git a/src/state/state.js b/src/state/state.js @@ -520,7 +520,7 @@ var state = {
},
/**
- * enable/disable transition for a specific state (by default enabled for all)
+ * enable/disable the transition to a particular state (by default enabled for all)
* @name setTransition
* @memberof state
* @public
| 7 |
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml "name": "github-pages",
"url": "${{ steps.deployment.outputs.page_url }}"
},
+ "if": "(github.repository == 'danvk/dygraphs') || (github.repository == 'mirabilos/dygraphs')",
"runs-on": "ubuntu-latest",
"steps": [
{
"on": {
"push": {
"branches": [
-... | 6 |
diff --git a/README.md b/README.md @@ -12,7 +12,7 @@ Non-Goals
This project is bound by a [Code of Conduct][COC].
-Join us on [#engine262 on freenode][irc] ([web][irc-webchat]).
+Join us in `#engine262:matrix.org`.
## Why this exists
@@ -155,8 +155,6 @@ included here for reference, though engine262 is not based on any ... | 3 |
diff --git a/generators/server/templates/src/main/java/package/config/CacheConfiguration.java.ejs b/generators/server/templates/src/main/java/package/config/CacheConfiguration.java.ejs @@ -137,7 +137,6 @@ import io.github.jhipster.config.JHipsterProperties;
<%_ if (cacheProvider === 'redis') { _%>
import org.redisson.R... | 2 |
diff --git a/core/block.js b/core/block.js @@ -806,7 +806,7 @@ Blockly.Block.prototype.getVarModels = function() {
* @return {!Array.<!Blockly.BoundVariableAbstract>} List of variables.
* @package
*/
-Blockly.Block.prototype.getBoundVariables = function() {
+Blockly.Block.prototype.getVariables = function() {
var vars ... | 10 |
diff --git a/test/prod/Synthetix.prod.js b/test/prod/Synthetix.prod.js @@ -15,7 +15,7 @@ const {
} = require('./utils');
contract('Synthetix (prod tests)', accounts => {
- const [, user, user1] = accounts;
+ const [, user1, user2] = accounts;
let owner;
@@ -51,13 +51,13 @@ contract('Synthetix (prod tests)', accounts =>... | 10 |
diff --git a/CHANGELOG.md b/CHANGELOG.md @@ -10,6 +10,39 @@ https://github.com/plotly/plotly.js/compare/vX.Y.Z...master
where X.Y.Z is the semver of most recent plotly.js release.
+## [1.34.0] -- 2018-02-12
+
+### Added
+- Add `Plotly.react`, a new do-it-all API method that creates and update graphs
+ using the same AP... | 3 |
diff --git a/docker-compose.yml b/docker-compose.yml @@ -54,7 +54,7 @@ services:
- '/etc/localtime:/etc/localtime:ro'
- '/etc/timezone:/etc/timezone:ro'
environment:
- API_KEY: <create this on hypixel.net using /api ingame and paste here>
+ API_KEY: <Use your own API key - WarpWing>
VIRTUAL_HOST: skyblock.domain.tld
LE... | 4 |
diff --git a/app/src/RoomClient.js b/app/src/RoomClient.js @@ -2405,6 +2405,9 @@ export default class RoomClient
const routerRtpCapabilities =
await this.sendRequest('getRouterRtpCapabilities');
+ routerRtpCapabilities.headerExtensions = routerRtpCapabilities.headerExtensions
+ .filter((ext) => ext.uri !== 'urn:3gpp:vi... | 1 |
diff --git a/generators/upgrade/index.js b/generators/upgrade/index.js @@ -379,9 +379,8 @@ module.exports = class extends BaseGenerator {
done();
};
- const installJhipsterLocally = (version, callback) => {
+ const installJhipsterLocally = version => {
this._installNpmPackageLocally(GENERATOR_JHIPSTER, version);
- call... | 2 |
diff --git a/articles/api/authentication/api-authz/_authz-client.md b/articles/api/authentication/api-authz/_authz-client.md @@ -192,6 +192,8 @@ This is the OAuth 2.0 grant that Client-side web apps utilize in order to access
| `state` <br/><span class="label label-primary">Recommended</span> | An opaque value the clie... | 0 |
diff --git a/articles/api/authentication/_introduction.md b/articles/api/authentication/_introduction.md @@ -14,7 +14,8 @@ The Authentication API is served over HTTPS. All URLs referenced in the document
## Authentication methods
-There are three ways to authenticate with this API:
+There are three ways that you can au... | 3 |
diff --git a/js/views/modals/purchase/ShippingOptions.js b/js/views/modals/purchase/ShippingOptions.js @@ -44,7 +44,7 @@ export default class extends baseView {
render() {
const filteredShipping = this.model.get('shippingOptions').toJSON().filter((option) =>
- option.regions.indexOf(this.countryCode) !== -1);
+ option.... | 9 |
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 3.2
+// @version 3.3
//
// @include https://*stackexchange.com/*
// @include ... | 1 |
diff --git a/apps/clock-word.js b/apps/clock-word.js /* jshint esversion: 6 */
(function() {
- var buf = Graphics.createArrayBuffer(240, 240, 2, { msb: true });
-
- function flip() {
- var palette = new Uint16Array([0,,,0xFFFF]);
- g.drawImage({ width: buf.getWidth(), height: buf.getHeight(), bpp: 2, palette : palette,... | 3 |
diff --git a/ui/src/components/EntityMapping/EntityMappingMode.jsx b/ui/src/components/EntityMapping/EntityMappingMode.jsx @@ -91,7 +91,7 @@ export class EntityMappingMode extends Component {
const mappingsOfSchema = Array.from(mappings.values()).filter(({ schema }) => { console.log(schema, schemaToAssign); return sche... | 7 |
diff --git a/tasks/bump-android-version.js b/tasks/bump-android-version.js @@ -3,16 +3,22 @@ const fs = require("fs")
const gradlePath = "./android/app/build.gradle"
function main() {
+ const packageJson = JSON.parse(fs.readFileSync("./package.json"))
const gradle = fs.readFileSync(gradlePath, "utf8")
const currentVers... | 3 |
diff --git a/TROUBLESHOOTING.md b/TROUBLESHOOTING.md @@ -64,7 +64,7 @@ Click the "Clone or download" green button in [GitHub](https://github.com/sendgr
<a name="error"></a>
## Error Messages
-To read the error message returned by SendGrid's API, please see [this example](https://github.com/sendgrid/sendgrid-nodejs/blob... | 1 |
diff --git a/src/ServerlessOffline.js b/src/ServerlessOffline.js @@ -70,8 +70,9 @@ module.exports = class ServerlessOffline {
* by downstream plugins. When running sls offline that can be expected, but docs say that
* 'sls offline start' will provide the init and end hooks for other plugins to consume
* */
- startWithE... | 14 |
diff --git a/CHANGES.md b/CHANGES.md - Fixed debug label rendering in `Cesium3dTilesInspector`. [#10246](https://github.com/CesiumGS/cesium/issues/10246)
- Fixed a crash that occurred in `ModelExperimental` when loading a Draco-compressed model with tangents. [#10294](https://github.com/CesiumGS/cesium/pull/10294)
- Fi... | 3 |
diff --git a/src/js/controllers/walletHome.js b/src/js/controllers/walletHome.js @@ -658,9 +658,6 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
return self.setSendError(gettext(msg));
}
- //self.setOngoingProcess(gettext('Creating transaction'));
- $timeout(function() {
-
var asset... | 12 |
diff --git a/src/lib.js b/src/lib.js @@ -2897,24 +2897,18 @@ export async function getPets(profile) {
let heldItemObj = await db.collection("items").findOne({ id: heldItem });
if (heldItem in constants.pet_items) {
- if ("stats" in constants.pet_items[heldItem]) {
- for (const stat in constants.pet_items[heldItem].stat... | 4 |
diff --git a/src/styles/colors.js b/src/styles/colors.js @@ -349,4 +349,9 @@ export const blueGrey = {
700: '#455a64',
800: '#37474f',
900: '#263238',
+ A100: '#cfd8dc',
+ A200: '#b0bec5',
+ A400: '#78909c',
+ A700: '#455a64',
+ contrastDefaultColor: 'light',
};
| 0 |
diff --git a/assets/src/edit-story/components/dropTargets/provider.js b/assets/src/edit-story/components/dropTargets/provider.js @@ -165,10 +165,8 @@ function DropTargetsProvider({ children }) {
secondId: activeDropTargetId,
};
- const firstElement = elements.find(
- ({ id }) => id === combineArgs.firstId
- );
- if (se... | 1 |
diff --git a/src/translations/en.global.json b/src/translations/en.global.json },
"pending": {
"title": "Pending release",
- "info": "These tokens have been unstaked, but are not yet ready to withdraw. Tokens are ready to withdraw 36 to 48 hours after unstaking."
+ "info": "These tokens have been unstaked, but are not ... | 3 |
diff --git a/app/shared/actions/wallets.js b/app/shared/actions/wallets.js @@ -3,7 +3,7 @@ import { find, forEach } from 'lodash';
import * as types from './types';
import { getAccount } from './accounts';
import { setSettings } from './settings';
-import { encrypt } from './wallet';
+import { encrypt, setWalletMode } ... | 12 |
diff --git a/OurUmbraco.Site/Views/Download.cshtml b/OurUmbraco.Site/Views/Download.cshtml <!-- Download Umbraco Column -->
<div class="col-md-6 col-padding">
- <h2>Download Umbraco</h2>
+ <h2>Install Umbraco</h2>
<p class="download-teaser large-margin-bottom">
- If you want to DIY you can download Umbraco either as a ... | 1 |
diff --git a/components/system/components/Tag.js b/components/system/components/Tag.js @@ -475,7 +475,7 @@ export const Tag = ({
const _handleChange = (e) => setValue(e.target.value.toLowerCase());
const _handleKeyPress = (e) => {
- let regex = /[a-z0-9\s-]/i;
+ let regex = /[a-z0-9\s]/i;
if (e.key === "Enter" && value... | 2 |
diff --git a/src/botPage/view/View.js b/src/botPage/view/View.js @@ -338,7 +338,7 @@ export default class View {
globalObserver.emit('ui.log.info', translate('Logged you out!'));
clearRealityCheck();
clearActiveTokens();
- location.reload(); // eslint-disable-line no-restricted-globals
+ window.location.reload();
});
}... | 9 |
diff --git a/utilities/auth-helper.js b/utilities/auth-helper.js 'use strict';
const _ = require('lodash');
-var extend = require('util')._extend;
+let extend = require('util')._extend;
module.exports = {
/**
@@ -12,34 +12,34 @@ module.exports = {
* @returns {Array}: A list of authorization scopes for the endpoint.
*/
... | 14 |
diff --git a/test/jasmine/tests/gl2d_click_test.js b/test/jasmine/tests/gl2d_click_test.js @@ -444,3 +444,149 @@ describe('Test hover and click interactions', function() {
.then(done);
});
});
+
+describe('Test gl2d lasso/select:', function() {
+ var mockFancy = require('@mocks/gl2d_14.json');
+ var mockFast = Lib.exte... | 0 |
diff --git a/js/independentreserve.js b/js/independentreserve.js @@ -18,8 +18,10 @@ module.exports = class independentreserve extends Exchange {
'CORS': false,
'createOrder': true,
'fetchBalance': true,
+ 'fetchClosedOrders': true,
'fetchMarkets': true,
'fetchMyTrades': true,
+ 'fetchOpenOrders': true,
'fetchOrder': tr... | 1 |
diff --git a/src/app/Http/Controllers/Operations/InlineCreateOperation.php b/src/app/Http/Controllers/Operations/InlineCreateOperation.php namespace Backpack\CRUD\app\Http\Controllers\Operations;
use Illuminate\Support\Facades\Route;
+use Prologue\Alerts\Facades\Alert;
trait InlineCreateOperation
{
@@ -74,6 +75,11 @@ t... | 1 |
diff --git a/gulp-tasks/zip.js b/gulp-tasks/zip.js @@ -30,12 +30,6 @@ function generateFilename() {
}
-gulp.task( 'pre-zip', () => {
- del.sync( [ './release/google-site-kit/**' ] );
-
- return gulp.src( 'release/**' )
- .pipe( gulp.dest( 'release/google-site-kit/' ) );
-} );
gulp.task( 'zip', () => {
const filename = ... | 2 |
diff --git a/contracts/contracts/RaidenMicroTransferChannels.sol b/contracts/contracts/RaidenMicroTransferChannels.sol @@ -267,7 +267,7 @@ contract RaidenMicroTransferChannels {
/// sender and receiver was created.
/// @param _balance The amount of tokens owed by the sender to the receiver.
/// @param _balance_msg_sig ... | 10 |
diff --git a/packages/gatsby/cache-dir/loader.js b/packages/gatsby/cache-dir/loader.js @@ -229,8 +229,8 @@ const queue = {
}
// Prefetch resources.
- prefetchResource(page.jsonName)
if (process.env.NODE_ENV === `production`) {
+ prefetchResource(page.jsonName)
prefetchResource(page.componentChunkName)
}
| 5 |
diff --git a/src/controllers/messages.ts b/src/controllers/messages.ts @@ -140,12 +140,12 @@ export const getAllMessages = async (req, res) => {
// console.log("=> found all chats", chats && chats.length);
const chatsById = indexBy(chats, 'id')
// console.log("=> indexed chats");
- const new_messages = messages.map((me... | 10 |
diff --git a/package.json b/package.json "postinstall": "electron-builder install-app-deps",
"precommit": "lint-staged",
"lint": "eslint 'src/**/*.{js,jsx}' --fix",
- "pretty-print": "prettier 'src/**/*.{js,jsx,scss,json}' --write"
+ "format": "prettier 'src/**/*.{js,jsx,scss,json}' --write"
},
"keywords": [
"lbry"
| 10 |
diff --git a/aws/step/step.go b/aws/step/step.go @@ -17,6 +17,13 @@ import (
"github.com/sirupsen/logrus"
)
+// Types of state machines per
+// https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-stepfunctions-statemachine.html
+const (
+ stateMachineStandard = "STANDARD"
+ stateMachineExpress =... | 0 |
diff --git a/src/main/webapp/starter/main-sidebar.html b/src/main/webapp/starter/main-sidebar.html <span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span>
</a>
<ul class="treeview-menu">
- <li ui-sref-active="active" ng-repeat="b in boardList | filter:{userId:user.userId}">
+ <li ui-sref-a... | 1 |
diff --git a/themes/navy/layout/partial/footer.ejs b/themes/navy/layout/partial/footer.ejs </li>
<li>
<a href="<%= config.discord_url %>" target="_blank">
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 245 245">
+ <svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 245 245">
<g opacity="... | 7 |
diff --git a/src/error/multiple_error_types/option_result.md b/src/error/multiple_error_types/option_result.md @@ -38,9 +38,7 @@ fn double_first(vec: Vec<&str>) -> Result<Option<i32>, ParseIntError> {
first.parse::<i32>().map(|n| 2 * n)
});
- let opt = opt.map_or(Ok(None), |r| r.map(Some))?;
-
- Ok(opt)
+ opt.map_or(Ok... | 3 |
diff --git a/includes/Modules/Tag_Manager.php b/includes/Modules/Tag_Manager.php @@ -202,7 +202,7 @@ final class Tag_Manager extends Module implements Module_With_Scopes, Module_Wit
'value' => $settings['containerID'],
'debug' => Debug_Data::redact_debug_value( $settings['containerID'] ),
),
- 'tagmanager_amp_id' => ar... | 10 |
diff --git a/scripts/upcoming.js b/scripts/upcoming.js @@ -141,7 +141,7 @@ const year = /^[0-9]{4}$/;
// Build launch time objects to update
calculatedTimes = {
flight_number: (base_flight_number + manifest_index),
- launch_year: zone.year(),
+ launch_year: (zone.year()).toString(),
launch_date_unix: zone.unix(),
launc... | 3 |
diff --git a/packages/frontend/src/redux/slices/ledger/index.js b/packages/frontend/src/redux/slices/ledger/index.js @@ -86,6 +86,24 @@ const ledgerSlice = createSlice({
},
},
extraReducers: ((builder) => {
+ builder.addCase(getLedgerAccountIds.pending, (state) => {
+ set(state, ['signInWithLedgerStatus'], 'confirm-pub... | 9 |
diff --git a/rig-aux.js b/rig-aux.js @@ -33,18 +33,25 @@ class RigAux {
gltfLoader.load(srcUrl, accept, function onprogress() {}, reject);
}); */
const root = o;
- const animations = o.getAnimations();
/* o = o.scene;
// o.scale.multiplyScalar(0.2);
scene.add(o); */
+ let mesh = null;
+ root.traverse(o => {
+ if (o.isS... | 0 |
diff --git a/packages/idyll-document/src/runtime.js b/packages/idyll-document/src/runtime.js @@ -154,7 +154,7 @@ const createWrapper = ({ theme, layout }) => {
handleFormatComponent(info) {
const allProps = Object.keys(info.props);
// TODO -- should we display children prop? Probly not
- const valuesInParagraphs = allP... | 10 |
diff --git a/login.js b/login.js @@ -374,6 +374,10 @@ class LoginManager extends EventTarget {
return userObject && userObject.avatar;
}
+ getAvatarPreview() {
+ return userObject && userObject.avatar.preview;
+ }
+
async setAvatar(id) {
if (loginToken) {
// const {mnemonic} = loginToken;
| 0 |
diff --git a/addon/components/liquid-measured.js b/addon/components/liquid-measured.js @@ -31,8 +31,8 @@ export default Component.extend({
characterData: true
});
- this.resizeHandler = this.didResize.bind(this);
- window.addEventListener('resize', this.resizeHandler);
+ this.windowResizeHandler = this.didResize.bind(t... | 10 |
diff --git a/userscript.user.js b/userscript.user.js @@ -15333,15 +15333,64 @@ var $$IMU_EXPORT$$;
.replace(/(\/[0-9]+_p[0-9]+)_[^/]*(\.[^/.]*)$/, "$1$2");
//var referer_url = "https://www.pixiv.net/member_illust.php?mode=medium&illust_id=" + src.replace(/.*\/([0-9]+)_[^/]*$/, "$1");
- var referer_url = "https://www.pi... | 7 |
diff --git a/stories/module-analytics-setup.stories.js b/stories/module-analytics-setup.stories.js @@ -65,10 +65,6 @@ storiesOf( 'Analytics Module/Setup', module )
const setupRegistry = ( registry ) => {
registry.dispatch( STORE_NAME ).setSettings( {} );
registry.dispatch( STORE_NAME ).receiveGetExistingTag( null );
- ... | 2 |
diff --git a/lib/exp.js b/lib/exp.js @@ -762,10 +762,6 @@ exports.var = (varName) => [
* LIST READ EXPRESSIONS
*********************************************************************************/
-function getContextType (ctx, type) {
- return type
-}
-
function getListType (type, returnType, isMulti) {
let expected = ty... | 4 |
diff --git a/scripts/buildIOSFramework.sh b/scripts/buildIOSFramework.sh @@ -59,7 +59,10 @@ cp -R ../assets/fonts/!(android) $PATH_ASSETS
# Move level up ios fonts
mv $PATH_ASSETS/ios/* $PATH_ASSETS
rm -rf $PATH_ASSETS/ios
-mv $PATH_UNIVERSAL/$FRAMEWORK/*.ttf $PATH_ASSETS
+
+# Move other fonts from framework to assets/... | 5 |
diff --git a/README.markdown b/README.markdown [](https://github.com/handlebars-lang/handlebars.js/actions/workflows/ci.yml)
[](... | 14 |
diff --git a/metaverse_modules/filter/index.js b/metaverse_modules/filter/index.js @@ -111,20 +111,11 @@ export default () => {
}
}).filter(exit => exit !== null);
if (localExitSpecs.length > 0) {
- // const outerWidth = 16;
- // const outerHeight = 8;
- // const boxPosition = new THREE.Vector2(outerWidth / 2, outerHei... | 0 |
diff --git a/layouts/partials/fragments/items.html b/layouts/partials/fragments/items.html {{- if not (in .Name "/index.md") -}}
{{- $item := .Params }}
<div class="col-md-4 text-center">
+ {{- if $item.icon }}
<span class="fa-stack fa-3x m-2">
<i class="fas fa-circle fa-stack-2x
{{- if eq $bg "primary" -}}
"></i>
<i c... | 2 |
diff --git a/animations-baker.js b/animations-baker.js @@ -15,7 +15,7 @@ const {FBXLoader, MMDLoader} = THREE;
global.FBXLoader = FBXLoader;
global.MMDLoader = MMDLoader;
const {CharsetEncoder} = require('three/examples/js/libs/mmdparser.js');
-console.log('got CharsetEncoder', CharsetEncoder);
+// console.log('got Cha... | 2 |
diff --git a/modules/user/server-ts/sql.js b/modules/user/server-ts/sql.js @@ -10,12 +10,12 @@ class User {
const queryBuilder = knex
.select(
'u.id as id',
- 'u.username',
+ 'u.username as username',
'u.role',
'u.is_active',
- 'u.email',
- 'up.first_name',
- 'up.last_name',
+ 'u.email as email',
+ 'up.first_name as fi... | 7 |
diff --git a/edit.js b/edit.js @@ -9,6 +9,7 @@ import {TransformControls} from './TransformControls.js';
// import {XRPackage, pe, renderer, scene, camera, parcelMaterial, floorMesh, proxySession, getRealSession, loginManager} from './run.js';
import { tryLogin, loginManager } from './login.js';
import {downloadFile, r... | 0 |
diff --git a/components/Frame/Footer.js b/components/Frame/Footer.js @@ -37,7 +37,7 @@ const styles = {
position: 'relative',
zIndex: ZINDEX_FOOTER, // goes over sidebar
backgroundColor: colors.negative.primaryBg,
- borderTop: `0.5px solid ${colors.divider}`,
+ borderTop: `1px solid ${colors.negative.divider}`,
padding... | 4 |
diff --git a/lib/assets/javascripts/builder/editor/style/style-converter.js b/lib/assets/javascripts/builder/editor/style/style-converter.js @@ -565,7 +565,7 @@ function animation (style, mapContext) {
}
function _normalizeValue (v) {
- return v.replace(/\n/g, '\\n').replace(/\"/g, '\\"').replace();
+ return v.replace(... | 14 |
diff --git a/src/components/shapes/attributes.js b/src/components/shapes/attributes.js @@ -256,7 +256,8 @@ module.exports = templatedArray('shape', {
editType: 'calc+arraydraw',
description: [
'Determines whether the shape could be activated for edit or not.',
- 'Please note that setting to *false* has no effect in cas... | 3 |
diff --git a/src/scripts/content/ticktick.js b/src/scripts/content/ticktick.js 'use strict';
togglbutton.render('#task-detail-view:not(.toggl)', {observe: true}, function (elem) {
- var text = $('#tasktitle', elem).textContent,
+ var text = $('.task-title', elem).textContent,
project = $('#project-setting input', elem)... | 1 |
diff --git a/packages/app/src/services/xss/xssOption.ts b/packages/app/src/services/xss/xssOption.ts @@ -14,7 +14,7 @@ export default class XssOption {
constructor(config: XssOptionConfig) {
const recommendedWhitelist = require('~/services/xss/recommended-whitelist');
- const initializedConfig = (config != null) ? conf... | 7 |
diff --git a/layouts/partials/fragments/pricing.html b/layouts/partials/fragments/pricing.html href="{{ .Params.button_url | relLangURL }}"
class="btn btn-lg btn-block btn-primary"
{{- if (not (isset .Params "button_url")) | or (eq .Params.button_url "") -}}
- {{ safeHTMLAttr (printf "data-event-args=\"title:%s,price:%... | 0 |
diff --git a/src/views/SeedPhrase/LoginPhrase.vue b/src/views/SeedPhrase/LoginPhrase.vue <template>
<div class="login-wrapper login-phrase h-100">
<div class="login-phrase_logo-wrap mx-auto">
- <Logo />
+ <img :src="logo"/>
</div>
<div class="login-phrase_middle-text mx-auto mt-1">
<h2 class="mt-4 px-5">Sign in to See ... | 1 |
diff --git a/src/traces/isosurface/convert.js b/src/traces/isosurface/convert.js @@ -892,7 +892,7 @@ function generateIsosurfaceMesh(data) {
if(near.distRatio === 0) {
exactIndices.push(near.id);
- } else {
+ } else if(near.id > 0) {
ceilIndices.push(near.id);
if(e === 'x') {
distRatios.push([near.distRatio, 0, 0]);
| 0 |
diff --git a/renderer/pages/settings.js b/renderer/pages/settings.js import PropTypes from 'prop-types'
-import React, { useMemo } from 'react'
+import React from 'react'
import { FormattedMessage } from 'react-intl'
import styled from 'styled-components'
import {
@@ -46,7 +46,7 @@ Section.propTypes = {
const Settings ... | 12 |
diff --git a/src/MagicMenu.jsx b/src/MagicMenu.jsx import React, {useState, useEffect, useRef} from 'react'
import classes from './MagicMenu.module.css'
import ioManager from '../io-manager.js';
-import {aiHost} from '../constants.js';
+import * as codeAi from '../ai/code/code-ai.js';
import metaversefile from 'metaver... | 4 |
diff --git a/components/hero.js b/components/hero.js @@ -120,6 +120,7 @@ function Hero({title, tagline}) {
.example {
font-size: 1.5em;
text-align: center;
+ padding: .5em;
background-color: ${theme.colors.white};
}
`}</style>
| 0 |
diff --git a/lib/console_web/controllers/router/device_controller.ex b/lib/console_web/controllers/router/device_controller.ex @@ -307,6 +307,7 @@ defmodule ConsoleWeb.Router.DeviceController do
if event.data["integration"] != nil and event.data["integration"]["id"] != "no_channel" do
event_integration = Channels.get_c... | 8 |
diff --git a/physics-manager.js b/physics-manager.js @@ -680,6 +680,11 @@ physicsManager.simulatePhysics = (timeDiff) => {
physicsManager.marchingCubes = (dims, potential, shift, scale) =>
physx.physxWorker.marchingCubes(dims, potential, shift, scale)
+//
+
+physicsManager.setChunkSize = (x, y, z) =>
+ physx.physxWorke... | 0 |
diff --git a/distribution/tests/tests.sh b/distribution/tests/tests.sh @@ -121,15 +121,15 @@ test_jenkins_logs_is_found_on_disk() {
test_essentials_telemetry_logging_is_found_on_disk() {
# shellcheck disable=SC2016
result=$( docker exec "$container_under_test" bash -c 'ls $JENKINS_VAR/logs/essentials.log.0' )
- assertE... | 0 |
diff --git a/packages/plugin-logo/package.json b/packages/plugin-logo/package.json {
"name": "@freesewing/plugin-logo",
- "version": "0.3.3",
+ "version": "0.3.2",
"description": "A freesewing plugin to add skully to your patterns",
"author": "Joost De Cock <joost@decock.org> (https://github.com/joostdecock)",
"license... | 11 |
diff --git a/contracts/SafeDecimalMath.sol b/contracts/SafeDecimalMath.sol @@ -35,10 +35,10 @@ pragma solidity ^0.4.20;
contract SafeDecimalMath {
// Number of decimal places in the representation.
- uint public constant decimals = 18;
+ uint8 public constant decimals = 18;
// The number representing 1.0.
- uint public... | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.