code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/src/components/Button.js b/src/components/Button.js @@ -46,8 +46,15 @@ const Button = React.createClass({
style={Object.assign({}, styles.component, styles[this.props.type], this.props.style)}
>
<div style={styles.children}>
- {(this.props.icon && !this.props.isActive) ? <Icon size={20} style={styles.icon}... | 12 |
diff --git a/samples/chat/js/login.js b/samples/chat/js/login.js @@ -108,8 +108,7 @@ Login.prototype.renderLoginPage = function(){
helpers.clearView(app.page);
app.page.innerHTML = helpers.fillTemplate('tpl_login', {
- version: QB.version,
- buildNumber: QB.buildNumber
+ version: QB.version + ':' + QB.buildNumber
});
t... | 3 |
diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/keyboard.js b/packages/node_modules/@node-red/editor-client/src/js/ui/keyboard.js @@ -625,7 +625,7 @@ RED.keyboard = (function() {
pane.find("#red-ui-settings-tab-keyboard-filter").searchBox({
delay: 100,
change: function() {
- var filterValue = $(thi... | 9 |
diff --git a/test/spec/util/tile-error-collection.spec.js b/test/spec/util/tile-error-collection.spec.js @@ -10,9 +10,9 @@ describe('util/tile-error-collection', function () {
this.error = { type: 'limit', message: 'Some message' };
this.tiles = [
- new Backbone.Model({ url: 'some_url/0/0/0/1.png', node: new Image() })... | 14 |
diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/subflow.js b/packages/node_modules/@node-red/editor-client/src/js/ui/subflow.js @@ -1365,11 +1365,6 @@ RED.subflow = (function() {
ui.type = "input";
ui.opts = {types:['str','num','bool','json','bin','env']}
} else {
- var typeOptions = {
- 'input': {... | 2 |
diff --git a/admin-base/ui.apps/src/main/content/jcr_root/apps/admin/components/tenants/template.vue b/admin-base/ui.apps/src/main/content/jcr_root/apps/admin/components/tenants/template.vue <div class="row" style="border: solid silver 2px; box-shadow: 3px 3px 4px lightgray; margin-right: 10px;">
<div class="col s12 m6... | 7 |
diff --git a/packages/app/src/server/routes/apiv3/bookmarks.js b/packages/app/src/server/routes/apiv3/bookmarks.js @@ -258,6 +258,11 @@ module.exports = (crowi) => {
*/
router.put('/', accessTokenParser, loginRequiredStrictly, csrf, validator.bookmarks, apiV3FormValidator, async(req, res) => {
const { pageId, bool } = ... | 7 |
diff --git a/server/game/cards/04.1-BotK/ShiotomeEncampment.js b/server/game/cards/04.1-BotK/ShiotomeEncampment.js @@ -4,7 +4,6 @@ class ShiotomeEncampment extends DrawCard {
setupCardAbilities(ability) {
this.action({
title: 'Ready a Cavalry character',
- effect: 'ready a Cavalry character',
condition: context =>
Obje... | 4 |
diff --git a/tests/phpunit/integration/Core/Util/REST_Entity_Search_ControllerTest.php b/tests/phpunit/integration/Core/Util/REST_Entity_Search_ControllerTest.php @@ -59,7 +59,7 @@ class REST_Entity_Search_ControllerTest extends TestCase {
);
$response = rest_get_server()->dispatch( $request );
- $this->assertEquals( 4... | 1 |
diff --git a/userscript.user.js b/userscript.user.js @@ -23392,13 +23392,18 @@ var $$IMU_EXPORT$$;
if ((host_domain_nowww === "yandex.ru" ||
host_domain_nowww === "yandex.com")
&& options && options.element) {
- if (options.element.parentElement && options.element.parentElement.tagName === "A") {
- match = options.elem... | 7 |
diff --git a/CHANGELOG.md b/CHANGELOG.md All notable changes to this project are documented in this file.
-## Head
+## 13.3.1
- Fixed: babel configuration conflict when using TypeScript ([postcss-css-in-js/#2](https://github.com/stylelint/postcss-css-in-js/pull/2)).
- Fixed: autofix for nested tagged template literals ... | 6 |
diff --git a/configs/buf.json b/configs/buf.json {
"index_name": "buf",
"start_urls": [
- "https://buf.build/docs/"
+ "https://docs.buf.build/"
],
"sitemap_urls": [
- "https://buf.build/sitemap.xml"
+ "https://docs.buf.build/sitemap.xml"
],
"sitemap_alternate_links": true,
"stop_urls": [],
| 5 |
diff --git a/.circleci/config.yml b/.circleci/config.yml @@ -10,11 +10,11 @@ jobs:
name: fail if the branch name does not start with a valid prefix
command: |
branch=$CIRCLE_BRANCH
- if [[ "$branch" =~ ^(fix|feature|breaking)/ ]]
+ if [[ "$branch" =~ ^(fix|feature|breaking)/ || "$branch" == 'master' ]]
then
echo $branc... | 11 |
diff --git a/source/staking/test/Staking-unit.js b/source/staking/test/Staking-unit.js @@ -14,8 +14,8 @@ describe('Staking Unit', () => {
let locker
const CLIFF = 10 //blocks
const PERIOD_LENGTH = 1 //blocks
- const PERCENT_PER_PERIOD = 1 //percent
- // every 1 block 1% is vested, user can only claim starting afater 10... | 3 |
diff --git a/docs/index.html b/docs/index.html <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="description" content="A graphics system born for visualization.">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
- <... | 14 |
diff --git a/src/og/Globe.js b/src/og/Globe.js @@ -17,6 +17,8 @@ import { Planet } from "./scene/Planet.js";
import { EmptyTerrain } from "./terrain/EmptyTerrain.js";
import { isEmpty } from "./utils/shared.js";
import { Handler } from "./webgl/Handler.js";
+import { createColorRGB } from "./utils/shared.js";
+import {... | 0 |
diff --git a/SSAOPass.js b/SSAOPass.js @@ -29,7 +29,8 @@ import { SSAOBlurShader } from 'three/examples/jsm/shaders/SSAOShader.js';
import { SSAODepthShader } from 'three/examples/jsm/shaders/SSAOShader.js';
import { CopyShader } from 'three/examples/jsm/shaders/CopyShader.js';
-const _nop = () => {};
+const oldParentC... | 0 |
diff --git a/articles/compliance/gdpr/features-aiding-compliance/user-consent/index.md b/articles/compliance/gdpr/features-aiding-compliance/user-consent/index.md @@ -45,8 +45,6 @@ For a tutorial on how to implement any of these scenarios, see the [Track Consen
If you need to ask for consent from existing users and you... | 2 |
diff --git a/token-metadata/0x445f51299Ef3307dBD75036dd896565F5B4BF7A5/metadata.json b/token-metadata/0x445f51299Ef3307dBD75036dd896565F5B4BF7A5/metadata.json "symbol": "VIDT",
"address": "0x445f51299Ef3307dBD75036dd896565F5B4BF7A5",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/src/commands/test/lib/run-tests-command.ts b/src/commands/test/lib/run-tests-command.ts @@ -218,7 +218,7 @@ export abstract class RunTestsCommand extends AppCommand {
protected async cleanupArtifactsDir(artifactsDir: string): Promise<void> {
await pfs.rmDir(artifactsDir, true).catch(function(err){
- consol... | 7 |
diff --git a/src/collection/dimensions.js b/src/collection/dimensions.js @@ -269,23 +269,20 @@ fn = elesfn = ({
function computePaddingValues( width, height, paddingObject, relativeTo ) {
// Assuming percentage is number from 0 to 1
if(paddingObject.units === '%') {
- return {
- 'width': function(){
+ switch(relativeTo... | 14 |
diff --git a/token-metadata/0x00D1793D7C3aAE506257Ba985b34C76AaF642557/metadata.json b/token-metadata/0x00D1793D7C3aAE506257Ba985b34C76AaF642557/metadata.json "symbol": "TACO",
"address": "0x00D1793D7C3aAE506257Ba985b34C76AaF642557",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/runtime/opensbp/commands/leveler.js b/runtime/opensbp/commands/leveler.js -/*jslint todo: true, browser: true, continue: true, white: true*/
-/*global define*/
-
var log = require("../../../log").logger("sbp");
var fs = require("fs");
var triangulate = require("delaunay-triangulate");
| 2 |
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml @@ -33,8 +33,6 @@ jobs:
${{ runner.os }}-composer-
- name: Composer Install
run: composer install --no-interaction --no-progress
- - name: Add Composer paths to $PATH
- run: echo "PATH=$CWD/vendor/bin:$(composer global config bin-dir --absolute):$PATH... | 2 |
diff --git a/apps/poikkipuinen/app.js b/apps/poikkipuinen/app.js @@ -74,9 +74,10 @@ function draw() {
// draw hour meter
g.drawLine(watch.x - facew, watch.y - faceh, watch.x - facew, watch.y + faceh);
var lines = 13;
+ var lineh = faceh * 2 / (lines - 2);
for (var i = 1; i < lines; i++) {
var w = 2;
- var y = -faceh * ... | 1 |
diff --git a/mods/etc/gen_jwt_token.js b/mods/etc/gen_jwt_token.js -const jwt = require('njwt')
+const jwt = require('jsonwebtoken')
const fs = require('fs')
const path = require('path')
+const pathToCerts = process.env.CERTS_PATH || path.join(__dirname, 'certs')
+const accessKeyId = process.env.ACCESS_KEY_ID || 'yaps'... | 7 |
diff --git a/src/components/DisplayInput.js b/src/components/DisplayInput.js const React = require('react');
const Radium = require('radium');
+const _uniqueId = require('lodash/uniqueId');
const StyleConstants = require('../constants/Style');
@@ -34,6 +35,11 @@ const DisplayInput = React.createClass({
};
},
+ componen... | 4 |
diff --git a/core/field_bound_variable.js b/core/field_bound_variable.js @@ -37,7 +37,7 @@ Blockly.FieldBoundVariable = function() {
* The reference of this field's variable. Would be initialized in init().
* @type {Blockly.TypedVariableValueReference}
*/
- this.value_ = null;
+ this.reference_ = null;
};
goog.inherits... | 10 |
diff --git a/airesources/Java/hlt/GameMap.java b/airesources/Java/hlt/GameMap.java @@ -13,7 +13,7 @@ public class GameMap {
private final short playerId;
private final List<Player> players;
private final Map<Long, Planet> planets;
- private List<Ship> ships;
+ private List<Ship> allShips;
public GameMap(final short wid... | 1 |
diff --git a/packages/jaeger-ui/src/components/common/GraphSearch.test.js b/packages/jaeger-ui/src/components/common/GraphSearch.test.js @@ -149,10 +149,9 @@ describe('GraphSearch', () => {
it('focuses input', () => {
// Mount is necessary for refs to be registered
wrapper = mount(<UnconnectedGraphSearch {...props} />)... | 7 |
diff --git a/src/lib/date.js b/src/lib/date.js import { DateTime, Interval } from "luxon";
import DfFormat from "date-fns/format";
-import DFParse from "date-fns/parse";
const contentfulISOFormatOptions = {
suppressMilliseconds: true,
@@ -26,7 +25,7 @@ export const isSameDay = (d1: string, d2: string) =>
export const t... | 14 |
diff --git a/javascript_nodejs/21.custom-dialogs/README.md b/javascript_nodejs/21.custom-dialogs/README.md -This sample shows how to use the prompt classes included in `botbuilder-dialogs`.
-This bot will ask for multiple pieces of information from the user, each using a
-different type of prompt, each with its own val... | 3 |
diff --git a/server/static/plaid-polo.html b/server/static/plaid-polo.html @@ -67,6 +67,7 @@ firebase.js:370 Uncaught Error: Firebase.set failed: First argument contains an
<a-scene networked-scene="
room: basic; debug: true;
updateRate: 30; useLerp: false; compressSyncPackets: true; useShare: true;
+ collisionOwnershi... | 12 |
diff --git a/libs/aws/cloudwatchlogs.js b/libs/aws/cloudwatchlogs.js @@ -24,6 +24,8 @@ export default (aws) => {
};
if (logs.length === 0) params.startFromHead = true;
if (nextToken) params.nextToken = nextToken;
+ // cloudwatch log events requires knowing jobId and taskArn(s)
+ // taskArns are available on job which w... | 1 |
diff --git a/packages/app/src/components/PageDeleteModal.tsx b/packages/app/src/components/PageDeleteModal.tsx @@ -40,8 +40,7 @@ const PageDeleteModal: FC<Props> = (props: Props) => {
const { data: deleteModalData, close: closeDeleteModal } = usePageDeleteModal();
- const isOpened = deleteModalData?.isOpened != null ? ... | 7 |
diff --git a/src/transit.js b/src/transit.js @@ -169,11 +169,9 @@ class Transit {
case TOPIC_REQ: {
this.logger.debug(`Request from ${msg.nodeID}.`, msg.action, msg.params);
- this.broker.call(msg.action, msg.params)
+ return this.broker.call(msg.action, msg.params)
.then(res => this.sendResponse(msg.nodeID, msg.reques... | 13 |
diff --git a/addon/-private/system/model/internal-model.js b/addon/-private/system/model/internal-model.js @@ -881,8 +881,8 @@ export default class InternalModel {
It will remove this record from any associated relationships.
- It will completely reset all relationships to an empty state and remove
- the record from an... | 7 |
diff --git a/contracts/Havven.sol b/contracts/Havven.sol @@ -467,20 +467,20 @@ contract Havven is DestructibleExternStateToken {
internal
{
/* update the total balances first */
- totalIssuanceData = rolloverBalances(lastTotalSupply, totalIssuanceData);
+ totalIssuanceData = updatedIssuanceData(lastTotalSupply, totalIs... | 10 |
diff --git a/lib/meal/total.js b/lib/meal/total.js @@ -58,6 +58,8 @@ function diaCarbs(opts, time) {
// calculate the current deviation and steepest deviation downslope over the last hour
COB_inputs.ciTime = time.getTime();
+ // set mealTime to 6h ago for Deviation calculations
+ COB_inputs.mealTime = time.getTime() - ... | 12 |
diff --git a/src/patterns/components/inputs/angular/code/select.hbs b/src/patterns/components/inputs/angular/code/select.hbs <sprk-input-container>
- <label sprkLabel>Select Box Label</label>
<select
class="sprk-b-Select"
id="select-normal"
aria-describedby="select-normal--error-container"
data-id="select-1"
- sprkInpu... | 3 |
diff --git a/userscript.user.js b/userscript.user.js @@ -12423,8 +12423,8 @@ var $$IMU_EXPORT$$;
subcategory: "open_behavior"
},
mouseover_matching_media_types: {
- name: "Don't popup video for image",
- description: "This option prevents the popup from loading a video when the source was an image. Vice-versa is also a... | 10 |
diff --git a/xrrtc.js b/xrrtc.js @@ -137,6 +137,14 @@ class XRChannelConnection extends EventTarget {
peerConnection.dispatchEvent(new MessageEvent('addtrack', {
data: _track,
}));
+ _track.stop = (stop => function () {
+ const {readyState} = _track;
+ const result = stop.apply(this, arguments);
+ if (readyState === 'l... | 0 |
diff --git a/components/dashboard/Charts.js b/components/dashboard/Charts.js @@ -48,7 +48,7 @@ const Chart = ({ testName }) => {
return qs
}, [derivedQuery])
- const { data, error, isValidating } = useSWR(
+ const { data, error } = useSWR(
apiQuery,
fetcher,
swrOptions
@@ -66,17 +66,22 @@ const Chart = ({ testName }) =... | 9 |
diff --git a/js/kiri.js b/js/kiri.js @@ -566,6 +566,7 @@ self.kiri.license = exports.LICENSE;
ajax : ajax,
help : showHelp,
load : loadWidget,
+ alert: alert2,
focus : takeFocus,
stats : STATS,
import : loadFile,
@@ -607,6 +608,9 @@ self.kiri.license = exports.LICENSE;
}
function alert2(message, time) {
+ if (message =... | 4 |
diff --git a/token-metadata/0xfa91f4177476633f100C59D336C0f2FfAd414CBA/metadata.json b/token-metadata/0xfa91f4177476633f100C59D336C0f2FfAd414CBA/metadata.json "symbol": "XYS",
"address": "0xfa91f4177476633f100C59D336C0f2FfAd414CBA",
"decimals": 6,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
}... | 3 |
diff --git a/src/commands/sites/create.js b/src/commands/sites/create.js @@ -2,6 +2,7 @@ const { flags } = require('@oclif/command')
const inquirer = require('inquirer')
const isEmpty = require('lodash.isempty')
const prettyjson = require('prettyjson')
+const chalk = require('chalk')
const Command = require('../../base... | 3 |
diff --git a/src/mavoscript.js b/src/mavoscript.js @@ -211,7 +211,9 @@ var _ = Mavo.Script = {
},
"eq": {
logical: true,
- scalar: (a, b) => a == b,
+ scalar: (a, b) => {
+ return a == b || Mavo.safeToJSON(a) === Mavo.safeToJSON(b);
+ },
symbol: ["=", "=="],
identity: true,
precedence: 6
| 1 |
diff --git a/test-complete/nodejs-graphs-merge.js b/test-complete/nodejs-graphs-merge.js @@ -116,6 +116,45 @@ describe('merge graph test', function(){
}, done);
});
+ it('should run a combined SPARQL query', function(done){
+ this.timeout(20000);
+ var docQuery = q.where(q.term('person1'));
+ var myQuery = "PREFIX foaf... | 0 |
diff --git a/Sources/web3swift/Web3/Web3.swift b/Sources/web3swift/Web3/Web3.swift @@ -76,4 +76,10 @@ public struct Web3 {
return web3(provider: infura)
}
+ /// Initialized Web3 instance bound to Infura's kovan provider.
+ public static func InfuraKovanWeb3(accessToken: String? = nil) -> web3 {
+ let infura = InfuraPro... | 3 |
diff --git a/src/struct/ClientUtil.js b/src/struct/ClientUtil.js @@ -379,7 +379,7 @@ class ClientUtil {
* @param {boolean} cache - Whether or not to add to cache.
* @returns {Promise<GuildMember>}
*/
- fetchMemberFrom(guild, id, cache) {
+ fetchMemberIn(guild, id, cache) {
return this.client.fetchUser(id, cache).then(f... | 10 |
diff --git a/src/pages/start/index.js b/src/pages/start/index.js @@ -56,7 +56,7 @@ function Start(props) {
/>
</Helmet>,
<div
- className="display-wrapper start-wrapper"
+ className="display-wrapper page-wrapper start-wrapper"
key = {'display-wrapper'}
>
<div
| 7 |
diff --git a/articles/connections/social/oauth2.md b/articles/connections/social/oauth2.md @@ -12,6 +12,10 @@ The most common [identity providers](/identityproviders) are readily available o

+::: note
+For details on how to install and configu... | 0 |
diff --git a/test/jasmine/tests/updatemenus_test.js b/test/jasmine/tests/updatemenus_test.js @@ -651,7 +651,7 @@ describe('update menus interactions', function() {
return Plotly.relayout(gd, 'updatemenus[1].buttons[1].label', 'a looooooooooooong<br>label');
}).then(function() {
- assertItemDims(selectHeader(1), 179, 35... | 3 |
diff --git a/src/reducers/account/index.js b/src/reducers/account/index.js @@ -14,7 +14,8 @@ import {
checkCanEnableTwoFactor,
get2faMethod,
getLedgerKey,
- getProfileBalance
+ updateStakingAccount,
+ updateStakingLockup
} from '../../actions/account'
import { LOCKUP_MIN_BALANCE } from '../../utils/account-with-lockup'... | 9 |
diff --git a/packages/react-router-dom/docs/guides/scroll-restoration.md b/packages/react-router-dom/docs/guides/scroll-restoration.md @@ -26,6 +26,20 @@ class ScrollToTop extends Component {
export default withRouter(ScrollToTop);
```
+Or if you are running React 16.8 and above, you can use hooks:
+
+```jsx
+const Scr... | 0 |
diff --git a/server/preprocessing/other-scripts/openaire.R b/server/preprocessing/other-scripts/openaire.R @@ -150,7 +150,8 @@ fill_dois <- function(df) {
dois <- mapply(check_distance, titles, candidates, USE.NAMES=FALSE)
} else if (length(titles) == 1) {
response <- cr_works(flq=c('query.title'=titles))$data
- dois <... | 1 |
diff --git a/src/gameClasses/components/ui/ItemUiComponent.js b/src/gameClasses/components/ui/ItemUiComponent.js @@ -351,7 +351,8 @@ var ItemUiComponent = IgeEntity.extend({
value = ige.game.secondsToHms(attribute.value);
}
else {
- value = parseInt(attribute.value);
+ var decimalPlace = parseInt(attribute.decimalPlace... | 11 |
diff --git a/src/common/quiz/mastery_mode.js b/src/common/quiz/mastery_mode.js -'use strict'
const reload = require('require-reload')(require);
const globals = require('./../globals.js');
const SettingsOverride = reload('./settings_override.js');
-const TIMES_CORRECT_BASE_REINSERTION_INDEX_MODIFIER = 12;
-const PERCENT... | 7 |
diff --git a/lib/node_modules/@stdlib/_tools/pkgs/namespace-deps/lib/deps.js b/lib/node_modules/@stdlib/_tools/pkgs/namespace-deps/lib/deps.js @@ -28,7 +28,7 @@ var startsWith = require( '@stdlib/string/starts-with' );
var replace = require( '@stdlib/string/replace' );
var contains = require( '@stdlib/assert/contains' ... | 9 |
diff --git a/lib/modules/contracts_manager/index.js b/lib/modules/contracts_manager/index.js @@ -41,9 +41,6 @@ class ContractsManager {
});
self.events.setCommandHandler("contracts:reset:dependencies", (cb) => {
- for (let className in self.contracts) {
- self.contracts[className].dependencyCount = null;
- }
self.contr... | 2 |
diff --git a/src/graphql/queries/__tests__/__snapshots__/ListArticles.js.snap b/src/graphql/queries/__tests__/__snapshots__/ListArticles.js.snap @@ -149,6 +149,12 @@ Object {
"data": Object {
"ListArticles": Object {
"edges": Array [
+ Object {
+ "cursor": "WyJkb2MjbGlzdEFydGljbGVUZXN0NCJd",
+ "node": Object {
+ "id": ... | 3 |
diff --git a/app_web/src/ui/sass.scss b/app_web/src/ui/sass.scss @@ -11,7 +11,6 @@ $primary-dark: findDarkColor($primary);
$primary-invert: findColorInvert($primary);
$border: #f5f5f5;
$text: #f5f5f5;
-$text-invert: #7cff92;
// this changes the color of labels, etc. (i dont know why either...)
$text-strong: #f5f5f5;
$d... | 2 |
diff --git a/core/server/api/v3/pages.js b/core/server/api/v3/pages.js const models = require('../../models');
-const i18n = require('../../../shared/i18n');
+const tpl = require('@tryghost/tpl');
const errors = require('@tryghost/errors');
const getPostServiceInstance = require('../../services/posts/posts-service');
c... | 14 |
diff --git a/packages/design-tools/src/__stories__/DataFlow.stories.js b/packages/design-tools/src/__stories__/DataFlow.stories.js @@ -28,6 +28,10 @@ export default {
const dataStore = createStore((set) => ({
height: 0,
+ width: 0,
+ x: 0,
+ y: 0,
+ z: 0,
}));
const AppContext = React.createContext({ dataStore });
@@ -... | 7 |
diff --git a/token-metadata/0x685aea4F02E39E5a5BB7f7117E88DB1151F38364/metadata.json b/token-metadata/0x685aea4F02E39E5a5BB7f7117E88DB1151F38364/metadata.json "symbol": "POSH",
"address": "0x685aea4F02E39E5a5BB7f7117E88DB1151F38364",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/test/Message.test.js b/test/Message.test.js const expect = require("chai").expect;
-const {WebMidi, Message} = require("../dist/webmidi.cjs.js");
+const {Message} = require("../dist/webmidi.cjs.js");
describe("Message Object", function() {
@@ -29,36 +29,37 @@ describe("Message Object", function() {
items.f... | 12 |
diff --git a/articles/api-auth/grant/password.md b/articles/api-auth/grant/password.md @@ -54,5 +54,5 @@ For details on how to implement multifactor authentication, refer to [Multifacto
## Tutorials
- - [Configuring your tenant for API Authorization](/api-auth/tutorials/configuring-tenant-for-api-auth)
- - [Executing a... | 0 |
diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml <action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
+ <!-- Accepts URIs that begin with "https://*.coopcycle.org/register/confirm -->
+ <intent-... | 9 |
diff --git a/runtime.js b/runtime.js @@ -30,6 +30,7 @@ const _importMapUrl = u => new URL(u, location.protocol + '//' + location.host).
const importMap = {
three: _importMapUrl('./three.module.js'),
app: _importMapUrl('./app-object.js'),
+ world: _importMapUrl('./world.js'),
runtime: _importMapUrl('./runtime.js'),
phys... | 0 |
diff --git a/src/createServer.js b/src/createServer.js @@ -17,12 +17,15 @@ function createServer (options = {}) {
'server-port': serverPort,
port = serverPort || 25565,
motd = 'A Minecraft server',
- 'max-players': maxPlayers = 20,
+ 'max-players': maxPlayersOld = 20,
+ maxPlayers: maxPlayersNew = 20,
version,
favicon,... | 9 |
diff --git a/js/jquery.terminal.d.ts b/js/jquery.terminal.d.ts @@ -87,7 +87,7 @@ declare namespace JQueryTerminal {
type commandsCmdFunction = (command: string) => any;
type setStringFunction = (value: string) => void;
- type greetingsArg = ((setPrompt: setStringFunction) => void) | string;
+ type greetingsArg = ((this... | 4 |
diff --git a/src/dot.js b/src/dot.js @@ -22,7 +22,7 @@ export function initViz() {
this._worker.onmessage = function(event) {
graphvizInstance._dispatch.call("initEnd", this);
};
- if (vizURL[0] == '.') {
+ if (!vizURL.match(/^https?:\/\/|^\/\//i)) {
// Local URL. Prepend with local domain to be usable in web worker
vi... | 9 |
diff --git a/token-metadata/0xC4cB5793BD58BaD06bF51FB37717b86B02CBe8A4/metadata.json b/token-metadata/0xC4cB5793BD58BaD06bF51FB37717b86B02CBe8A4/metadata.json "symbol": "CREDIT",
"address": "0xC4cB5793BD58BaD06bF51FB37717b86B02CBe8A4",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIE... | 3 |
diff --git a/conf/evolutions/default/98.sql b/conf/evolutions/default/98.sql @@ -4,7 +4,11 @@ SET computation_method = 'approximation2',
geom = ST_Project(
ST_SetSRID(ST_Point(panorama_lng, panorama_lat), 4326),
GREATEST(0.0, 20.8794248 + 0.0184087 * sv_image_y + 0.0022135 * canvas_y),
- radians(heading -27.5267447 + 0... | 1 |
diff --git a/README.md b/README.md @@ -54,8 +54,8 @@ npm install jquery.tabulator --save
### CDNJS
To access Tabulator directly from the CDNJS CDN servers, include the following two lines at the start of your project, instead of the localy hosted versions:
```html
-<link href="https://cdnjs.cloudflare.com/ajax/libs/tab... | 3 |
diff --git a/appjs/logicjavascript.js b/appjs/logicjavascript.js @@ -18608,65 +18608,6 @@ function oddsCalc() {
}
}
-//Coefficient of Variation Calculator
-function covcal()
-{
- var num1=document.getElementById("setx").value;
- var num2=document.getElementById("sety").value;
- valid=/^([-]{0,1}\d{1,}[\.]{0,1}\d{0,}[ ]... | 1 |
diff --git a/lib/views/widget/logo.html b/lib/views/widget/logo.html -<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 226.44 196.11">
+<svg xmlns="http://www.w3.org/2000/svg" width="32px" height="32px" viewBox="0 0 226.44 196.11">
<polygon class="group2" points="56.61 196.11 169.83 196.11 226.44 98.06 188.7 98.06 ... | 12 |
diff --git a/packages/mermaid/src/mermaidAPI.ts b/packages/mermaid/src/mermaidAPI.ts @@ -529,8 +529,8 @@ const render = function (
// This is the d3 node for the svg element
const svgNode = root.select(`${enclosingDivID_selector} svg`);
setA11yDiagramInfo(svgNode, graphType);
- const a11yTitle = diag.db.getAccTitle !==... | 4 |
diff --git a/articles/connections/enterprise/google-apps.md b/articles/connections/enterprise/google-apps.md @@ -43,6 +43,10 @@ This doc refers to the client steps to connect your client. If you are looking t
9. Click **Save**.
+::: note
+Google may show an "unverified app" screen before displaying the consent screen f... | 0 |
diff --git a/src/feats.js b/src/feats.js @@ -301,7 +301,8 @@ const Feats = {
id: 'secondwind',
name: 'Second Wind',
description: 'Reinvigorate yourself in an instant.',
- activate: (player, args, rooms, npcs, players) => {
+
+ activate(player, args, rooms, npcs, players) {
const cooldownNotOver = player.getEffects('sec... | 7 |
diff --git a/userscript.user.js b/userscript.user.js @@ -3653,7 +3653,8 @@ var $$IMU_EXPORT$$;
// http://blogfiles.pstatic.net/20140302_211/ttlyoung333_1393761808293P7TKj_JPEG/17.jpg -- cropped and upscaled (same as type=w1 and type=w2)
// http://blogfiles.naver.net/20140302_211/ttlyoung333_1393761808293P7TKj_JPEG/17.j... | 7 |
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb @@ -98,7 +98,7 @@ class ApplicationController < ActionController::Base
if user.present?
user.invalidate_all_sessions!
elsif opts[:scope]
- scope_user = ::User.where(username: opts[:scope]).first
+ scope_user = Carto::User... | 4 |
diff --git a/packages/adapter/addon/rest.js b/packages/adapter/addon/rest.js @@ -302,7 +302,7 @@ let RESTAdapter = Adapter.extend(BuildURLMixin, {
// Avoid computed property override deprecation in fastboot as suggested by:
// https://deprecations.emberjs.com/v3.x/#toc_computed-property-override
get() {
- if (this._fas... | 12 |
diff --git a/src/components/common/composers/SampleSize.js b/src/components/common/composers/SampleSize.js import PropTypes from 'prop-types';
import React from 'react';
+import { connect } from 'react-redux';
import { VIEW_1K } from '../../../lib/topicFilterUtil';
/**
* Wrap any component that wants to display an Edit... | 11 |
diff --git a/packages/insight-previous/src/components/transaction/transaction.html b/packages/insight-previous/src/components/transaction/transaction.html <ion-row align-items-end class="small" *ngIf="!showCoins">
<ion-col col-12 text-right text-uppercase>
- <button ion-button small item-end color="danger" *ngIf="tx.co... | 14 |
diff --git a/admin-base/ui.apps/src/main/content/jcr_root/apps/admin/components/workspace/template.vue b/admin-base/ui.apps/src/main/content/jcr_root/apps/admin/components/workspace/template.vue }"><i class="material-icons">keyboard_arrow_left</i>
</admin-components-action>
- <div v-bind:class="`right-panel ${isFullscr... | 4 |
diff --git a/test/jasmine/tests/mapbox_test.js b/test/jasmine/tests/mapbox_test.js @@ -1551,45 +1551,6 @@ describe('@noCI, mapbox plots', function() {
});
});
- function getMapInfo(gd) {
- var subplot = gd._fullLayout.mapbox._subplot;
- var map = subplot.map;
-
- var sources = map.style.sourceCaches;
- var layers = map... | 0 |
diff --git a/constants.js b/constants.js @@ -69,6 +69,7 @@ export const crouchMaxTime = 200;
export const activateMaxTime = 750;
export const useMaxTime = 750;
export const aimMaxTime = 1000;
+export const throwReleaseTime = 750;
export const minFov = 60;
export const maxFov = 120;
export const initialPosY = 1.5;
| 0 |
diff --git a/src/commands/test/lib/included-files-parser.ts b/src/commands/test/lib/included-files-parser.ts @@ -3,6 +3,7 @@ import * as path from "path";
import * as pfs from "../../../util/misc/promisfied-fs";
import { validateXmlFile } from "./xml-util";
import { out } from "../../../util/interaction";
+import _ = r... | 14 |
diff --git a/src/components/core/modular.js b/src/components/core/modular.js @@ -19,17 +19,7 @@ export default {
Object.keys(instance.modules).forEach((moduleName) => {
const module = instance.modules[moduleName];
const moduleParams = modulesParams[moduleName] || {};
- // Extend instance methods and props
- if (module.... | 2 |
diff --git a/generators/client/templates/angularjs/src/main/webapp/app/admin/user-management/_user-management.controller.js b/generators/client/templates/angularjs/src/main/webapp/app/admin/user-management/_user-management.controller.js }
function onSuccess(data, headers) {
- //hide anonymous user from user management:... | 2 |
diff --git a/src/assets/drizzle/styles/utility/_toolkit-overrides.scss b/src/assets/drizzle/styles/utility/_toolkit-overrides.scss .#{$app-namespace}-c-Logo-placeholder {
background-color: #ccc;
- height: 75px;
- width: 175px;
+ height: 55px;
+ width: 262px;
}
.#{$app-namespace}-c-Logo-placeholder--small {
| 3 |
diff --git a/src/PanelTraits/Fields.php b/src/PanelTraits/Fields.php @@ -156,6 +156,33 @@ trait Fields
}
}
+ /**
+ * Update value of a given key for a current field.
+ *
+ * @param string $field The field
+ * @param array $modifications An array of changes to be made.
+ * @param string $form update/create/both
+ */
+ p... | 11 |
diff --git a/base/interactable_objects/InteractableObjects.ts b/base/interactable_objects/InteractableObjects.ts @@ -283,12 +283,18 @@ export class InteractableObjects {
}
/** Gets the x position in px. */
get x(): number {
+ if (this.sprite) {
return this.sprite.body ? this.sprite.body.x : this.sprite.x;
}
+ return nu... | 1 |
diff --git a/apps.json b/apps.json ]
},
{ "id": "miclock",
- "name": "A mix of analog and digital Clock",
+ "name": "Mixed Clock",
"icon": "clock-mixed.png",
- "description": "Mixed AD Clock",
+ "description": "A mix of analog and digital Clock",
"tags": "miclock",
"type":"clock",
"storage": [
| 3 |
diff --git a/edit.js b/edit.js @@ -1670,6 +1670,39 @@ const cometFireMesh = (() => {
})();
scene.add(cometFireMesh);
+const hpMesh = (() => {
+ const geometry = BufferGeometryUtils.mergeBufferGeometries([
+ new THREE.PlaneBufferGeometry(1, 0.02).applyMatrix4(new THREE.Matrix4().makeTranslation(0, 0.02, 0)),
+ new THREE... | 0 |
diff --git a/packages/vulcan-users/lib/modules/permissions.js b/packages/vulcan-users/lib/modules/permissions.js @@ -153,11 +153,14 @@ Users.canDo = (user, actionOrActions) => {
Users.owns = function(user, document) {
try {
if (!!document.userId) {
- // case 1: document is a post or a comment, use userId to check
+ // ... | 7 |
diff --git a/avatars/avatars.js b/avatars/avatars.js @@ -14,12 +14,29 @@ import easing from '../easing.js';
import CBOR from '../cbor.js';
import Simplex from '../simplex-noise.js';
-/* VRMSpringBoneImporter.prototype._createSpringBone = (_createSpringBone => function(a, b) {
- b.gravityPower *= 0.1;
- b.stiffnessForce... | 0 |
diff --git a/components/mapbox/styles/vector.json b/components/mapbox/styles/vector.json "openmaptiles": {
"type": "vector",
"url": "https://openmaptiles.geo.data.gouv.fr/data/france-vector.json"
- },
- "base-adresse-nationale": {
- "type": "vector",
- "url": "https://openmaptiles.geo.data.gouv.fr/data/adresses.json"
}... | 2 |
diff --git a/src/lib/AsComponent.coffee b/src/lib/AsComponent.coffee @@ -88,7 +88,9 @@ exports.asComponent = (func, options) ->
if hasCallback
# Handle Node.js style async functions
values.push (err, res) ->
- return output.done err if err
+ if err
+ output.done err
+ return
output.sendDone res
res = func.apply null, v... | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.