code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/src/pages/strategy/tabs/ships/ships.js b/src/pages/strategy/tabs/ships/ships.js self.heartLockMode = 1;
self.saveSettings();
}
- KC3StrategyTabs.reloadTab(undefined, true);
+ KC3StrategyTabs.reloadTab(undefined, false);
});
$(".lock_no").on("click", function(){
if(self.heartLockMode !== 2){
self.heartLockM... | 7 |
diff --git a/.travis.yml b/.travis.yml @@ -27,7 +27,7 @@ branches:
env:
global:
- SLS_IGNORE_WARNING=*
- - FORCE_COLOR=1 # Ensure colored output for processes combined with '&&'
+ - FORCE_COLOR=1 # Ensure colored output (color support is not detected in some cases)
stages:
- name: Test
| 7 |
diff --git a/src/js/vdom_hoz.js b/src/js/vdom_hoz.js @@ -14,7 +14,7 @@ var VDomHoz = function(table){
this.vDomPadLeft = 0;
this.vDomPadRight = 0;
- this.window = 50; //pixel margin to make column visible before it is shown on screen
+ this.window = 200; //pixel margin to make column visible before it is shown on scree... | 11 |
diff --git a/lib/assets/core/javascripts/cartodb3/components/form-components/editors/fill/input-number/input-number-content-view.js b/lib/assets/core/javascripts/cartodb3/components/form-components/editors/fill/input-number/input-number-content-view.js @@ -20,7 +20,7 @@ module.exports = CoreView.extend({
quantification... | 10 |
diff --git a/assets/js/util/when-active.js b/assets/js/util/when-active.js @@ -59,12 +59,12 @@ export default function whenActive( { moduleName, FallbackComponent = null, Inco
return null;
}
- // Return a fallback if the module isn't connected yet.
+ // Return a fallback if the module is not active.
if ( module.active ... | 7 |
diff --git a/docs/build/tools/netrunner.md b/docs/build/tools/netrunner.md @@ -64,7 +64,7 @@ Each node has a unique name. Use the network's `GetNodeNames()` method to get th
Use the network's method `GetNode(string)` to get a node by its name. For example:
```go
-names, _ := network.GetNodesNames()
+names, _ := network... | 10 |
diff --git a/manifest.json b/manifest.json },
"omnibox": {"keyword": "d"},
"options_page": "html/options.html",
- "options_ui": {"page": "html/options.html"},
"background": {
"scripts": [
"https/chromium/rules.js",
| 2 |
diff --git a/website/content/docs/examples.md b/website/content/docs/examples.md @@ -13,4 +13,3 @@ Example | Tools | Type | Source | More info |
[The Ragasirtahk Blog](https://www.ragasirtahk.tk/) | Hugo | blog | [ragasirtahk/the-ragasirtahk-blog](https://github.com/ragasirtahk/the-ragasirtahk-blog) | [blog post](https... | 2 |
diff --git a/app/src/components/MeetingDrawer/Chat/Menu/Input.js b/app/src/components/MeetingDrawer/Chat/Menu/Input.js @@ -44,10 +44,10 @@ const styles = (theme) => ({
display : 'none'
},
padding : '8px 4px',
- 'line-height' : '20px',
- 'font-size' : '16px',
- 'width' : '50px',
- 'overflow-wrap' : 'break-word'
+ lineHe... | 7 |
diff --git a/src/article/articleHelpers.js b/src/article/articleHelpers.js import { DefaultDOMElement, importNodeIntoDocument, selectionHelpers } from 'substance'
import createJatsImporter from './converter/r2t/createJatsImporter'
import { FIGURE_SNIPPET, FOOTNOTE_SNIPPET, PERSON_SNIPPET, TABLE_SNIPPET } from './Articl... | 4 |
diff --git a/apigateway_test.go b/apigateway_test.go package sparta
import (
+ "context"
+ "fmt"
"net/http"
"testing"
+ "time"
+
+ spartaAPIGateway "github.com/mweagle/Sparta/aws/apigateway"
+ spartaAWSEvents "github.com/mweagle/Sparta/aws/events"
+ "github.com/sirupsen/logrus"
)
+var randVal string
+
+func init() {
+ ... | 0 |
diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml @@ -23,7 +23,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- - run: npm ci
+ - run: npm install
- run: npm run lint
- run: npm run build
- run: npm run build:dev
@@ -41,7 +41,7 @@ jobs:
with:
node-version: ${{ matrix.node-vers... | 14 |
diff --git a/assets/js/components/ViewOnlyMenu/Description.js b/assets/js/components/ViewOnlyMenu/Description.js @@ -108,7 +108,7 @@ export default function Description() {
return (
<li className="googlesitekit-view-only-menu__list-item googlesitekit-view-only-menu__description">
- <p className="">{ description }</p>
+... | 2 |
diff --git a/drop-manager.js b/drop-manager.js @@ -19,6 +19,11 @@ const rarityColorsArray = Object.keys(rarityColors).map(k => rarityColors[k][0])
const tickers = [];
const loadPromise = (async () => {
+ const [
+ cardModel,
+ fruitModel,
+ ] = await Promise.all([
+ (async () => {
const u = `https://webaverse.github.io... | 0 |
diff --git a/articles/extensions/authorization-extension.md b/articles/extensions/authorization-extension.md @@ -77,7 +77,7 @@ If you have users that receive groups from the Identity Provider (such as Active
### Persistence
-You can also store the authorization context information in the user profile. The data will be ... | 14 |
diff --git a/src/cluster_logs_collection_task.erl b/src/cluster_logs_collection_task.erl @@ -74,9 +74,14 @@ build_cluster_logs_task_tail(Tasks, Nodes, BaseURL, Timestamp, PidOrCompleted) -
_ -> false
end],
+ Progress = case length(NodeStatuses) of
+ 0 -> 100;
+ Total -> length(CompletedNodes) * 100 div Total
+ end,
+
[... | 9 |
diff --git a/www/tablet/js/widget_slider.js b/www/tablet/js/widget_slider.js @@ -380,7 +380,7 @@ var Modul_slider = function () {
val = pwrng.options.max;
if (new RegExp('^' + elem.data('off') + '$').test(txtValue))
val = pwrng.options.min;
- if ($.isNumeric(val) && input_elem) {
+ if ($.isNumeric(val) && input_elem &&... | 1 |
diff --git a/contribs/gmf/src/controllers/desktop.scss b/contribs/gmf/src/controllers/desktop.scss @@ -6,14 +6,15 @@ $map-tools-size: 1.9rem !default;
$button-size: 2.5rem !default;
$left-panel-width: 20rem !default;
$right-panel-width: 17.5rem !default;
+$streeview-width: 25rem !default;
$topbar-height: 2.8rem !defaul... | 4 |
diff --git a/accessibility-checker-engine/help/Rpt_Aria_EmptyPropertyValue.mdx b/accessibility-checker-engine/help/Rpt_Aria_EmptyPropertyValue.mdx @@ -30,7 +30,7 @@ When specifying a required WAI-ARIA attribute, the value must be non-empty
## What to do
- * Provide a valid value for the `{0}` attribute(s). Refer to the... | 3 |
diff --git a/src/workingtitle-vcockpits-instruments-airliners/html_ui/Pages/VCockpit/Instruments/Airliners/Shared/WT/AltimeterIndicator.js b/src/workingtitle-vcockpits-instruments-airliners/html_ui/Pages/VCockpit/Instruments/Airliners/Shared/WT/AltimeterIndicator.js @@ -192,20 +192,22 @@ class Jet_PFD_AltimeterIndicato... | 7 |
diff --git a/src/instance/methods.js b/src/instance/methods.js @@ -65,8 +65,7 @@ Moon.prototype.destroy = function() {
* @param {Array} children
*/
Moon.prototype.build = function(vdom) {
- for(var i = 0; i < children.length; i++) {
- var vnode = vdom[i];
+ for(var vnode in vdom) {
if(vnode !== undefined && !vnode.once... | 4 |
diff --git a/packages/node_modules/@node-red/editor-api/lib/admin/diagnostics.js b/packages/node_modules/@node-red/editor-api/lib/admin/diagnostics.js @@ -13,7 +13,7 @@ module.exports = {
scope: diagnosticsOpts.level || "basic"
}
if(diagnosticsOpts.enabled === false || diagnosticsOpts.enabled === "false") {
- apiUtil.r... | 7 |
diff --git a/src/components/App.jsx b/src/components/App.jsx @@ -434,6 +434,27 @@ export default class App extends React.Component {
})
}
+ setDefaultValues = (styleObj) => {
+ const metadata = styleObj.metadata || {}
+ if(metadata['maputnik:renderer'] === undefined) {
+ const changedStyle = {
+ ...styleObj,
+ metadata... | 12 |
diff --git a/src/module.d.ts b/src/module.d.ts @@ -364,7 +364,17 @@ export namespace utils {
const compositionUtils: PropertyBag<Function>;
const dataUtils: PropertyBag<Function>;
const rowUtils: PropertyBag<Function>;
- const sortUtils: PropertyBag<Function>;
+
+ interface SortProperties{
+ setSortColumn(sortPropertie... | 0 |
diff --git a/app/models/list.rb b/app/models/list.rb @@ -148,7 +148,7 @@ class List < ActiveRecord::Base
controller = options[:controller] || FakeView.new
attrs = %w(taxon_name description occurrence_status establishment_means adding_user_login first_observation
last_observation url created_at updated_at taxon_common_n... | 4 |
diff --git a/processors/processExpand.js b/processors/processExpand.js @@ -90,7 +90,7 @@ function processExpand(entries, meta) {
key,
value: e.value,
});
- if (e.sourcename.includes('npc_dota_hero_')) {
+ if (e.sourcename && e.sourcename.includes('npc_dota_hero_')) {
expand({
time: e.time,
value: e.value,
| 9 |
diff --git a/examples/test/tracks-hg19.html b/examples/test/tracks-hg19.html name: "Bigbed with color (green)",
},
{
- url: 'http://hgdownload.cse.ucsc.edu/goldenPath/hg19/encodeDCC/wgEncodeBroadHistone/wgEncodeBroadHistoneGm12878H3k4me3StdSig.bigWig',
+ url: 'https://www.encodeproject.org/files/ENCFF000ASF/@@download/... | 1 |
diff --git a/.travis.yml b/.travis.yml @@ -167,11 +167,11 @@ after_success:
if [[ "$TRAVIS_NODE_VERSION" == "8" && "$TRAVIS_OS_NAME" == "linux" ]]; then
npm run build:linux-armv7l;
ls -al output output/*;
- cp -af "output/${PRODUCT_NAME}_${PRODUCT_VERSION}_armv7l.deb" "releases/${RELEASE}-linux-armv7.deb";
+ cp -af "ou... | 10 |
diff --git a/services/dataservices-metrics/spec/unit/service_usage_metrics_spec.rb b/services/dataservices-metrics/spec/unit/service_usage_metrics_spec.rb @@ -119,7 +119,6 @@ describe CartoDB::ServiceUsageMetrics do
@redis_mock.zincrby('org:team:dummy_service:dummy_metric:201703', _amount = 1, _day = '20')
@redis_mock.... | 2 |
diff --git a/articles/auth0-hooks/extensibility-points/post-user-registration.md b/articles/auth0-hooks/extensibility-points/post-user-registration.md @@ -11,8 +11,6 @@ This allows you to implement scenarios including (but not limited to):
* Sending notifications to Slack or via e-mail about the user's new account;
* C... | 2 |
diff --git a/js/kucoin.js b/js/kucoin.js @@ -659,11 +659,11 @@ module.exports = class kucoin extends Exchange {
}
async fetchClosedOrders (symbol = undefined, since = undefined, limit = undefined, params = {}) {
- return this.fetchOrdersByStatus ('done', symbol, since, limit, params);
+ return await this.fetchOrdersByS... | 1 |
diff --git a/README.md b/README.md @@ -41,10 +41,6 @@ Other customizable env vars are:
* `IMAGE_MESSAGE_ENABLED`: Default disabled. To enable, please see "Process image message" section below.
* `DEBUG_LIFF`: Disables external browser check in LIFF. Useful when debugging LIFF in external browser. Don't enable this on p... | 7 |
diff --git a/packages/cx-core/src/ui/Widget.js b/packages/cx-core/src/ui/Widget.js @@ -88,7 +88,7 @@ export class Widget extends Component {
declareData() {
var props = {
- visible: true,
+ visible: undefined,
mod: {
structured: true
}
@@ -200,6 +200,7 @@ export class Widget extends Component {
}
}
+Widget.prototype.vi... | 2 |
diff --git a/contracts/scripts/governor/propose.js b/contracts/scripts/governor/propose.js @@ -344,14 +344,17 @@ async function proposeProp14Args() {
}
// Args to send a proposal to:
-// - upgrade the OUSD contract
+// - set the Aave reward token address to zero address
// - upgrade Vault Core and Admin
// - set the li... | 14 |
diff --git a/content/blog/application-state-management-with-react/index.md b/content/blog/application-state-management-with-react/index.md @@ -181,8 +181,11 @@ React docs. But now that `context` is an officially supported part of the React
API, we can use this directly without any problem:
```javascript
-// src/context... | 7 |
diff --git a/game.js b/game.js @@ -1332,7 +1332,6 @@ class GameManager extends EventTarget {
this.closestObject = null;
this.usableObject = null;
this.hoverEnabled = false;
- this.mapOpen = false;
}
getMenu() {
return this.menuOpen;
@@ -1521,15 +1520,6 @@ class GameManager extends EventTarget {
}
}
- toggleMap() {
- th... | 2 |
diff --git a/physics-manager.js b/physics-manager.js @@ -420,6 +420,10 @@ const _applyAvatarPhysics = (camera, avatarOffset, cameraBasedOffset, velocityAv
localVector.y += deltaY;
camera.position.y += deltaY;
camera.updateMatrixWorld();
+
+ physicsManager.velocity.setScalar(0);
+
+ physicsManager.dispatchEvent(new Mess... | 0 |
diff --git a/token-metadata/0xCF67CEd76E8356366291246A9222169F4dBdBe64/metadata.json b/token-metadata/0xCF67CEd76E8356366291246A9222169F4dBdBe64/metadata.json "symbol": "DICE",
"address": "0xCF67CEd76E8356366291246A9222169F4dBdBe64",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/README.md b/README.md Alloy is the web SDK for the Adobe Experience Platform. It allows for streaming data into the platform, syncing identities, personalizing content, and more. This repository is currently under active development and is not yet intended for general consumption.
-For documentation on how... | 3 |
diff --git a/tests/e2e/specs/auth-flow.test.js b/tests/e2e/specs/auth-flow.test.js @@ -65,9 +65,6 @@ describe( 'Site Kit set up flow for the first time', () => {
await page.click( '.googlesitekit-wizard-step--two .mdc-button' );
await page.waitForNavigation();
- await expect( page ).toClick( '.googlesitekit-wizard-step... | 2 |
diff --git a/util/utility.js b/util/utility.js @@ -310,6 +310,7 @@ function getData(redis, url, cb) {
|| !res
|| res.statusCode !== 200
|| !body
+ || (hypixelApi && !body.success)
) {
// invalid response
if (url.noRetry) {
| 7 |
diff --git a/src/components/character-count/template.njk b/src/components/character-count/template.njk {% set describedBy = "" %}
<div class="govuk-character-count" data-module="character-count"
-{% if params.maxlength %} data-maxlength="{{ params.maxlength }}"{% endif %}
-{% if params.threshold %} data-threshold="{{ p... | 9 |
diff --git a/lib/contracts/code_templates/define-web3-simple.js.ejs b/lib/contracts/code_templates/define-web3-simple.js.ejs __mainContext.web3 = undefined;
-web3 = new Web3(new Web3.providers.HttpProvider("<%- url -%>'"));
+web3 = new Web3(new Web3.providers.HttpProvider("<%- url -%>"));
<%- done %>
| 2 |
diff --git a/core/bound_variable_abstract.js b/core/bound_variable_abstract.js @@ -52,13 +52,6 @@ Blockly.BoundVariableAbstract = function(block, fieldName, typeExpr, label) {
*/
this.label = label;
- /**
- * The list of sub field names which the variable is bound to.
- * @type {!Array.<string>}
- * @private
- */
- thi... | 2 |
diff --git a/articles/security/bulletins/cve-2017-17068.md b/articles/security/bulletins/cve-2017-17068.md @@ -9,6 +9,8 @@ toc: true
**CVE number**: CVE 2017-17068
+**Credit**: [@AppCheckNG](https://twitter.com/AppCheckNG)
+
## Overview
A vulnerability has been identified in the [auth0.js JavaScript library](/libraries... | 0 |
diff --git a/assets/scss/main.scss b/assets/scss/main.scss @@ -368,6 +368,9 @@ body {
@include bootstrap.media-breakpoint-up(md) {
margin: 2rem 0;
}
+ @include bootstrap.media-breakpoint-down(xs) {
+ margin-top: 1.5rem;
+ }
}
&-utils {
margin-top: 0.5rem;
@@ -378,10 +381,13 @@ body {
font-weight: 600;
font-size: 1.6rem... | 1 |
diff --git a/articles/appliance/dashboard/activity.md b/articles/appliance/dashboard/activity.md @@ -11,10 +11,6 @@ applianceId: appliance17
# PSaaS Appliance Dashboard: Activity
-::: note
- For additional information on navigating to and using the PSaaS Appliance Dashboard, please see the section on [PSaaS Appliance C... | 2 |
diff --git a/packages/insomnia-smoke-test/tests/oauth.test.ts b/packages/insomnia-smoke-test/tests/oauth.test.ts @@ -28,7 +28,7 @@ test('can make oauth2 requests', async ({ app, page }) => {
await page.locator('button:has-text("No PKCE")').click();
const [authorizationCodePage] = await Promise.all([
- app.context().wai... | 4 |
diff --git a/token-metadata/0x9Bfb088C9f311415E3F9B507DA73081c52a49d8c/metadata.json b/token-metadata/0x9Bfb088C9f311415E3F9B507DA73081c52a49d8c/metadata.json "symbol": "TAPE",
"address": "0x9Bfb088C9f311415E3F9B507DA73081c52a49d8c",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/environment/core/SimulationEvent.cpp b/environment/core/SimulationEvent.cpp @@ -143,14 +143,18 @@ auto collision_time(
return { true, t };
}
else if (disc > 0) {
- const auto t1 = -b + std::sqrt(disc);
- const auto t2 = -b - std::sqrt(disc);
-
- if (t1 >= 0.0 && t2 >= 0.0) {
- return { true, std::min(t1, t... | 1 |
diff --git a/articles/api/management/v2/tokens.md b/articles/api/management/v2/tokens.md @@ -230,9 +230,6 @@ Note that deleting the client grant will prevent *new tokens* from being issued
__My Client Secret was compromised! What should I do?__</br>
You need to change the secret immediately. Go to your [Client's Settin... | 2 |
diff --git a/lib/utils/getServerlessConfigFile.js b/lib/utils/getServerlessConfigFile.js @@ -65,6 +65,6 @@ const getServerlessConfigFile = _.memoize((configFileName, srvcPath) => getServe
}
return '';
- }), (configFileName, srvcPath) => srvcPath);
+ }), (configFileName, srvcPath) => `${configFileName} - ${srvcPath}`);
... | 7 |
diff --git a/tickets/tickets_web.go b/tickets/tickets_web.go @@ -113,7 +113,7 @@ func (p *Plugin) LoadServerHomeWidget(w http.ResponseWriter, r *http.Request) (w
return templateData, err
}
- enabled := settings.Enabled
+ enabled := settings != nil && settings.Enabled
templateData["WidgetTitle"] = "Tickets"
templateData... | 9 |
diff --git a/app/templates/_package.json b/app/templates/_package.json "version": "0.0.1",
"main": "src/<%= app %>.js",
"scripts": {
- <% if (usesTypescript) { %>
- "preinstall": "typings install",
- "postinstall": "tsc",
- <% } %>
<% if (clientOnly) { %>
"start": "gulp",
"dev": "gulp",
| 2 |
diff --git a/src/tagui_crontab b/src/tagui_crontab # SCRIPT TO MANAGE SERVICE API FOR TA.GUI FRAMEWORK ~ TEBEL.ORG #
# change current directory to TA.GUI directory
-cd `dirname $0`
+cd "`dirname "$0"`"
# if nothing running now, call runner script to generate service action script
if ! [ -f tagui_service.run ]; then php... | 9 |
diff --git a/src/Layers/BasemapLayer.js b/src/Layers/BasemapLayer.js import { TileLayer, Util } from 'leaflet';
import { pointerEvents } from '../Support';
-import { request } from '../Request';
import {
setEsriAttribution,
_getAttributionData,
@@ -104,9 +103,7 @@ export var BasemapLayer = TileLayer.extend({
urlTemplat... | 13 |
diff --git a/lib/rows.js b/lib/rows.js @@ -56,6 +56,8 @@ function Rows(client) {
* variables and whose values are either primitives or objects with a type or
* lang key and a value key. Bindings are handled the same way as with
* graphs#sparql and graphs#sparqlUpdate.
+ * @param {marklogic.Timestamp} [timestamp] - a Ti... | 0 |
diff --git a/accessibility-checker-engine/src/v4/rules/element_tabbable_role_valid.ts b/accessibility-checker-engine/src/v4/rules/element_tabbable_role_valid.ts @@ -32,7 +32,7 @@ export let element_tabbable_role_valid: Rule = {
"en-US": {
"pass": "The tabbable element has a widget role",
"fail_invalid_role": "The tabba... | 3 |
diff --git a/site/stomp.md b/site/stomp.md @@ -292,10 +292,11 @@ durable, non-exclusive, non-autodeleted.
### <a id="d.td"/>Topic Destinations
-For simple topic destinations which deliver a copy of each message to
-all active subscribers, destinations of the form `/topic/<name>` can
-be used. Topic destinations support... | 7 |
diff --git a/src/vuex/modules/keystore.js b/src/vuex/modules/keystore.js @@ -52,6 +52,9 @@ export default () => {
const wallet = state.externals.getNewWalletFromSeed(seedPhrase)
state.externals.storeWallet(wallet, name, password)
+ // reload accounts as we just added a new one
+ dispatch("loadAccounts")
+
await dispatc... | 3 |
diff --git a/protocols/peer/contracts/Peer.sol b/protocols/peer/contracts/Peer.sol @@ -46,12 +46,12 @@ contract Peer is IPeer, Ownable {
* @notice Contract Constructor
* @param _swapContract address of the swap contract the peer will deploy with
* @param _peerContractOwner address that should be the owner of the peer
-... | 10 |
diff --git a/src/components/avatar/index.js b/src/components/avatar/index.js @@ -122,7 +122,20 @@ const CoverAction = styled(ProfileHeaderAction)`
z-index: ${zIndex.tooltip + 1};
`;
-class HoverProfile extends Component {
+type ProfileProps = {
+ user: ?Object,
+ community: ?Object,
+ showProfile: ?boolean,
+ dispatch:... | 1 |
diff --git a/source/delegate/test/Delegate-V2.js b/source/delegate/test/Delegate-V2.js @@ -1138,13 +1138,9 @@ contract('DelegateV2 Integration Tests', async accounts => {
})
order.signature = emptySignature
+ // Bob MUST authorize Alice's delegate
await swap.authorizeSigner(aliceDelegate.address, { from: bobAddress })
... | 2 |
diff --git a/articles/rules/current/index.md b/articles/rules/current/index.md @@ -352,9 +352,9 @@ Notice that the code sandbox in which Rules run on, can be recycled at any time.
## Available modules
-For security reasons, the Rules code runs in a JavaScript sandbox based on [webtask.io](https://webtask.io) where you ... | 3 |
diff --git a/packages/app/src/stores/user-group.tsx b/packages/app/src/stores/user-group.tsx @@ -21,7 +21,7 @@ export const useSWRxUserGroupList = (initialData?: IUserGroupHasId[]): SWRRespon
};
export const useSWRxChildUserGroupList = (
- parentIds: string[] | undefined, includeGrandChildren?: boolean, initialData?: I... | 12 |
diff --git a/src/components/Badge/Badge.js b/src/components/Badge/Badge.js @@ -2,7 +2,6 @@ import React, { Component } from "react";
import PropTypes from "prop-types";
import classNames from "classnames";
import { withStyles } from "@material-ui/core/styles";
-import { INVENTORY_STATUS } from "lib/utils";
const styles... | 3 |
diff --git a/io-manager.js b/io-manager.js @@ -692,7 +692,12 @@ ioManager.bindInput = () => {
const mouseHoverObject = weaponsManager.getMouseHoverObject();
const mouseHoverPhysicsId = weaponsManager.getMouseHoverPhysicsId();
if (mouseHoverObject) {
+ const mouseSelectedObject = weaponsManager.getMouseSelectedObject();... | 0 |
diff --git a/src/entities/EntitySelector.js b/src/entities/EntitySelector.js @@ -6,7 +6,8 @@ export default class EntitySelector extends Component {
getInitialState() {
return {
searchString: '',
- results: []
+ results: [],
+ selectedIndex: -1
}
}
@@ -27,12 +28,6 @@ export default class EntitySelector extends Componen... | 11 |
diff --git a/diorama.js b/diorama.js @@ -1893,6 +1893,25 @@ const createAppDiorama = (app, {
lightningBackground = true;
}
},
+ triggerLoad() {
+ const oldParent = app.parent;
+ Promise.all([
+ (async () => {
+ sideAvatarScene.add(app);
+ await renderer.compileAsync(sideAvatarScene);
+ })(),
+ (async () => {
+ sideScen... | 0 |
diff --git a/includes/Core/Util/Reset.php b/includes/Core/Util/Reset.php @@ -139,11 +139,23 @@ final class Reset {
*/
private function delete_all_user_metas() {
global $wpdb;
+
$user_query = new \WP_User_Query(
array(
'fields' => 'id',
- 'meta_key' => $wpdb->prefix . OAuth_Client::OPTION_ACCESS_TOKEN,
+ 'meta_query' =>... | 3 |
diff --git a/oxana/builder/applets/main/main.js b/oxana/builder/applets/main/main.js @@ -988,11 +988,11 @@ let Implementation = function (applet) {
};
let isNotDraggableContainer = function (e) {
- return containers.indexOf(this.ctor) > -1 && this.draggable == false;
+ return this.attr.isWa || (containers.indexOf(this.... | 1 |
diff --git a/buildout.cfg b/buildout.cfg @@ -119,7 +119,7 @@ recipe = collective.recipe.cmd
on_install = true
on_update = true
cmds =
- curl -o ontology.json https://s3-us-west-1.amazonaws.com/encoded-build/ontology/ontology-2017-01-25.json
+ curl -o ontology.json https://s3-us-west-1.amazonaws.com/encoded-build/ontolo... | 3 |
diff --git a/lib/shared/addon/components/containers-header/template.hbs b/lib/shared/addon/components/containers-header/template.hbs <ul class="tab-nav">
{{#if (rbac-allows resource="workload" scope="project" permission="list")}}
<li>
- {{#link-to-external "containers.index" scope.currentProject.id}}{{t "nav.containers... | 1 |
diff --git a/game.js b/game.js @@ -486,7 +486,7 @@ const _use = () => {
}
}
};
-let useAnimation = null;
+/* let useAnimation = null;
const _useHold = () => {
const now = performance.now();
useAnimation = {
@@ -512,7 +512,7 @@ const _useHold = () => {
};
const _useRelease = () => {
useAnimation = null;
-};
+}; */
const... | 2 |
diff --git a/lib/waterline/utils/query/forge-stage-three-query.js b/lib/waterline/utils/query/forge-stage-three-query.js @@ -604,12 +604,20 @@ module.exports = function forgeStageThreeQuery(options) {
join.criteria = join.criteria || {};
join.criteria = joinCollection._transformer.serializeCriteria(join.criteria);
- //... | 0 |
diff --git a/src/templates/singleBusinessPage.js b/src/templates/singleBusinessPage.js @@ -48,6 +48,26 @@ const SingleBusinessPage = ({ data }) => {
});
const { data: apiResponse } = useBusinessDetails(id);
+ const {
+ city,
+ isPhysicalLocation,
+ phone,
+ serviceArea,
+ state,
+ story,
+ streetAddress,
+ takesBitcoin... | 4 |
diff --git a/website/test-links.sh b/website/test-links.sh @@ -11,6 +11,9 @@ npx serve build/near-docs &
# wait til the server is responding
npx wait-on http://localhost:5000/
+# ignore errors since broken-link-checker exits with nonzero error if any links break
+set +e
+
# crawl site and check all links
npx broken-lin... | 8 |
diff --git a/styles/tokens/typography.json b/styles/tokens/typography.json },
"one-wide": {
"comment": "The size of TypeDisplayOne when the viewport is wider than $sprk-font-size-display-one-breakpoint.",
- "value": "3.375rem",
+ "value": "2.75rem",
"file": "typography",
"attributes": {
"category": "size",
| 3 |
diff --git a/src/core/lib/FileSignatures.mjs b/src/core/lib/FileSignatures.mjs @@ -57,7 +57,7 @@ export const FILE_SIGNATURES = {
6: 0x1a,
7: 0x0a
},
- extractor: null
+ extractor: extractPNG
},
{
name: "WEBP Image",
@@ -150,7 +150,7 @@ export const FILE_SIGNATURES = {
16: 0x0,
17: 0x0
},
- extractor: null
+ extractor:... | 0 |
diff --git a/CHANGELOG.md b/CHANGELOG.md +### 12.1.5
+
+- fix react merged types [1606](https://github.com/i18next/react-i18next/pull/1606) originally introduced with #1531 to address #1506
+
### 12.1.4
- fix crash in gatsby [1594](https://github.com/i18next/react-i18next/issues/1594)
| 6 |
diff --git a/ui/app/reducers.js b/ui/app/reducers.js @@ -44,6 +44,7 @@ function rootReducer (state, action) {
window.logState = function () {
var stateString = JSON.stringify(window.METAMASK_CACHED_LOG_STATE, removeSeedWords, 2)
console.log(stateString)
+ return stateString
}
function removeSeedWords (key, value) {
| 11 |
diff --git a/source/ibl_sampler.js b/source/ibl_sampler.js @@ -25,7 +25,7 @@ class iblSampler
this.lambertianSampleCount = 2048;
this.sheenSamplCount = 64;
this.lodBias = 0.0;
- this.lowestMipLevel = 1;
+ this.lowestMipLevel = 4;
this.lutResolution = 1024;
this.mipmapCount = undefined;
| 12 |
diff --git a/avatars/avatars.js b/avatars/avatars.js @@ -2170,7 +2170,7 @@ class Avatar {
);
return localEuler.y;
}
- update(now, timeDiff) {
+ update(now, timeDiff, simulationFactor = 1) {
/* const wasDecapitated = this.decapitated;
if (this.springBoneManager && wasDecapitated) {
this.undecapitate();
@@ -2741,7 +2741,... | 0 |
diff --git a/articles/connections/database/password-options.md b/articles/connections/database/password-options.md @@ -49,9 +49,9 @@ For example, if the user's name is "John", including "John" in the user's passwo
## API Access
-Password options are associated with a Database connection so these values can be accessed ... | 0 |
diff --git a/articles/exception-handling-in-javascript/index.md b/articles/exception-handling-in-javascript/index.md @@ -64,7 +64,7 @@ We now understand what exceptions are. It's time to learn how to handle them to
#### Throw Statements
The `throw statement` is to raise your built-in exceptions.
-Below is an example of... | 10 |
diff --git a/server/game/cards/characters/02/ladyinwaiting.js b/server/game/cards/characters/02/ladyinwaiting.js @@ -8,7 +8,8 @@ class LadyInWaiting extends DrawCard {
handler: () => {
this.game.promptForSelect(this.controller, {
activePromptTitle: 'Select a Lady character',
- cardCondition: card => card.location === '... | 11 |
diff --git a/articles/custom-domains/index.md b/articles/custom-domains/index.md @@ -114,7 +114,7 @@ Yes, you will be able to use either the default `${account.namespace}` or your c
2. **What about support for other features?**
-We are planning to support several additional features in the future, including SAML and WS... | 2 |
diff --git a/install.php b/install.php @@ -463,11 +463,7 @@ function install($adminPassword, $timezone)
file_put_contents(PATH_DATABASES.'categories.php', $dataHead.json_encode($data, JSON_PRETTY_PRINT), LOCK_EX);
// File tags.php
- $data = array(
- 'bludit'=>array('name'=>'Bludit', 'description'=>'', 'template'=>'', '... | 2 |
diff --git a/CHANGELOG.md b/CHANGELOG.md ## Current Master
-- Replace account scren with an account drop-down menu.
-- Replace confusing buttons with an new account-specific drop-down menu.
+- Replace account screen with an account drop-down menu.
+- Replace confusing buttons with a new account-specific drop-down menu.... | 7 |
diff --git a/docs_helpers/styleguide_extra.css b/docs_helpers/styleguide_extra.css @@ -23,9 +23,14 @@ body {
display: inline-block;
display: inline-grid;
margin-bottom: 1rem;
+ max-width: 100%;
}
-.screenshot_wrapper .notice::after {
+.screenshot_wrapper > img {
+ max-width: 100%;
+}
+
+.screenshot_wrapper > .notice::a... | 7 |
diff --git a/lod.js b/lod.js @@ -289,8 +289,16 @@ const containsPoint = (a, p) => {
p.y >= a.min.y && p.y < a.min.y + a.lod &&
p.z >= a.min.z && p.z < a.min.z + a.lod;
};
-const containsNode = (a, node) => {
+/* const containsNode = (a, node) => {
return containsPoint(a, node.min);
+}; */
+const findLeafNodeForPosition... | 0 |
diff --git a/ModFlaggerStats.user.js b/ModFlaggerStats.user.js @@ -143,7 +143,7 @@ unsafeWindow.purgeUserFlagStats = function() {
getUserFlagStats(uid).then(function(v) {
const tier = calculateFlagTier(v[1], v[3]);
- const badge = `<a href="/users/flag-summary/${uid}" class="flag-badge ${tier.name}" title="${v[1]} flag... | 14 |
diff --git a/src/imba/dom/manager.imba b/src/imba/dom/manager.imba @@ -64,9 +64,9 @@ class Imba.TagManagerClass
var count = 0
var root = document:body
for item, i in @mounted
- unless document:documentElement.contains(item.dom)
+ unless document:documentElement.contains(item.@dom)
item.FLAGS = item.FLAGS & ~Imba.TAG_MO... | 11 |
diff --git a/modules/default/calendar/calendar.js b/modules/default/calendar/calendar.js @@ -43,7 +43,7 @@ Module.register("calendar", {
tableClass: "small",
calendars: [
{
- symbol: "calendar",
+ symbol: "calendar-alt",
url: "https://www.calendarlabs.com/templates/ical/US-Holidays.ics"
}
],
| 4 |
diff --git a/bin/exception.js b/bin/exception.js @@ -29,19 +29,7 @@ module.exports = EnforcerException;
*/
function EnforcerException (header) {
if (!(this instanceof EnforcerException)) return new EnforcerException(header);
- const callbacks = {};
-
- this.emit = function (type, payload) {
- if (callbacks[type]) callb... | 2 |
diff --git a/sirepo/auth/__init__.py b/sirepo/auth/__init__.py @@ -405,21 +405,28 @@ def reset_state():
def set_user_outside_of_http_request(uid):
"""A user set explicitly outside of flask request cycle
- This will guess the auth method the user used to authenticate.
- If the method cannot be guessed it will default to... | 9 |
diff --git a/src/logger.js b/src/logger.js @@ -23,23 +23,34 @@ export const setLogLevel = function(level) {
logger.error = () => {};
logger.fatal = () => {};
if (level <= LEVELS.fatal) {
- logger.fatal = console.log.bind(console, '\x1b[35m', format('FATAL'));
+ logger.fatal = console.error
+ ? console.error.bind(consol... | 1 |
diff --git a/src/v2-routes/v2-parts.js b/src/v2-routes/v2-parts.js const express = require("express")
const v2 = express.Router()
+const asyncHandle = require("express-async-handler")
const cores = require("../builders/core-query")
const caps = require("../builders/capsule-query")
// Returns all capsule information
-v2... | 3 |
diff --git a/config/navigations/services_navigation.rb b/config/navigations/services_navigation.rb @@ -136,16 +136,15 @@ SimpleNavigation::Configuration.run do |navigation|
# storage_nav.dom_attributes = {class: 'content-list'}
end
- primary.item :resource_management, 'Capacity & Masterdata', nil,
+ primary.item :resou... | 10 |
diff --git a/src/components/MapTable/constants.js b/src/components/MapTable/constants.js @@ -19,7 +19,7 @@ export const Content: MainContentType = [
label: <Fragment>Total cases</Fragment>,
format: 'numeric',
getter: item => numeral(item.rawData.value).format("0,0"),
- keyGetter: ({ key }) => key
+ keyGetter: ({ k... | 14 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.