code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/ccxt.js b/ccxt.js @@ -7927,6 +7927,13 @@ var huobi = {
};
} else {
url += '/' + type + '/' + this.implodeParams (path, params) + '_json.js';
+ // append unused params as query string
+ // for case http://api.huobi.com/staticmarket/btc_kline_005_json.js?length=500
+ Object.keys(params)
+ .filter(key => path... | 9 |
diff --git a/src/commands/dev/index.js b/src/commands/dev/index.js @@ -107,10 +107,6 @@ function initializeProxy(port) {
}
if (match.force || notStatic(reqUrl.pathname, req.proxyOptions.publicFolder)) {
- if (!isEmpty(match.proxyHeaders)) {
- Object.entries(match.proxyHeaders).forEach(([k,v]) => req.headers[k] = v)
- }... | 2 |
diff --git a/data.js b/data.js // also be just the raw JS if it's small enough, an array of source files or a ZIP file.
// See examples below.
module.exports = [
+ {
+ name: "HashParser",
+ github: "rvanbaalen/hashparser",
+ tags: ["library","fast", "frontend", "javascript"],
+ description: "Super tiny library to set a... | 0 |
diff --git a/lib/assets/javascripts/new-dashboard/components/MapCard/CondensedMapHeader.vue b/lib/assets/javascripts/new-dashboard/components/MapCard/CondensedMapHeader.vue {{ $t(`MapListHeader.lastModified`) }}
</span>
</div>
- <div class="map-list-cell cell--large" @click="changeOrder('views')">
+ <div class="map-lis... | 3 |
diff --git a/src/charts/HeatMap.js b/src/charts/HeatMap.js @@ -108,11 +108,18 @@ export default class HeatMap {
if (w.config.plotOptions.heatmap.enableShades) {
if (colorShadePercent < 0) colorShadePercent = 0
+ if (this.w.config.theme.mode === 'dark') {
+ color = Utils.hexToRgba(
+ utils.shadeColor(colorShadePercent *... | 12 |
diff --git a/src/client/js/components/Admin/Security/SecurityManagementContents.jsx b/src/client/js/components/Admin/Security/SecurityManagementContents.jsx -import React, { Fragment, useMemo } from 'react';
+import React, { Fragment, useMemo, useState } from 'react';
import PropTypes from 'prop-types';
import { withTr... | 4 |
diff --git a/articles/quickstart/spa/vuejs/01-login.md b/articles/quickstart/spa/vuejs/01-login.md @@ -45,17 +45,7 @@ ${snippet(meta.snippets.loginlogout)}
__Note:__ There are multiple ways of implementing login. The example above displays the Lock Widget. However you may implement your own login UI by changing the lin... | 2 |
diff --git a/src/components/TableBody.js b/src/components/TableBody.js @@ -2,7 +2,7 @@ import React from 'react';
const TableBody = ({ rowIds, Row, style, className }) => (
<tbody style={style} className={className}>
- { rowIds && rowIds.map(r => <Row key={r} griddleKey={r} />) }
+ { rowIds && rowIds.map((k, i) => <Row... | 0 |
diff --git a/Source/Scene/processPbrMetallicRoughness.js b/Source/Scene/processPbrMetallicRoughness.js @@ -143,6 +143,7 @@ define([
var hasNormals = false;
var hasTangents = false;
var hasTexCoords = false;
+ var isUnlit = false;
if (defined(primitiveInfo)) {
skinningInfo = primitiveInfo.skinning;
@@ -182,6 +183,7 @@ d... | 8 |
diff --git a/docs/tutorial/part-two/index.md b/docs/tutorial/part-two/index.md @@ -252,7 +252,7 @@ export default typography

-Typography.js has more than 30 themes! Check them out at http://kyleamathews.github.io/typography.js/
+Typography.js has more than 30 themes! [Try the... | 14 |
diff --git a/src/config.js b/src/config.js @@ -39,7 +39,7 @@ exports.set = (override) => {
bot.streamActivityURL = process.env.DRSS_BOT_STREAMACTIVITYURL || botOverride.streamActivityURL || bot.streamActivityURL
bot.ownerIDs = envArray('DRSS_BOT_OWNERIDS') || botOverride.ownerIDs || bot.ownerIDs
bot.menuColor = Number(... | 1 |
diff --git a/edit.js b/edit.js @@ -7182,12 +7182,6 @@ window.addEventListener('keyup', e => {
}
break;
}
- case 17: { // ctrl
- if (document.pointerLockElement) {
- keys.ctrl = false;
- }
- break;
- }
}
});
window.addEventListener('mousedown', e => {
| 2 |
diff --git a/src/reducers/__tests__/dataReducerTest.js b/src/reducers/__tests__/dataReducerTest.js @@ -183,3 +183,76 @@ test('toggle column works when there is no visible property', (t) => {
});
+
+test('update state merges non-data', (t) => {
+ const initialState = Immutable.fromJS({
+ changed: 1,
+ unchanged: 2,
+ ne... | 0 |
diff --git a/docs/customization/plugin-api.md b/docs/customization/plugin-api.md @@ -4,12 +4,12 @@ A plugin is a function that returns an object - more specifically, the object ma
### Format
-A plugin return value may contain any of these keys, where `myStateKey` is a name for a piece of state:
+A plugin return value m... | 7 |
diff --git a/lxc/executors/java b/lxc/executors/java cd /tmp/$2
cp code.code interim.java
-name=$(cat interim.java | grep -Eo 'public\s+class\s+([A-Za-z0-9]+)' | sed -n 's/ */ /gp' | cut -d' ' -f3)
+name=$(cat interim.java | grep -Eo '(public\s+class|interface)\s+([A-Za-z0-9]+)' | sed -n 's/ */ /gp' | cut -d' ' -f3)
mv... | 11 |
diff --git a/test/test_async.py b/test/test_async.py @@ -145,7 +145,14 @@ async def test_tickers(exchange, symbol):
dump(green(exchange.id), 'fetched', green(len(list(tickers.keys()))), 'tickers')
else:
dump(green(exchange.id), 'fetching all tickers by simultaneous multiple concurrent requests')
+ # Some exchanges not ... | 1 |
diff --git a/src/core/config/Categories.json b/src/core/config/Categories.json "Play Media",
"Remove EXIF",
"Extract EXIF",
- "Split Colour Channels"
+ "Split Colour Channels",
+ "Rotate Image",
+ "Resize Image",
+ "Blur Image",
+ "Dither Image",
+ "Invert Image"
]
},
{
| 0 |
diff --git a/scripts/deployment.js b/scripts/deployment.js @@ -281,6 +281,7 @@ var addDepositAddressToExchange = function( exchange, owner ) {
}).then(function(depositAddress) {
depositAddresses["ETH"] = depositAddress;
exchangeDepositAddresses.push(depositAddresses);
+ reserve.approveWithdrawAddress(ethAddress, deposi... | 11 |
diff --git a/lib/shared/addon/oauth/service.js b/lib/shared/addon/oauth/service.js @@ -3,7 +3,7 @@ import { addQueryParam, addQueryParams, popupWindowOptions } from 'shared/utils/
import { get, set } from '@ember/object';
import C from 'shared/utils/constants';
-const googleOauthScope = 'openid profile email https://ww... | 2 |
diff --git a/io-manager.js b/io-manager.js @@ -507,6 +507,10 @@ ioManager.bindInput = () => {
weaponsManager.inventoryHack = !weaponsManager.inventoryHack;
break;
}
+ case 27: { // esc
+ weaponsManager.setContextMenu(false);
+ break;
+ }
}
});
window.addEventListener('keyup', e => {
| 0 |
diff --git a/token-metadata/0x44086035439E676c02D411880FcCb9837CE37c57/metadata.json b/token-metadata/0x44086035439E676c02D411880FcCb9837CE37c57/metadata.json "symbol": "USD",
"address": "0x44086035439E676c02D411880FcCb9837CE37c57",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/src/core/Utils.test.js b/src/core/Utils.test.js @@ -100,17 +100,17 @@ describe('core/utils', () => {
describe('getFileNameAndExtension', () => {
it('should return the filename and extension as an array', () => {
- expect(utils.getFileNameAndExtension('fsdfjodsuf23rfw.jpg')).toEqual([
- 'fsdfjodsuf23rfw',
-... | 3 |
diff --git a/src/js/bs3/module/TablePopover.js b/src/js/bs3/module/TablePopover.js @@ -41,7 +41,13 @@ define([
};
this.update = function (target) {
- if (dom.isCell(target)) {
+ if (context.isDisabled()) {
+ return false;
+ }
+
+ var isCell = dom.isCell(target);
+
+ if (isCell) {
var pos = dom.posFromPlaceholder(target... | 1 |
diff --git a/index.js b/index.js @@ -202,8 +202,8 @@ const defaults = {
},
ETHER_WRAPPER_MAX_ETH: w3utils.toWei('5000'),
- ETHER_WRAPPER_MINT_FEE_RATE: w3utils.toWei('0.005'), // 50 bps
- ETHER_WRAPPER_BURN_FEE_RATE: w3utils.toWei('0.005'), // 50 bps
+ ETHER_WRAPPER_MINT_FEE_RATE: w3utils.toWei('0.02'), // 200 bps
+ ET... | 12 |
diff --git a/lib/node_modules/@stdlib/_tools/eslint/rules/lib/index.js b/lib/node_modules/@stdlib/_tools/eslint/rules/lib/index.js @@ -414,6 +414,15 @@ setReadOnly( rules, 'jsdoc-private-annotation', require( '@stdlib/_tools/eslint/
*/
setReadOnly( rules, 'jsdoc-return-annotations-marker', require( '@stdlib/_tools/esli... | 10 |
diff --git a/app/assets/javascripts/jquery.ajax_paginate.coffee b/app/assets/javascripts/jquery.ajax_paginate.coffee @@ -43,13 +43,15 @@ jQuery.fn.ajaxPaginate= ( options ) ->
$container.data('completed',false)
# show loading indicator (hide buttons)
- showLoading=() -> $buttons.fadeOut 'slow', () -> $spinner.show()
+ ... | 7 |
diff --git a/packages/nexrender-core/src/index.js b/packages/nexrender-core/src/index.js @@ -39,7 +39,7 @@ const init = (settings) => {
// check for WSL
settings.wsl =
- os.platform() === 'linux' && os.release().match('microsoft')
+ os.platform() === 'linux' && os.release().match(/microsoft/i)
? true
: false
| 7 |
diff --git a/browser/lib/util/http.ts b/browser/lib/util/http.ts @@ -49,7 +49,7 @@ const Http: typeof IHttp = class {
callback?.(new ErrorInfo('Request invoked before assigned to', null, 500));
return;
}
- Http.Request(method, rest, uriFromHost(currentFallback.host), headers, params, body, function(err?: ErrnoException... | 1 |
diff --git a/token-metadata/0xF433089366899D83a9f26A773D59ec7eCF30355e/metadata.json b/token-metadata/0xF433089366899D83a9f26A773D59ec7eCF30355e/metadata.json "symbol": "MTL",
"address": "0xF433089366899D83a9f26A773D59ec7eCF30355e",
"decimals": 8,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
}... | 3 |
diff --git a/lib/waterline/utils/query/forge-stage-three-query.js b/lib/waterline/utils/query/forge-stage-three-query.js @@ -294,30 +294,14 @@ module.exports = function forgeStageThreeQuery(options) {
var attrDefToPopulate = model.attributes[populateAttribute];
var schemaAttribute = model.schema[populateAttribute];
- v... | 2 |
diff --git a/src/components/TestToolMenu.js b/src/components/TestToolMenu.js import React from 'react';
import PropTypes from 'prop-types';
+import _ from 'underscore';
import {withOnyx} from 'react-native-onyx';
import lodashGet from 'lodash/get';
import styles from '../styles/styles';
@@ -14,6 +15,8 @@ import TestToo... | 4 |
diff --git a/src/core/operations/JWTDecode.mjs b/src/core/operations/JWTDecode.mjs @@ -26,6 +26,13 @@ class JWTDecode extends Operation {
this.inputType = "string";
this.outputType = "JSON";
this.args = [];
+ this.checks = [
+ {
+ pattern: "^ey([A-Za-z0-9_-]+)\\.ey([A-Za-z0-9_-]+)\\.([A-Za-z0-9_-]+)$",
+ flags: "",
+ a... | 0 |
diff --git a/node-binance-api.js b/node-binance-api.js @@ -2871,8 +2871,9 @@ let api = function Binance( options = {} ) {
* @param {string} name - the name to save the address as. Set falsy to prevent Binance saving to address book
* @return {promise or undefined} - omitting the callback returns a promise
*/
- withdraw... | 11 |
diff --git a/app/App.jsx b/app/App.jsx @@ -18,7 +18,8 @@ import Incognito from "./components/Layout/Incognito";
import {isIncognito} from "feature_detect";
import {updateGatewayBackers} from "common/gatewayUtils";
import titleUtils from "common/titleUtils";
-import {BodyClassName} from "bitshares-ui-style-guide";
+impo... | 12 |
diff --git a/articles/quickstart/webapp/aspnet-core/00-intro.md b/articles/quickstart/webapp/aspnet-core/00-intro.md @@ -22,12 +22,8 @@ If you would like to follow along with this Quickstart you can download the [see
The final project after each of the steps is also available in the Quickstart folder of the [ASP.NET Co... | 2 |
diff --git a/accessibility-checker-engine/README-RULES.md b/accessibility-checker-engine/README-RULES.md @@ -13,7 +13,7 @@ Multiple objects are needed for a rule to fire and show up in the tool results:
### Rule object
-The basic rule format is defined by the Rule type in [src/v2/api/IEngine.ts](src/v2/api/IEngine.ts).... | 3 |
diff --git a/snowpack/src/index.ts b/snowpack/src/index.ts @@ -17,7 +17,7 @@ export * from './types';
export {startServer} from './commands/dev';
export {build} from './commands/build';
export {loadConfiguration, createConfiguration} from './config.js';
-export {readLockfile as loadLockfile} from './util.js';
+export {... | 0 |
diff --git a/Source/DataSources/GpxDataSource.js b/Source/DataSources/GpxDataSource.js @@ -465,11 +465,13 @@ define([
return parseColorString(value, queryStringValue(node, 'colorMode', namespace) === 'random');
}
- function createDefaultBillboard() {
+ function createDefaultBillboard(proxy, sourceUri, uriResolver) {
va... | 7 |
diff --git a/packages/app/src/components/Layout/NoLoginLayout.tsx b/packages/app/src/components/Layout/NoLoginLayout.tsx import React, { ReactNode } from 'react';
+import { useAppTitle } from '~/stores/context';
+
import GrowiLogo from '../Icons/GrowiLogo';
import { RawLayout } from './RawLayout';
@@ -14,7 +16,8 @@ typ... | 12 |
diff --git a/test/client/GameBoard.spec.jsx b/test/client/GameBoard.spec.jsx import GameBoard, { InnerGameBoard } from '../../client/GameBoard.jsx';
import PlayerStats, { InnerPlayerStats } from '../../client/GameComponents/PlayerStats.jsx';
-import PlayerRow from '../../client/GameComponents/PlayerRow.jsx';
import Car... | 2 |
diff --git a/articles/quickstart/webapp/nodejs/_includes/_login.md b/articles/quickstart/webapp/nodejs/_includes/_login.md @@ -70,7 +70,7 @@ You need to make sure you get an OIDC-conformant response. You can achieve it tw
::: note
The example below shows how to set the audience to get an OIDC-conformant response.
-To t... | 0 |
diff --git a/configs/demisto.json b/configs/demisto.json "global": true,
"default_value": "Documentation"
},
- "lvl1": "article h2",
- "lvl2": "article h3",
- "lvl3": "article h4",
- "lvl4": "article h5",
- "lvl5": "article h6",
- "text": "article p, article li"
+ "lvl1": "[class^='docItemContainer_'] h1",
+ "lvl2": "[... | 13 |
diff --git a/assets/js/googlesitekit/api/middleware/preloading.js b/assets/js/googlesitekit/api/middleware/preloading.js * WordPress dependencies.
*/
import { getStablePath } from '@wordpress/api-fetch/build/middlewares/preloading';
-import { addQueryArgs } from '@wordpress/url';
-
-/**
- * Helper to remove the timesta... | 2 |
diff --git a/native/chat/add-thread.react.js b/native/chat/add-thread.react.js @@ -240,7 +240,6 @@ class InnerAddThread extends React.PureComponent<Props, State> {
autoFocus={true}
autoCorrect={false}
autoCapitalize="none"
- keyboardType="ascii-capable"
returnKeyType="next"
editable={this.props.loadingStatus !== "loadi... | 11 |
diff --git a/token-metadata/0xB52FC0F17Df38ad76F290467Aab57caBaEEada14/metadata.json b/token-metadata/0xB52FC0F17Df38ad76F290467Aab57caBaEEada14/metadata.json "symbol": "VGTN",
"address": "0xB52FC0F17Df38ad76F290467Aab57caBaEEada14",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/javascript/components/Camera.js b/javascript/components/Camera.js @@ -6,8 +6,6 @@ import locationManager from '../modules/location/locationManager';
import {isNumber, toJSONString, viewPropTypes, existenceChange} from '../utils';
import * as geoUtils from '../utils/geoUtils';
-import NativeBridgeComponent ... | 2 |
diff --git a/apps/tictactoe/app.js b/apps/tictactoe/app.js @@ -102,6 +102,8 @@ function draw(){
}
//Banner Displays player turn
E.showMessage("","Player "+ playerIcon);
+ //set draw color to white
+ g.setColor(-1);
//drawboard
g.drawLine(62,24,62,176);
g.drawLine(112,24,112,176);
| 3 |
diff --git a/src/components/fx/layout_attributes.js b/src/components/fx/layout_attributes.js @@ -72,17 +72,6 @@ module.exports = {
'`namelength - 3` characters and add an ellipsis.'
].join(' ')
},
- zformat: {
- valType: 'string',
- dflt: '',
- role: 'style',
- editType: 'none',
- description: [
- 'Sets the hover text ... | 2 |
diff --git a/src/components/editor-mode/scene-menu/SceneMenu.jsx b/src/components/editor-mode/scene-menu/SceneMenu.jsx @@ -32,6 +32,7 @@ export const SceneMenu = ({ multiplayerConnected, selectedScene, setSelectedScen
const [ speechEnabled, setSpeechEnabled ] = useState( false );
const [ sceneInputName, setSceneInputNa... | 0 |
diff --git a/src/components/RegisterForm.js b/src/components/RegisterForm.js @@ -144,20 +144,25 @@ class RegisterForm extends React.Component {
password: '',
passwordConfirmation: '',
error: false,
+ validationErrors: {}
}
}
onSubmit() {
this.setState({ message: '' })
- const { error, ...data } = this.state
+ const { e... | 12 |
diff --git a/src/components/profile/ProfileDataTable.js b/src/components/profile/ProfileDataTable.js @@ -96,8 +96,7 @@ const styles = StyleSheet.create({
borderWidth: 0,
fontSize: normalize(16),
textAlign: 'left',
- color: '#555555',
- outline: 'none'
+ color: '#555555'
},
error: {
paddingRight: 0,
| 2 |
diff --git a/package.json b/package.json "oc-client": "3.0.1",
"oc-client-browser": "1.1.1",
"oc-get-unix-utc-timestamp": "1.0.1",
- "oc-s3-storage-adapter": "1.0.2",
+ "oc-s3-storage-adapter": "1.0.3",
"oc-storage-adapters-utils": "1.0.2",
"oc-template-handlebars": "6.0.10",
"oc-template-handlebars-compiler": "6.1.8",... | 3 |
diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/tour/tourGuide.js b/packages/node_modules/@node-red/editor-client/src/js/ui/tour/tourGuide.js @@ -18,6 +18,9 @@ RED.tourGuide = (function() {
if (tourCache[tourPath]) {
runTour(tourCache[tourPath],done);
} else {
+ /* jshint ignore:start */
+ // jshin... | 8 |
diff --git a/packages/bitcore-node/docs/wallet-guide.md b/packages/bitcore-node/docs/wallet-guide.md @@ -58,7 +58,7 @@ bitcoinregtest
Go to Help -> Debug Window -> console tab
-Input generate command in the line to create 5000 BTC
+Input generate command in the line to create 5000 Blocks
```
generate 5000
| 14 |
diff --git a/common/lib/transport/connectionmanager.js b/common/lib/transport/connectionmanager.js @@ -1117,8 +1117,9 @@ var ConnectionManager = (function() {
return;
}
- var upgradeTransportParams = new TransportParams(this.options, transportParams.host, 'upgrade', this.connectionKey);
Utils.arrForEach(upgradePossibil... | 1 |
diff --git a/src/platforms/browser/WebPlatform.mjs b/src/platforms/browser/WebPlatform.mjs @@ -106,6 +106,7 @@ export default class WebPlatform {
}
uploadCompressedGlTexture(gl, textureSource, source, options) {
+ const view = !source.pvr ? new DataView(source.mipmaps[0]) : source.mipmaps[0];
gl.compressedTexImage2D(
g... | 0 |
diff --git a/tutorial.js b/tutorial.js import {loginManager} from './login.js';
-import {parseQuery} from './util.js';
+import {parseQuery, bindUploadFileButton, getExt} from './util.js';
const ftu = document.getElementById('ftu');
const ftuUsername = document.getElementById('ftu-username');
@@ -26,10 +26,14 @@ Array.f... | 0 |
diff --git a/src/og/Events.js b/src/og/Events.js @@ -138,12 +138,12 @@ class Events {
* @param {Object} event - Event instance property that created by event name.
* @param {Object} [obj] - Event object.
*/
- dispatch(event, obj) {
+ dispatch(event, ...args) {
if (event && event.active) {
var h = event.handlers;
var i ... | 0 |
diff --git a/app/shared/actions/validate.js b/app/shared/actions/validate.js @@ -126,7 +126,7 @@ export function validateNode(
node: httpEndpoint,
saveAsDefault,
settings,
- supportedContracts: blockchain.supportedContracts,
+ supportedContracts: (blockchain) ? blockchain.supportedContracts : [],
useImmediately,
},
typ... | 11 |
diff --git a/tests/typed_blocks/type_unification_test.js b/tests/typed_blocks/type_unification_test.js 'use strict';
-function test_type_unification_structure() {
+function test_type_unification_ifThenElseStructure() {
var workspace = new Blockly.Workspace();
try {
var block = workspace.newBlock('logic_ternary_typed');... | 10 |
diff --git a/src/service-broker.js b/src/service-broker.js @@ -145,8 +145,8 @@ class ServiceBroker {
this.logger = this.getLogger("broker");
this.logger.info(`Moleculer v${this.MOLECULER_VERSION} is starting...`);
- this.logger.info("Node ID:", this.nodeID);
- this.logger.info("Namespace:", this.namespace || "<not defi... | 1 |
diff --git a/lib/assets/core/javascripts/cartodb/organization/entry.js b/lib/assets/core/javascripts/cartodb/organization/entry.js @@ -268,7 +268,7 @@ $(function () {
var $groups = $('.js-groups-content');
if ($groups) {
- if (!currentUser.isOrgOwner()) {
+ if (!currentUser.isOrgAdmin()) {
window.location = currentUser... | 11 |
diff --git a/lib/processes/blockchainProcessLauncher.js b/lib/processes/blockchainProcessLauncher.js @@ -40,10 +40,6 @@ class BlockchainProcessLauncher {
});
this.blockchainProcess.once('result', constants.blockchain.blockchainReady, () => {
- setTimeout(() => {
- console.log('LOL');
- oopsise = doopsie;
- }, 3000);
th... | 2 |
diff --git a/tests/typed_blocks/type_transfer_block_workspace_test.js b/tests/typed_blocks/type_transfer_block_workspace_test.js @@ -1092,35 +1092,44 @@ function test_type_transfer_block_workspace_letRecSimple() {
var workspace = create_typed_workspace();
var workbench;
try {
- // let rec f x = ..
+ // let rec f x y = ... | 1 |
diff --git a/userscript.user.js b/userscript.user.js @@ -362,9 +362,11 @@ var $$IMU_EXPORT$$;
var finalcb = function(resp, iserror) {
if (check_tracking_blocked(resp)) {
- // Workaround for a bug in FireMonkey
- var newdata = shallowcopy(data);
+ // Workaround for a bug in FireMonkey where it calls both onload and oner... | 7 |
diff --git a/RPGMlibrary AD+D2e/1.4.01/libRPGMaster2e.js b/RPGMlibrary AD+D2e/1.4.01/libRPGMaster2e.js @@ -67,7 +67,7 @@ const libRPGMaster = (() => { // eslint-disable-line no-unused-vars
'use strict';
const version = '1.4.01';
API_Meta.libRPGMaster.version = version;
- const lastUpdate = 1669708967;
+ const lastUpdat... | 3 |
diff --git a/src/components/AppSwitch.js b/src/components/AppSwitch.js @@ -25,9 +25,6 @@ const TIMEOUT = 1000
* The main app route. Here we decide where to go depending on the user's credentials status
*/
class AppSwitch extends React.Component<LoadingProps, {}> {
- state = {
- activeKey: 'Splash'
- }
/**
* Triggers th... | 0 |
diff --git a/smtp_client.js b/smtp_client.js @@ -72,11 +72,11 @@ function SMTPClient (port, host, connect_timeout, idle_timeout) {
client.emit('auth_username');
return;
}
- else if (code.match(/^3/) && msg === 'UGFzc3dvcmQ6') {
+ if (code.match(/^3/) && msg === 'UGFzc3dvcmQ6') {
client.emit('auth_password');
return;
- ... | 8 |
diff --git a/src/main/java/com/conveyal/datatools/editor/models/transit/ServiceCalendar.java b/src/main/java/com/conveyal/datatools/editor/models/transit/ServiceCalendar.java @@ -214,10 +214,20 @@ public class ServiceCalendar extends Model implements Cloneable, Serializable {
Map<String, Long> tripsForRoutes = new Hash... | 9 |
diff --git a/packages/node_modules/@node-red/runtime/lib/library/examples.js b/packages/node_modules/@node-red/runtime/lib/library/examples.js @@ -23,7 +23,7 @@ function init(_runtime) {
}
function getEntry(type,path) {
- var examples = runtime.nodes.getNodeExampleFlows();
+ var examples = runtime.nodes.getNodeExampleF... | 9 |
diff --git a/modules/keyboard.js b/modules/keyboard.js @@ -376,8 +376,7 @@ function makeEmbedArrowHandler(key, shiftKey) {
} else {
this.quill.setSelection(range.index - 1, Quill.sources.USER);
}
- }
- if (shiftKey) {
+ } else if (shiftKey) {
this.quill.setSelection(
range.index,
range.length + 1,
| 1 |
diff --git a/react/src/components/accordions/components/SprkAccordionItem/SprkAccordionItem.js b/react/src/components/accordions/components/SprkAccordionItem/SprkAccordionItem.js @@ -11,7 +11,7 @@ class SprkAccordionItem extends Component {
// TODO: Remove isDefaultOpen in future issue #1299
const { isDefaultOpen, isOp... | 3 |
diff --git a/core/server/api/v3/preview.js b/core/server/api/v3/preview.js -const i18n = require('../../../shared/i18n');
+const tpl = require('@tryghost/tpl');
const errors = require('@tryghost/errors');
const models = require('../../models');
const ALLOWED_INCLUDES = ['authors', 'tags'];
-
+const messages = {
+ postN... | 14 |
diff --git a/js/views/modals/orderDetail/Contract.js b/js/views/modals/orderDetail/Contract.js +import renderjson from '../../../lib/renderjson';
import { capitalize } from '../../../utils/string';
import BaseVw from '../../baseVw';
import loadTemplate from '../../../utils/loadTemplate';
@@ -75,16 +76,16 @@ export defa... | 11 |
diff --git a/src/mixins/linkConfig.js b/src/mixins/linkConfig.js @@ -22,6 +22,7 @@ export default {
target: null,
listeningToMouseup: false,
vertices: null,
+ anchorPointFunction: getDefaultAnchorPoint,
};
},
watch: {
@@ -96,9 +97,8 @@ export default {
};
this.shape[endpoint](shape, {
- anchor: {
- name: 'closestPort',... | 11 |
diff --git a/src/components/MyTest/Bubbles.js b/src/components/MyTest/Bubbles.js @@ -99,8 +99,7 @@ export default Bubbles;
*/
export function showDetail(d) {
// change outline to indicate hover state.
- d3.select(this).attr('stroke', 'black')
- .attr('data', 'data-tip');
+ d3.select(this).attr('stroke', 'black');
const... | 2 |
diff --git a/src/components/core/events/onResize.js b/src/components/core/events/onResize.js @@ -20,23 +20,13 @@ export default function () {
swiper.updateSize();
swiper.updateSlides();
- if (params.freeMode) {
- const newTranslate = Math.min(Math.max(swiper.translate, swiper.maxTranslate()), swiper.minTranslate());
- ... | 2 |
diff --git a/Source/ui/UI.js b/Source/ui/UI.js @@ -33,8 +33,13 @@ export function message(text, document) {
* by pressing the OK button.
*/
export function alert(title, text) {
- const app = NSApplication.sharedApplication()
- app.displayDialog_withTitle(text, title)
+ const dialog = NSAlert.alloc().init()
+ dialog.set... | 4 |
diff --git a/deepfence_ui/Dockerfile b/deepfence_ui/Dockerfile # docker build -t deepfenceio/alpine-node:10 -f Dockerfile.node .
-FROM deepfenceio/alpine-node:10 AS build
+FROM node:14.18.1-alpine3.14 AS build
ADD . /home/deepfence/
ENV NPM_CONFIG_LOGLEVEL=warn NPM_CONFIG_PROGRESS=false NODE_OPTIONS="--max_old_space_si... | 3 |
diff --git a/lib/sketchPage.js b/lib/sketchPage.js // HOT KEYS ARE RECOGNIZED BY THE SKETCH PAGE.
var hotKeyMenu = [
- ['spc', "show tool tips"],
+ ['spc', "toggle tool tips"],
['C' , "casual font"],
['b' , "nudge line"],
['F' , "toggle fog"],
| 3 |
diff --git a/weapons-manager.js b/weapons-manager.js @@ -24,7 +24,7 @@ import {
colors,
} from './constants.js';
// import { setState } from './state.js';
-import FontFaceObserver from './fontfaceobserver.js';
+// import FontFaceObserver from './fontfaceobserver.js';
const localVector = new THREE.Vector3();
const local... | 2 |
diff --git a/planet.js b/planet.js @@ -602,3 +602,8 @@ planet.connect = async (rn, {online = true} = {}) => {
await _loadLiveState(roomName);
}
};
+planet.reload = () => {
+ const b = _serializeState(state);
+ const s = _deserializeState(b.buffer);
+ return s;
+};
\ No newline at end of file
| 0 |
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml @@ -19,10 +19,9 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Use PHP 7.4
- uses: shivammathur/setup-php@v2 #https://github.com/shivammathur/setup-php
+ uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
- tools: composer, phpcbf, phpcs
- ... | 2 |
diff --git a/packages/browserify/src/generatePrelude.js b/packages/browserify/src/generatePrelude.js // such as the upgradeable SES and app specific config.
const fs = require('fs')
-const path = require('path')
const jsonStringify = require('json-stable-stringify')
-const preludeTemplate = fs.readFileSync(path.join(__... | 13 |
diff --git a/polyfills/requestIdleCallback/polyfill.js b/polyfills/requestIdleCallback/polyfill.js function scheduleIdleWork() {
if (!isIdleScheduled) {
isIdleScheduled = true;
+ try {
+ // Safari 9 throws "TypeError: Value is not a sequence"
port.postMessage(messageKey, '*');
+ } catch (error) {
+ port.postMessage(mes... | 9 |
diff --git a/commands/reason.js b/commands/reason.js @@ -9,7 +9,7 @@ command.usage = 'moderationId <reason>';
command.names = ['reason','edit'];
command.execute = async (message, args, database, bot) => {
- if(!await util.isMod(message.member)) {
+ if(!await util.isMod(message.member) && !message.member.hasPermission('... | 11 |
diff --git a/modules/xerte/parent_templates/Nottingham/models_html5/gapFill.html b/modules/xerte/parent_templates/Nottingham/models_html5/gapFill.html var dropDownSort = x_currentPageXML.getAttribute("dropDownSort");
if (dropDownSort != undefined && dropDownSort != "" && dropDownSort != "alphabetic") // must be random
... | 1 |
diff --git a/docs/common/changelog.md b/docs/common/changelog.md @@ -33,6 +33,12 @@ this will be evened out from v24
## Target version 7.0.0
+### 30
+
+- Set statusbar background color on hotel detail screen, MOBILE-2920
+- Enable date change in the header, MOBILE-2972
+- Add sentry logging
+
### v25
- Move map/list bu... | 0 |
diff --git a/components/api-docs/v2/upload.js b/components/api-docs/v2/upload.js @@ -3,7 +3,7 @@ import * as System from "~/components/system";
import CodeBlock from "~/components/system/CodeBlock";
-const EXAMPLE_CODE_JS = (key) => `const url = 'https://uploads.slate.host/api/public';
+const EXAMPLE_CODE_JS = (key) =>... | 3 |
diff --git a/src/scribe-interface.js b/src/scribe-interface.js @@ -5,7 +5,7 @@ var Scribe = require('scribe-editor');
var config = require('./config');
var scribePluginFormatterPlainTextConvertNewLinesToHTML = require('scribe-plugin-formatter-plain-text-convert-new-lines-to-html');
-var scribePluginLinkPromptCommand = ... | 11 |
diff --git a/package.json b/package.json "start": "grunt server",
"lint": "eslint --fix src/js plugin lang test Gruntfile.js",
"download:selenium": "if [ ! -e test/libs/selenium-server-standalone.jar ]; then wget http://selenium-release.storage.googleapis.com/3.6/selenium-server-standalone-3.6.0.jar -O test/libs/seleni... | 14 |
diff --git a/lib/plugins/manifest.js b/lib/plugins/manifest.js @@ -22,6 +22,7 @@ const manifestKeyPrefixHelper = require('../utils/manifest-key-prefix-helper');
*/
module.exports = function(plugins, webpackConfig) {
const manifestPluginOptions = {
+ seed: {},
basePath: manifestKeyPrefixHelper(webpackConfig),
// always ... | 12 |
diff --git a/Gruntfile.js b/Gruntfile.js @@ -14,11 +14,11 @@ var chrome_browsers = [
platform: 'OS X 10.10',
version: '44.0'
},
- {
- browserName: 'chrome',
- platform: 'Windows 10',
- version: '43.0'
- },
+ // {
+ // browserName: 'chrome',
+ // platform: 'Windows 10',
+ // version: '43.0'
+ // },
{
browserName: 'chrom... | 2 |
diff --git a/lib/jsdom/living/helpers/create-event-accessor.js b/lib/jsdom/living/helpers/create-event-accessor.js @@ -21,6 +21,8 @@ exports.appendHandler = function appendHandler(el, eventName) {
let returnValue = null;
const thisValue = idlUtils.tryWrapperForImpl(event.currentTarget);
+ // https://heycam.github.io/we... | 11 |
diff --git a/assets/src/libraries/BookList.test.js b/assets/src/libraries/BookList.test.js @@ -13,7 +13,7 @@ const books = [
describe('Book list', () => {
it('renders without crashing', () => {
- const bookList = shallowBookList();
+ const bookList = shallowBookList({ books: [] });
expect(bookList.exists()).toBeTruthy(... | 0 |
diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb @@ -610,15 +610,16 @@ describe User do
Cartodb::config[:avatars] = @avatars_config
end
- it 'should be enabled by default' do
+ it 'should be enabled by default (every setting but false will enable it)' do
user = ::User.new
- user.gravatar_enabled?.should... | 2 |
diff --git a/test/expected/email-comb.html b/test/expected/email-comb.html <!DOCTYPE html>
<html>
<head>
- <style>
- .w-full {
+ <style>.w-full {
width: 100%
}
.text-center {
*/
table {
/*@editable*/background-color: #eeeeee !important;
- }
- </style>
+ }</style>
</head>
<body>
<!-- An HTML comment to preserve -->
| 13 |
diff --git a/models/tag.js b/models/tag.js @@ -6,7 +6,7 @@ var logger = require('../lib/logger');
var _ = require('underscore');
var lengthValidator = function(str) {
- return validator.isLength(str, {min: 0, max: 15})
+ return validator.isLength(str, {min: 0, max: 40})
}
var tagSchema = new mongoose.Schema({
name: {ty... | 1 |
diff --git a/config/routes.rb b/config/routes.rb @@ -479,9 +479,6 @@ CartoDB::Application.routes.draw do
# Permissions
put '(/user/:user_domain)(/u/:user_domain)/api/v1/perm/:id' => 'permissions#update', as: :api_v1_permissions_update
-
- # Api Keys
- post '(/user/:user_domain)(/u/:user_domain)/api/v1/api_keys' => 'api... | 5 |
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/mapview/RCTMGLMapView.java b/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/mapview/RCTMGLMapView.java @@ -174,6 +174,12 @@ public class RCTMGLMapView extends MapView implements
if (feature instanceof RCTSource) {
mSources.remove(childPos... | 2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.