code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/package.json b/package.json {
"name": "julia-client",
"main": "./lib/julia-client",
- "version": "0.6.9",
+ "version": "0.6.10",
"description": "Julia Evaluation",
"keywords": [],
"repository": "https://github.com/JunoLab/atom-julia-client",
| 6 |
diff --git a/src/openseadragon.js b/src/openseadragon.js @@ -2491,6 +2491,31 @@ function OpenSeadragon( options ){
});
+ //TODO: $.console is often used inside a try/catch block which generally
+ // prevents allowings errors to occur with detection until a debugger
+ // is attached. Although I've been guilty of the sam... | 5 |
diff --git a/cypress/integration/head.spec.js b/cypress/integration/head.spec.js +// file deepcode ignore PromiseNotCaughtGeneral: Cypress will fail in case there are any errors
describe('head.js', () => {
describe('stream', () => {
beforeEach('visit dev page', () => {
| 0 |
diff --git a/src/electron.js b/src/electron.js @@ -3021,7 +3021,6 @@ async function startIdleCheckShort() {
console.log(`\x1b[36mStarted short idle monitor.\x1b[0m`)
if(notIdleMonitor) clearInterval(notIdleMonitor);
notIdleMonitor = setInterval(idleCheckShort, 1000)
- lastIdleTime = 1
}
function idleCheckShort() {
@@ -... | 7 |
diff --git a/src/js/controllers/tab-receive.js b/src/js/controllers/tab-receive.js @@ -12,7 +12,8 @@ angular.module('copayApp.controllers').controller('tabReceiveController', functi
var currentAddressSocket = {};
var paymentSubscriptionObj = { op:"addr_sub" }
- var config = configService.getSync();
+
+ var config;
var ... | 4 |
diff --git a/loadout-manager.js b/loadout-manager.js @@ -102,7 +102,7 @@ class LoadoutManager extends EventTarget {
this.dispatchEvent(new MessageEvent('selectedchange', {
data: {
index,
- app: this.apps[index],
+ app: this.apps[index] || null,
},
}));
}
| 0 |
diff --git a/data/scripts/GR_R0_mapping.py b/data/scripts/GR_R0_mapping.py import sys
import numpy as np
+import copy
import matplotlib.pyplot as plt
sys.path.append('..')
from model import POPDATA, AGES, Sub, DefaultRates, solve_ode, trace_ages, Params, Fracs, init_pop
-from R0_estimator import get_growth_rate
+from R... | 1 |
diff --git a/test/test-0.10.3.js b/test/test-0.10.3.js @@ -31,60 +31,84 @@ const { TEST_SERVER_URL, TEST_SERVER_URL_SSL, FILENAME, DROPBOX_TOKEN, styles }
const dirs = RNFetchBlob.fs.dirs
let prefix = ((Platform.OS === 'android') ? 'file://' : '')
let begin = Date.now()
+//
+// describe('#230 #249 cookies manipulation'... | 0 |
diff --git a/packages/mjml-cli/src/client.js b/packages/mjml-cli/src/client.js @@ -227,8 +227,8 @@ export default async () => {
}
case 's': {
Promise.all(convertedStream.map(outputToConsole))
- .then(() => (process.exitCode = EXIT_CODE)) // eslint-disable-line no-return-assign
- .catch(() => (process.exitCode = 1)) // ... | 13 |
diff --git a/OpenRobertaServer/staticResources/js/app/roberta/controller/menu.controller.js b/OpenRobertaServer/staticResources/js/app/roberta/controller/menu.controller.js @@ -210,6 +210,10 @@ define([ 'exports', 'log', 'util', 'message', 'comm', 'robot.controller', 'socke
$('#navbarCollapse').onWrap('click', '.dropdo... | 1 |
diff --git a/test/integration/core/promises_hook.tap.js b/test/integration/core/promises_hook.tap.js var semver = require('semver')
if (!(semver.satisfies(process.version, '>=8') || semver.prerelease(process.version))) {
- console.error('Promise tests cant run without native Promises')
+ console.error(
+ 'async hook pr... | 1 |
diff --git a/device.js b/device.js @@ -595,8 +595,8 @@ function handlePairingMessage(json, device_pubkey, callbacks){
return callbacks.ifError("bad reverse pairing secret");
eventBus.emit("pairing_attempt", from_address, body.pairing_secret);
db.query(
- "SELECT is_permanent FROM pairing_secrets WHERE pairing_secret=? ... | 11 |
diff --git a/.travis.yml b/.travis.yml language: node_js
git:
- depth: 1 # No need for commits history
+ # Do not take whole history, but ensure to not break things:
+ # - Merging multiple PR's around same time may introduce a case where it's not
+ # the last merge commit that is to be tested
+ depth: 10
branches:
only... | 7 |
diff --git a/engine/modules/endscreen/src/main/resources/view/endscreen-module/EndScreenModule.js b/engine/modules/endscreen/src/main/resources/view/endscreen-module/EndScreenModule.js @@ -241,14 +241,10 @@ export class EndScreenModule {
this.finishers = []
var finishers = new PIXI.Container()
- var curRank = 1
+
var e... | 1 |
diff --git a/package.json b/package.json "newrelic": "^1.40.0",
"nodemon": "^1.9.2",
"npm-run-all": "^4.0.2",
- "numeral": "^2.0.6",
"postcss-flexbugs-fixes": "^3.0.0",
"postcss-loader": "^2.0.5",
"prop-types": "^15.5.10",
| 2 |
diff --git a/squeak_headless.js b/squeak_headless.js @@ -45,14 +45,6 @@ import "./vm.input.headless.js"; // use headless input to prevent image c
import "./vm.plugins.js";
import "./plugins/ConsolePlugin.js";
-// Run the VM
-Object.extend(Squeak, {
- vmPath: "/",
- platformSubtype: "Browser",
- osVersion: navigator.use... | 14 |
diff --git a/test/unit/risk/three-d-secure/strategy/adyen.test.js b/test/unit/risk/three-d-secure/strategy/adyen.test.js @@ -128,7 +128,8 @@ describe('AdyenStrategy', function () {
PaReq: 'test-pa-req',
MD: 'test-md'
},
- container: strategy.container
+ container: strategy.container,
+ defaultEventName: 'adyen-3ds-chal... | 3 |
diff --git a/core/bound_variables.js b/core/bound_variables.js @@ -362,82 +362,6 @@ Blockly.BoundVariables.getAllVariablesOnBlocks = function(block, opt_filter) {
return variables;
};
-/**
- * Collect a list of blocks which are need to infer types in order.
- * @param {!Array<!Blockly.Block>} blocks List of root blocks... | 2 |
diff --git a/package.json b/package.json {
"name": "prettier-atom",
"main": "./dist/main.js",
- "version": "0.43.0",
+ "version": "0.43.1",
"description": "Atom plugin for formatting JavaScript using prettier with (optional) prettier-eslint integration",
"keywords": [
"atom",
| 6 |
diff --git a/src/web/HTMLOperation.mjs b/src/web/HTMLOperation.mjs @@ -131,14 +131,16 @@ class HTMLOperation {
*/
function titleFromWikiLink(url) {
const splitURL = url.split("/");
- if (splitURL.indexOf("wikipedia.org") < 0) {
+ if (splitURL.indexOf("wikipedia.org") < 0 && splitURL.indexOf("forensicswiki.org") < 0) {
... | 0 |
diff --git a/test/compiler.js b/test/compiler.js @@ -22,7 +22,7 @@ describe('embark.Compiler', function() {
compiler.compile_solidity([
readFile('test/contracts/simple_storage.sol'),
readFile('test/contracts/token.sol')
- ], function(compiledContracts) {
+ ], function(err, compiledContracts) {
assert.deepEqual(compiled... | 3 |
diff --git a/test/Air/AirParser.test.js b/test/Air/AirParser.test.js @@ -345,7 +345,6 @@ describe('#AirParser', () => {
.then((result) => {
testTicket(result);
expect(result.commission).to.be.deep.equal({ amount: 0 });
- expect(result.tourCode).to.be.a('string');
expect(result.tourCode).to.be.equal('IT151920');
});
});... | 2 |
diff --git a/shaders.js b/shaders.js @@ -897,6 +897,69 @@ const portalMaterial = new THREE.ShaderMaterial({
// polygonOffsetUnits: 1,
});
+/* const loadVsh = `
+ #define M_PI 3.1415926535897932384626433832795
+ uniform float uTime;
+
+ mat4 rotationMatrix(vec3 axis, float angle)
+ {
+ axis = normalize(axis);
+ float s ... | 0 |
diff --git a/CHANGES.md b/CHANGES.md @@ -4,6 +4,14 @@ Search:
- Prevent freeText query from being None which will cause score to be 0
+Others:
+
+- Made registry-api DB pool settings configurable via Helm
+- Make broken link sleuther recrawl period configurable via Helm
+- Format minion will trust dcat format if other ... | 14 |
diff --git a/lib/MqttClient.js b/lib/MqttClient.js @@ -329,12 +329,20 @@ MqttClient.prototype.handleCustomCommand = function(message) {
if(msg && msg.command) {
switch(msg.command) {
case "zoned_cleanup":
- if(msg.zone_id) {
+ if(msg.zone_ids && Array.isArray(msg.zone_ids)) {
const areas = this.configuration.get("areas... | 11 |
diff --git a/.circleci/config.yml b/.circleci/config.yml @@ -173,16 +173,12 @@ jobs:
### Check if the local version is beta, otherwise publish normally
if [[ $LOCAL_VERSION == *"beta"* ]]; then
if [[ $LOCAL_VERSION != $NPM_BETA_VERSION ]]; then
- echo "Compiling..."
- yarn compile
echo "Publishing package to NPM with '... | 2 |
diff --git a/src/web/store/index.js b/src/web/store/index.js @@ -234,7 +234,7 @@ const getUserConfig = () => {
}
let json = JSON.parse(value) || {};
- cnc.version = json.version;
+ cnc.version = json.version || settings.version; // fallback to current version
cnc.state = json.state;
} catch (err) {
log.error(err);
@@ -... | 1 |
diff --git a/server/preprocessing/other-scripts/base.R b/server/preprocessing/other-scripts/base.R @@ -45,7 +45,7 @@ get_papers <- function(query, params, limit=100,
# add "textus:" to each word/phrase to enable verbatim search
# make sure it is added after any opening parentheses to enable queries such as "(a and b) o... | 8 |
diff --git a/.travis.yml b/.travis.yml -language: node_js
-python: "3.6"
cache:
yarn: true
directories:
@@ -9,12 +7,14 @@ cache:
jobs:
include:
- stage: python unit tests
+ language: python
script: echo WIP
- stage: javascript unit tests
+ language: node_js
script: yarn test
- stage: security tests
script: echo WIP
- s... | 1 |
diff --git a/bin/openapi.js b/bin/openapi.js @@ -26,6 +26,9 @@ const rxPathParam = /{([^}]+)}/;
const rxVersion = /^2.0$|^\d+\.\d+\.\d+$/;
const defaults = {
+ deserialize: {
+ throw: true
+ },
populate: {
copy: false,
defaults: true,
@@ -35,6 +38,7 @@ const defaults = {
serialize: false,
templateDefaults: true,
templa... | 3 |
diff --git a/util/logger.js b/util/logger.js +const TEST_ENV = process.env.NODE_ENV === 'test'
const Discord = require('discord.js')
const COLORS = {
Error: '\x1b[31m',
@@ -56,6 +57,7 @@ class _Logger {
const color = COLORS[level] ? COLORS[level] : ''
const reset = COLORS.reset ? COLORS.reset : ''
return (contents, ...... | 8 |
diff --git a/views/components/settings/parts/display-config.es b/views/components/settings/parts/display-config.es @@ -190,27 +190,30 @@ const ZoomingConfig = connect(() => (
const PanelMinSizeConfig = connect(() => (
(state, props) => ({
panelMinSize: get(state.config, 'poi.panelMinSize', 1),
+ layout: get(state.confi... | 7 |
diff --git a/lib/classes/Variables.js b/lib/classes/Variables.js @@ -191,7 +191,11 @@ class Variables {
valueFromSource = this.getValueFromSsm(variableString);
}
if (valueFromSource) {
- this.cache[variableString] = valueFromSource;
+ this.cache[variableString] = BbPromise.resolve(valueFromSource)
+ .then((result) => {... | 14 |
diff --git a/bin.js b/bin.js @@ -26,18 +26,18 @@ const argv = minimist(process.argv.slice(2), opts.options());
const sourceArg = argv._[0];
const destArg = argv._[1];
+if (argv.version) {
+ console.log(pkg.version);
+ process.exit();
+}
+
if (argv.help || !sourceArg || !destArg) {
console.log(
`${pkg.name}: Zip lambda ... | 7 |
diff --git a/js/bitstamp.js b/js/bitstamp.js // ---------------------------------------------------------------------------
const Exchange = require ('./base/Exchange');
-const { AuthenticationError, ExchangeError, NotSupported, PermissionDenied, InvalidNonce, OrderNotFound, InsufficientFunds, InvalidAddress, InvalidOr... | 9 |
diff --git a/token-metadata/0x905D3237dC71F7D8f604778e8b78f0c3ccFF9377/metadata.json b/token-metadata/0x905D3237dC71F7D8f604778e8b78f0c3ccFF9377/metadata.json "symbol": "BRAP",
"address": "0x905D3237dC71F7D8f604778e8b78f0c3ccFF9377",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/token-metadata/0x82A6A22d68fFba4057d5b49F93dE5C05e4416bd1/metadata.json b/token-metadata/0x82A6A22d68fFba4057d5b49F93dE5C05e4416bd1/metadata.json "symbol": "MWT",
"address": "0x82A6A22d68fFba4057d5b49F93dE5C05e4416bd1",
"decimals": 8,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
}... | 3 |
diff --git a/src/config/supportedRuntimes.js b/src/config/supportedRuntimes.js @@ -15,7 +15,7 @@ module.exports = new Set([
// 'dotnetcore2.0',
// supported
- // dotnetcore2.1
+ // 'dotnetcore2.1'
// ==========
// GO
@@ -27,7 +27,7 @@ module.exports = new Set([
// JAVA
// ==========
- // java8
+ // 'java8'
// =========... | 0 |
diff --git a/src/ModelerApp.vue b/src/ModelerApp.vue @@ -26,8 +26,6 @@ import Modeler from './components/Modeler.vue';
import statusbar from './components/statusbar.vue';
import FileUpload from 'vue-upload-component';
import FilerSaver from 'file-saver';
-import { faCheckCircle, faTimesCircle } from '@fortawesome/free-... | 2 |
diff --git a/src/kiri-mode/cam/prepare.js b/src/kiri-mode/cam/prepare.js // last layer/move is to zmax
// injected into the last layer generated
- if (lastPoint)
+ if (lastPoint && newOutput.length)
addOutput(newOutput[newOutput.length-1], printPoint = lastPoint.clone().setZ(zmax_outer), 0, 0, tool.getNumber());
// rep... | 1 |
diff --git a/checkfiles/checkfiles.py b/checkfiles/checkfiles.py @@ -874,6 +874,10 @@ def patch_file(session, url, job):
if data:
item_url = urljoin(url, job['@id'])
+
+ etag_r = session.get(item_url + '?frame=edit&datastore=database')
+ if etag_r.ok:
+ if job['etag'] == etag_r.headers['etag']:
r = session.patch(
item_... | 0 |
diff --git a/blocks/loops.js b/blocks/loops.js @@ -334,9 +334,8 @@ Blockly.Constants.Loops.CONTROL_FLOW_IN_LOOP_CHECK_MIXIN = {
// Don't change state if:
// * It's at the start of a drag.
// * It's not a move event.
- // * Or the moving block is not this block.
if (!this.workspace.isDragging || this.workspace.isDraggin... | 3 |
diff --git a/src/client/js/components/PageEditor/CodeMirrorEditor.jsx b/src/client/js/components/PageEditor/CodeMirrorEditor.jsx @@ -58,7 +58,7 @@ require('../../util/codemirror/autorefresh.ext');
const MARKDOWN_TABLE_ACTIVATED_CLASS = 'markdown-table-activated';
// TODO: activate by GW-3443
// const MARKDOWN_LINK_ACTI... | 12 |
diff --git a/include/wf.hrl b/include/wf.hrl -type context_data() :: iolist() | {file, Filename :: path()}
| {stream, Size :: integer(), fun()}
| {sendfile, integer(), Size :: integer(), Path :: any()}.
--type context_type() :: first_request | postback_request | static_file | postback_websocket | undefined.
+-type cont... | 11 |
diff --git a/packages/app/src/components/Page/FixPageGrantAlert.tsx b/packages/app/src/components/Page/FixPageGrantAlert.tsx @@ -15,7 +15,7 @@ type ModalProps = {
isOpen: boolean
pageId: string
dataApplicableGrant: IResApplicableGrant
- close(): Promise<void> | void
+ close(): void
}
const FixPageGrantModal = (props: M... | 7 |
diff --git a/test/contracts/FuturesMarket.nextPrice.js b/test/contracts/FuturesMarket.nextPrice.js @@ -54,8 +54,6 @@ contract('FuturesMarket MixinFuturesNextPriceOrders', accounts => {
contracts: [
'FuturesMarketManager',
'FuturesMarketSettings',
- 'ProxyFuturesMarketBTC',
- 'ProxyFuturesMarketETH',
'FuturesMarketBTC',... | 1 |
diff --git a/lib/default-config.js b/lib/default-config.js @@ -178,10 +178,10 @@ module.exports = {
* own project based on Browsersync
* @property logPrefix
* @type String
- * @default BS
+ * @default Browsersync
* @since 1.5.1
*/
- logPrefix: "BS",
+ logPrefix: "Browsersync",
/**
* @property logConnections
| 12 |
diff --git a/src/components/Dropdown/Dropdown.jsx b/src/components/Dropdown/Dropdown.jsx @@ -305,7 +305,7 @@ Dropdown.propTypes = {
*/
menuPortalTarget: PropTypes.oneOfType(PropTypes.element, PropTypes.object),
/**
- * Custom function to override existing styles, ex: base => {...base, ...myCustomOverrides}
+ * Custom f... | 7 |
diff --git a/src/server/service/search-reconnect-context/reconnect-context.js b/src/server/service/search-reconnect-context/reconnect-context.js +const loggerFactory = require('@alias/logger');
+
+const logger = loggerFactory('growi:service:search-reconnect-context:reconnect-context');
+
+
+const RECONNECT_INTERVAL_SEC... | 7 |
diff --git a/README.md b/README.md ## [Documentation](http://react-slick.neostack.com)
-### :warning: Alert
-
-:construction: react-slick@0.27.* releases are experimental.
-:white_check_mark: **Use react-slick@0.26 in production** until we make our next stable release (react-slick@0.28)
-:pray: We invite you to test re... | 2 |
diff --git a/server/dumper.js b/server/dumper.js @@ -60,7 +60,7 @@ var Dumper = function(intrp1, intrp2) {
/** @const {!Map<!Interpreter.Scope,!ScopeDumper>} */
this.scopeDumpers = new Map();
/** @const {!Map<!Interpreter.prototype.Object,!ObjectDumper>} */
- this.objDumpers = new Map();
+ this.objDumpers2 = new Map();... | 10 |
diff --git a/assets/src/edit-story/app/media/utils/useUploadVideoFrame.js b/assets/src/edit-story/app/media/utils/useUploadVideoFrame.js @@ -46,6 +46,7 @@ function useUploadVideoFrame({ updateMediaElement }) {
const processData = async (id, src) => {
try {
const obj = await getFirstFrameOfVideo(src);
+ obj.name = getFi... | 7 |
diff --git a/assets/js/modules/analytics/settings/settings-edit.js b/assets/js/modules/analytics/settings/settings-edit.js @@ -47,12 +47,6 @@ export default function SettingsEdit() {
const isDoingSubmitChanges = useSelect( ( select ) => select( STORE_NAME ).isDoingSubmitChanges() );
const isCreateAccount = ACCOUNT_CREA... | 2 |
diff --git a/src/main/resources/META-INF/primefaces-extensions.taglib.xml b/src/main/resources/META-INF/primefaces-extensions.taglib.xml @@ -6887,7 +6887,7 @@ See showcase for an example. Default null.]]>
</attribute>
<attribute>
<description>
- <![CDATA[Date object to render.]]>
+ <![CDATA[Date, ZonedDateTime or Local... | 7 |
diff --git a/src/lib/login/LoginService.js b/src/lib/login/LoginService.js @@ -26,10 +26,10 @@ class LoginService {
}
// eslint-disable-next-line class-methods-use-this
- storeJWT(jwt: string) {
+ async storeJWT(jwt: string) {
this.jwt = jwt
if (jwt) {
- AsyncStorage.setItem(JWT, jwt)
+ await AsyncStorage.setItem(JWT, ... | 0 |
diff --git a/token-metadata/0x61cDb66e56FAD942a7b5cE3F419FfE9375E31075/metadata.json b/token-metadata/0x61cDb66e56FAD942a7b5cE3F419FfE9375E31075/metadata.json "symbol": "RAIN",
"address": "0x61cDb66e56FAD942a7b5cE3F419FfE9375E31075",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/balances.js b/balances.js +/*jslint node: true */
+"use strict";
var db = require('./db');
-var ValidationUtils = require("./validation_utils.js");
function readBalance(wallet, handleBalance){
- var walletIsAddress = ValidationUtils.isValidAddress(wallet);
+ var walletIsAddress = typeof wallet === 'string'... | 4 |
diff --git a/Source/Widgets/CesiumInspector/CesiumInspectorViewModel.js b/Source/Widgets/CesiumInspector/CesiumInspectorViewModel.js @@ -238,7 +238,7 @@ define([
* @type {Boolean}
* @default false
*/
- this.pickPimitiveActive = false;
+ this.pickPrimitiveActive = false;
/**
* Gets if the picking tile command is active.... | 3 |
diff --git a/README.md b/README.md @@ -131,8 +131,8 @@ Parameters with dots in their names are single strings used to organize subordin
Parameter Name | Description
--- | ---
url | The url pointing to API definition (normally `swagger.json` or `swagger.yaml`). Will be ignored if `urls` or `spec` is used.
-urls | An arr... | 7 |
diff --git a/index.js b/index.js @@ -34,7 +34,7 @@ module.exports = {
convertedSpecs = [],
rootFiles = parse.getRootFiles(filesPathArray);
- async.each(rootFiles, (rootFile, callback) => {
+ async.eachSeries(rootFiles, (rootFile, callback) => {
loader
// will merge all the files in the folder
.loadSpec(rootFile, loader... | 4 |
diff --git a/src/js/Nostr.ts b/src/js/Nostr.ts @@ -809,7 +809,7 @@ export default {
.map((tag) => tag[1])
.slice(0, 2);
for (const id of repliedMsgs) {
- this.getMessageById(id);
+ //this.getMessageById(id);
if (!this.threadRepliesByMessageId.has(id)) {
this.threadRepliesByMessageId.set(id, new Set<string>());
}
@@ -87... | 13 |
diff --git a/scripts/upcoming.js b/scripts/upcoming.js @@ -171,9 +171,12 @@ const year = /^[0-9]{4}$/;
const output = await Promise.all(promises);
// Display if the document was found, and if it was modified or not
- output.forEach(doc => {
- console.log(`N: ${doc.result.n}`);
- console.log(`Modified: ${doc.result.nMod... | 14 |
diff --git a/src/components/Picker.vue b/src/components/Picker.vue ref="scroll"
@scroll="onScroll"
>
- <div id="emoji-mart-list" role="listbox" aria-expanded="true">
+ <div
+ id="emoji-mart-list"
+ ref="scrollContent"
+ role="listbox"
+ aria-expanded="true"
+ >
<category
v-for="(category, idx) in filteredCategories"
v-... | 4 |
diff --git a/components/core/CollectionPreviewBlock/index.js b/components/core/CollectionPreviewBlock/index.js @@ -334,8 +334,8 @@ const useAnimateDescription = ({
const getObjectToPreview = (coverImage) => {
let isImage =
- Validations.isPreviewableImage(coverImage) ||
- (coverImage.coverImage && Validations.isPreview... | 1 |
diff --git a/lib/cartodb/controllers/layergroup.js b/lib/cartodb/controllers/layergroup.js @@ -47,7 +47,7 @@ LayergroupController.prototype.register = function(app) {
cors(),
userMiddleware(),
this.prepareContext,
- getMapStoreMapConfigProvider(this.mapStore, this.userLimitsApi),
+ createMapStoreMapConfigProvider(this.... | 10 |
diff --git a/src/core/operations/Hash.js b/src/core/operations/Hash.js @@ -333,6 +333,12 @@ const Hash = {
"\nSHA3 256: " + Hash.runSHA3(input, ["256"]) +
"\nSHA3 384: " + Hash.runSHA3(input, ["384"]) +
"\nSHA3 512: " + Hash.runSHA3(input, ["512"]) +
+ "\nKeccak 224: " + Hash.runKeccak(input, ["224"]) +
+ "\nKeccak 256... | 0 |
diff --git a/.gitmodules b/.gitmodules url = https://github.com/KhronosGroup/glTF-Sample-Models.git
[submodule "assets/environments"]
path = assets/environments
- url = https://github.com/ux3d/glTF-Sample-Environments.git
+ url = https://github.com/KhronosGroup/glTF-Sample-Environments.git
| 4 |
diff --git a/.github/workflows/website_deploy.yml b/.github/workflows/website_deploy.yml @@ -5,7 +5,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- - uses: amondnet/vercel-action@v19
+ - uses: amondnet/vercel-action@v19.0.1+1
with:
vercel-token: ${{ secrets.ZEIT_TOKEN }}
github-token: ${{ secrets... | 4 |
diff --git a/core/workspace_svg.js b/core/workspace_svg.js @@ -479,7 +479,7 @@ Blockly.WorkspaceSvg.prototype.createDom = function(opt_backgroundClass) {
this.grid_.update(this.scale);
}
this.recordDeleteAreas();
- this.recordBoundingBoxes();
+ this.recordWorkspaceAreas();
return this.svgGroup_;
};
@@ -656,7 +656,7 @@ ... | 10 |
diff --git a/src/workingtitle-vcockpits-instruments-cj4/html_ui/Pages/VCockpit/Instruments/Airliners/CJ4/Shared/Autopilot/CJ4NavModeSelector.js b/src/workingtitle-vcockpits-instruments-cj4/html_ui/Pages/VCockpit/Instruments/Airliners/CJ4/Shared/Autopilot/CJ4NavModeSelector.js @@ -229,6 +229,7 @@ class CJ4NavModeSelecto... | 12 |
diff --git a/token-metadata/0x2167FB82309CF76513E83B25123f8b0559d6b48f/metadata.json b/token-metadata/0x2167FB82309CF76513E83B25123f8b0559d6b48f/metadata.json "symbol": "LION",
"address": "0x2167FB82309CF76513E83B25123f8b0559d6b48f",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/lib/axios.js b/lib/axios.js @@ -30,7 +30,7 @@ function createInstance(defaultConfig) {
utils.extend(instance, Axios.prototype, context, {allOwnKeys: true});
// Copy context to instance
- utils.extend(instance, context, {allOwnKeys: true});
+ utils.extend(instance, context, null, {allOwnKeys: true});
// Fac... | 1 |
diff --git a/assets/js/components/DashboardNavigation.js b/assets/js/components/DashboardNavigation.js @@ -99,7 +99,7 @@ export default function DashboardNavigation() {
const breakpoint = useBreakpoint();
const [ selectedID, setSelectedID ] = useState(
- global.location.hash.substr( 1 )
+ global.location.hash.substring... | 14 |
diff --git a/package.json b/package.json "test:native": "npm run test:ios && npm run test:android",
"test:ios": "npm run animation:assets && ENVFILE=.env.test detox build -c ios.sim.debug && detox test -c ios.sim.debug",
"test:android": "npm run animation:assets && ENVFILE=.env.test detox build -c android.emu.debug && ... | 0 |
diff --git a/src/js/modules/Edit/List.js b/src/js/modules/Edit/List.js @@ -65,12 +65,19 @@ export default class Edit{
var attribs = this.params.elementAttributes;
var input = document.createElement("input");
+ // input.setAttribute("type", "search");
input.setAttribute("type", this.params.clearable ? "search" : "text")... | 11 |
diff --git a/src/common/blockchain/interface-blockchain/mining/Interface-Blockchain-Mining.js b/src/common/blockchain/interface-blockchain/mining/Interface-Blockchain-Mining.js @@ -344,7 +344,7 @@ class InterfaceBlockchainMining extends InterfaceBlockchainMiningBasic{
} else {
- await this.blockchain.sleep(100);
+ awai... | 7 |
diff --git a/demos/blockfactory/workspacefactory/wfactory_init.js b/demos/blockfactory/workspacefactory/wfactory_init.js @@ -346,7 +346,7 @@ WorkspaceFactoryInit.addWorkspaceFactoryEventListeners_ = function(controller) {
// surrounding parent, meaning it is nested in another block (blocks that
// are not nested in par... | 3 |
diff --git a/vite.config.js b/vite.config.js @@ -16,6 +16,11 @@ export default defineConfig({
},
rollupOptions: options,
},
+ server: {
+ https: true,
+ host: '127.0.0.1',
+ port: 3000,
+ },
css: {
modules: {
generateScopedName: (name) => {
| 12 |
diff --git a/src/layer/tile/WMSTileLayer.js b/src/layer/tile/WMSTileLayer.js @@ -42,7 +42,7 @@ const defaultWmsParams = {
* @param {Object} [options=null] - options defined in [WMSTileLayer]{@link TileLayer#options}
* @example
* var layer = new maptalks.WMSTileLayer('wms', {
- * 'urlTemplate' : 'https://ahocevar.com/ge... | 3 |
diff --git a/src/compiler/lexer.imba1 b/src/compiler/lexer.imba1 @@ -9,6 +9,7 @@ import INVERSES from './constants'
var K = 0
var ERR = require './errors'
+var helpers = require './helpers'
# Constants
# ---------
@@ -938,8 +939,9 @@ export class Lexer
prev = last(@tokens)
if !prev or prev:spaced or @prevVal in ['(','[... | 11 |
diff --git a/Apps/Sandcastle/gallery/Terrain.html b/Apps/Sandcastle/gallery/Terrain.html );
return;
}
- const terrainSamplePositions = createGrid(0.005);
+ const terrainSamplePositions = createGrid(0.0005);
Promise.resolve(
Cesium.sampleTerrainMostDetailed(
viewer.terrainProvider,
| 13 |
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md @@ -100,12 +100,12 @@ node /path/to/snowpack/create-snowpack-app/cli [my-new-dir] --template @snowpack
To test a local version of the `create-snowpack-app` templates use
-NOTE This does not work, trying to figure this one out
-
```bash
-npx create-snowpack-app [my-new-dir]... | 0 |
diff --git a/publish/src/commands/deploy.js b/publish/src/commands/deploy.js @@ -44,7 +44,7 @@ const parameterNotice = props => {
const DEFAULTS = {
gasPrice: '1',
methodCallGasLimit: 15e4,
- contractDeploymentGasLimit: 7e6,
+ contractDeploymentGasLimit: 7.5e6,
network: 'kovan',
buildPath: path.join(__dirname, '..', '.... | 2 |
diff --git a/src/components/accordion/_accordion.scss b/src/components/accordion/_accordion.scss color: $govuk-link-colour;
background: none;
cursor: pointer;
+ -webkit-appearance: none;
@include govuk-link-common;
@include govuk-link-style-default;
}
}
- // Setting focus styles on header so that summary that is not pa... | 7 |
diff --git a/vis/stylesheets/modules/list/_header.scss b/vis/stylesheets/modules/list/_header.scss .btn-default.active, .btn-default:active, .btn-default:focus, .btn-default.active:focus, .btn-default.active.focus, .btn-default.focus, .open > .dropdown-toggle.btn-default {
color: white;
- background-color: $abstract-gr... | 7 |
diff --git a/src/lib/blocks.js b/src/lib/blocks.js @@ -331,5 +331,15 @@ export default function (vm) {
return collator.compare(str1, str2);
};
+ // Blocks wants to know if 3D CSS transforms are supported. The cross
+ // section of browsers Scratch supports and browsers that support 3D CSS
+ // transforms will make the ... | 14 |
diff --git a/rig.js b/rig.js @@ -128,6 +128,9 @@ class RigManager {
}
setLocalAvatarImage(avatarImage) {
+ if (this.localRig.textMesh.avatarMesh) {
+ this.localRig.textMesh.remove(this.localRig.textMesh.avatarMesh);
+ }
const geometry = new THREE.CircleBufferGeometry(0.1, 32);
const img = new Image();
img.src = avatarI... | 2 |
diff --git a/src/templates/bootstrap/file/form.ejs b/src/templates/bootstrap/file/form.ejs <div class="col-md-2">
<select class="file-type" ref="fileType">
{% ctx.component.fileTypes.map(function(type) { %}
- <option class="test" value="{{ type.value }}" {% if (type.label === file.fileType) { %}selected="selected"{% } ... | 11 |
diff --git a/src/components/invite/Invite.js b/src/components/invite/Invite.js @@ -288,7 +288,7 @@ const Invite = () => {
}, [inviteState])
if (isNil(bounty) || isNaN(bounty)) {
- return
+ return null
}
return (
@@ -303,7 +303,7 @@ const Invite = () => {
lineHeight={34}
style={styles.bounty}
>
- {`Get ${bounty / 100}G$... | 2 |
diff --git a/src/Navigation.js b/src/Navigation.js @@ -25,11 +25,7 @@ import iconSavedActive from "../assets/images/savedActive.png";
import iconSavedDefault from "../assets/images/savedDefault.png";
import iconSupportUsActive from "../assets/images/supportUsActive.png";
import iconSupportUsDefault from "../assets/imag... | 2 |
diff --git a/vm.image.js b/vm.image.js @@ -1037,7 +1037,7 @@ Object.subclass('Squeak.Image',
hi = hi >> 3; // shift down, make signed
var negative = hi < 0;
if (negative) { hi = -hi; lo = -lo; if (lo !== 0) hi--; }
- var size = hi <= 0xFF ? 5 : hi <= 0xFFFF ? 6 : hi <= 0xFFFFFF ? 7 : 8;
+ var size = hi === 0 ? 4 : hi <... | 11 |
diff --git a/javascripts/shared/pv.js b/javascripts/shared/pv.js @@ -1610,7 +1610,7 @@ class Pv extends PvConfig {
$('.daterangepicker').append(
$('<div>')
.addClass('daterange-notice')
- .html($.i18n('date-notice'))
+ .html($.i18n('date-notice', $.i18n('title')))
);
}
| 1 |
diff --git a/publish/deployed/local/feeds.json b/publish/deployed/local/feeds.json -{"SNX":{"asset":"SNX","feed":"0xDaBf717D3d41a2225cdf215d6BD24C4981Bd7e45"},"ETH":{"asset":"ETH","feed":"0xF691bd584f26aE23E603BA3Bb80594f6c02DCe97"},"COMP":{"asset":"COMP","feed":"0x7bC12d4C52CA861b4bB414BA51FfA51d055E598D"},"KNC":{"ass... | 13 |
diff --git a/loadout-manager.js b/loadout-manager.js @@ -53,6 +53,15 @@ class LoadoutManager extends EventTarget {
this.ensureHotbarRenderers();
return this.hotbarRenderers[index];
}
+ getSelectedApp() {
+ this.ensureHotbarRenderers();
+
+ if (this.selectedIndex !== -1) {
+ return this.hotbarRenderers[this.selectedInde... | 0 |
diff --git a/src/algorithms/initialize.ts b/src/algorithms/initialize.ts @@ -129,13 +129,14 @@ export function getPopulationParams(
return [sim]
}
- const r0s = sampleUniform(params.r0 as [number, number], NUMBER_PARAMETER_SAMPLES)
+ const r0s = sampleUniform([params.r0[0], params.r0[1]], NUMBER_PARAMETER_SAMPLES)
retu... | 1 |
diff --git a/packages/bitcore-wallet-service/src/lib/chain/eth/index.ts b/packages/bitcore-wallet-service/src/lib/chain/eth/index.ts @@ -467,11 +467,16 @@ export class EthChain implements IChain {
address = Web3.utils.toChecksumAddress(tx.abiType.params[0].value);
amount = tx.abiType.params[1].value;
} else if (tx.abiT... | 9 |
diff --git a/routes/params.js b/routes/params.js @@ -47,7 +47,7 @@ module.exports = {
typeParam: {
name: 'type',
in: 'query',
- description: '"players" or "guilds"',
+ description: '`players`, `guilds` or `skyblock`',
required: true,
schema: {
type: 'string',
@@ -137,7 +137,7 @@ module.exports = {
pageParam: {
name: 'p... | 7 |
diff --git a/articles/libraries/custom-signup.md b/articles/libraries/custom-signup.md @@ -118,8 +118,4 @@ Then users can log in with Username and Password.
Password policies for database connections can be configured in the dashboard. For more information, see: [Password Strength in Auth0 Database Connections](/connec... | 3 |
diff --git a/test/definition.schema.test.js b/test/definition.schema.test.js @@ -2716,7 +2716,7 @@ describe('definition/schema', () => {
const enforcer = await Enforcer(def);
const schema = enforcer.components.schemas.something;
const [ , err ] = schema.populate({ first: 'Bob', type: 'dog' });
- expect(err).to.match(/U... | 3 |
diff --git a/metaversefile-api.js b/metaversefile-api.js @@ -393,6 +393,15 @@ metaversefile.setApi({
getWinds() {
return world.winds;
},
+ setWinds(wind) {
+ world.winds.push(wind);
+ },
+ removeWind(wind) {
+ const index = world.winds.indexOf(wind);
+ if (index > -1) {
+ world.winds.splice(index, 1);
+ }
+ },
register... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.